re checking -fdump-passes
[official-gcc.git] / libstdc++-v3 / configure
blob8f871114b67774c8b25661ec576a1aacc1c25b40
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:17: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; pic_mode="$withval"
8067 else
8068 pic_mode=default
8072 test -z "$pic_mode" && pic_mode=default
8080 # Check whether --enable-fast-install was given.
8081 if test "${enable_fast_install+set}" = set; then :
8082 enableval=$enable_fast_install; p=${PACKAGE-default}
8083 case $enableval in
8084 yes) enable_fast_install=yes ;;
8085 no) enable_fast_install=no ;;
8087 enable_fast_install=no
8088 # Look at the argument we got. We use all the common list separators.
8089 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8090 for pkg in $enableval; do
8091 IFS="$lt_save_ifs"
8092 if test "X$pkg" = "X$p"; then
8093 enable_fast_install=yes
8095 done
8096 IFS="$lt_save_ifs"
8098 esac
8099 else
8100 enable_fast_install=yes
8113 # This can be used to rebuild libtool when needed
8114 LIBTOOL_DEPS="$ltmain"
8116 # Always use our own libtool.
8117 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8144 test -z "$LN_S" && LN_S="ln -s"
8159 if test -n "${ZSH_VERSION+set}" ; then
8160 setopt NO_GLOB_SUBST
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8164 $as_echo_n "checking for objdir... " >&6; }
8165 if test "${lt_cv_objdir+set}" = set; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 rm -f .libs 2>/dev/null
8169 mkdir .libs 2>/dev/null
8170 if test -d .libs; then
8171 lt_cv_objdir=.libs
8172 else
8173 # MS-DOS does not allow filenames that begin with a dot.
8174 lt_cv_objdir=_libs
8176 rmdir .libs 2>/dev/null
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8179 $as_echo "$lt_cv_objdir" >&6; }
8180 objdir=$lt_cv_objdir
8186 cat >>confdefs.h <<_ACEOF
8187 #define LT_OBJDIR "$lt_cv_objdir/"
8188 _ACEOF
8193 case $host_os in
8194 aix3*)
8195 # AIX sometimes has problems with the GCC collect2 program. For some
8196 # reason, if we set the COLLECT_NAMES environment variable, the problems
8197 # vanish in a puff of smoke.
8198 if test "X${COLLECT_NAMES+set}" != Xset; then
8199 COLLECT_NAMES=
8200 export COLLECT_NAMES
8203 esac
8205 # Global variables:
8206 ofile=libtool
8207 can_build_shared=yes
8209 # All known linkers require a `.a' archive for static linking (except MSVC,
8210 # which needs '.lib').
8211 libext=a
8213 with_gnu_ld="$lt_cv_prog_gnu_ld"
8215 old_CC="$CC"
8216 old_CFLAGS="$CFLAGS"
8218 # Set sane defaults for various variables
8219 test -z "$CC" && CC=cc
8220 test -z "$LTCC" && LTCC=$CC
8221 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8222 test -z "$LD" && LD=ld
8223 test -z "$ac_objext" && ac_objext=o
8225 for cc_temp in $compiler""; do
8226 case $cc_temp in
8227 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8228 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8229 \-*) ;;
8230 *) break;;
8231 esac
8232 done
8233 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8236 # Only perform the check for file, if the check method requires it
8237 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8238 case $deplibs_check_method in
8239 file_magic*)
8240 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8242 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8243 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 case $MAGIC_CMD in
8247 [\\/*] | ?:[\\/]*)
8248 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8251 lt_save_MAGIC_CMD="$MAGIC_CMD"
8252 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8253 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8254 for ac_dir in $ac_dummy; do
8255 IFS="$lt_save_ifs"
8256 test -z "$ac_dir" && ac_dir=.
8257 if test -f $ac_dir/${ac_tool_prefix}file; then
8258 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8259 if test -n "$file_magic_test_file"; then
8260 case $deplibs_check_method in
8261 "file_magic "*)
8262 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8264 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8265 $EGREP "$file_magic_regex" > /dev/null; then
8267 else
8268 cat <<_LT_EOF 1>&2
8270 *** Warning: the command libtool uses to detect shared libraries,
8271 *** $file_magic_cmd, produces output that libtool cannot recognize.
8272 *** The result is that libtool may fail to recognize shared libraries
8273 *** as such. This will affect the creation of libtool libraries that
8274 *** depend on shared libraries, but programs linked with such libtool
8275 *** libraries will work regardless of this problem. Nevertheless, you
8276 *** may want to report the problem to your system manager and/or to
8277 *** bug-libtool@gnu.org
8279 _LT_EOF
8280 fi ;;
8281 esac
8283 break
8285 done
8286 IFS="$lt_save_ifs"
8287 MAGIC_CMD="$lt_save_MAGIC_CMD"
8289 esac
8292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8293 if test -n "$MAGIC_CMD"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8295 $as_echo "$MAGIC_CMD" >&6; }
8296 else
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8305 if test -z "$lt_cv_path_MAGIC_CMD"; then
8306 if test -n "$ac_tool_prefix"; then
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8308 $as_echo_n "checking for file... " >&6; }
8309 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 case $MAGIC_CMD in
8313 [\\/*] | ?:[\\/]*)
8314 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8317 lt_save_MAGIC_CMD="$MAGIC_CMD"
8318 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8319 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8320 for ac_dir in $ac_dummy; do
8321 IFS="$lt_save_ifs"
8322 test -z "$ac_dir" && ac_dir=.
8323 if test -f $ac_dir/file; then
8324 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8325 if test -n "$file_magic_test_file"; then
8326 case $deplibs_check_method in
8327 "file_magic "*)
8328 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8331 $EGREP "$file_magic_regex" > /dev/null; then
8333 else
8334 cat <<_LT_EOF 1>&2
8336 *** Warning: the command libtool uses to detect shared libraries,
8337 *** $file_magic_cmd, produces output that libtool cannot recognize.
8338 *** The result is that libtool may fail to recognize shared libraries
8339 *** as such. This will affect the creation of libtool libraries that
8340 *** depend on shared libraries, but programs linked with such libtool
8341 *** libraries will work regardless of this problem. Nevertheless, you
8342 *** may want to report the problem to your system manager and/or to
8343 *** bug-libtool@gnu.org
8345 _LT_EOF
8346 fi ;;
8347 esac
8349 break
8351 done
8352 IFS="$lt_save_ifs"
8353 MAGIC_CMD="$lt_save_MAGIC_CMD"
8355 esac
8358 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8359 if test -n "$MAGIC_CMD"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8361 $as_echo "$MAGIC_CMD" >&6; }
8362 else
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8368 else
8369 MAGIC_CMD=:
8375 esac
8377 # Use C for the default configuration in the libtool script
8379 lt_save_CC="$CC"
8380 ac_ext=c
8381 ac_cpp='$CPP $CPPFLAGS'
8382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8387 # Source file extension for C test sources.
8388 ac_ext=c
8390 # Object file extension for compiled C test sources.
8391 objext=o
8392 objext=$objext
8394 # Code to be used in simple compile tests
8395 lt_simple_compile_test_code="int some_variable = 0;"
8397 # Code to be used in simple link tests
8398 lt_simple_link_test_code='int main(){return(0);}'
8406 # If no C compiler was specified, use CC.
8407 LTCC=${LTCC-"$CC"}
8409 # If no C compiler flags were specified, use CFLAGS.
8410 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8412 # Allow CC to be a program name with arguments.
8413 compiler=$CC
8415 # Save the default compiler, since it gets overwritten when the other
8416 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8417 compiler_DEFAULT=$CC
8419 # save warnings/boilerplate of simple test code
8420 ac_outfile=conftest.$ac_objext
8421 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8422 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8423 _lt_compiler_boilerplate=`cat conftest.err`
8424 $RM conftest*
8426 ac_outfile=conftest.$ac_objext
8427 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8428 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8429 _lt_linker_boilerplate=`cat conftest.err`
8430 $RM -r conftest*
8433 ## CAVEAT EMPTOR:
8434 ## There is no encapsulation within the following macros, do not change
8435 ## the running order or otherwise move them around unless you know exactly
8436 ## what you are doing...
8437 if test -n "$compiler"; then
8439 lt_prog_compiler_no_builtin_flag=
8441 if test "$GCC" = yes; then
8442 case $cc_basename in
8443 nvcc*)
8444 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8446 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8447 esac
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8450 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8451 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 lt_cv_prog_compiler_rtti_exceptions=no
8455 ac_outfile=conftest.$ac_objext
8456 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8457 lt_compiler_flag="-fno-rtti -fno-exceptions"
8458 # Insert the option either (1) after the last *FLAGS variable, or
8459 # (2) before a word containing "conftest.", or (3) at the end.
8460 # Note that $ac_compile itself does not contain backslashes and begins
8461 # with a dollar sign (not a hyphen), so the echo should work correctly.
8462 # The option is referenced via a variable to avoid confusing sed.
8463 lt_compile=`echo "$ac_compile" | $SED \
8464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8466 -e 's:$: $lt_compiler_flag:'`
8467 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8468 (eval "$lt_compile" 2>conftest.err)
8469 ac_status=$?
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 if (exit $ac_status) && test -s "$ac_outfile"; then
8473 # The compiler can only warn and ignore the option if not recognized
8474 # So say no if there are warnings other than the usual output.
8475 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8476 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8477 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8478 lt_cv_prog_compiler_rtti_exceptions=yes
8481 $RM conftest*
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8485 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8487 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8488 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8489 else
8500 lt_prog_compiler_wl=
8501 lt_prog_compiler_pic=
8502 lt_prog_compiler_static=
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8507 if test "$GCC" = yes; then
8508 lt_prog_compiler_wl='-Wl,'
8509 lt_prog_compiler_static='-static'
8511 case $host_os in
8512 aix*)
8513 # All AIX code is PIC.
8514 if test "$host_cpu" = ia64; then
8515 # AIX 5 now supports IA64 processor
8516 lt_prog_compiler_static='-Bstatic'
8520 amigaos*)
8521 case $host_cpu in
8522 powerpc)
8523 # see comment about AmigaOS4 .so support
8524 lt_prog_compiler_pic='-fPIC'
8526 m68k)
8527 # FIXME: we need at least 68020 code to build shared libraries, but
8528 # adding the `-m68020' flag to GCC prevents building anything better,
8529 # like `-m68040'.
8530 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8532 esac
8535 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8536 # PIC is the default for these OSes.
8539 mingw* | cygwin* | pw32* | os2* | cegcc*)
8540 # This hack is so that the source file can tell whether it is being
8541 # built for inclusion in a dll (and should export symbols for example).
8542 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8543 # (--disable-auto-import) libraries
8544 lt_prog_compiler_pic='-DDLL_EXPORT'
8547 darwin* | rhapsody*)
8548 # PIC is the default on this platform
8549 # Common symbols not allowed in MH_DYLIB files
8550 lt_prog_compiler_pic='-fno-common'
8553 haiku*)
8554 # PIC is the default for Haiku.
8555 # The "-static" flag exists, but is broken.
8556 lt_prog_compiler_static=
8559 hpux*)
8560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8562 # sets the default TLS model and affects inlining.
8563 case $host_cpu in
8564 hppa*64*)
8565 # +Z the default
8568 lt_prog_compiler_pic='-fPIC'
8570 esac
8573 interix[3-9]*)
8574 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8575 # Instead, we relocate shared libraries at runtime.
8578 msdosdjgpp*)
8579 # Just because we use GCC doesn't mean we suddenly get shared libraries
8580 # on systems that don't support them.
8581 lt_prog_compiler_can_build_shared=no
8582 enable_shared=no
8585 *nto* | *qnx*)
8586 # QNX uses GNU C++, but need to define -shared option too, otherwise
8587 # it will coredump.
8588 lt_prog_compiler_pic='-fPIC -shared'
8591 sysv4*MP*)
8592 if test -d /usr/nec; then
8593 lt_prog_compiler_pic=-Kconform_pic
8598 lt_prog_compiler_pic='-fPIC'
8600 esac
8602 case $cc_basename in
8603 nvcc*) # Cuda Compiler Driver 2.2
8604 lt_prog_compiler_wl='-Xlinker '
8605 lt_prog_compiler_pic='-Xcompiler -fPIC'
8607 esac
8608 else
8609 # PORTME Check for flag to pass linker flags through the system compiler.
8610 case $host_os in
8611 aix*)
8612 lt_prog_compiler_wl='-Wl,'
8613 if test "$host_cpu" = ia64; then
8614 # AIX 5 now supports IA64 processor
8615 lt_prog_compiler_static='-Bstatic'
8616 else
8617 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8621 mingw* | cygwin* | pw32* | os2* | cegcc*)
8622 # This hack is so that the source file can tell whether it is being
8623 # built for inclusion in a dll (and should export symbols for example).
8624 lt_prog_compiler_pic='-DDLL_EXPORT'
8627 hpux9* | hpux10* | hpux11*)
8628 lt_prog_compiler_wl='-Wl,'
8629 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8630 # not for PA HP-UX.
8631 case $host_cpu in
8632 hppa*64*|ia64*)
8633 # +Z the default
8636 lt_prog_compiler_pic='+Z'
8638 esac
8639 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8640 lt_prog_compiler_static='${wl}-a ${wl}archive'
8643 irix5* | irix6* | nonstopux*)
8644 lt_prog_compiler_wl='-Wl,'
8645 # PIC (with -KPIC) is the default.
8646 lt_prog_compiler_static='-non_shared'
8649 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8650 case $cc_basename in
8651 # old Intel for x86_64 which still supported -KPIC.
8652 ecc*)
8653 lt_prog_compiler_wl='-Wl,'
8654 lt_prog_compiler_pic='-KPIC'
8655 lt_prog_compiler_static='-static'
8657 # icc used to be incompatible with GCC.
8658 # ICC 10 doesn't accept -KPIC any more.
8659 icc* | ifort*)
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_pic='-fPIC'
8662 lt_prog_compiler_static='-static'
8664 # Lahey Fortran 8.1.
8665 lf95*)
8666 lt_prog_compiler_wl='-Wl,'
8667 lt_prog_compiler_pic='--shared'
8668 lt_prog_compiler_static='--static'
8670 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8671 # Portland Group compilers (*not* the Pentium gcc compiler,
8672 # which looks to be a dead project)
8673 lt_prog_compiler_wl='-Wl,'
8674 lt_prog_compiler_pic='-fpic'
8675 lt_prog_compiler_static='-Bstatic'
8677 ccc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 # All Alpha code is PIC.
8680 lt_prog_compiler_static='-non_shared'
8682 xl* | bgxl* | bgf* | mpixl*)
8683 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8684 lt_prog_compiler_wl='-Wl,'
8685 lt_prog_compiler_pic='-qpic'
8686 lt_prog_compiler_static='-qstaticlink'
8689 case `$CC -V 2>&1 | sed 5q` in
8690 *Sun\ F* | *Sun*Fortran*)
8691 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-Bstatic'
8694 lt_prog_compiler_wl=''
8696 *Sun\ C*)
8697 # Sun C 5.9
8698 lt_prog_compiler_pic='-KPIC'
8699 lt_prog_compiler_static='-Bstatic'
8700 lt_prog_compiler_wl='-Wl,'
8702 esac
8704 esac
8707 newsos6)
8708 lt_prog_compiler_pic='-KPIC'
8709 lt_prog_compiler_static='-Bstatic'
8712 *nto* | *qnx*)
8713 # QNX uses GNU C++, but need to define -shared option too, otherwise
8714 # it will coredump.
8715 lt_prog_compiler_pic='-fPIC -shared'
8718 osf3* | osf4* | osf5*)
8719 lt_prog_compiler_wl='-Wl,'
8720 # All OSF/1 code is PIC.
8721 lt_prog_compiler_static='-non_shared'
8724 rdos*)
8725 lt_prog_compiler_static='-non_shared'
8728 solaris*)
8729 lt_prog_compiler_pic='-KPIC'
8730 lt_prog_compiler_static='-Bstatic'
8731 case $cc_basename in
8732 f77* | f90* | f95*)
8733 lt_prog_compiler_wl='-Qoption ld ';;
8735 lt_prog_compiler_wl='-Wl,';;
8736 esac
8739 sunos4*)
8740 lt_prog_compiler_wl='-Qoption ld '
8741 lt_prog_compiler_pic='-PIC'
8742 lt_prog_compiler_static='-Bstatic'
8745 sysv4 | sysv4.2uw2* | sysv4.3*)
8746 lt_prog_compiler_wl='-Wl,'
8747 lt_prog_compiler_pic='-KPIC'
8748 lt_prog_compiler_static='-Bstatic'
8751 sysv4*MP*)
8752 if test -d /usr/nec ;then
8753 lt_prog_compiler_pic='-Kconform_pic'
8754 lt_prog_compiler_static='-Bstatic'
8758 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-Bstatic'
8764 unicos*)
8765 lt_prog_compiler_wl='-Wl,'
8766 lt_prog_compiler_can_build_shared=no
8769 uts4*)
8770 lt_prog_compiler_pic='-pic'
8771 lt_prog_compiler_static='-Bstatic'
8775 lt_prog_compiler_can_build_shared=no
8777 esac
8780 case $host_os in
8781 # For platforms which do not support PIC, -DPIC is meaningless:
8782 *djgpp*)
8783 lt_prog_compiler_pic=
8786 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8788 esac
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8790 $as_echo "$lt_prog_compiler_pic" >&6; }
8798 # Check to make sure the PIC flag actually works.
8800 if test -n "$lt_prog_compiler_pic"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8802 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8803 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 lt_cv_prog_compiler_pic_works=no
8807 ac_outfile=conftest.$ac_objext
8808 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8809 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8810 # Insert the option either (1) after the last *FLAGS variable, or
8811 # (2) before a word containing "conftest.", or (3) at the end.
8812 # Note that $ac_compile itself does not contain backslashes and begins
8813 # with a dollar sign (not a hyphen), so the echo should work correctly.
8814 # The option is referenced via a variable to avoid confusing sed.
8815 lt_compile=`echo "$ac_compile" | $SED \
8816 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8818 -e 's:$: $lt_compiler_flag:'`
8819 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8820 (eval "$lt_compile" 2>conftest.err)
8821 ac_status=$?
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 if (exit $ac_status) && test -s "$ac_outfile"; then
8825 # The compiler can only warn and ignore the option if not recognized
8826 # So say no if there are warnings other than the usual output.
8827 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8828 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8829 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8830 lt_cv_prog_compiler_pic_works=yes
8833 $RM conftest*
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8837 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8839 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8840 case $lt_prog_compiler_pic in
8841 "" | " "*) ;;
8842 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8843 esac
8844 else
8845 lt_prog_compiler_pic=
8846 lt_prog_compiler_can_build_shared=no
8857 # Check to make sure the static flag actually works.
8859 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8861 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8862 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 lt_cv_prog_compiler_static_works=no
8866 save_LDFLAGS="$LDFLAGS"
8867 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8868 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8869 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8870 # The linker can only warn and ignore the option if not recognized
8871 # So say no if there are warnings
8872 if test -s conftest.err; then
8873 # Append any errors to the config.log.
8874 cat conftest.err 1>&5
8875 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8876 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8877 if diff conftest.exp conftest.er2 >/dev/null; then
8878 lt_cv_prog_compiler_static_works=yes
8880 else
8881 lt_cv_prog_compiler_static_works=yes
8884 $RM -r conftest*
8885 LDFLAGS="$save_LDFLAGS"
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8889 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8891 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8893 else
8894 lt_prog_compiler_static=
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8905 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 lt_cv_prog_compiler_c_o=no
8909 $RM -r conftest 2>/dev/null
8910 mkdir conftest
8911 cd conftest
8912 mkdir out
8913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915 lt_compiler_flag="-o out/conftest2.$ac_objext"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 lt_compile=`echo "$ac_compile" | $SED \
8921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923 -e 's:$: $lt_compiler_flag:'`
8924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925 (eval "$lt_compile" 2>out/conftest.err)
8926 ac_status=$?
8927 cat out/conftest.err >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8930 then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_c_o=yes
8939 chmod u+w . 2>&5
8940 $RM conftest*
8941 # SGI C++ compiler will create directory out/ii_files/ for
8942 # template instantiation
8943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8944 $RM out/* && rmdir out
8945 cd ..
8946 $RM -r conftest
8947 $RM conftest*
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8951 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8959 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8960 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8961 $as_echo_n "(cached) " >&6
8962 else
8963 lt_cv_prog_compiler_c_o=no
8964 $RM -r conftest 2>/dev/null
8965 mkdir conftest
8966 cd conftest
8967 mkdir out
8968 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8970 lt_compiler_flag="-o out/conftest2.$ac_objext"
8971 # Insert the option either (1) after the last *FLAGS variable, or
8972 # (2) before a word containing "conftest.", or (3) at the end.
8973 # Note that $ac_compile itself does not contain backslashes and begins
8974 # with a dollar sign (not a hyphen), so the echo should work correctly.
8975 lt_compile=`echo "$ac_compile" | $SED \
8976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8978 -e 's:$: $lt_compiler_flag:'`
8979 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8980 (eval "$lt_compile" 2>out/conftest.err)
8981 ac_status=$?
8982 cat out/conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8985 then
8986 # The compiler can only warn and ignore the option if not recognized
8987 # So say no if there are warnings
8988 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8989 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8990 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8991 lt_cv_prog_compiler_c_o=yes
8994 chmod u+w . 2>&5
8995 $RM conftest*
8996 # SGI C++ compiler will create directory out/ii_files/ for
8997 # template instantiation
8998 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8999 $RM out/* && rmdir out
9000 cd ..
9001 $RM -r conftest
9002 $RM conftest*
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9006 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9011 hard_links="nottested"
9012 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9013 # do not overwrite the value of need_locks provided by the user
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9015 $as_echo_n "checking if we can lock with hard links... " >&6; }
9016 hard_links=yes
9017 $RM conftest*
9018 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9019 touch conftest.a
9020 ln conftest.a conftest.b 2>&5 || hard_links=no
9021 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9023 $as_echo "$hard_links" >&6; }
9024 if test "$hard_links" = no; then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9026 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9027 need_locks=warn
9029 else
9030 need_locks=no
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9039 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9041 runpath_var=
9042 allow_undefined_flag=
9043 always_export_symbols=no
9044 archive_cmds=
9045 archive_expsym_cmds=
9046 compiler_needs_object=no
9047 enable_shared_with_static_runtimes=no
9048 export_dynamic_flag_spec=
9049 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9050 hardcode_automatic=no
9051 hardcode_direct=no
9052 hardcode_direct_absolute=no
9053 hardcode_libdir_flag_spec=
9054 hardcode_libdir_flag_spec_ld=
9055 hardcode_libdir_separator=
9056 hardcode_minus_L=no
9057 hardcode_shlibpath_var=unsupported
9058 inherit_rpath=no
9059 link_all_deplibs=unknown
9060 module_cmds=
9061 module_expsym_cmds=
9062 old_archive_from_new_cmds=
9063 old_archive_from_expsyms_cmds=
9064 thread_safe_flag_spec=
9065 whole_archive_flag_spec=
9066 # include_expsyms should be a list of space-separated symbols to be *always*
9067 # included in the symbol list
9068 include_expsyms=
9069 # exclude_expsyms can be an extended regexp of symbols to exclude
9070 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9071 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9072 # as well as any symbol that contains `d'.
9073 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9074 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9075 # platforms (ab)use it in PIC code, but their linkers get confused if
9076 # the symbol is explicitly referenced. Since portable code cannot
9077 # rely on this symbol name, it's probably fine to never include it in
9078 # preloaded symbol tables.
9079 # Exclude shared library initialization/finalization symbols.
9080 extract_expsyms_cmds=
9082 case $host_os in
9083 cygwin* | mingw* | pw32* | cegcc*)
9084 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9085 # When not using gcc, we currently assume that we are using
9086 # Microsoft Visual C++.
9087 if test "$GCC" != yes; then
9088 with_gnu_ld=no
9091 interix*)
9092 # we just hope/assume this is gcc and not c89 (= MSVC++)
9093 with_gnu_ld=yes
9095 openbsd*)
9096 with_gnu_ld=no
9098 esac
9100 ld_shlibs=yes
9102 # On some targets, GNU ld is compatible enough with the native linker
9103 # that we're better off using the native interface for both.
9104 lt_use_gnu_ld_interface=no
9105 if test "$with_gnu_ld" = yes; then
9106 case $host_os in
9107 aix*)
9108 # The AIX port of GNU ld has always aspired to compatibility
9109 # with the native linker. However, as the warning in the GNU ld
9110 # block says, versions before 2.19.5* couldn't really create working
9111 # shared libraries, regardless of the interface used.
9112 case `$LD -v 2>&1` in
9113 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9114 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9115 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9117 lt_use_gnu_ld_interface=yes
9119 esac
9122 lt_use_gnu_ld_interface=yes
9124 esac
9127 if test "$lt_use_gnu_ld_interface" = yes; then
9128 # If archive_cmds runs LD, not CC, wlarc should be empty
9129 wlarc='${wl}'
9131 # Set some defaults for GNU ld with shared library support. These
9132 # are reset later if shared libraries are not supported. Putting them
9133 # here allows them to be overridden if necessary.
9134 runpath_var=LD_RUN_PATH
9135 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9136 export_dynamic_flag_spec='${wl}--export-dynamic'
9137 # ancient GNU ld didn't support --whole-archive et. al.
9138 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9139 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9140 else
9141 whole_archive_flag_spec=
9143 supports_anon_versioning=no
9144 case `$LD -v 2>&1` in
9145 *GNU\ gold*) supports_anon_versioning=yes ;;
9146 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9147 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9148 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9149 *\ 2.11.*) ;; # other 2.11 versions
9150 *) supports_anon_versioning=yes ;;
9151 esac
9153 # See if GNU ld supports shared libraries.
9154 case $host_os in
9155 aix[3-9]*)
9156 # On AIX/PPC, the GNU linker is very broken
9157 if test "$host_cpu" != ia64; then
9158 ld_shlibs=no
9159 cat <<_LT_EOF 1>&2
9161 *** Warning: the GNU linker, at least up to release 2.19, is reported
9162 *** to be unable to reliably create shared libraries on AIX.
9163 *** Therefore, libtool is disabling shared libraries support. If you
9164 *** really care for shared libraries, you may want to install binutils
9165 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9166 *** You will then need to restart the configuration process.
9168 _LT_EOF
9172 amigaos*)
9173 case $host_cpu in
9174 powerpc)
9175 # see comment about AmigaOS4 .so support
9176 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9177 archive_expsym_cmds=''
9179 m68k)
9180 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)'
9181 hardcode_libdir_flag_spec='-L$libdir'
9182 hardcode_minus_L=yes
9184 esac
9187 beos*)
9188 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9189 allow_undefined_flag=unsupported
9190 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9191 # support --undefined. This deserves some investigation. FIXME
9192 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9193 else
9194 ld_shlibs=no
9198 cygwin* | mingw* | pw32* | cegcc*)
9199 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9200 # as there is no search path for DLLs.
9201 hardcode_libdir_flag_spec='-L$libdir'
9202 export_dynamic_flag_spec='${wl}--export-all-symbols'
9203 allow_undefined_flag=unsupported
9204 always_export_symbols=no
9205 enable_shared_with_static_runtimes=yes
9206 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9208 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9209 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9210 # If the export-symbols file already is a .def file (1st line
9211 # is EXPORTS), use it as is; otherwise, prepend...
9212 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9213 cp $export_symbols $output_objdir/$soname.def;
9214 else
9215 echo EXPORTS > $output_objdir/$soname.def;
9216 cat $export_symbols >> $output_objdir/$soname.def;
9218 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9219 else
9220 ld_shlibs=no
9224 haiku*)
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226 link_all_deplibs=yes
9229 interix[3-9]*)
9230 hardcode_direct=no
9231 hardcode_shlibpath_var=no
9232 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9233 export_dynamic_flag_spec='${wl}-E'
9234 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9235 # Instead, shared libraries are loaded at an image base (0x10000000 by
9236 # default) and relocated if they conflict, which is a slow very memory
9237 # consuming and fragmenting process. To avoid this, we pick a random,
9238 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9239 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9240 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9241 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'
9244 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9245 tmp_diet=no
9246 if test "$host_os" = linux-dietlibc; then
9247 case $cc_basename in
9248 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9249 esac
9251 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9252 && test "$tmp_diet" = no
9253 then
9254 tmp_addflag=
9255 tmp_sharedflag='-shared'
9256 case $cc_basename,$host_cpu in
9257 pgcc*) # Portland Group C compiler
9258 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'
9259 tmp_addflag=' $pic_flag'
9261 pgf77* | pgf90* | pgf95* | pgfortran*)
9262 # Portland Group f77 and f90 compilers
9263 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'
9264 tmp_addflag=' $pic_flag -Mnomain' ;;
9265 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9266 tmp_addflag=' -i_dynamic' ;;
9267 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9268 tmp_addflag=' -i_dynamic -nofor_main' ;;
9269 ifc* | ifort*) # Intel Fortran compiler
9270 tmp_addflag=' -nofor_main' ;;
9271 lf95*) # Lahey Fortran 8.1
9272 whole_archive_flag_spec=
9273 tmp_sharedflag='--shared' ;;
9274 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9275 tmp_sharedflag='-qmkshrobj'
9276 tmp_addflag= ;;
9277 nvcc*) # Cuda Compiler Driver 2.2
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 compiler_needs_object=yes
9281 esac
9282 case `$CC -V 2>&1 | sed 5q` in
9283 *Sun\ C*) # Sun C 5.9
9284 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'
9285 compiler_needs_object=yes
9286 tmp_sharedflag='-G' ;;
9287 *Sun\ F*) # Sun Fortran 8.3
9288 tmp_sharedflag='-G' ;;
9289 esac
9290 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9292 if test "x$supports_anon_versioning" = xyes; then
9293 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9294 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9295 echo "local: *; };" >> $output_objdir/$libname.ver~
9296 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9299 case $cc_basename in
9300 xlf* | bgf* | bgxlf* | mpixlf*)
9301 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9302 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9303 hardcode_libdir_flag_spec=
9304 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9305 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9306 if test "x$supports_anon_versioning" = xyes; then
9307 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9308 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9309 echo "local: *; };" >> $output_objdir/$libname.ver~
9310 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9313 esac
9314 else
9315 ld_shlibs=no
9319 netbsd*)
9320 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9321 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9322 wlarc=
9323 else
9324 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9325 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9329 solaris*)
9330 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9331 ld_shlibs=no
9332 cat <<_LT_EOF 1>&2
9334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9335 *** create shared libraries on Solaris systems. Therefore, libtool
9336 *** is disabling shared libraries support. We urge you to upgrade GNU
9337 *** binutils to release 2.9.1 or newer. Another option is to modify
9338 *** your PATH or compiler configuration so that the native linker is
9339 *** used, and then restart.
9341 _LT_EOF
9342 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9345 else
9346 ld_shlibs=no
9350 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9351 case `$LD -v 2>&1` in
9352 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9353 ld_shlibs=no
9354 cat <<_LT_EOF 1>&2
9356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9357 *** reliably create shared libraries on SCO systems. Therefore, libtool
9358 *** is disabling shared libraries support. We urge you to upgrade GNU
9359 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9360 *** your PATH or compiler configuration so that the native linker is
9361 *** used, and then restart.
9363 _LT_EOF
9366 # For security reasons, it is highly recommended that you always
9367 # use absolute paths for naming shared libraries, and exclude the
9368 # DT_RUNPATH tag from executables and libraries. But doing so
9369 # requires that you compile everything twice, which is a pain.
9370 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9372 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9373 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9374 else
9375 ld_shlibs=no
9378 esac
9381 sunos4*)
9382 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9383 wlarc=
9384 hardcode_direct=yes
9385 hardcode_shlibpath_var=no
9389 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9390 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9391 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9392 else
9393 ld_shlibs=no
9396 esac
9398 if test "$ld_shlibs" = no; then
9399 runpath_var=
9400 hardcode_libdir_flag_spec=
9401 export_dynamic_flag_spec=
9402 whole_archive_flag_spec=
9404 else
9405 # PORTME fill in a description of your system's linker (not GNU ld)
9406 case $host_os in
9407 aix3*)
9408 allow_undefined_flag=unsupported
9409 always_export_symbols=yes
9410 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'
9411 # Note: this linker hardcodes the directories in LIBPATH if there
9412 # are no directories specified by -L.
9413 hardcode_minus_L=yes
9414 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9415 # Neither direct hardcoding nor static linking is supported with a
9416 # broken collect2.
9417 hardcode_direct=unsupported
9421 aix[4-9]*)
9422 if test "$host_cpu" = ia64; then
9423 # On IA64, the linker does run time linking by default, so we don't
9424 # have to do anything special.
9425 aix_use_runtimelinking=no
9426 exp_sym_flag='-Bexport'
9427 no_entry_flag=""
9428 else
9429 # If we're using GNU nm, then we don't want the "-C" option.
9430 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9431 # Also, AIX nm treats weak defined symbols like other global
9432 # defined symbols, whereas GNU nm marks them as "W".
9433 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9434 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'
9435 else
9436 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'
9438 aix_use_runtimelinking=no
9440 # Test if we are trying to use run time linking or normal
9441 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9442 # need to do runtime linking.
9443 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9444 for ld_flag in $LDFLAGS; do
9445 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9446 aix_use_runtimelinking=yes
9447 break
9449 done
9451 esac
9453 exp_sym_flag='-bexport'
9454 no_entry_flag='-bnoentry'
9457 # When large executables or shared objects are built, AIX ld can
9458 # have problems creating the table of contents. If linking a library
9459 # or program results in "error TOC overflow" add -mminimal-toc to
9460 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9461 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9463 archive_cmds=''
9464 hardcode_direct=yes
9465 hardcode_direct_absolute=yes
9466 hardcode_libdir_separator=':'
9467 link_all_deplibs=yes
9468 file_list_spec='${wl}-f,'
9470 if test "$GCC" = yes; then
9471 case $host_os in aix4.[012]|aix4.[012].*)
9472 # We only want to do this on AIX 4.2 and lower, the check
9473 # below for broken collect2 doesn't work under 4.3+
9474 collect2name=`${CC} -print-prog-name=collect2`
9475 if test -f "$collect2name" &&
9476 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9477 then
9478 # We have reworked collect2
9480 else
9481 # We have old collect2
9482 hardcode_direct=unsupported
9483 # It fails to find uninstalled libraries when the uninstalled
9484 # path is not listed in the libpath. Setting hardcode_minus_L
9485 # to unsupported forces relinking
9486 hardcode_minus_L=yes
9487 hardcode_libdir_flag_spec='-L$libdir'
9488 hardcode_libdir_separator=
9491 esac
9492 shared_flag='-shared'
9493 if test "$aix_use_runtimelinking" = yes; then
9494 shared_flag="$shared_flag "'${wl}-G'
9496 else
9497 # not using gcc
9498 if test "$host_cpu" = ia64; then
9499 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9500 # chokes on -Wl,-G. The following line is correct:
9501 shared_flag='-G'
9502 else
9503 if test "$aix_use_runtimelinking" = yes; then
9504 shared_flag='${wl}-G'
9505 else
9506 shared_flag='${wl}-bM:SRE'
9511 export_dynamic_flag_spec='${wl}-bexpall'
9512 # It seems that -bexpall does not export symbols beginning with
9513 # underscore (_), so it is better to generate a list of symbols to export.
9514 always_export_symbols=yes
9515 if test "$aix_use_runtimelinking" = yes; then
9516 # Warning - without using the other runtime loading flags (-brtl),
9517 # -berok will link without error, but may produce a broken library.
9518 allow_undefined_flag='-berok'
9519 # Determine the default libpath from the value encoded in an
9520 # empty executable.
9521 if test x$gcc_no_link = xyes; then
9522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9528 main ()
9532 return 0;
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9537 lt_aix_libpath_sed='
9538 /Import File Strings/,/^$/ {
9539 /^0/ {
9540 s/^0 *\(.*\)$/\1/
9544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 # Check for a 64-bit object if we didn't find anything.
9546 if test -z "$aix_libpath"; then
9547 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9554 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555 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"
9556 else
9557 if test "$host_cpu" = ia64; then
9558 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9559 allow_undefined_flag="-z nodefs"
9560 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"
9561 else
9562 # Determine the default libpath from the value encoded in an
9563 # empty executable.
9564 if test x$gcc_no_link = xyes; then
9565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9571 main ()
9575 return 0;
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9580 lt_aix_libpath_sed='
9581 /Import File Strings/,/^$/ {
9582 /^0/ {
9583 s/^0 *\(.*\)$/\1/
9587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 # Check for a 64-bit object if we didn't find anything.
9589 if test -z "$aix_libpath"; then
9590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9597 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598 # Warning - without using the other run time loading flags,
9599 # -berok will link without error, but may produce a broken library.
9600 no_undefined_flag=' ${wl}-bernotok'
9601 allow_undefined_flag=' ${wl}-berok'
9602 if test "$with_gnu_ld" = yes; then
9603 # We only use this code for GNU lds that support --whole-archive.
9604 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9605 else
9606 # Exported symbols can be pulled into shared objects from archives
9607 whole_archive_flag_spec='$convenience'
9609 archive_cmds_need_lc=yes
9610 # This is similar to how AIX traditionally builds its shared libraries.
9611 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'
9616 amigaos*)
9617 case $host_cpu in
9618 powerpc)
9619 # see comment about AmigaOS4 .so support
9620 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9621 archive_expsym_cmds=''
9623 m68k)
9624 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)'
9625 hardcode_libdir_flag_spec='-L$libdir'
9626 hardcode_minus_L=yes
9628 esac
9631 bsdi[45]*)
9632 export_dynamic_flag_spec=-rdynamic
9635 cygwin* | mingw* | pw32* | cegcc*)
9636 # When not using gcc, we currently assume that we are using
9637 # Microsoft Visual C++.
9638 # hardcode_libdir_flag_spec is actually meaningless, as there is
9639 # no search path for DLLs.
9640 hardcode_libdir_flag_spec=' '
9641 allow_undefined_flag=unsupported
9642 # Tell ltmain to make .lib files, not .a files.
9643 libext=lib
9644 # Tell ltmain to make .dll files, not .so files.
9645 shrext_cmds=".dll"
9646 # FIXME: Setting linknames here is a bad hack.
9647 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9648 # The linker will automatically build a .lib file if we build a DLL.
9649 old_archive_from_new_cmds='true'
9650 # FIXME: Should let the user specify the lib program.
9651 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9652 fix_srcfile_path='`cygpath -w "$srcfile"`'
9653 enable_shared_with_static_runtimes=yes
9656 darwin* | rhapsody*)
9659 archive_cmds_need_lc=no
9660 hardcode_direct=no
9661 hardcode_automatic=yes
9662 hardcode_shlibpath_var=unsupported
9663 if test "$lt_cv_ld_force_load" = "yes"; then
9664 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\"`'
9665 else
9666 whole_archive_flag_spec=''
9668 link_all_deplibs=yes
9669 allow_undefined_flag="$_lt_dar_allow_undefined"
9670 case $cc_basename in
9671 ifort*) _lt_dar_can_shared=yes ;;
9672 *) _lt_dar_can_shared=$GCC ;;
9673 esac
9674 if test "$_lt_dar_can_shared" = "yes"; then
9675 output_verbose_link_cmd=func_echo_all
9676 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9677 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9678 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}"
9679 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}"
9681 else
9682 ld_shlibs=no
9687 dgux*)
9688 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9689 hardcode_libdir_flag_spec='-L$libdir'
9690 hardcode_shlibpath_var=no
9693 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9694 # support. Future versions do this automatically, but an explicit c++rt0.o
9695 # does not break anything, and helps significantly (at the cost of a little
9696 # extra space).
9697 freebsd2.2*)
9698 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9699 hardcode_libdir_flag_spec='-R$libdir'
9700 hardcode_direct=yes
9701 hardcode_shlibpath_var=no
9704 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9705 freebsd2*)
9706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9707 hardcode_direct=yes
9708 hardcode_minus_L=yes
9709 hardcode_shlibpath_var=no
9712 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9713 freebsd* | dragonfly*)
9714 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9715 hardcode_libdir_flag_spec='-R$libdir'
9716 hardcode_direct=yes
9717 hardcode_shlibpath_var=no
9720 hpux9*)
9721 if test "$GCC" = yes; then
9722 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'
9723 else
9724 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'
9726 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9727 hardcode_libdir_separator=:
9728 hardcode_direct=yes
9730 # hardcode_minus_L: Not really in the search PATH,
9731 # but as the default location of the library.
9732 hardcode_minus_L=yes
9733 export_dynamic_flag_spec='${wl}-E'
9736 hpux10*)
9737 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9738 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9739 else
9740 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9742 if test "$with_gnu_ld" = no; then
9743 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9744 hardcode_libdir_flag_spec_ld='+b $libdir'
9745 hardcode_libdir_separator=:
9746 hardcode_direct=yes
9747 hardcode_direct_absolute=yes
9748 export_dynamic_flag_spec='${wl}-E'
9749 # hardcode_minus_L: Not really in the search PATH,
9750 # but as the default location of the library.
9751 hardcode_minus_L=yes
9755 hpux11*)
9756 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9757 case $host_cpu in
9758 hppa*64*)
9759 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9761 ia64*)
9762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9765 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9767 esac
9768 else
9769 case $host_cpu in
9770 hppa*64*)
9771 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9773 ia64*)
9774 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9778 # Older versions of the 11.00 compiler do not understand -b yet
9779 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9781 $as_echo_n "checking if $CC understands -b... " >&6; }
9782 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 lt_cv_prog_compiler__b=no
9786 save_LDFLAGS="$LDFLAGS"
9787 LDFLAGS="$LDFLAGS -b"
9788 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9789 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9790 # The linker can only warn and ignore the option if not recognized
9791 # So say no if there are warnings
9792 if test -s conftest.err; then
9793 # Append any errors to the config.log.
9794 cat conftest.err 1>&5
9795 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9796 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9797 if diff conftest.exp conftest.er2 >/dev/null; then
9798 lt_cv_prog_compiler__b=yes
9800 else
9801 lt_cv_prog_compiler__b=yes
9804 $RM -r conftest*
9805 LDFLAGS="$save_LDFLAGS"
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9809 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9811 if test x"$lt_cv_prog_compiler__b" = xyes; then
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9813 else
9814 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9818 esac
9820 if test "$with_gnu_ld" = no; then
9821 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9822 hardcode_libdir_separator=:
9824 case $host_cpu in
9825 hppa*64*|ia64*)
9826 hardcode_direct=no
9827 hardcode_shlibpath_var=no
9830 hardcode_direct=yes
9831 hardcode_direct_absolute=yes
9832 export_dynamic_flag_spec='${wl}-E'
9834 # hardcode_minus_L: Not really in the search PATH,
9835 # but as the default location of the library.
9836 hardcode_minus_L=yes
9838 esac
9842 irix5* | irix6* | nonstopux*)
9843 if test "$GCC" = yes; then
9844 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'
9845 # Try to use the -exported_symbol ld option, if it does not
9846 # work, assume that -exports_file does not work either and
9847 # implicitly export all symbols.
9848 save_LDFLAGS="$LDFLAGS"
9849 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9850 if test x$gcc_no_link = xyes; then
9851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9855 int foo(void) {}
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 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'
9861 rm -f core conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LDFLAGS="$save_LDFLAGS"
9864 else
9865 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'
9866 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'
9868 archive_cmds_need_lc='no'
9869 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870 hardcode_libdir_separator=:
9871 inherit_rpath=yes
9872 link_all_deplibs=yes
9875 netbsd*)
9876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9877 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9878 else
9879 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9881 hardcode_libdir_flag_spec='-R$libdir'
9882 hardcode_direct=yes
9883 hardcode_shlibpath_var=no
9886 newsos6)
9887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9888 hardcode_direct=yes
9889 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9890 hardcode_libdir_separator=:
9891 hardcode_shlibpath_var=no
9894 *nto* | *qnx*)
9897 openbsd*)
9898 if test -f /usr/libexec/ld.so; then
9899 hardcode_direct=yes
9900 hardcode_shlibpath_var=no
9901 hardcode_direct_absolute=yes
9902 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9903 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9905 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9906 export_dynamic_flag_spec='${wl}-E'
9907 else
9908 case $host_os in
9909 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9910 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9911 hardcode_libdir_flag_spec='-R$libdir'
9914 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9915 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9917 esac
9919 else
9920 ld_shlibs=no
9924 os2*)
9925 hardcode_libdir_flag_spec='-L$libdir'
9926 hardcode_minus_L=yes
9927 allow_undefined_flag=unsupported
9928 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'
9929 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9932 osf3*)
9933 if test "$GCC" = yes; then
9934 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9935 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'
9936 else
9937 allow_undefined_flag=' -expect_unresolved \*'
9938 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'
9940 archive_cmds_need_lc='no'
9941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9942 hardcode_libdir_separator=:
9945 osf4* | osf5*) # as osf3* with the addition of -msym flag
9946 if test "$GCC" = yes; then
9947 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9948 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'
9949 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9950 else
9951 allow_undefined_flag=' -expect_unresolved \*'
9952 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'
9953 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~
9954 $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'
9956 # Both c and cxx compiler support -rpath directly
9957 hardcode_libdir_flag_spec='-rpath $libdir'
9959 archive_cmds_need_lc='no'
9960 hardcode_libdir_separator=:
9963 solaris*)
9964 no_undefined_flag=' -z defs'
9965 if test "$GCC" = yes; then
9966 wlarc='${wl}'
9967 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9969 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9970 else
9971 case `$CC -V 2>&1` in
9972 *"Compilers 5.0"*)
9973 wlarc=''
9974 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9975 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9979 wlarc='${wl}'
9980 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9981 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984 esac
9986 hardcode_libdir_flag_spec='-R$libdir'
9987 hardcode_shlibpath_var=no
9988 case $host_os in
9989 solaris2.[0-5] | solaris2.[0-5].*) ;;
9991 # The compiler driver will combine and reorder linker options,
9992 # but understands `-z linker_flag'. GCC discards it without `$wl',
9993 # but is careful enough not to reorder.
9994 # Supported since Solaris 2.6 (maybe 2.5.1?)
9995 if test "$GCC" = yes; then
9996 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9997 else
9998 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10001 esac
10002 link_all_deplibs=yes
10005 sunos4*)
10006 if test "x$host_vendor" = xsequent; then
10007 # Use $CC to link under sequent, because it throws in some extra .o
10008 # files that make .init and .fini sections work.
10009 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10010 else
10011 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10013 hardcode_libdir_flag_spec='-L$libdir'
10014 hardcode_direct=yes
10015 hardcode_minus_L=yes
10016 hardcode_shlibpath_var=no
10019 sysv4)
10020 case $host_vendor in
10021 sni)
10022 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_direct=yes # is this really true???
10025 siemens)
10026 ## LD is ld it makes a PLAMLIB
10027 ## CC just makes a GrossModule.
10028 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10029 reload_cmds='$CC -r -o $output$reload_objs'
10030 hardcode_direct=no
10032 motorola)
10033 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10034 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10036 esac
10037 runpath_var='LD_RUN_PATH'
10038 hardcode_shlibpath_var=no
10041 sysv4.3*)
10042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_shlibpath_var=no
10044 export_dynamic_flag_spec='-Bexport'
10047 sysv4*MP*)
10048 if test -d /usr/nec; then
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_shlibpath_var=no
10051 runpath_var=LD_RUN_PATH
10052 hardcode_runpath_var=yes
10053 ld_shlibs=yes
10057 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10058 no_undefined_flag='${wl}-z,text'
10059 archive_cmds_need_lc=no
10060 hardcode_shlibpath_var=no
10061 runpath_var='LD_RUN_PATH'
10063 if test "$GCC" = yes; then
10064 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 else
10067 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 sysv5* | sco3.2v5* | sco5v6*)
10073 # Note: We can NOT use -z defs as we might desire, because we do not
10074 # link with -lc, and that would cause any symbols used from libc to
10075 # always be unresolved, which means just about no library would
10076 # ever link correctly. If we're not using GNU ld we use -z text
10077 # though, which does catch some bad symbols but isn't as heavy-handed
10078 # as -z defs.
10079 no_undefined_flag='${wl}-z,text'
10080 allow_undefined_flag='${wl}-z,nodefs'
10081 archive_cmds_need_lc=no
10082 hardcode_shlibpath_var=no
10083 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10084 hardcode_libdir_separator=':'
10085 link_all_deplibs=yes
10086 export_dynamic_flag_spec='${wl}-Bexport'
10087 runpath_var='LD_RUN_PATH'
10089 if test "$GCC" = yes; then
10090 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 else
10093 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098 uts4*)
10099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100 hardcode_libdir_flag_spec='-L$libdir'
10101 hardcode_shlibpath_var=no
10105 ld_shlibs=no
10107 esac
10109 if test x$host_vendor = xsni; then
10110 case $host in
10111 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10112 export_dynamic_flag_spec='${wl}-Blargedynsym'
10114 esac
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10119 $as_echo "$ld_shlibs" >&6; }
10120 test "$ld_shlibs" = no && can_build_shared=no
10122 with_gnu_ld=$with_gnu_ld
10139 # Do we need to explicitly link libc?
10141 case "x$archive_cmds_need_lc" in
10142 x|xyes)
10143 # Assume -lc should be added
10144 archive_cmds_need_lc=yes
10146 if test "$enable_shared" = yes && test "$GCC" = yes; then
10147 case $archive_cmds in
10148 *'~'*)
10149 # FIXME: we may have to deal with multi-command sequences.
10151 '$CC '*)
10152 # Test whether the compiler implicitly links with -lc since on some
10153 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10154 # to ld, don't add -lc before -lgcc.
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10156 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10157 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 $RM conftest*
10161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10164 (eval $ac_compile) 2>&5
10165 ac_status=$?
10166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10167 test $ac_status = 0; } 2>conftest.err; then
10168 soname=conftest
10169 lib=conftest
10170 libobjs=conftest.$ac_objext
10171 deplibs=
10172 wl=$lt_prog_compiler_wl
10173 pic_flag=$lt_prog_compiler_pic
10174 compiler_flags=-v
10175 linker_flags=-v
10176 verstring=
10177 output_objdir=.
10178 libname=conftest
10179 lt_save_allow_undefined_flag=$allow_undefined_flag
10180 allow_undefined_flag=
10181 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10182 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10183 ac_status=$?
10184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10185 test $ac_status = 0; }
10186 then
10187 lt_cv_archive_cmds_need_lc=no
10188 else
10189 lt_cv_archive_cmds_need_lc=yes
10191 allow_undefined_flag=$lt_save_allow_undefined_flag
10192 else
10193 cat conftest.err 1>&5
10195 $RM conftest*
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10199 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10200 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10202 esac
10205 esac
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10364 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10366 if test "$GCC" = yes; then
10367 case $host_os in
10368 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10369 *) lt_awk_arg="/^libraries:/" ;;
10370 esac
10371 case $host_os in
10372 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10373 *) lt_sed_strip_eq="s,=/,/,g" ;;
10374 esac
10375 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10376 case $lt_search_path_spec in
10377 *\;*)
10378 # if the path contains ";" then we assume it to be the separator
10379 # otherwise default to the standard path separator (i.e. ":") - it is
10380 # assumed that no part of a normal pathname contains ";" but that should
10381 # okay in the real world where ";" in dirpaths is itself problematic.
10382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10385 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10387 esac
10388 # Ok, now we have the path, separated by spaces, we can step through it
10389 # and add multilib dir if necessary.
10390 lt_tmp_lt_search_path_spec=
10391 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10392 for lt_sys_path in $lt_search_path_spec; do
10393 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10394 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10395 else
10396 test -d "$lt_sys_path" && \
10397 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10399 done
10400 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10401 BEGIN {RS=" "; FS="/|\n";} {
10402 lt_foo="";
10403 lt_count=0;
10404 for (lt_i = NF; lt_i > 0; lt_i--) {
10405 if ($lt_i != "" && $lt_i != ".") {
10406 if ($lt_i == "..") {
10407 lt_count++;
10408 } else {
10409 if (lt_count == 0) {
10410 lt_foo="/" $lt_i lt_foo;
10411 } else {
10412 lt_count--;
10417 if (lt_foo != "") { lt_freq[lt_foo]++; }
10418 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10420 # AWK program above erroneously prepends '/' to C:/dos/paths
10421 # for these hosts.
10422 case $host_os in
10423 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10424 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10425 esac
10426 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10427 else
10428 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10430 library_names_spec=
10431 libname_spec='lib$name'
10432 soname_spec=
10433 shrext_cmds=".so"
10434 postinstall_cmds=
10435 postuninstall_cmds=
10436 finish_cmds=
10437 finish_eval=
10438 shlibpath_var=
10439 shlibpath_overrides_runpath=unknown
10440 version_type=none
10441 dynamic_linker="$host_os ld.so"
10442 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10443 need_lib_prefix=unknown
10444 hardcode_into_libs=no
10446 # when you set need_version to no, make sure it does not cause -set_version
10447 # flags to be left without arguments
10448 need_version=unknown
10450 case $host_os in
10451 aix3*)
10452 version_type=linux
10453 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10454 shlibpath_var=LIBPATH
10456 # AIX 3 has no versioning support, so we append a major version to the name.
10457 soname_spec='${libname}${release}${shared_ext}$major'
10460 aix[4-9]*)
10461 version_type=linux
10462 need_lib_prefix=no
10463 need_version=no
10464 hardcode_into_libs=yes
10465 if test "$host_cpu" = ia64; then
10466 # AIX 5 supports IA64
10467 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10468 shlibpath_var=LD_LIBRARY_PATH
10469 else
10470 # With GCC up to 2.95.x, collect2 would create an import file
10471 # for dependence libraries. The import file would start with
10472 # the line `#! .'. This would cause the generated library to
10473 # depend on `.', always an invalid library. This was fixed in
10474 # development snapshots of GCC prior to 3.0.
10475 case $host_os in
10476 aix4 | aix4.[01] | aix4.[01].*)
10477 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10478 echo ' yes '
10479 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10481 else
10482 can_build_shared=no
10485 esac
10486 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10487 # soname into executable. Probably we can add versioning support to
10488 # collect2, so additional links can be useful in future.
10489 if test "$aix_use_runtimelinking" = yes; then
10490 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10491 # instead of lib<name>.a to let people know that these are not
10492 # typical AIX shared libraries.
10493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10494 else
10495 # We preserve .a as extension for shared libraries through AIX4.2
10496 # and later when we are not doing run time linking.
10497 library_names_spec='${libname}${release}.a $libname.a'
10498 soname_spec='${libname}${release}${shared_ext}$major'
10500 shlibpath_var=LIBPATH
10504 amigaos*)
10505 case $host_cpu in
10506 powerpc)
10507 # Since July 2007 AmigaOS4 officially supports .so libraries.
10508 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10511 m68k)
10512 library_names_spec='$libname.ixlibrary $libname.a'
10513 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10514 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'
10516 esac
10519 beos*)
10520 library_names_spec='${libname}${shared_ext}'
10521 dynamic_linker="$host_os ld.so"
10522 shlibpath_var=LIBRARY_PATH
10525 bsdi[45]*)
10526 version_type=linux
10527 need_version=no
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10531 shlibpath_var=LD_LIBRARY_PATH
10532 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10533 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10534 # the default ld.so.conf also contains /usr/contrib/lib and
10535 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10536 # libtool to hard-code these into programs
10539 cygwin* | mingw* | pw32* | cegcc*)
10540 version_type=windows
10541 shrext_cmds=".dll"
10542 need_version=no
10543 need_lib_prefix=no
10545 case $GCC,$host_os in
10546 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10547 library_names_spec='$libname.dll.a'
10548 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10549 postinstall_cmds='base_file=`basename \${file}`~
10550 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10551 dldir=$destdir/`dirname \$dlpath`~
10552 test -d \$dldir || mkdir -p \$dldir~
10553 $install_prog $dir/$dlname \$dldir/$dlname~
10554 chmod a+x \$dldir/$dlname~
10555 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10556 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10558 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559 dlpath=$dir/\$dldll~
10560 $RM \$dlpath'
10561 shlibpath_overrides_runpath=yes
10563 case $host_os in
10564 cygwin*)
10565 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10566 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10568 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10570 mingw* | cegcc*)
10571 # MinGW DLLs use traditional 'lib' prefix
10572 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10574 pw32*)
10575 # pw32 DLLs use 'pw' prefix rather than 'lib'
10576 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10578 esac
10582 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10584 esac
10585 dynamic_linker='Win32 ld.exe'
10586 # FIXME: first we should search . and the directory the executable is in
10587 shlibpath_var=PATH
10590 darwin* | rhapsody*)
10591 dynamic_linker="$host_os dyld"
10592 version_type=darwin
10593 need_lib_prefix=no
10594 need_version=no
10595 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10596 soname_spec='${libname}${release}${major}$shared_ext'
10597 shlibpath_overrides_runpath=yes
10598 shlibpath_var=DYLD_LIBRARY_PATH
10599 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10601 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10602 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10605 dgux*)
10606 version_type=linux
10607 need_lib_prefix=no
10608 need_version=no
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 shlibpath_var=LD_LIBRARY_PATH
10614 freebsd* | dragonfly*)
10615 # DragonFly does not have aout. When/if they implement a new
10616 # versioning mechanism, adjust this.
10617 if test -x /usr/bin/objformat; then
10618 objformat=`/usr/bin/objformat`
10619 else
10620 case $host_os in
10621 freebsd[123]*) objformat=aout ;;
10622 *) objformat=elf ;;
10623 esac
10625 version_type=freebsd-$objformat
10626 case $version_type in
10627 freebsd-elf*)
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10629 need_version=no
10630 need_lib_prefix=no
10632 freebsd-*)
10633 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10634 need_version=yes
10636 esac
10637 shlibpath_var=LD_LIBRARY_PATH
10638 case $host_os in
10639 freebsd2*)
10640 shlibpath_overrides_runpath=yes
10642 freebsd3.[01]* | freebsdelf3.[01]*)
10643 shlibpath_overrides_runpath=yes
10644 hardcode_into_libs=yes
10646 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10647 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10648 shlibpath_overrides_runpath=no
10649 hardcode_into_libs=yes
10651 *) # from 4.6 on, and DragonFly
10652 shlibpath_overrides_runpath=yes
10653 hardcode_into_libs=yes
10655 esac
10658 gnu*)
10659 version_type=linux
10660 need_lib_prefix=no
10661 need_version=no
10662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10663 soname_spec='${libname}${release}${shared_ext}$major'
10664 shlibpath_var=LD_LIBRARY_PATH
10665 hardcode_into_libs=yes
10668 haiku*)
10669 version_type=linux
10670 need_lib_prefix=no
10671 need_version=no
10672 dynamic_linker="$host_os runtime_loader"
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10675 shlibpath_var=LIBRARY_PATH
10676 shlibpath_overrides_runpath=yes
10677 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10678 hardcode_into_libs=yes
10681 hpux9* | hpux10* | hpux11*)
10682 # Give a soname corresponding to the major version so that dld.sl refuses to
10683 # link against other versions.
10684 version_type=sunos
10685 need_lib_prefix=no
10686 need_version=no
10687 case $host_cpu in
10688 ia64*)
10689 shrext_cmds='.so'
10690 hardcode_into_libs=yes
10691 dynamic_linker="$host_os dld.so"
10692 shlibpath_var=LD_LIBRARY_PATH
10693 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695 soname_spec='${libname}${release}${shared_ext}$major'
10696 if test "X$HPUX_IA64_MODE" = X32; then
10697 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10698 else
10699 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10701 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10703 hppa*64*)
10704 shrext_cmds='.sl'
10705 hardcode_into_libs=yes
10706 dynamic_linker="$host_os dld.sl"
10707 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10712 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10715 shrext_cmds='.sl'
10716 dynamic_linker="$host_os dld.sl"
10717 shlibpath_var=SHLIB_PATH
10718 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10722 esac
10723 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10724 postinstall_cmds='chmod 555 $lib'
10725 # or fails outright, so override atomically:
10726 install_override_mode=555
10729 interix[3-9]*)
10730 version_type=linux
10731 need_lib_prefix=no
10732 need_version=no
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10736 shlibpath_var=LD_LIBRARY_PATH
10737 shlibpath_overrides_runpath=no
10738 hardcode_into_libs=yes
10741 irix5* | irix6* | nonstopux*)
10742 case $host_os in
10743 nonstopux*) version_type=nonstopux ;;
10745 if test "$lt_cv_prog_gnu_ld" = yes; then
10746 version_type=linux
10747 else
10748 version_type=irix
10749 fi ;;
10750 esac
10751 need_lib_prefix=no
10752 need_version=no
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10755 case $host_os in
10756 irix5* | nonstopux*)
10757 libsuff= shlibsuff=
10760 case $LD in # libtool.m4 will add one of these switches to LD
10761 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10762 libsuff= shlibsuff= libmagic=32-bit;;
10763 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10764 libsuff=32 shlibsuff=N32 libmagic=N32;;
10765 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10766 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10767 *) libsuff= shlibsuff= libmagic=never-match;;
10768 esac
10770 esac
10771 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10772 shlibpath_overrides_runpath=no
10773 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10774 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10775 hardcode_into_libs=yes
10778 # No shared lib support for Linux oldld, aout, or coff.
10779 linux*oldld* | linux*aout* | linux*coff*)
10780 dynamic_linker=no
10783 # This must be Linux ELF.
10784 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10785 version_type=linux
10786 need_lib_prefix=no
10787 need_version=no
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec='${libname}${release}${shared_ext}$major'
10790 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10791 shlibpath_var=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath=no
10794 # Some binutils ld are patched to set DT_RUNPATH
10795 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10796 $as_echo_n "(cached) " >&6
10797 else
10798 lt_cv_shlibpath_overrides_runpath=no
10799 save_LDFLAGS=$LDFLAGS
10800 save_libdir=$libdir
10801 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10802 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10803 if test x$gcc_no_link = xyes; then
10804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10810 main ()
10814 return 0;
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10819 lt_cv_shlibpath_overrides_runpath=yes
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LDFLAGS=$save_LDFLAGS
10825 libdir=$save_libdir
10829 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10831 # This implies no fast_install, which is unacceptable.
10832 # Some rework will be needed to allow for fast_install
10833 # before this can be enabled.
10834 hardcode_into_libs=yes
10836 # Append ld.so.conf contents to the search path
10837 if test -f /etc/ld.so.conf; then
10838 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' ' '`
10839 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10842 # We used to test for /lib/ld.so.1 and disable shared libraries on
10843 # powerpc, because MkLinux only supported shared libraries with the
10844 # GNU dynamic linker. Since this was broken with cross compilers,
10845 # most powerpc-linux boxes support dynamic linking these days and
10846 # people can always --disable-shared, the test was removed, and we
10847 # assume the GNU/Linux dynamic linker is in use.
10848 dynamic_linker='GNU/Linux ld.so'
10851 netbsd*)
10852 version_type=sunos
10853 need_lib_prefix=no
10854 need_version=no
10855 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10857 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10858 dynamic_linker='NetBSD (a.out) ld.so'
10859 else
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 dynamic_linker='NetBSD ld.elf_so'
10864 shlibpath_var=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath=yes
10866 hardcode_into_libs=yes
10869 newsos6)
10870 version_type=linux
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10872 shlibpath_var=LD_LIBRARY_PATH
10873 shlibpath_overrides_runpath=yes
10876 *nto* | *qnx*)
10877 version_type=qnx
10878 need_lib_prefix=no
10879 need_version=no
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 shlibpath_var=LD_LIBRARY_PATH
10883 shlibpath_overrides_runpath=no
10884 hardcode_into_libs=yes
10885 dynamic_linker='ldqnx.so'
10888 openbsd*)
10889 version_type=sunos
10890 sys_lib_dlsearch_path_spec="/usr/lib"
10891 need_lib_prefix=no
10892 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10893 case $host_os in
10894 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10895 *) need_version=no ;;
10896 esac
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10901 case $host_os in
10902 openbsd2.[89] | openbsd2.[89].*)
10903 shlibpath_overrides_runpath=no
10906 shlibpath_overrides_runpath=yes
10908 esac
10909 else
10910 shlibpath_overrides_runpath=yes
10914 os2*)
10915 libname_spec='$name'
10916 shrext_cmds=".dll"
10917 need_lib_prefix=no
10918 library_names_spec='$libname${shared_ext} $libname.a'
10919 dynamic_linker='OS/2 ld.exe'
10920 shlibpath_var=LIBPATH
10923 osf3* | osf4* | osf5*)
10924 version_type=osf
10925 need_lib_prefix=no
10926 need_version=no
10927 soname_spec='${libname}${release}${shared_ext}$major'
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929 shlibpath_var=LD_LIBRARY_PATH
10930 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10931 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10934 rdos*)
10935 dynamic_linker=no
10938 solaris*)
10939 version_type=linux
10940 need_lib_prefix=no
10941 need_version=no
10942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943 soname_spec='${libname}${release}${shared_ext}$major'
10944 shlibpath_var=LD_LIBRARY_PATH
10945 shlibpath_overrides_runpath=yes
10946 hardcode_into_libs=yes
10947 # ldd complains unless libraries are executable
10948 postinstall_cmds='chmod +x $lib'
10951 sunos4*)
10952 version_type=sunos
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10954 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath=yes
10957 if test "$with_gnu_ld" = yes; then
10958 need_lib_prefix=no
10960 need_version=yes
10963 sysv4 | sysv4.3*)
10964 version_type=linux
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 case $host_vendor in
10969 sni)
10970 shlibpath_overrides_runpath=no
10971 need_lib_prefix=no
10972 runpath_var=LD_RUN_PATH
10974 siemens)
10975 need_lib_prefix=no
10977 motorola)
10978 need_lib_prefix=no
10979 need_version=no
10980 shlibpath_overrides_runpath=no
10981 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10983 esac
10986 sysv4*MP*)
10987 if test -d /usr/nec ;then
10988 version_type=linux
10989 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10990 soname_spec='$libname${shared_ext}.$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10996 version_type=freebsd-elf
10997 need_lib_prefix=no
10998 need_version=no
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=yes
11003 hardcode_into_libs=yes
11004 if test "$with_gnu_ld" = yes; then
11005 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11006 else
11007 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11008 case $host_os in
11009 sco3.2v5*)
11010 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11012 esac
11014 sys_lib_dlsearch_path_spec='/usr/lib'
11017 tpf*)
11018 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11019 version_type=linux
11020 need_lib_prefix=no
11021 need_version=no
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 shlibpath_var=LD_LIBRARY_PATH
11024 shlibpath_overrides_runpath=no
11025 hardcode_into_libs=yes
11028 uts4*)
11029 version_type=linux
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 shlibpath_var=LD_LIBRARY_PATH
11036 dynamic_linker=no
11038 esac
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11040 $as_echo "$dynamic_linker" >&6; }
11041 test "$dynamic_linker" = no && can_build_shared=no
11043 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11044 if test "$GCC" = yes; then
11045 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11048 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11049 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11051 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11052 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11147 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11148 hardcode_action=
11149 if test -n "$hardcode_libdir_flag_spec" ||
11150 test -n "$runpath_var" ||
11151 test "X$hardcode_automatic" = "Xyes" ; then
11153 # We can hardcode non-existent directories.
11154 if test "$hardcode_direct" != no &&
11155 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11156 # have to relink, otherwise we might link with an installed library
11157 # when we should be linking with a yet-to-be-installed one
11158 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11159 test "$hardcode_minus_L" != no; then
11160 # Linking always hardcodes the temporary library directory.
11161 hardcode_action=relink
11162 else
11163 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11164 hardcode_action=immediate
11166 else
11167 # We cannot hardcode anything, or else we can only hardcode existing
11168 # directories.
11169 hardcode_action=unsupported
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11172 $as_echo "$hardcode_action" >&6; }
11174 if test "$hardcode_action" = relink ||
11175 test "$inherit_rpath" = yes; then
11176 # Fast installation is not supported
11177 enable_fast_install=no
11178 elif test "$shlibpath_overrides_runpath" = yes ||
11179 test "$enable_shared" = no; then
11180 # Fast installation is not necessary
11181 enable_fast_install=needless
11189 if test "x$enable_dlopen" != xyes; then
11190 enable_dlopen=unknown
11191 enable_dlopen_self=unknown
11192 enable_dlopen_self_static=unknown
11193 else
11194 lt_cv_dlopen=no
11195 lt_cv_dlopen_libs=
11197 case $host_os in
11198 beos*)
11199 lt_cv_dlopen="load_add_on"
11200 lt_cv_dlopen_libs=
11201 lt_cv_dlopen_self=yes
11204 mingw* | pw32* | cegcc*)
11205 lt_cv_dlopen="LoadLibrary"
11206 lt_cv_dlopen_libs=
11209 cygwin*)
11210 lt_cv_dlopen="dlopen"
11211 lt_cv_dlopen_libs=
11214 darwin*)
11215 # if libdl is installed we need to link against it
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11217 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11218 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-ldl $LIBS"
11223 if test x$gcc_no_link = xyes; then
11224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char dlopen ();
11237 main ()
11239 return dlopen ();
11241 return 0;
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 ac_cv_lib_dl_dlopen=yes
11246 else
11247 ac_cv_lib_dl_dlopen=no
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11254 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11255 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11256 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11257 else
11259 lt_cv_dlopen="dyld"
11260 lt_cv_dlopen_libs=
11261 lt_cv_dlopen_self=yes
11268 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11269 if test "x$ac_cv_func_shl_load" = x""yes; then :
11270 lt_cv_dlopen="shl_load"
11271 else
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11273 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11274 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11275 $as_echo_n "(cached) " >&6
11276 else
11277 ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-ldld $LIBS"
11279 if test x$gcc_no_link = xyes; then
11280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char shl_load ();
11293 main ()
11295 return shl_load ();
11297 return 0;
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_dld_shl_load=yes
11302 else
11303 ac_cv_lib_dld_shl_load=no
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11310 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11311 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11312 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11313 else
11314 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11315 if test "x$ac_cv_func_dlopen" = x""yes; then :
11316 lt_cv_dlopen="dlopen"
11317 else
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11319 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11320 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_lib_save_LIBS=$LIBS
11324 LIBS="-ldl $LIBS"
11325 if test x$gcc_no_link = xyes; then
11326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char dlopen ();
11339 main ()
11341 return dlopen ();
11343 return 0;
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 ac_cv_lib_dl_dlopen=yes
11348 else
11349 ac_cv_lib_dl_dlopen=no
11351 rm -f core conftest.err conftest.$ac_objext \
11352 conftest$ac_exeext conftest.$ac_ext
11353 LIBS=$ac_check_lib_save_LIBS
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11356 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11357 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11358 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11359 else
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11361 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11362 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11363 $as_echo_n "(cached) " >&6
11364 else
11365 ac_check_lib_save_LIBS=$LIBS
11366 LIBS="-lsvld $LIBS"
11367 if test x$gcc_no_link = xyes; then
11368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char dlopen ();
11381 main ()
11383 return dlopen ();
11385 return 0;
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_svld_dlopen=yes
11390 else
11391 ac_cv_lib_svld_dlopen=no
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11398 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11399 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11401 else
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11403 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11404 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11405 $as_echo_n "(cached) " >&6
11406 else
11407 ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-ldld $LIBS"
11409 if test x$gcc_no_link = xyes; then
11410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char dld_link ();
11423 main ()
11425 return dld_link ();
11427 return 0;
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_dld_dld_link=yes
11432 else
11433 ac_cv_lib_dld_dld_link=no
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11440 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11441 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11442 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11461 esac
11463 if test "x$lt_cv_dlopen" != xno; then
11464 enable_dlopen=yes
11465 else
11466 enable_dlopen=no
11469 case $lt_cv_dlopen in
11470 dlopen)
11471 save_CPPFLAGS="$CPPFLAGS"
11472 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11474 save_LDFLAGS="$LDFLAGS"
11475 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11477 save_LIBS="$LIBS"
11478 LIBS="$lt_cv_dlopen_libs $LIBS"
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11481 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11482 if test "${lt_cv_dlopen_self+set}" = set; then :
11483 $as_echo_n "(cached) " >&6
11484 else
11485 if test "$cross_compiling" = yes; then :
11486 lt_cv_dlopen_self=cross
11487 else
11488 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11489 lt_status=$lt_dlunknown
11490 cat > conftest.$ac_ext <<_LT_EOF
11491 #line 11491 "configure"
11492 #include "confdefs.h"
11494 #if HAVE_DLFCN_H
11495 #include <dlfcn.h>
11496 #endif
11498 #include <stdio.h>
11500 #ifdef RTLD_GLOBAL
11501 # define LT_DLGLOBAL RTLD_GLOBAL
11502 #else
11503 # ifdef DL_GLOBAL
11504 # define LT_DLGLOBAL DL_GLOBAL
11505 # else
11506 # define LT_DLGLOBAL 0
11507 # endif
11508 #endif
11510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11511 find out it does not work in some platform. */
11512 #ifndef LT_DLLAZY_OR_NOW
11513 # ifdef RTLD_LAZY
11514 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11515 # else
11516 # ifdef DL_LAZY
11517 # define LT_DLLAZY_OR_NOW DL_LAZY
11518 # else
11519 # ifdef RTLD_NOW
11520 # define LT_DLLAZY_OR_NOW RTLD_NOW
11521 # else
11522 # ifdef DL_NOW
11523 # define LT_DLLAZY_OR_NOW DL_NOW
11524 # else
11525 # define LT_DLLAZY_OR_NOW 0
11526 # endif
11527 # endif
11528 # endif
11529 # endif
11530 #endif
11532 /* When -fvisbility=hidden is used, assume the code has been annotated
11533 correspondingly for the symbols needed. */
11534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11535 void fnord () __attribute__((visibility("default")));
11536 #endif
11538 void fnord () { int i=42; }
11539 int main ()
11541 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11542 int status = $lt_dlunknown;
11544 if (self)
11546 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11547 else
11549 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11550 else puts (dlerror ());
11552 /* dlclose (self); */
11554 else
11555 puts (dlerror ());
11557 return status;
11559 _LT_EOF
11560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11561 (eval $ac_link) 2>&5
11562 ac_status=$?
11563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11564 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11565 (./conftest; exit; ) >&5 2>/dev/null
11566 lt_status=$?
11567 case x$lt_status in
11568 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11569 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11570 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11571 esac
11572 else :
11573 # compilation failed
11574 lt_cv_dlopen_self=no
11577 rm -fr conftest*
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11582 $as_echo "$lt_cv_dlopen_self" >&6; }
11584 if test "x$lt_cv_dlopen_self" = xyes; then
11585 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11587 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self_static=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11604 #include <stdio.h>
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11644 void fnord () { int i=42; }
11645 int main ()
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11650 if (self)
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11658 /* dlclose (self); */
11660 else
11661 puts (dlerror ());
11663 return status;
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self_static=no
11683 rm -fr conftest*
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11688 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11691 CPPFLAGS="$save_CPPFLAGS"
11692 LDFLAGS="$save_LDFLAGS"
11693 LIBS="$save_LIBS"
11695 esac
11697 case $lt_cv_dlopen_self in
11698 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11699 *) enable_dlopen_self=unknown ;;
11700 esac
11702 case $lt_cv_dlopen_self_static in
11703 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11704 *) enable_dlopen_self_static=unknown ;;
11705 esac
11724 striplib=
11725 old_striplib=
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11727 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11728 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11729 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11730 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11732 $as_echo "yes" >&6; }
11733 else
11734 # FIXME - insert some real tests, host_os isn't really good enough
11735 case $host_os in
11736 darwin*)
11737 if test -n "$STRIP" ; then
11738 striplib="$STRIP -x"
11739 old_striplib="$STRIP -S"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11742 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744 $as_echo "no" >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749 $as_echo "no" >&6; }
11751 esac
11765 # Report which library types will actually be built
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11767 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11769 $as_echo "$can_build_shared" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11772 $as_echo_n "checking whether to build shared libraries... " >&6; }
11773 test "$can_build_shared" = "no" && enable_shared=no
11775 # On AIX, shared libraries and static libraries use the same namespace, and
11776 # are all built from PIC.
11777 case $host_os in
11778 aix3*)
11779 test "$enable_shared" = yes && enable_static=no
11780 if test -n "$RANLIB"; then
11781 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11782 postinstall_cmds='$RANLIB $lib'
11786 aix[4-9]*)
11787 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11788 test "$enable_shared" = yes && enable_static=no
11791 esac
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11793 $as_echo "$enable_shared" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11796 $as_echo_n "checking whether to build static libraries... " >&6; }
11797 # Make sure either enable_shared or enable_static is yes.
11798 test "$enable_shared" = yes || enable_static=yes
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11800 $as_echo "$enable_static" >&6; }
11806 ac_ext=c
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11812 CC="$lt_save_CC"
11814 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11815 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11816 (test "X$CXX" != "Xg++"))) ; then
11817 ac_ext=cpp
11818 ac_cpp='$CXXCPP $CPPFLAGS'
11819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11823 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11824 if test -z "$CXXCPP"; then
11825 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11826 $as_echo_n "(cached) " >&6
11827 else
11828 # Double quotes because CXXCPP needs to be expanded
11829 for CXXCPP in "$CXX -E" "/lib/cpp"
11831 ac_preproc_ok=false
11832 for ac_cxx_preproc_warn_flag in '' yes
11834 # Use a header file that comes with gcc, so configuring glibc
11835 # with a fresh cross-compiler works.
11836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11837 # <limits.h> exists even on freestanding compilers.
11838 # On the NeXT, cc -E runs the code through the compiler's parser,
11839 # not just through cpp. "Syntax error" is here to catch this case.
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11842 #ifdef __STDC__
11843 # include <limits.h>
11844 #else
11845 # include <assert.h>
11846 #endif
11847 Syntax error
11848 _ACEOF
11849 if ac_fn_cxx_try_cpp "$LINENO"; then :
11851 else
11852 # Broken: fails on valid input.
11853 continue
11855 rm -f conftest.err conftest.$ac_ext
11857 # OK, works on sane cases. Now check whether nonexistent headers
11858 # can be detected and how.
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11861 #include <ac_nonexistent.h>
11862 _ACEOF
11863 if ac_fn_cxx_try_cpp "$LINENO"; then :
11864 # Broken: success on invalid input.
11865 continue
11866 else
11867 # Passes both tests.
11868 ac_preproc_ok=:
11869 break
11871 rm -f conftest.err conftest.$ac_ext
11873 done
11874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11875 rm -f conftest.err conftest.$ac_ext
11876 if $ac_preproc_ok; then :
11877 break
11880 done
11881 ac_cv_prog_CXXCPP=$CXXCPP
11884 CXXCPP=$ac_cv_prog_CXXCPP
11885 else
11886 ac_cv_prog_CXXCPP=$CXXCPP
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11889 $as_echo "$CXXCPP" >&6; }
11890 ac_preproc_ok=false
11891 for ac_cxx_preproc_warn_flag in '' yes
11893 # Use a header file that comes with gcc, so configuring glibc
11894 # with a fresh cross-compiler works.
11895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 # <limits.h> exists even on freestanding compilers.
11897 # On the NeXT, cc -E runs the code through the compiler's parser,
11898 # not just through cpp. "Syntax error" is here to catch this case.
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 #ifdef __STDC__
11902 # include <limits.h>
11903 #else
11904 # include <assert.h>
11905 #endif
11906 Syntax error
11907 _ACEOF
11908 if ac_fn_cxx_try_cpp "$LINENO"; then :
11910 else
11911 # Broken: fails on valid input.
11912 continue
11914 rm -f conftest.err conftest.$ac_ext
11916 # OK, works on sane cases. Now check whether nonexistent headers
11917 # can be detected and how.
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #include <ac_nonexistent.h>
11921 _ACEOF
11922 if ac_fn_cxx_try_cpp "$LINENO"; then :
11923 # Broken: success on invalid input.
11924 continue
11925 else
11926 # Passes both tests.
11927 ac_preproc_ok=:
11928 break
11930 rm -f conftest.err conftest.$ac_ext
11932 done
11933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11934 rm -f conftest.err conftest.$ac_ext
11935 if $ac_preproc_ok; then :
11937 else
11938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11940 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11941 See \`config.log' for more details." "$LINENO" 5; }
11944 ac_ext=c
11945 ac_cpp='$CPP $CPPFLAGS'
11946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11950 else
11951 _lt_caught_CXX_error=yes
11954 ac_ext=cpp
11955 ac_cpp='$CXXCPP $CPPFLAGS'
11956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11960 archive_cmds_need_lc_CXX=no
11961 allow_undefined_flag_CXX=
11962 always_export_symbols_CXX=no
11963 archive_expsym_cmds_CXX=
11964 compiler_needs_object_CXX=no
11965 export_dynamic_flag_spec_CXX=
11966 hardcode_direct_CXX=no
11967 hardcode_direct_absolute_CXX=no
11968 hardcode_libdir_flag_spec_CXX=
11969 hardcode_libdir_flag_spec_ld_CXX=
11970 hardcode_libdir_separator_CXX=
11971 hardcode_minus_L_CXX=no
11972 hardcode_shlibpath_var_CXX=unsupported
11973 hardcode_automatic_CXX=no
11974 inherit_rpath_CXX=no
11975 module_cmds_CXX=
11976 module_expsym_cmds_CXX=
11977 link_all_deplibs_CXX=unknown
11978 old_archive_cmds_CXX=$old_archive_cmds
11979 reload_flag_CXX=$reload_flag
11980 reload_cmds_CXX=$reload_cmds
11981 no_undefined_flag_CXX=
11982 whole_archive_flag_spec_CXX=
11983 enable_shared_with_static_runtimes_CXX=no
11985 # Source file extension for C++ test sources.
11986 ac_ext=cpp
11988 # Object file extension for compiled C++ test sources.
11989 objext=o
11990 objext_CXX=$objext
11992 # No sense in running all these tests if we already determined that
11993 # the CXX compiler isn't working. Some variables (like enable_shared)
11994 # are currently assumed to apply to all compilers on this platform,
11995 # and will be corrupted by setting them based on a non-working compiler.
11996 if test "$_lt_caught_CXX_error" != yes; then
11997 # Code to be used in simple compile tests
11998 lt_simple_compile_test_code="int some_variable = 0;"
12000 # Code to be used in simple link tests
12001 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12003 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12010 # If no C compiler was specified, use CC.
12011 LTCC=${LTCC-"$CC"}
12013 # If no C compiler flags were specified, use CFLAGS.
12014 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12016 # Allow CC to be a program name with arguments.
12017 compiler=$CC
12020 # save warnings/boilerplate of simple test code
12021 ac_outfile=conftest.$ac_objext
12022 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12023 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12024 _lt_compiler_boilerplate=`cat conftest.err`
12025 $RM conftest*
12027 ac_outfile=conftest.$ac_objext
12028 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12029 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12030 _lt_linker_boilerplate=`cat conftest.err`
12031 $RM -r conftest*
12034 # Allow CC to be a program name with arguments.
12035 lt_save_CC=$CC
12036 lt_save_LD=$LD
12037 lt_save_GCC=$GCC
12038 GCC=$GXX
12039 lt_save_with_gnu_ld=$with_gnu_ld
12040 lt_save_path_LD=$lt_cv_path_LD
12041 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12042 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12043 else
12044 $as_unset lt_cv_prog_gnu_ld
12046 if test -n "${lt_cv_path_LDCXX+set}"; then
12047 lt_cv_path_LD=$lt_cv_path_LDCXX
12048 else
12049 $as_unset lt_cv_path_LD
12051 test -z "${LDCXX+set}" || LD=$LDCXX
12052 CC=${CXX-"c++"}
12053 compiler=$CC
12054 compiler_CXX=$CC
12055 for cc_temp in $compiler""; do
12056 case $cc_temp in
12057 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12058 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12059 \-*) ;;
12060 *) break;;
12061 esac
12062 done
12063 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12066 if test -n "$compiler"; then
12067 # We don't want -fno-exception when compiling C++ code, so set the
12068 # no_builtin_flag separately
12069 if test "$GXX" = yes; then
12070 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12071 else
12072 lt_prog_compiler_no_builtin_flag_CXX=
12075 if test "$GXX" = yes; then
12076 # Set up default GNU C++ configuration
12080 # Check whether --with-gnu-ld was given.
12081 if test "${with_gnu_ld+set}" = set; then :
12082 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12083 else
12084 with_gnu_ld=no
12087 ac_prog=ld
12088 if test "$GCC" = yes; then
12089 # Check if gcc -print-prog-name=ld gives a path.
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12091 $as_echo_n "checking for ld used by $CC... " >&6; }
12092 case $host in
12093 *-*-mingw*)
12094 # gcc leaves a trailing carriage return which upsets mingw
12095 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12097 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12098 esac
12099 case $ac_prog in
12100 # Accept absolute paths.
12101 [\\/]* | ?:[\\/]*)
12102 re_direlt='/[^/][^/]*/\.\./'
12103 # Canonicalize the pathname of ld
12104 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12105 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12106 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12107 done
12108 test -z "$LD" && LD="$ac_prog"
12111 # If it fails, then pretend we aren't using GCC.
12112 ac_prog=ld
12115 # If it is relative, then search for the first ld in PATH.
12116 with_gnu_ld=unknown
12118 esac
12119 elif test "$with_gnu_ld" = yes; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12121 $as_echo_n "checking for GNU ld... " >&6; }
12122 else
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12124 $as_echo_n "checking for non-GNU ld... " >&6; }
12126 if test "${lt_cv_path_LD+set}" = set; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 if test -z "$LD"; then
12130 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12131 for ac_dir in $PATH; do
12132 IFS="$lt_save_ifs"
12133 test -z "$ac_dir" && ac_dir=.
12134 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12135 lt_cv_path_LD="$ac_dir/$ac_prog"
12136 # Check to see if the program is GNU ld. I'd rather use --version,
12137 # but apparently some variants of GNU ld only accept -v.
12138 # Break only if it was the GNU/non-GNU ld that we prefer.
12139 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12140 *GNU* | *'with BFD'*)
12141 test "$with_gnu_ld" != no && break
12144 test "$with_gnu_ld" != yes && break
12146 esac
12148 done
12149 IFS="$lt_save_ifs"
12150 else
12151 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12155 LD="$lt_cv_path_LD"
12156 if test -n "$LD"; then
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12158 $as_echo "$LD" >&6; }
12159 else
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12161 $as_echo "no" >&6; }
12163 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12165 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12166 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12167 $as_echo_n "(cached) " >&6
12168 else
12169 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12170 case `$LD -v 2>&1 </dev/null` in
12171 *GNU* | *'with BFD'*)
12172 lt_cv_prog_gnu_ld=yes
12175 lt_cv_prog_gnu_ld=no
12177 esac
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12180 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12181 with_gnu_ld=$lt_cv_prog_gnu_ld
12189 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12190 # archiving commands below assume that GNU ld is being used.
12191 if test "$with_gnu_ld" = yes; then
12192 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12193 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'
12195 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12196 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12198 # If archive_cmds runs LD, not CC, wlarc should be empty
12199 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12200 # investigate it a little bit more. (MM)
12201 wlarc='${wl}'
12203 # ancient GNU ld didn't support --whole-archive et. al.
12204 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12205 $GREP 'no-whole-archive' > /dev/null; then
12206 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12207 else
12208 whole_archive_flag_spec_CXX=
12210 else
12211 with_gnu_ld=no
12212 wlarc=
12214 # A generic and very simple default shared library creation
12215 # command for GNU C++ for the case where it uses the native
12216 # linker, instead of GNU ld. If possible, this setting should
12217 # overridden to take advantage of the native linker features on
12218 # the platform it is being used on.
12219 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12222 # Commands to make compiler produce verbose output that lists
12223 # what "hidden" libraries, object files and flags are used when
12224 # linking a shared library.
12225 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12227 else
12228 GXX=no
12229 with_gnu_ld=no
12230 wlarc=
12233 # PORTME: fill in a description of your system's C++ link characteristics
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12235 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12236 ld_shlibs_CXX=yes
12237 case $host_os in
12238 aix3*)
12239 # FIXME: insert proper C++ library support
12240 ld_shlibs_CXX=no
12242 aix[4-9]*)
12243 if test "$host_cpu" = ia64; then
12244 # On IA64, the linker does run time linking by default, so we don't
12245 # have to do anything special.
12246 aix_use_runtimelinking=no
12247 exp_sym_flag='-Bexport'
12248 no_entry_flag=""
12249 else
12250 aix_use_runtimelinking=no
12252 # Test if we are trying to use run time linking or normal
12253 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12254 # need to do runtime linking.
12255 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12256 for ld_flag in $LDFLAGS; do
12257 case $ld_flag in
12258 *-brtl*)
12259 aix_use_runtimelinking=yes
12260 break
12262 esac
12263 done
12265 esac
12267 exp_sym_flag='-bexport'
12268 no_entry_flag='-bnoentry'
12271 # When large executables or shared objects are built, AIX ld can
12272 # have problems creating the table of contents. If linking a library
12273 # or program results in "error TOC overflow" add -mminimal-toc to
12274 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12275 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12277 archive_cmds_CXX=''
12278 hardcode_direct_CXX=yes
12279 hardcode_direct_absolute_CXX=yes
12280 hardcode_libdir_separator_CXX=':'
12281 link_all_deplibs_CXX=yes
12282 file_list_spec_CXX='${wl}-f,'
12284 if test "$GXX" = yes; then
12285 case $host_os in aix4.[012]|aix4.[012].*)
12286 # We only want to do this on AIX 4.2 and lower, the check
12287 # below for broken collect2 doesn't work under 4.3+
12288 collect2name=`${CC} -print-prog-name=collect2`
12289 if test -f "$collect2name" &&
12290 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12291 then
12292 # We have reworked collect2
12294 else
12295 # We have old collect2
12296 hardcode_direct_CXX=unsupported
12297 # It fails to find uninstalled libraries when the uninstalled
12298 # path is not listed in the libpath. Setting hardcode_minus_L
12299 # to unsupported forces relinking
12300 hardcode_minus_L_CXX=yes
12301 hardcode_libdir_flag_spec_CXX='-L$libdir'
12302 hardcode_libdir_separator_CXX=
12304 esac
12305 shared_flag='-shared'
12306 if test "$aix_use_runtimelinking" = yes; then
12307 shared_flag="$shared_flag "'${wl}-G'
12309 else
12310 # not using gcc
12311 if test "$host_cpu" = ia64; then
12312 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12313 # chokes on -Wl,-G. The following line is correct:
12314 shared_flag='-G'
12315 else
12316 if test "$aix_use_runtimelinking" = yes; then
12317 shared_flag='${wl}-G'
12318 else
12319 shared_flag='${wl}-bM:SRE'
12324 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12325 # It seems that -bexpall does not export symbols beginning with
12326 # underscore (_), so it is better to generate a list of symbols to
12327 # export.
12328 always_export_symbols_CXX=yes
12329 if test "$aix_use_runtimelinking" = yes; then
12330 # Warning - without using the other runtime loading flags (-brtl),
12331 # -berok will link without error, but may produce a broken library.
12332 allow_undefined_flag_CXX='-berok'
12333 # Determine the default libpath from the value encoded in an empty
12334 # executable.
12335 if test x$gcc_no_link = xyes; then
12336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12342 main ()
12346 return 0;
12348 _ACEOF
12349 if ac_fn_cxx_try_link "$LINENO"; then :
12351 lt_aix_libpath_sed='
12352 /Import File Strings/,/^$/ {
12353 /^0/ {
12354 s/^0 *\(.*\)$/\1/
12358 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12359 # Check for a 64-bit object if we didn't find anything.
12360 if test -z "$aix_libpath"; then
12361 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12368 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12370 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"
12371 else
12372 if test "$host_cpu" = ia64; then
12373 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12374 allow_undefined_flag_CXX="-z nodefs"
12375 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"
12376 else
12377 # Determine the default libpath from the value encoded in an
12378 # empty executable.
12379 if test x$gcc_no_link = xyes; then
12380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12386 main ()
12390 return 0;
12392 _ACEOF
12393 if ac_fn_cxx_try_link "$LINENO"; then :
12395 lt_aix_libpath_sed='
12396 /Import File Strings/,/^$/ {
12397 /^0/ {
12398 s/^0 *\(.*\)$/\1/
12402 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12403 # Check for a 64-bit object if we didn't find anything.
12404 if test -z "$aix_libpath"; then
12405 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12408 rm -f core conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12412 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12413 # Warning - without using the other run time loading flags,
12414 # -berok will link without error, but may produce a broken library.
12415 no_undefined_flag_CXX=' ${wl}-bernotok'
12416 allow_undefined_flag_CXX=' ${wl}-berok'
12417 if test "$with_gnu_ld" = yes; then
12418 # We only use this code for GNU lds that support --whole-archive.
12419 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12420 else
12421 # Exported symbols can be pulled into shared objects from archives
12422 whole_archive_flag_spec_CXX='$convenience'
12424 archive_cmds_need_lc_CXX=yes
12425 # This is similar to how AIX traditionally builds its shared
12426 # libraries.
12427 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'
12432 beos*)
12433 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12434 allow_undefined_flag_CXX=unsupported
12435 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12436 # support --undefined. This deserves some investigation. FIXME
12437 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12438 else
12439 ld_shlibs_CXX=no
12443 chorus*)
12444 case $cc_basename in
12446 # FIXME: insert proper C++ library support
12447 ld_shlibs_CXX=no
12449 esac
12452 cygwin* | mingw* | pw32* | cegcc*)
12453 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12454 # as there is no search path for DLLs.
12455 hardcode_libdir_flag_spec_CXX='-L$libdir'
12456 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12457 allow_undefined_flag_CXX=unsupported
12458 always_export_symbols_CXX=no
12459 enable_shared_with_static_runtimes_CXX=yes
12461 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12462 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'
12463 # If the export-symbols file already is a .def file (1st line
12464 # is EXPORTS), use it as is; otherwise, prepend...
12465 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12466 cp $export_symbols $output_objdir/$soname.def;
12467 else
12468 echo EXPORTS > $output_objdir/$soname.def;
12469 cat $export_symbols >> $output_objdir/$soname.def;
12471 $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'
12472 else
12473 ld_shlibs_CXX=no
12476 darwin* | rhapsody*)
12479 archive_cmds_need_lc_CXX=no
12480 hardcode_direct_CXX=no
12481 hardcode_automatic_CXX=yes
12482 hardcode_shlibpath_var_CXX=unsupported
12483 if test "$lt_cv_ld_force_load" = "yes"; then
12484 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\"`'
12485 else
12486 whole_archive_flag_spec_CXX=''
12488 link_all_deplibs_CXX=yes
12489 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12490 case $cc_basename in
12491 ifort*) _lt_dar_can_shared=yes ;;
12492 *) _lt_dar_can_shared=$GCC ;;
12493 esac
12494 if test "$_lt_dar_can_shared" = "yes"; then
12495 output_verbose_link_cmd=func_echo_all
12496 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}"
12497 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12498 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}"
12499 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}"
12500 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12501 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}"
12502 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}"
12505 else
12506 ld_shlibs_CXX=no
12511 dgux*)
12512 case $cc_basename in
12513 ec++*)
12514 # FIXME: insert proper C++ library support
12515 ld_shlibs_CXX=no
12517 ghcx*)
12518 # Green Hills C++ Compiler
12519 # FIXME: insert proper C++ library support
12520 ld_shlibs_CXX=no
12523 # FIXME: insert proper C++ library support
12524 ld_shlibs_CXX=no
12526 esac
12529 freebsd[12]*)
12530 # C++ shared libraries reported to be fairly broken before
12531 # switch to ELF
12532 ld_shlibs_CXX=no
12535 freebsd-elf*)
12536 archive_cmds_need_lc_CXX=no
12539 freebsd* | dragonfly*)
12540 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12541 # conventions
12542 ld_shlibs_CXX=yes
12545 gnu*)
12548 haiku*)
12549 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12550 link_all_deplibs_CXX=yes
12553 hpux9*)
12554 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12555 hardcode_libdir_separator_CXX=:
12556 export_dynamic_flag_spec_CXX='${wl}-E'
12557 hardcode_direct_CXX=yes
12558 hardcode_minus_L_CXX=yes # Not in the search PATH,
12559 # but as the default
12560 # location of the library.
12562 case $cc_basename in
12563 CC*)
12564 # FIXME: insert proper C++ library support
12565 ld_shlibs_CXX=no
12567 aCC*)
12568 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'
12569 # Commands to make compiler produce verbose output that lists
12570 # what "hidden" libraries, object files and flags are used when
12571 # linking a shared library.
12573 # There doesn't appear to be a way to prevent this compiler from
12574 # explicitly linking system object files so we need to strip them
12575 # from the output so that they don't get included in the library
12576 # dependencies.
12577 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"'
12580 if test "$GXX" = yes; then
12581 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'
12582 else
12583 # FIXME: insert proper C++ library support
12584 ld_shlibs_CXX=no
12587 esac
12590 hpux10*|hpux11*)
12591 if test $with_gnu_ld = no; then
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12595 case $host_cpu in
12596 hppa*64*|ia64*)
12599 export_dynamic_flag_spec_CXX='${wl}-E'
12601 esac
12603 case $host_cpu in
12604 hppa*64*|ia64*)
12605 hardcode_direct_CXX=no
12606 hardcode_shlibpath_var_CXX=no
12609 hardcode_direct_CXX=yes
12610 hardcode_direct_absolute_CXX=yes
12611 hardcode_minus_L_CXX=yes # Not in the search PATH,
12612 # but as the default
12613 # location of the library.
12615 esac
12617 case $cc_basename in
12618 CC*)
12619 # FIXME: insert proper C++ library support
12620 ld_shlibs_CXX=no
12622 aCC*)
12623 case $host_cpu in
12624 hppa*64*)
12625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12627 ia64*)
12628 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12631 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12633 esac
12634 # Commands to make compiler produce verbose output that lists
12635 # what "hidden" libraries, object files and flags are used when
12636 # linking a shared library.
12638 # There doesn't appear to be a way to prevent this compiler from
12639 # explicitly linking system object files so we need to strip them
12640 # from the output so that they don't get included in the library
12641 # dependencies.
12642 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"'
12645 if test "$GXX" = yes; then
12646 if test $with_gnu_ld = no; then
12647 case $host_cpu in
12648 hppa*64*)
12649 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651 ia64*)
12652 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12655 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'
12657 esac
12659 else
12660 # FIXME: insert proper C++ library support
12661 ld_shlibs_CXX=no
12664 esac
12667 interix[3-9]*)
12668 hardcode_direct_CXX=no
12669 hardcode_shlibpath_var_CXX=no
12670 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12671 export_dynamic_flag_spec_CXX='${wl}-E'
12672 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12673 # Instead, shared libraries are loaded at an image base (0x10000000 by
12674 # default) and relocated if they conflict, which is a slow very memory
12675 # consuming and fragmenting process. To avoid this, we pick a random,
12676 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12677 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12678 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'
12679 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'
12681 irix5* | irix6*)
12682 case $cc_basename in
12683 CC*)
12684 # SGI C++
12685 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'
12687 # Archives containing C++ object files must be created using
12688 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12689 # necessary to make sure instantiated templates are included
12690 # in the archive.
12691 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12694 if test "$GXX" = yes; then
12695 if test "$with_gnu_ld" = no; then
12696 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'
12697 else
12698 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'
12701 link_all_deplibs_CXX=yes
12703 esac
12704 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12705 hardcode_libdir_separator_CXX=:
12706 inherit_rpath_CXX=yes
12709 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12710 case $cc_basename in
12711 KCC*)
12712 # Kuck and Associates, Inc. (KAI) C++ Compiler
12714 # KCC will only create a shared library if the output file
12715 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12716 # to its proper name (with version) after linking.
12717 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'
12718 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'
12719 # Commands to make compiler produce verbose output that lists
12720 # what "hidden" libraries, object files and flags are used when
12721 # linking a shared library.
12723 # There doesn't appear to be a way to prevent this compiler from
12724 # explicitly linking system object files so we need to strip them
12725 # from the output so that they don't get included in the library
12726 # dependencies.
12727 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"'
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12730 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12732 # Archives containing C++ object files must be created using
12733 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12734 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12736 icpc* | ecpc* )
12737 # Intel C++
12738 with_gnu_ld=yes
12739 # version 8.0 and above of icpc choke on multiply defined symbols
12740 # if we add $predep_objects and $postdep_objects, however 7.1 and
12741 # earlier do not add the objects themselves.
12742 case `$CC -V 2>&1` in
12743 *"Version 7."*)
12744 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12745 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'
12747 *) # Version 8.0 or newer
12748 tmp_idyn=
12749 case $host_cpu in
12750 ia64*) tmp_idyn=' -i_dynamic';;
12751 esac
12752 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12753 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'
12755 esac
12756 archive_cmds_need_lc_CXX=no
12757 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12758 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12759 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12761 pgCC* | pgcpp*)
12762 # Portland Group C++ compiler
12763 case `$CC -V` in
12764 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12765 prelink_cmds_CXX='tpldir=Template.dir~
12766 rm -rf $tpldir~
12767 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12768 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12769 old_archive_cmds_CXX='tpldir=Template.dir~
12770 rm -rf $tpldir~
12771 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12772 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12773 $RANLIB $oldlib'
12774 archive_cmds_CXX='tpldir=Template.dir~
12775 rm -rf $tpldir~
12776 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12777 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12778 archive_expsym_cmds_CXX='tpldir=Template.dir~
12779 rm -rf $tpldir~
12780 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12781 $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'
12783 *) # Version 6 and above use weak symbols
12784 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12785 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'
12787 esac
12789 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12791 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'
12793 cxx*)
12794 # Compaq C++
12795 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 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'
12798 runpath_var=LD_RUN_PATH
12799 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12800 hardcode_libdir_separator_CXX=:
12802 # Commands to make compiler produce verbose output that lists
12803 # what "hidden" libraries, object files and flags are used when
12804 # linking a shared library.
12806 # There doesn't appear to be a way to prevent this compiler from
12807 # explicitly linking system object files so we need to strip them
12808 # from the output so that they don't get included in the library
12809 # dependencies.
12810 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'
12812 xl* | mpixl* | bgxl*)
12813 # IBM XL 8.0 on PPC, with GNU ld
12814 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12817 if test "x$supports_anon_versioning" = xyes; then
12818 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12819 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12820 echo "local: *; };" >> $output_objdir/$libname.ver~
12821 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12825 case `$CC -V 2>&1 | sed 5q` in
12826 *Sun\ C*)
12827 # Sun C++ 5.9
12828 no_undefined_flag_CXX=' -zdefs'
12829 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12830 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'
12831 hardcode_libdir_flag_spec_CXX='-R$libdir'
12832 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'
12833 compiler_needs_object_CXX=yes
12835 # Not sure whether something based on
12836 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12837 # would be better.
12838 output_verbose_link_cmd='func_echo_all'
12840 # Archives containing C++ object files must be created using
12841 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12842 # necessary to make sure instantiated templates are included
12843 # in the archive.
12844 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12846 esac
12848 esac
12851 lynxos*)
12852 # FIXME: insert proper C++ library support
12853 ld_shlibs_CXX=no
12856 m88k*)
12857 # FIXME: insert proper C++ library support
12858 ld_shlibs_CXX=no
12861 mvs*)
12862 case $cc_basename in
12863 cxx*)
12864 # FIXME: insert proper C++ library support
12865 ld_shlibs_CXX=no
12868 # FIXME: insert proper C++ library support
12869 ld_shlibs_CXX=no
12871 esac
12874 netbsd*)
12875 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12876 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12877 wlarc=
12878 hardcode_libdir_flag_spec_CXX='-R$libdir'
12879 hardcode_direct_CXX=yes
12880 hardcode_shlibpath_var_CXX=no
12882 # Workaround some broken pre-1.5 toolchains
12883 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12886 *nto* | *qnx*)
12887 ld_shlibs_CXX=yes
12890 openbsd2*)
12891 # C++ shared libraries are fairly broken
12892 ld_shlibs_CXX=no
12895 openbsd*)
12896 if test -f /usr/libexec/ld.so; then
12897 hardcode_direct_CXX=yes
12898 hardcode_shlibpath_var_CXX=no
12899 hardcode_direct_absolute_CXX=yes
12900 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12901 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12902 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12903 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12904 export_dynamic_flag_spec_CXX='${wl}-E'
12905 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12907 output_verbose_link_cmd=func_echo_all
12908 else
12909 ld_shlibs_CXX=no
12913 osf3* | osf4* | osf5*)
12914 case $cc_basename in
12915 KCC*)
12916 # Kuck and Associates, Inc. (KAI) C++ Compiler
12918 # KCC will only create a shared library if the output file
12919 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12920 # to its proper name (with version) after linking.
12921 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'
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12924 hardcode_libdir_separator_CXX=:
12926 # Archives containing C++ object files must be created using
12927 # the KAI C++ compiler.
12928 case $host in
12929 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12930 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12931 esac
12933 RCC*)
12934 # Rational C++ 2.4.1
12935 # FIXME: insert proper C++ library support
12936 ld_shlibs_CXX=no
12938 cxx*)
12939 case $host in
12940 osf3*)
12941 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12942 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'
12943 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12946 allow_undefined_flag_CXX=' -expect_unresolved \*'
12947 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'
12948 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12949 echo "-hidden">> $lib.exp~
12950 $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~
12951 $RM $lib.exp'
12952 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12954 esac
12956 hardcode_libdir_separator_CXX=:
12958 # Commands to make compiler produce verbose output that lists
12959 # what "hidden" libraries, object files and flags are used when
12960 # linking a shared library.
12962 # There doesn't appear to be a way to prevent this compiler from
12963 # explicitly linking system object files so we need to strip them
12964 # from the output so that they don't get included in the library
12965 # dependencies.
12966 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"'
12969 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12970 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12971 case $host in
12972 osf3*)
12973 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'
12976 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'
12978 esac
12980 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12981 hardcode_libdir_separator_CXX=:
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12986 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12988 else
12989 # FIXME: insert proper C++ library support
12990 ld_shlibs_CXX=no
12993 esac
12996 psos*)
12997 # FIXME: insert proper C++ library support
12998 ld_shlibs_CXX=no
13001 sunos4*)
13002 case $cc_basename in
13003 CC*)
13004 # Sun C++ 4.x
13005 # FIXME: insert proper C++ library support
13006 ld_shlibs_CXX=no
13008 lcc*)
13009 # Lucid
13010 # FIXME: insert proper C++ library support
13011 ld_shlibs_CXX=no
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13017 esac
13020 solaris*)
13021 case $cc_basename in
13022 CC*)
13023 # Sun C++ 4.2, 5.x and Centerline C++
13024 archive_cmds_need_lc_CXX=yes
13025 no_undefined_flag_CXX=' -zdefs'
13026 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13027 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13028 $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'
13030 hardcode_libdir_flag_spec_CXX='-R$libdir'
13031 hardcode_shlibpath_var_CXX=no
13032 case $host_os in
13033 solaris2.[0-5] | solaris2.[0-5].*) ;;
13035 # The compiler driver will combine and reorder linker options,
13036 # but understands `-z linker_flag'.
13037 # Supported since Solaris 2.6 (maybe 2.5.1?)
13038 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13040 esac
13041 link_all_deplibs_CXX=yes
13043 output_verbose_link_cmd='func_echo_all'
13045 # Archives containing C++ object files must be created using
13046 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13047 # necessary to make sure instantiated templates are included
13048 # in the archive.
13049 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13051 gcx*)
13052 # Green Hills C++ Compiler
13053 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13055 # The C++ compiler must be used to create the archive.
13056 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13059 # GNU C++ compiler with Solaris linker
13060 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13061 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13062 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13063 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13064 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13065 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13067 # Commands to make compiler produce verbose output that lists
13068 # what "hidden" libraries, object files and flags are used when
13069 # linking a shared library.
13070 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13071 else
13072 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13073 # platform.
13074 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13075 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13076 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13078 # Commands to make compiler produce verbose output that lists
13079 # what "hidden" libraries, object files and flags are used when
13080 # linking a shared library.
13081 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13084 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13085 case $host_os in
13086 solaris2.[0-5] | solaris2.[0-5].*) ;;
13088 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13090 esac
13093 esac
13096 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13097 no_undefined_flag_CXX='${wl}-z,text'
13098 archive_cmds_need_lc_CXX=no
13099 hardcode_shlibpath_var_CXX=no
13100 runpath_var='LD_RUN_PATH'
13102 case $cc_basename in
13103 CC*)
13104 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13111 esac
13114 sysv5* | sco3.2v5* | sco5v6*)
13115 # Note: We can NOT use -z defs as we might desire, because we do not
13116 # link with -lc, and that would cause any symbols used from libc to
13117 # always be unresolved, which means just about no library would
13118 # ever link correctly. If we're not using GNU ld we use -z text
13119 # though, which does catch some bad symbols but isn't as heavy-handed
13120 # as -z defs.
13121 no_undefined_flag_CXX='${wl}-z,text'
13122 allow_undefined_flag_CXX='${wl}-z,nodefs'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13126 hardcode_libdir_separator_CXX=':'
13127 link_all_deplibs_CXX=yes
13128 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13129 runpath_var='LD_RUN_PATH'
13131 case $cc_basename in
13132 CC*)
13133 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13136 '"$old_archive_cmds_CXX"
13137 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13138 '"$reload_cmds_CXX"
13141 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144 esac
13147 tandem*)
13148 case $cc_basename in
13149 NCC*)
13150 # NonStop-UX NCC 3.20
13151 # FIXME: insert proper C++ library support
13152 ld_shlibs_CXX=no
13155 # FIXME: insert proper C++ library support
13156 ld_shlibs_CXX=no
13158 esac
13161 vxworks*)
13162 # FIXME: insert proper C++ library support
13163 ld_shlibs_CXX=no
13167 # FIXME: insert proper C++ library support
13168 ld_shlibs_CXX=no
13170 esac
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13173 $as_echo "$ld_shlibs_CXX" >&6; }
13174 test "$ld_shlibs_CXX" = no && can_build_shared=no
13176 GCC_CXX="$GXX"
13177 LD_CXX="$LD"
13179 ## CAVEAT EMPTOR:
13180 ## There is no encapsulation within the following macros, do not change
13181 ## the running order or otherwise move them around unless you know exactly
13182 ## what you are doing...
13183 # Dependencies to place before and after the object being linked:
13184 predep_objects_CXX=
13185 postdep_objects_CXX=
13186 predeps_CXX=
13187 postdeps_CXX=
13188 compiler_lib_search_path_CXX=
13190 cat > conftest.$ac_ext <<_LT_EOF
13191 class Foo
13193 public:
13194 Foo (void) { a = 0; }
13195 private:
13196 int a;
13198 _LT_EOF
13200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13201 (eval $ac_compile) 2>&5
13202 ac_status=$?
13203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204 test $ac_status = 0; }; then
13205 # Parse the compiler output and extract the necessary
13206 # objects, libraries and library flags.
13208 # Sentinel used to keep track of whether or not we are before
13209 # the conftest object file.
13210 pre_test_object_deps_done=no
13212 for p in `eval "$output_verbose_link_cmd"`; do
13213 case $p in
13215 -L* | -R* | -l*)
13216 # Some compilers place space between "-{L,R}" and the path.
13217 # Remove the space.
13218 if test $p = "-L" ||
13219 test $p = "-R"; then
13220 prev=$p
13221 continue
13222 else
13223 prev=
13226 if test "$pre_test_object_deps_done" = no; then
13227 case $p in
13228 -L* | -R*)
13229 # Internal compiler library paths should come after those
13230 # provided the user. The postdeps already come after the
13231 # user supplied libs so there is no need to process them.
13232 if test -z "$compiler_lib_search_path_CXX"; then
13233 compiler_lib_search_path_CXX="${prev}${p}"
13234 else
13235 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13238 # The "-l" case would never come before the object being
13239 # linked, so don't bother handling this case.
13240 esac
13241 else
13242 if test -z "$postdeps_CXX"; then
13243 postdeps_CXX="${prev}${p}"
13244 else
13245 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13250 *.$objext)
13251 # This assumes that the test object file only shows up
13252 # once in the compiler output.
13253 if test "$p" = "conftest.$objext"; then
13254 pre_test_object_deps_done=yes
13255 continue
13258 if test "$pre_test_object_deps_done" = no; then
13259 if test -z "$predep_objects_CXX"; then
13260 predep_objects_CXX="$p"
13261 else
13262 predep_objects_CXX="$predep_objects_CXX $p"
13264 else
13265 if test -z "$postdep_objects_CXX"; then
13266 postdep_objects_CXX="$p"
13267 else
13268 postdep_objects_CXX="$postdep_objects_CXX $p"
13273 *) ;; # Ignore the rest.
13275 esac
13276 done
13278 # Clean up.
13279 rm -f a.out a.exe
13280 else
13281 echo "libtool.m4: error: problem compiling CXX test program"
13284 $RM -f confest.$objext
13286 # PORTME: override above test on systems where it is broken
13287 case $host_os in
13288 interix[3-9]*)
13289 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13290 # hack all around it, let's just trust "g++" to DTRT.
13291 predep_objects_CXX=
13292 postdep_objects_CXX=
13293 postdeps_CXX=
13296 linux*)
13297 case `$CC -V 2>&1 | sed 5q` in
13298 *Sun\ C*)
13299 # Sun C++ 5.9
13301 # The more standards-conforming stlport4 library is
13302 # incompatible with the Cstd library. Avoid specifying
13303 # it if it's in CXXFLAGS. Ignore libCrun as
13304 # -library=stlport4 depends on it.
13305 case " $CXX $CXXFLAGS " in
13306 *" -library=stlport4 "*)
13307 solaris_use_stlport4=yes
13309 esac
13311 if test "$solaris_use_stlport4" != yes; then
13312 postdeps_CXX='-library=Cstd -library=Crun'
13315 esac
13318 solaris*)
13319 case $cc_basename in
13320 CC*)
13321 # The more standards-conforming stlport4 library is
13322 # incompatible with the Cstd library. Avoid specifying
13323 # it if it's in CXXFLAGS. Ignore libCrun as
13324 # -library=stlport4 depends on it.
13325 case " $CXX $CXXFLAGS " in
13326 *" -library=stlport4 "*)
13327 solaris_use_stlport4=yes
13329 esac
13331 # Adding this requires a known-good setup of shared libraries for
13332 # Sun compiler versions before 5.6, else PIC objects from an old
13333 # archive will be linked into the output, leading to subtle bugs.
13334 if test "$solaris_use_stlport4" != yes; then
13335 postdeps_CXX='-library=Cstd -library=Crun'
13338 esac
13340 esac
13343 case " $postdeps_CXX " in
13344 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13345 esac
13346 compiler_lib_search_dirs_CXX=
13347 if test -n "${compiler_lib_search_path_CXX}"; then
13348 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13381 lt_prog_compiler_wl_CXX=
13382 lt_prog_compiler_pic_CXX=
13383 lt_prog_compiler_static_CXX=
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13386 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13388 # C++ specific cases for pic, static, wl, etc.
13389 if test "$GXX" = yes; then
13390 lt_prog_compiler_wl_CXX='-Wl,'
13391 lt_prog_compiler_static_CXX='-static'
13393 case $host_os in
13394 aix*)
13395 # All AIX code is PIC.
13396 if test "$host_cpu" = ia64; then
13397 # AIX 5 now supports IA64 processor
13398 lt_prog_compiler_static_CXX='-Bstatic'
13402 amigaos*)
13403 case $host_cpu in
13404 powerpc)
13405 # see comment about AmigaOS4 .so support
13406 lt_prog_compiler_pic_CXX='-fPIC'
13408 m68k)
13409 # FIXME: we need at least 68020 code to build shared libraries, but
13410 # adding the `-m68020' flag to GCC prevents building anything better,
13411 # like `-m68040'.
13412 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13414 esac
13417 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13418 # PIC is the default for these OSes.
13420 mingw* | cygwin* | os2* | pw32* | cegcc*)
13421 # This hack is so that the source file can tell whether it is being
13422 # built for inclusion in a dll (and should export symbols for example).
13423 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13424 # (--disable-auto-import) libraries
13425 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13427 darwin* | rhapsody*)
13428 # PIC is the default on this platform
13429 # Common symbols not allowed in MH_DYLIB files
13430 lt_prog_compiler_pic_CXX='-fno-common'
13432 *djgpp*)
13433 # DJGPP does not support shared libraries at all
13434 lt_prog_compiler_pic_CXX=
13436 haiku*)
13437 # PIC is the default for Haiku.
13438 # The "-static" flag exists, but is broken.
13439 lt_prog_compiler_static_CXX=
13441 interix[3-9]*)
13442 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13443 # Instead, we relocate shared libraries at runtime.
13445 sysv4*MP*)
13446 if test -d /usr/nec; then
13447 lt_prog_compiler_pic_CXX=-Kconform_pic
13450 hpux*)
13451 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13452 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13453 # sets the default TLS model and affects inlining.
13454 case $host_cpu in
13455 hppa*64*)
13458 lt_prog_compiler_pic_CXX='-fPIC'
13460 esac
13462 *qnx* | *nto*)
13463 # QNX uses GNU C++, but need to define -shared option too, otherwise
13464 # it will coredump.
13465 lt_prog_compiler_pic_CXX='-fPIC -shared'
13468 lt_prog_compiler_pic_CXX='-fPIC'
13470 esac
13471 else
13472 case $host_os in
13473 aix[4-9]*)
13474 # All AIX code is PIC.
13475 if test "$host_cpu" = ia64; then
13476 # AIX 5 now supports IA64 processor
13477 lt_prog_compiler_static_CXX='-Bstatic'
13478 else
13479 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13482 chorus*)
13483 case $cc_basename in
13484 cxch68*)
13485 # Green Hills C++ Compiler
13486 # _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"
13488 esac
13490 dgux*)
13491 case $cc_basename in
13492 ec++*)
13493 lt_prog_compiler_pic_CXX='-KPIC'
13495 ghcx*)
13496 # Green Hills C++ Compiler
13497 lt_prog_compiler_pic_CXX='-pic'
13501 esac
13503 freebsd* | dragonfly*)
13504 # FreeBSD uses GNU C++
13506 hpux9* | hpux10* | hpux11*)
13507 case $cc_basename in
13508 CC*)
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13511 if test "$host_cpu" != ia64; then
13512 lt_prog_compiler_pic_CXX='+Z'
13515 aCC*)
13516 lt_prog_compiler_wl_CXX='-Wl,'
13517 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13518 case $host_cpu in
13519 hppa*64*|ia64*)
13520 # +Z the default
13523 lt_prog_compiler_pic_CXX='+Z'
13525 esac
13529 esac
13531 interix*)
13532 # This is c89, which is MS Visual C++ (no shared libs)
13533 # Anyone wants to do a port?
13535 irix5* | irix6* | nonstopux*)
13536 case $cc_basename in
13537 CC*)
13538 lt_prog_compiler_wl_CXX='-Wl,'
13539 lt_prog_compiler_static_CXX='-non_shared'
13540 # CC pic flag -KPIC is the default.
13544 esac
13546 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13547 case $cc_basename in
13548 KCC*)
13549 # KAI C++ Compiler
13550 lt_prog_compiler_wl_CXX='--backend -Wl,'
13551 lt_prog_compiler_pic_CXX='-fPIC'
13553 ecpc* )
13554 # old Intel C++ for x86_64 which still supported -KPIC.
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_pic_CXX='-KPIC'
13557 lt_prog_compiler_static_CXX='-static'
13559 icpc* )
13560 # Intel C++, used to be incompatible with GCC.
13561 # ICC 10 doesn't accept -KPIC any more.
13562 lt_prog_compiler_wl_CXX='-Wl,'
13563 lt_prog_compiler_pic_CXX='-fPIC'
13564 lt_prog_compiler_static_CXX='-static'
13566 pgCC* | pgcpp*)
13567 # Portland Group C++ compiler
13568 lt_prog_compiler_wl_CXX='-Wl,'
13569 lt_prog_compiler_pic_CXX='-fpic'
13570 lt_prog_compiler_static_CXX='-Bstatic'
13572 cxx*)
13573 # Compaq C++
13574 # Make sure the PIC flag is empty. It appears that all Alpha
13575 # Linux and Compaq Tru64 Unix objects are PIC.
13576 lt_prog_compiler_pic_CXX=
13577 lt_prog_compiler_static_CXX='-non_shared'
13579 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13580 # IBM XL 8.0, 9.0 on PPC and BlueGene
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-qpic'
13583 lt_prog_compiler_static_CXX='-qstaticlink'
13586 case `$CC -V 2>&1 | sed 5q` in
13587 *Sun\ C*)
13588 # Sun C++ 5.9
13589 lt_prog_compiler_pic_CXX='-KPIC'
13590 lt_prog_compiler_static_CXX='-Bstatic'
13591 lt_prog_compiler_wl_CXX='-Qoption ld '
13593 esac
13595 esac
13597 lynxos*)
13599 m88k*)
13601 mvs*)
13602 case $cc_basename in
13603 cxx*)
13604 lt_prog_compiler_pic_CXX='-W c,exportall'
13608 esac
13610 netbsd*)
13612 *qnx* | *nto*)
13613 # QNX uses GNU C++, but need to define -shared option too, otherwise
13614 # it will coredump.
13615 lt_prog_compiler_pic_CXX='-fPIC -shared'
13617 osf3* | osf4* | osf5*)
13618 case $cc_basename in
13619 KCC*)
13620 lt_prog_compiler_wl_CXX='--backend -Wl,'
13622 RCC*)
13623 # Rational C++ 2.4.1
13624 lt_prog_compiler_pic_CXX='-pic'
13626 cxx*)
13627 # Digital/Compaq C++
13628 lt_prog_compiler_wl_CXX='-Wl,'
13629 # Make sure the PIC flag is empty. It appears that all Alpha
13630 # Linux and Compaq Tru64 Unix objects are PIC.
13631 lt_prog_compiler_pic_CXX=
13632 lt_prog_compiler_static_CXX='-non_shared'
13636 esac
13638 psos*)
13640 solaris*)
13641 case $cc_basename in
13642 CC*)
13643 # Sun C++ 4.2, 5.x and Centerline C++
13644 lt_prog_compiler_pic_CXX='-KPIC'
13645 lt_prog_compiler_static_CXX='-Bstatic'
13646 lt_prog_compiler_wl_CXX='-Qoption ld '
13648 gcx*)
13649 # Green Hills C++ Compiler
13650 lt_prog_compiler_pic_CXX='-PIC'
13654 esac
13656 sunos4*)
13657 case $cc_basename in
13658 CC*)
13659 # Sun C++ 4.x
13660 lt_prog_compiler_pic_CXX='-pic'
13661 lt_prog_compiler_static_CXX='-Bstatic'
13663 lcc*)
13664 # Lucid
13665 lt_prog_compiler_pic_CXX='-pic'
13669 esac
13671 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13672 case $cc_basename in
13673 CC*)
13674 lt_prog_compiler_wl_CXX='-Wl,'
13675 lt_prog_compiler_pic_CXX='-KPIC'
13676 lt_prog_compiler_static_CXX='-Bstatic'
13678 esac
13680 tandem*)
13681 case $cc_basename in
13682 NCC*)
13683 # NonStop-UX NCC 3.20
13684 lt_prog_compiler_pic_CXX='-KPIC'
13688 esac
13690 vxworks*)
13693 lt_prog_compiler_can_build_shared_CXX=no
13695 esac
13698 case $host_os in
13699 # For platforms which do not support PIC, -DPIC is meaningless:
13700 *djgpp*)
13701 lt_prog_compiler_pic_CXX=
13704 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13706 esac
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13708 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13713 # Check to make sure the PIC flag actually works.
13715 if test -n "$lt_prog_compiler_pic_CXX"; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13717 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13718 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 lt_cv_prog_compiler_pic_works_CXX=no
13722 ac_outfile=conftest.$ac_objext
13723 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13724 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13725 # Insert the option either (1) after the last *FLAGS variable, or
13726 # (2) before a word containing "conftest.", or (3) at the end.
13727 # Note that $ac_compile itself does not contain backslashes and begins
13728 # with a dollar sign (not a hyphen), so the echo should work correctly.
13729 # The option is referenced via a variable to avoid confusing sed.
13730 lt_compile=`echo "$ac_compile" | $SED \
13731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13733 -e 's:$: $lt_compiler_flag:'`
13734 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13735 (eval "$lt_compile" 2>conftest.err)
13736 ac_status=$?
13737 cat conftest.err >&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 if (exit $ac_status) && test -s "$ac_outfile"; then
13740 # The compiler can only warn and ignore the option if not recognized
13741 # So say no if there are warnings other than the usual output.
13742 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13743 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13744 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13745 lt_cv_prog_compiler_pic_works_CXX=yes
13748 $RM conftest*
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13752 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13754 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13755 case $lt_prog_compiler_pic_CXX in
13756 "" | " "*) ;;
13757 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13758 esac
13759 else
13760 lt_prog_compiler_pic_CXX=
13761 lt_prog_compiler_can_build_shared_CXX=no
13769 # Check to make sure the static flag actually works.
13771 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13773 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13774 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777 lt_cv_prog_compiler_static_works_CXX=no
13778 save_LDFLAGS="$LDFLAGS"
13779 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13780 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13781 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13782 # The linker can only warn and ignore the option if not recognized
13783 # So say no if there are warnings
13784 if test -s conftest.err; then
13785 # Append any errors to the config.log.
13786 cat conftest.err 1>&5
13787 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13788 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13789 if diff conftest.exp conftest.er2 >/dev/null; then
13790 lt_cv_prog_compiler_static_works_CXX=yes
13792 else
13793 lt_cv_prog_compiler_static_works_CXX=yes
13796 $RM -r conftest*
13797 LDFLAGS="$save_LDFLAGS"
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13801 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13803 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13805 else
13806 lt_prog_compiler_static_CXX=
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13814 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13815 $as_echo_n "(cached) " >&6
13816 else
13817 lt_cv_prog_compiler_c_o_CXX=no
13818 $RM -r conftest 2>/dev/null
13819 mkdir conftest
13820 cd conftest
13821 mkdir out
13822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13824 lt_compiler_flag="-o out/conftest2.$ac_objext"
13825 # Insert the option either (1) after the last *FLAGS variable, or
13826 # (2) before a word containing "conftest.", or (3) at the end.
13827 # Note that $ac_compile itself does not contain backslashes and begins
13828 # with a dollar sign (not a hyphen), so the echo should work correctly.
13829 lt_compile=`echo "$ac_compile" | $SED \
13830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13832 -e 's:$: $lt_compiler_flag:'`
13833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13834 (eval "$lt_compile" 2>out/conftest.err)
13835 ac_status=$?
13836 cat out/conftest.err >&5
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13839 then
13840 # The compiler can only warn and ignore the option if not recognized
13841 # So say no if there are warnings
13842 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13843 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13844 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13845 lt_cv_prog_compiler_c_o_CXX=yes
13848 chmod u+w . 2>&5
13849 $RM conftest*
13850 # SGI C++ compiler will create directory out/ii_files/ for
13851 # template instantiation
13852 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13853 $RM out/* && rmdir out
13854 cd ..
13855 $RM -r conftest
13856 $RM conftest*
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13860 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13866 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 lt_cv_prog_compiler_c_o_CXX=no
13870 $RM -r conftest 2>/dev/null
13871 mkdir conftest
13872 cd conftest
13873 mkdir out
13874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13876 lt_compiler_flag="-o out/conftest2.$ac_objext"
13877 # Insert the option either (1) after the last *FLAGS variable, or
13878 # (2) before a word containing "conftest.", or (3) at the end.
13879 # Note that $ac_compile itself does not contain backslashes and begins
13880 # with a dollar sign (not a hyphen), so the echo should work correctly.
13881 lt_compile=`echo "$ac_compile" | $SED \
13882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13884 -e 's:$: $lt_compiler_flag:'`
13885 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13886 (eval "$lt_compile" 2>out/conftest.err)
13887 ac_status=$?
13888 cat out/conftest.err >&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13891 then
13892 # The compiler can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13895 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13896 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_c_o_CXX=yes
13900 chmod u+w . 2>&5
13901 $RM conftest*
13902 # SGI C++ compiler will create directory out/ii_files/ for
13903 # template instantiation
13904 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13905 $RM out/* && rmdir out
13906 cd ..
13907 $RM -r conftest
13908 $RM conftest*
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13912 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13917 hard_links="nottested"
13918 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13919 # do not overwrite the value of need_locks provided by the user
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13921 $as_echo_n "checking if we can lock with hard links... " >&6; }
13922 hard_links=yes
13923 $RM conftest*
13924 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13925 touch conftest.a
13926 ln conftest.a conftest.b 2>&5 || hard_links=no
13927 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13929 $as_echo "$hard_links" >&6; }
13930 if test "$hard_links" = no; then
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13932 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13933 need_locks=warn
13935 else
13936 need_locks=no
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13942 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13945 case $host_os in
13946 aix[4-9]*)
13947 # If we're using GNU nm, then we don't want the "-C" option.
13948 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13949 # Also, AIX nm treats weak defined symbols like other global defined
13950 # symbols, whereas GNU nm marks them as "W".
13951 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13952 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'
13953 else
13954 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'
13957 pw32*)
13958 export_symbols_cmds_CXX="$ltdll_cmds"
13960 cygwin* | mingw* | cegcc*)
13961 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'
13964 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13966 esac
13967 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13970 $as_echo "$ld_shlibs_CXX" >&6; }
13971 test "$ld_shlibs_CXX" = no && can_build_shared=no
13973 with_gnu_ld_CXX=$with_gnu_ld
13981 # Do we need to explicitly link libc?
13983 case "x$archive_cmds_need_lc_CXX" in
13984 x|xyes)
13985 # Assume -lc should be added
13986 archive_cmds_need_lc_CXX=yes
13988 if test "$enable_shared" = yes && test "$GCC" = yes; then
13989 case $archive_cmds_CXX in
13990 *'~'*)
13991 # FIXME: we may have to deal with multi-command sequences.
13993 '$CC '*)
13994 # Test whether the compiler implicitly links with -lc since on some
13995 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13996 # to ld, don't add -lc before -lgcc.
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13998 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13999 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 $RM conftest*
14003 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14006 (eval $ac_compile) 2>&5
14007 ac_status=$?
14008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009 test $ac_status = 0; } 2>conftest.err; then
14010 soname=conftest
14011 lib=conftest
14012 libobjs=conftest.$ac_objext
14013 deplibs=
14014 wl=$lt_prog_compiler_wl_CXX
14015 pic_flag=$lt_prog_compiler_pic_CXX
14016 compiler_flags=-v
14017 linker_flags=-v
14018 verstring=
14019 output_objdir=.
14020 libname=conftest
14021 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14022 allow_undefined_flag_CXX=
14023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14024 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14025 ac_status=$?
14026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14027 test $ac_status = 0; }
14028 then
14029 lt_cv_archive_cmds_need_lc_CXX=no
14030 else
14031 lt_cv_archive_cmds_need_lc_CXX=yes
14033 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14034 else
14035 cat conftest.err 1>&5
14037 $RM conftest*
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14041 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14042 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14044 esac
14047 esac
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14113 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14115 library_names_spec=
14116 libname_spec='lib$name'
14117 soname_spec=
14118 shrext_cmds=".so"
14119 postinstall_cmds=
14120 postuninstall_cmds=
14121 finish_cmds=
14122 finish_eval=
14123 shlibpath_var=
14124 shlibpath_overrides_runpath=unknown
14125 version_type=none
14126 dynamic_linker="$host_os ld.so"
14127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14128 need_lib_prefix=unknown
14129 hardcode_into_libs=no
14131 # when you set need_version to no, make sure it does not cause -set_version
14132 # flags to be left without arguments
14133 need_version=unknown
14135 case $host_os in
14136 aix3*)
14137 version_type=linux
14138 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14139 shlibpath_var=LIBPATH
14141 # AIX 3 has no versioning support, so we append a major version to the name.
14142 soname_spec='${libname}${release}${shared_ext}$major'
14145 aix[4-9]*)
14146 version_type=linux
14147 need_lib_prefix=no
14148 need_version=no
14149 hardcode_into_libs=yes
14150 if test "$host_cpu" = ia64; then
14151 # AIX 5 supports IA64
14152 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14153 shlibpath_var=LD_LIBRARY_PATH
14154 else
14155 # With GCC up to 2.95.x, collect2 would create an import file
14156 # for dependence libraries. The import file would start with
14157 # the line `#! .'. This would cause the generated library to
14158 # depend on `.', always an invalid library. This was fixed in
14159 # development snapshots of GCC prior to 3.0.
14160 case $host_os in
14161 aix4 | aix4.[01] | aix4.[01].*)
14162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14163 echo ' yes '
14164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14166 else
14167 can_build_shared=no
14170 esac
14171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14172 # soname into executable. Probably we can add versioning support to
14173 # collect2, so additional links can be useful in future.
14174 if test "$aix_use_runtimelinking" = yes; then
14175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14176 # instead of lib<name>.a to let people know that these are not
14177 # typical AIX shared libraries.
14178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14179 else
14180 # We preserve .a as extension for shared libraries through AIX4.2
14181 # and later when we are not doing run time linking.
14182 library_names_spec='${libname}${release}.a $libname.a'
14183 soname_spec='${libname}${release}${shared_ext}$major'
14185 shlibpath_var=LIBPATH
14189 amigaos*)
14190 case $host_cpu in
14191 powerpc)
14192 # Since July 2007 AmigaOS4 officially supports .so libraries.
14193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14196 m68k)
14197 library_names_spec='$libname.ixlibrary $libname.a'
14198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14199 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'
14201 esac
14204 beos*)
14205 library_names_spec='${libname}${shared_ext}'
14206 dynamic_linker="$host_os ld.so"
14207 shlibpath_var=LIBRARY_PATH
14210 bsdi[45]*)
14211 version_type=linux
14212 need_version=no
14213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14214 soname_spec='${libname}${release}${shared_ext}$major'
14215 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14216 shlibpath_var=LD_LIBRARY_PATH
14217 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14218 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14219 # the default ld.so.conf also contains /usr/contrib/lib and
14220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14221 # libtool to hard-code these into programs
14224 cygwin* | mingw* | pw32* | cegcc*)
14225 version_type=windows
14226 shrext_cmds=".dll"
14227 need_version=no
14228 need_lib_prefix=no
14230 case $GCC,$host_os in
14231 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14232 library_names_spec='$libname.dll.a'
14233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14234 postinstall_cmds='base_file=`basename \${file}`~
14235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14236 dldir=$destdir/`dirname \$dlpath`~
14237 test -d \$dldir || mkdir -p \$dldir~
14238 $install_prog $dir/$dlname \$dldir/$dlname~
14239 chmod a+x \$dldir/$dlname~
14240 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14241 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14243 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14244 dlpath=$dir/\$dldll~
14245 $RM \$dlpath'
14246 shlibpath_overrides_runpath=yes
14248 case $host_os in
14249 cygwin*)
14250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14251 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14254 mingw* | cegcc*)
14255 # MinGW DLLs use traditional 'lib' prefix
14256 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14258 pw32*)
14259 # pw32 DLLs use 'pw' prefix rather than 'lib'
14260 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14262 esac
14266 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14268 esac
14269 dynamic_linker='Win32 ld.exe'
14270 # FIXME: first we should search . and the directory the executable is in
14271 shlibpath_var=PATH
14274 darwin* | rhapsody*)
14275 dynamic_linker="$host_os dyld"
14276 version_type=darwin
14277 need_lib_prefix=no
14278 need_version=no
14279 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14280 soname_spec='${libname}${release}${major}$shared_ext'
14281 shlibpath_overrides_runpath=yes
14282 shlibpath_var=DYLD_LIBRARY_PATH
14283 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14285 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14288 dgux*)
14289 version_type=linux
14290 need_lib_prefix=no
14291 need_version=no
14292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14293 soname_spec='${libname}${release}${shared_ext}$major'
14294 shlibpath_var=LD_LIBRARY_PATH
14297 freebsd* | dragonfly*)
14298 # DragonFly does not have aout. When/if they implement a new
14299 # versioning mechanism, adjust this.
14300 if test -x /usr/bin/objformat; then
14301 objformat=`/usr/bin/objformat`
14302 else
14303 case $host_os in
14304 freebsd[123]*) objformat=aout ;;
14305 *) objformat=elf ;;
14306 esac
14308 version_type=freebsd-$objformat
14309 case $version_type in
14310 freebsd-elf*)
14311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14312 need_version=no
14313 need_lib_prefix=no
14315 freebsd-*)
14316 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14317 need_version=yes
14319 esac
14320 shlibpath_var=LD_LIBRARY_PATH
14321 case $host_os in
14322 freebsd2*)
14323 shlibpath_overrides_runpath=yes
14325 freebsd3.[01]* | freebsdelf3.[01]*)
14326 shlibpath_overrides_runpath=yes
14327 hardcode_into_libs=yes
14329 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14330 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14331 shlibpath_overrides_runpath=no
14332 hardcode_into_libs=yes
14334 *) # from 4.6 on, and DragonFly
14335 shlibpath_overrides_runpath=yes
14336 hardcode_into_libs=yes
14338 esac
14341 gnu*)
14342 version_type=linux
14343 need_lib_prefix=no
14344 need_version=no
14345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14346 soname_spec='${libname}${release}${shared_ext}$major'
14347 shlibpath_var=LD_LIBRARY_PATH
14348 hardcode_into_libs=yes
14351 haiku*)
14352 version_type=linux
14353 need_lib_prefix=no
14354 need_version=no
14355 dynamic_linker="$host_os runtime_loader"
14356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14357 soname_spec='${libname}${release}${shared_ext}$major'
14358 shlibpath_var=LIBRARY_PATH
14359 shlibpath_overrides_runpath=yes
14360 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14361 hardcode_into_libs=yes
14364 hpux9* | hpux10* | hpux11*)
14365 # Give a soname corresponding to the major version so that dld.sl refuses to
14366 # link against other versions.
14367 version_type=sunos
14368 need_lib_prefix=no
14369 need_version=no
14370 case $host_cpu in
14371 ia64*)
14372 shrext_cmds='.so'
14373 hardcode_into_libs=yes
14374 dynamic_linker="$host_os dld.so"
14375 shlibpath_var=LD_LIBRARY_PATH
14376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 if test "X$HPUX_IA64_MODE" = X32; then
14380 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14381 else
14382 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14386 hppa*64*)
14387 shrext_cmds='.sl'
14388 hardcode_into_libs=yes
14389 dynamic_linker="$host_os dld.sl"
14390 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14395 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14398 shrext_cmds='.sl'
14399 dynamic_linker="$host_os dld.sl"
14400 shlibpath_var=SHLIB_PATH
14401 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14405 esac
14406 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14407 postinstall_cmds='chmod 555 $lib'
14408 # or fails outright, so override atomically:
14409 install_override_mode=555
14412 interix[3-9]*)
14413 version_type=linux
14414 need_lib_prefix=no
14415 need_version=no
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14419 shlibpath_var=LD_LIBRARY_PATH
14420 shlibpath_overrides_runpath=no
14421 hardcode_into_libs=yes
14424 irix5* | irix6* | nonstopux*)
14425 case $host_os in
14426 nonstopux*) version_type=nonstopux ;;
14428 if test "$lt_cv_prog_gnu_ld" = yes; then
14429 version_type=linux
14430 else
14431 version_type=irix
14432 fi ;;
14433 esac
14434 need_lib_prefix=no
14435 need_version=no
14436 soname_spec='${libname}${release}${shared_ext}$major'
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14438 case $host_os in
14439 irix5* | nonstopux*)
14440 libsuff= shlibsuff=
14443 case $LD in # libtool.m4 will add one of these switches to LD
14444 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14445 libsuff= shlibsuff= libmagic=32-bit;;
14446 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14447 libsuff=32 shlibsuff=N32 libmagic=N32;;
14448 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14449 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14450 *) libsuff= shlibsuff= libmagic=never-match;;
14451 esac
14453 esac
14454 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14455 shlibpath_overrides_runpath=no
14456 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14457 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14458 hardcode_into_libs=yes
14461 # No shared lib support for Linux oldld, aout, or coff.
14462 linux*oldld* | linux*aout* | linux*coff*)
14463 dynamic_linker=no
14466 # This must be Linux ELF.
14467 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14468 version_type=linux
14469 need_lib_prefix=no
14470 need_version=no
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14472 soname_spec='${libname}${release}${shared_ext}$major'
14473 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14474 shlibpath_var=LD_LIBRARY_PATH
14475 shlibpath_overrides_runpath=no
14477 # Some binutils ld are patched to set DT_RUNPATH
14478 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 lt_cv_shlibpath_overrides_runpath=no
14482 save_LDFLAGS=$LDFLAGS
14483 save_libdir=$libdir
14484 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14485 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14486 if test x$gcc_no_link = xyes; then
14487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14493 main ()
14497 return 0;
14499 _ACEOF
14500 if ac_fn_cxx_try_link "$LINENO"; then :
14501 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14502 lt_cv_shlibpath_overrides_runpath=yes
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LDFLAGS=$save_LDFLAGS
14508 libdir=$save_libdir
14512 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14514 # This implies no fast_install, which is unacceptable.
14515 # Some rework will be needed to allow for fast_install
14516 # before this can be enabled.
14517 hardcode_into_libs=yes
14519 # Append ld.so.conf contents to the search path
14520 if test -f /etc/ld.so.conf; then
14521 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' ' '`
14522 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14525 # We used to test for /lib/ld.so.1 and disable shared libraries on
14526 # powerpc, because MkLinux only supported shared libraries with the
14527 # GNU dynamic linker. Since this was broken with cross compilers,
14528 # most powerpc-linux boxes support dynamic linking these days and
14529 # people can always --disable-shared, the test was removed, and we
14530 # assume the GNU/Linux dynamic linker is in use.
14531 dynamic_linker='GNU/Linux ld.so'
14534 netbsd*)
14535 version_type=sunos
14536 need_lib_prefix=no
14537 need_version=no
14538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14541 dynamic_linker='NetBSD (a.out) ld.so'
14542 else
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14544 soname_spec='${libname}${release}${shared_ext}$major'
14545 dynamic_linker='NetBSD ld.elf_so'
14547 shlibpath_var=LD_LIBRARY_PATH
14548 shlibpath_overrides_runpath=yes
14549 hardcode_into_libs=yes
14552 newsos6)
14553 version_type=linux
14554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14555 shlibpath_var=LD_LIBRARY_PATH
14556 shlibpath_overrides_runpath=yes
14559 *nto* | *qnx*)
14560 version_type=qnx
14561 need_lib_prefix=no
14562 need_version=no
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564 soname_spec='${libname}${release}${shared_ext}$major'
14565 shlibpath_var=LD_LIBRARY_PATH
14566 shlibpath_overrides_runpath=no
14567 hardcode_into_libs=yes
14568 dynamic_linker='ldqnx.so'
14571 openbsd*)
14572 version_type=sunos
14573 sys_lib_dlsearch_path_spec="/usr/lib"
14574 need_lib_prefix=no
14575 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14576 case $host_os in
14577 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14578 *) need_version=no ;;
14579 esac
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14581 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14582 shlibpath_var=LD_LIBRARY_PATH
14583 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14584 case $host_os in
14585 openbsd2.[89] | openbsd2.[89].*)
14586 shlibpath_overrides_runpath=no
14589 shlibpath_overrides_runpath=yes
14591 esac
14592 else
14593 shlibpath_overrides_runpath=yes
14597 os2*)
14598 libname_spec='$name'
14599 shrext_cmds=".dll"
14600 need_lib_prefix=no
14601 library_names_spec='$libname${shared_ext} $libname.a'
14602 dynamic_linker='OS/2 ld.exe'
14603 shlibpath_var=LIBPATH
14606 osf3* | osf4* | osf5*)
14607 version_type=osf
14608 need_lib_prefix=no
14609 need_version=no
14610 soname_spec='${libname}${release}${shared_ext}$major'
14611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 shlibpath_var=LD_LIBRARY_PATH
14613 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14614 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14617 rdos*)
14618 dynamic_linker=no
14621 solaris*)
14622 version_type=linux
14623 need_lib_prefix=no
14624 need_version=no
14625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14626 soname_spec='${libname}${release}${shared_ext}$major'
14627 shlibpath_var=LD_LIBRARY_PATH
14628 shlibpath_overrides_runpath=yes
14629 hardcode_into_libs=yes
14630 # ldd complains unless libraries are executable
14631 postinstall_cmds='chmod +x $lib'
14634 sunos4*)
14635 version_type=sunos
14636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14637 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 shlibpath_overrides_runpath=yes
14640 if test "$with_gnu_ld" = yes; then
14641 need_lib_prefix=no
14643 need_version=yes
14646 sysv4 | sysv4.3*)
14647 version_type=linux
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 shlibpath_var=LD_LIBRARY_PATH
14651 case $host_vendor in
14652 sni)
14653 shlibpath_overrides_runpath=no
14654 need_lib_prefix=no
14655 runpath_var=LD_RUN_PATH
14657 siemens)
14658 need_lib_prefix=no
14660 motorola)
14661 need_lib_prefix=no
14662 need_version=no
14663 shlibpath_overrides_runpath=no
14664 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14666 esac
14669 sysv4*MP*)
14670 if test -d /usr/nec ;then
14671 version_type=linux
14672 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14673 soname_spec='$libname${shared_ext}.$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14678 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14679 version_type=freebsd-elf
14680 need_lib_prefix=no
14681 need_version=no
14682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14683 soname_spec='${libname}${release}${shared_ext}$major'
14684 shlibpath_var=LD_LIBRARY_PATH
14685 shlibpath_overrides_runpath=yes
14686 hardcode_into_libs=yes
14687 if test "$with_gnu_ld" = yes; then
14688 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14689 else
14690 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14691 case $host_os in
14692 sco3.2v5*)
14693 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14695 esac
14697 sys_lib_dlsearch_path_spec='/usr/lib'
14700 tpf*)
14701 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14702 version_type=linux
14703 need_lib_prefix=no
14704 need_version=no
14705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14706 shlibpath_var=LD_LIBRARY_PATH
14707 shlibpath_overrides_runpath=no
14708 hardcode_into_libs=yes
14711 uts4*)
14712 version_type=linux
14713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14714 soname_spec='${libname}${release}${shared_ext}$major'
14715 shlibpath_var=LD_LIBRARY_PATH
14719 dynamic_linker=no
14721 esac
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14723 $as_echo "$dynamic_linker" >&6; }
14724 test "$dynamic_linker" = no && can_build_shared=no
14726 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14727 if test "$GCC" = yes; then
14728 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14731 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14732 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14734 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14735 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14777 hardcode_action_CXX=
14778 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14779 test -n "$runpath_var_CXX" ||
14780 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14782 # We can hardcode non-existent directories.
14783 if test "$hardcode_direct_CXX" != no &&
14784 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14785 # have to relink, otherwise we might link with an installed library
14786 # when we should be linking with a yet-to-be-installed one
14787 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14788 test "$hardcode_minus_L_CXX" != no; then
14789 # Linking always hardcodes the temporary library directory.
14790 hardcode_action_CXX=relink
14791 else
14792 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14793 hardcode_action_CXX=immediate
14795 else
14796 # We cannot hardcode anything, or else we can only hardcode existing
14797 # directories.
14798 hardcode_action_CXX=unsupported
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14801 $as_echo "$hardcode_action_CXX" >&6; }
14803 if test "$hardcode_action_CXX" = relink ||
14804 test "$inherit_rpath_CXX" = yes; then
14805 # Fast installation is not supported
14806 enable_fast_install=no
14807 elif test "$shlibpath_overrides_runpath" = yes ||
14808 test "$enable_shared" = no; then
14809 # Fast installation is not necessary
14810 enable_fast_install=needless
14819 fi # test -n "$compiler"
14821 CC=$lt_save_CC
14822 LDCXX=$LD
14823 LD=$lt_save_LD
14824 GCC=$lt_save_GCC
14825 with_gnu_ld=$lt_save_with_gnu_ld
14826 lt_cv_path_LDCXX=$lt_cv_path_LD
14827 lt_cv_path_LD=$lt_save_path_LD
14828 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14829 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14830 fi # test "$_lt_caught_CXX_error" != yes
14832 ac_ext=c
14833 ac_cpp='$CPP $CPPFLAGS'
14834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14850 ac_config_commands="$ac_config_commands libtool"
14855 # Only expand once:
14861 case $host in
14862 *-cygwin* | *-mingw*)
14863 # 'host' will be top-level target in the case of a target lib,
14864 # we must compare to with_cross_host to decide if this is a native
14865 # or cross-compiler and select where to install dlls appropriately.
14866 if test -n "$with_cross_host" &&
14867 test x"$with_cross_host" != x"no"; then
14868 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14869 else
14870 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14874 lt_host_flags=
14876 esac
14883 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14884 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14886 # Possibly disable most of the library.
14887 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14888 ## than just ignoring the results. Faster /and/ more correct, win win.
14890 # Check whether --enable-hosted-libstdcxx was given.
14891 if test "${enable_hosted_libstdcxx+set}" = set; then :
14892 enableval=$enable_hosted_libstdcxx;
14893 else
14894 case "$host" in
14895 arm*-*-symbianelf*)
14896 enable_hosted_libstdcxx=no
14899 enable_hosted_libstdcxx=yes
14901 esac
14904 if test "$enable_hosted_libstdcxx" = no; then
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14906 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14907 is_hosted=no
14908 hosted_define=0
14909 enable_abi_check=no
14910 enable_libstdcxx_pch=no
14911 else
14912 is_hosted=yes
14913 hosted_define=1
14917 cat >>confdefs.h <<_ACEOF
14918 #define _GLIBCXX_HOSTED $hosted_define
14919 _ACEOF
14923 # Enable compiler support that doesn't require linking.
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14926 $as_echo_n "checking for exception model to use... " >&6; }
14928 ac_ext=cpp
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14934 # Check whether --enable-sjlj-exceptions was given.
14935 if test "${enable_sjlj_exceptions+set}" = set; then :
14936 enableval=$enable_sjlj_exceptions;
14937 case "$enableval" in
14938 yes|no|auto) ;;
14939 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14940 esac
14942 else
14943 enable_sjlj_exceptions=auto
14948 if test $enable_sjlj_exceptions = auto; then
14949 # Botheration. Now we've got to detect the exception model. Link tests
14950 # against libgcc.a are problematic since we've not been given proper -L
14951 # bits for single-tree newlib and libgloss.
14953 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14954 cat > conftest.$ac_ext << EOF
14955 #line 14955 "configure"
14956 struct S { ~S(); };
14957 void bar();
14958 void foo()
14960 S s;
14961 bar();
14964 old_CXXFLAGS="$CXXFLAGS"
14965 CXXFLAGS=-S
14966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14967 (eval $ac_compile) 2>&5
14968 ac_status=$?
14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970 test $ac_status = 0; }; then
14971 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14972 enable_sjlj_exceptions=yes
14973 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14974 enable_sjlj_exceptions=no
14975 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14976 enable_sjlj_exceptions=no
14979 CXXFLAGS="$old_CXXFLAGS"
14980 rm -f conftest*
14983 # This is a tad weird, for hysterical raisins. We have to map
14984 # enable/disable to two different models.
14985 case $enable_sjlj_exceptions in
14986 yes)
14988 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14990 ac_exception_model_name=sjlj
14993 ac_exception_model_name="call frame"
14996 as_fn_error "unable to detect exception model" "$LINENO" 5
14998 esac
14999 ac_ext=c
15000 ac_cpp='$CPP $CPPFLAGS'
15001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15006 $as_echo "$ac_exception_model_name" >&6; }
15009 # Check whether --enable-libstdcxx-pch was given.
15010 if test "${enable_libstdcxx_pch+set}" = set; then :
15011 enableval=$enable_libstdcxx_pch;
15012 case "$enableval" in
15013 yes|no) ;;
15014 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15015 esac
15017 else
15018 enable_libstdcxx_pch=$is_hosted
15022 if test $enable_libstdcxx_pch = yes; then
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15024 $as_echo_n "checking for compiler with PCH support... " >&6; }
15025 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_save_CXXFLAGS="$CXXFLAGS"
15029 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15031 ac_ext=cpp
15032 ac_cpp='$CXXCPP $CPPFLAGS'
15033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15037 echo '#include <math.h>' > conftest.h
15038 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15039 -o conftest.h.gch 1>&5 2>&1 &&
15040 echo '#error "pch failed"' > conftest.h &&
15041 echo '#include "conftest.h"' > conftest.cc &&
15042 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15043 then
15044 glibcxx_cv_prog_CXX_pch=yes
15045 else
15046 glibcxx_cv_prog_CXX_pch=no
15048 rm -f conftest*
15049 CXXFLAGS=$ac_save_CXXFLAGS
15050 ac_ext=c
15051 ac_cpp='$CPP $CPPFLAGS'
15052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15059 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15060 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15064 $as_echo_n "checking for enabled PCH... " >&6; }
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15066 $as_echo "$enable_libstdcxx_pch" >&6; }
15069 if test $enable_libstdcxx_pch = yes; then
15070 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15071 else
15072 glibcxx_PCHFLAGS=""
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15078 $as_echo_n "checking for thread model used by GCC... " >&6; }
15079 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15081 $as_echo "$target_thread_file" >&6; }
15083 if test $target_thread_file != single; then
15085 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15089 glibcxx_thread_h=gthr-$target_thread_file.h
15091 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15092 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15093 enable_thread=yes
15094 else
15095 enable_thread=no
15102 ac_ext=cpp
15103 ac_cpp='$CXXCPP $CPPFLAGS'
15104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15108 old_CXXFLAGS="$CXXFLAGS"
15110 # Do link tests if possible, instead asm tests, limited to some platforms
15111 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15112 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15113 atomic_builtins_link_tests=no
15114 if test x$gcc_no_link != xyes; then
15115 # Can do link tests. Limit to some tested platforms
15116 case "$host" in
15117 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15118 atomic_builtins_link_tests=yes
15120 esac
15123 if test x$atomic_builtins_link_tests = xyes; then
15125 # Do link tests.
15127 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15130 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15131 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15132 $as_echo_n "(cached) " >&6
15133 else
15135 if test x$gcc_no_link = xyes; then
15136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15142 main ()
15144 typedef bool atomic_type;
15145 atomic_type c1;
15146 atomic_type c2;
15147 const atomic_type c3(0);
15148 __sync_fetch_and_add(&c1, c2);
15149 __sync_val_compare_and_swap(&c1, c3, c2);
15150 __sync_lock_test_and_set(&c1, c3);
15151 __sync_lock_release(&c1);
15152 __sync_synchronize();
15154 return 0;
15156 _ACEOF
15157 if ac_fn_cxx_try_link "$LINENO"; then :
15158 glibcxx_cv_atomic_bool=yes
15159 else
15160 glibcxx_cv_atomic_bool=no
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15167 if test $glibcxx_cv_atomic_bool = yes; then
15169 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15173 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15176 $as_echo_n "checking for atomic builtins for short... " >&6; }
15177 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15178 $as_echo_n "(cached) " >&6
15179 else
15181 if test x$gcc_no_link = xyes; then
15182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15188 main ()
15190 typedef short atomic_type;
15191 atomic_type c1;
15192 atomic_type c2;
15193 const atomic_type c3(0);
15194 __sync_fetch_and_add(&c1, c2);
15195 __sync_val_compare_and_swap(&c1, c3, c2);
15196 __sync_lock_test_and_set(&c1, c3);
15197 __sync_lock_release(&c1);
15198 __sync_synchronize();
15200 return 0;
15202 _ACEOF
15203 if ac_fn_cxx_try_link "$LINENO"; then :
15204 glibcxx_cv_atomic_short=yes
15205 else
15206 glibcxx_cv_atomic_short=no
15208 rm -f core conftest.err conftest.$ac_objext \
15209 conftest$ac_exeext conftest.$ac_ext
15213 if test $glibcxx_cv_atomic_short = yes; then
15215 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15219 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15222 $as_echo_n "checking for atomic builtins for int... " >&6; }
15223 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15224 $as_echo_n "(cached) " >&6
15225 else
15227 if test x$gcc_no_link = xyes; then
15228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15234 main ()
15236 typedef int atomic_type;
15237 atomic_type c1;
15238 atomic_type c2;
15239 const atomic_type c3(0);
15240 __sync_fetch_and_add(&c1, c2);
15241 __sync_val_compare_and_swap(&c1, c3, c2);
15242 __sync_lock_test_and_set(&c1, c3);
15243 __sync_lock_release(&c1);
15244 __sync_synchronize();
15246 return 0;
15248 _ACEOF
15249 if ac_fn_cxx_try_link "$LINENO"; then :
15250 glibcxx_cv_atomic_int=yes
15251 else
15252 glibcxx_cv_atomic_int=no
15254 rm -f core conftest.err conftest.$ac_objext \
15255 conftest$ac_exeext conftest.$ac_ext
15259 if test $glibcxx_cv_atomic_int = yes; then
15261 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15265 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15268 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15269 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15270 $as_echo_n "(cached) " >&6
15271 else
15273 if test x$gcc_no_link = xyes; then
15274 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15280 main ()
15282 typedef long long atomic_type;
15283 atomic_type c1;
15284 atomic_type c2;
15285 const atomic_type c3(0);
15286 __sync_fetch_and_add(&c1, c2);
15287 __sync_val_compare_and_swap(&c1, c3, c2);
15288 __sync_lock_test_and_set(&c1, c3);
15289 __sync_lock_release(&c1);
15290 __sync_synchronize();
15292 return 0;
15294 _ACEOF
15295 if ac_fn_cxx_try_link "$LINENO"; then :
15296 glibcxx_cv_atomic_long_long=yes
15297 else
15298 glibcxx_cv_atomic_long_long=no
15300 rm -f core conftest.err conftest.$ac_objext \
15301 conftest$ac_exeext conftest.$ac_ext
15305 if test $glibcxx_cv_atomic_long_long = yes; then
15307 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15311 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15313 else
15315 # Do asm tests.
15317 # Compile unoptimized.
15318 CXXFLAGS='-O0 -S'
15320 # Fake what AC_TRY_COMPILE does.
15322 cat > conftest.$ac_ext << EOF
15323 #line 15323 "configure"
15324 int main()
15326 typedef bool atomic_type;
15327 atomic_type c1;
15328 atomic_type c2;
15329 const atomic_type c3(0);
15330 __sync_fetch_and_add(&c1, c2);
15331 __sync_val_compare_and_swap(&c1, c3, c2);
15332 __sync_lock_test_and_set(&c1, c3);
15333 __sync_lock_release(&c1);
15334 __sync_synchronize();
15335 return 0;
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15340 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15342 (eval $ac_compile) 2>&5
15343 ac_status=$?
15344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15345 test $ac_status = 0; }; then
15346 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15347 glibcxx_cv_atomic_bool=no
15348 else
15350 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15352 glibcxx_cv_atomic_bool=yes
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15356 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15357 rm -f conftest*
15359 cat > conftest.$ac_ext << EOF
15360 #line 15360 "configure"
15361 int main()
15363 typedef short atomic_type;
15364 atomic_type c1;
15365 atomic_type c2;
15366 const atomic_type c3(0);
15367 __sync_fetch_and_add(&c1, c2);
15368 __sync_val_compare_and_swap(&c1, c3, c2);
15369 __sync_lock_test_and_set(&c1, c3);
15370 __sync_lock_release(&c1);
15371 __sync_synchronize();
15372 return 0;
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15377 $as_echo_n "checking for atomic builtins for short... " >&6; }
15378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15379 (eval $ac_compile) 2>&5
15380 ac_status=$?
15381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382 test $ac_status = 0; }; then
15383 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15384 glibcxx_cv_atomic_short=no
15385 else
15387 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15389 glibcxx_cv_atomic_short=yes
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15393 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15394 rm -f conftest*
15396 cat > conftest.$ac_ext << EOF
15397 #line 15397 "configure"
15398 int main()
15400 // NB: _Atomic_word not necessarily int.
15401 typedef int atomic_type;
15402 atomic_type c1;
15403 atomic_type c2;
15404 const atomic_type c3(0);
15405 __sync_fetch_and_add(&c1, c2);
15406 __sync_val_compare_and_swap(&c1, c3, c2);
15407 __sync_lock_test_and_set(&c1, c3);
15408 __sync_lock_release(&c1);
15409 __sync_synchronize();
15410 return 0;
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15415 $as_echo_n "checking for atomic builtins for int... " >&6; }
15416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15417 (eval $ac_compile) 2>&5
15418 ac_status=$?
15419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15420 test $ac_status = 0; }; then
15421 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15422 glibcxx_cv_atomic_int=no
15423 else
15425 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15427 glibcxx_cv_atomic_int=yes
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15431 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15432 rm -f conftest*
15434 cat > conftest.$ac_ext << EOF
15435 #line 15435 "configure"
15436 int main()
15438 typedef long long atomic_type;
15439 atomic_type c1;
15440 atomic_type c2;
15441 const atomic_type c3(0);
15442 __sync_fetch_and_add(&c1, c2);
15443 __sync_val_compare_and_swap(&c1, c3, c2);
15444 __sync_lock_test_and_set(&c1, c3);
15445 __sync_lock_release(&c1);
15446 __sync_synchronize();
15447 return 0;
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15452 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15454 (eval $ac_compile) 2>&5
15455 ac_status=$?
15456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15457 test $ac_status = 0; }; then
15458 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15459 glibcxx_cv_atomic_long_long=no
15460 else
15462 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15464 glibcxx_cv_atomic_long_long=yes
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15468 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15469 rm -f conftest*
15473 CXXFLAGS="$old_CXXFLAGS"
15474 ac_ext=c
15475 ac_cpp='$CPP $CPPFLAGS'
15476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15481 # Set atomicity_dir to builtins if either of above tests pass.
15482 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15483 atomicity_dir=cpu/generic/atomicity_builtins
15486 # If still generic, set to mutex.
15487 if test $atomicity_dir = "cpu/generic" ; then
15488 atomicity_dir=cpu/generic/atomicity_mutex
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15490 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15491 if test "x$target_thread_file" = xsingle; then
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15493 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15495 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15496 else
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15498 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15500 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15507 # Fake what AC_TRY_COMPILE does, without linking as this is
15508 # unnecessary for this test.
15510 cat > conftest.$ac_ext << EOF
15511 #line 15511 "configure"
15512 int main()
15514 _Decimal32 d1;
15515 _Decimal64 d2;
15516 _Decimal128 d3;
15517 return 0;
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15522 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15524 (eval $ac_compile) 2>&5
15525 ac_status=$?
15526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15527 test $ac_status = 0; }; then
15529 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15531 enable_dfp=yes
15532 else
15533 enable_dfp=no
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15536 $as_echo "$enable_dfp" >&6; }
15537 rm -f conftest*
15540 # Checks for compiler support that doesn't require linking.
15542 # All these tests are for C++; save the language and the compiler flags.
15543 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15544 # found in GLIBCXX_CONFIGURE.
15546 ac_ext=cpp
15547 ac_cpp='$CXXCPP $CPPFLAGS'
15548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15552 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15553 ac_save_CXXFLAGS="$CXXFLAGS"
15555 # Check for maintainer-mode bits.
15556 if test x"$USE_MAINTAINER_MODE" = xno; then
15557 WERROR=''
15558 else
15559 WERROR='-Werror'
15562 # Check for -ffunction-sections -fdata-sections
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15564 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15565 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15568 int foo; void bar() { };
15570 main ()
15574 return 0;
15576 _ACEOF
15577 if ac_fn_cxx_try_compile "$LINENO"; then :
15578 ac_fdsections=yes
15579 else
15580 ac_fdsections=no
15582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15583 if test "$ac_test_CXXFLAGS" = set; then
15584 CXXFLAGS="$ac_save_CXXFLAGS"
15585 else
15586 # this is the suspicious part
15587 CXXFLAGS=''
15589 if test x"$ac_fdsections" = x"yes"; then
15590 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15593 $as_echo "$ac_fdsections" >&6; }
15595 ac_ext=c
15596 ac_cpp='$CPP $CPPFLAGS'
15597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605 # Enable all the variable C++ runtime options that don't require linking.
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15608 $as_echo_n "checking for underlying I/O to use... " >&6; }
15609 # Check whether --enable-cstdio was given.
15610 if test "${enable_cstdio+set}" = set; then :
15611 enableval=$enable_cstdio;
15612 case "$enableval" in
15613 stdio) ;;
15614 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15615 esac
15617 else
15618 enable_cstdio=stdio
15623 # Now that libio has been removed, you can have any color you want as long
15624 # as it's black. This is one big no-op until other packages are added, but
15625 # showing the framework never hurts.
15626 case ${enable_cstdio} in
15627 stdio)
15628 CSTDIO_H=config/io/c_io_stdio.h
15629 BASIC_FILE_H=config/io/basic_file_stdio.h
15630 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15632 $as_echo "stdio" >&6; }
15634 esac
15641 # Check whether --enable-clocale was given.
15642 if test "${enable_clocale+set}" = set; then :
15643 enableval=$enable_clocale;
15644 case "$enableval" in
15645 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15646 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15647 esac
15649 else
15650 enable_clocale=auto
15655 # Deal with gettext issues. Default to not using it (=no) until we detect
15656 # support for it later. Let the user turn it off via --e/d, but let that
15657 # default to on for easier handling.
15658 USE_NLS=no
15659 # Check whether --enable-nls was given.
15660 if test "${enable_nls+set}" = set; then :
15661 enableval=$enable_nls;
15662 else
15663 enable_nls=yes
15667 # Either a known packaage, or "auto"
15668 if test $enable_clocale = no || test $enable_clocale = yes; then
15669 enable_clocale=auto
15671 enable_clocale_flag=$enable_clocale
15673 # Probe for locale model to use if none specified.
15674 # Default to "generic".
15675 if test $enable_clocale_flag = auto; then
15676 case ${target_os} in
15677 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15678 enable_clocale_flag=gnu
15680 darwin* | freebsd*)
15681 enable_clocale_flag=darwin
15684 enable_clocale_flag=generic
15686 esac
15689 # Sanity check model, and test for special functionality.
15690 if test $enable_clocale_flag = gnu; then
15691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15694 #include <features.h>
15695 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15696 _GLIBCXX_ok
15697 #endif
15699 _ACEOF
15700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15701 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15702 enable_clocale_flag=gnu
15703 else
15704 enable_clocale_flag=generic
15706 rm -f conftest*
15709 # Set it to scream when it hurts.
15710 ac_save_CFLAGS="$CFLAGS"
15711 CFLAGS="-Wimplicit-function-declaration -Werror"
15713 # Use strxfrm_l if available.
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 #define _GNU_SOURCE 1
15717 #include <string.h>
15718 #include <locale.h>
15720 main ()
15722 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15724 return 0;
15726 _ACEOF
15727 if ac_fn_c_try_compile "$LINENO"; then :
15729 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15734 # Use strerror_l if available.
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 #define _GNU_SOURCE 1
15738 #include <string.h>
15739 #include <locale.h>
15741 main ()
15743 __locale_t loc; strerror_l(5, loc);
15745 return 0;
15747 _ACEOF
15748 if ac_fn_c_try_compile "$LINENO"; then :
15750 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755 CFLAGS="$ac_save_CFLAGS"
15758 # Perhaps use strerror_r if available, and strerror_l isn't.
15759 ac_save_CFLAGS="$CFLAGS"
15760 CFLAGS="-Wimplicit-function-declaration -Werror"
15761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15763 #define _GNU_SOURCE 1
15764 #include <string.h>
15765 #include <locale.h>
15767 main ()
15769 char s[128]; strerror_r(5, s, 128);
15771 return 0;
15773 _ACEOF
15774 if ac_fn_c_try_compile "$LINENO"; then :
15776 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15780 CFLAGS="$ac_save_CFLAGS"
15782 # Set configure bits for specified locale package
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15784 $as_echo_n "checking for C locale to use... " >&6; }
15785 case ${enable_clocale_flag} in
15786 generic)
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15788 $as_echo "generic" >&6; }
15790 CLOCALE_H=config/locale/generic/c_locale.h
15791 CLOCALE_CC=config/locale/generic/c_locale.cc
15792 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15793 CCOLLATE_CC=config/locale/generic/collate_members.cc
15794 CCTYPE_CC=config/locale/generic/ctype_members.cc
15795 CMESSAGES_H=config/locale/generic/messages_members.h
15796 CMESSAGES_CC=config/locale/generic/messages_members.cc
15797 CMONEY_CC=config/locale/generic/monetary_members.cc
15798 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15799 CTIME_H=config/locale/generic/time_members.h
15800 CTIME_CC=config/locale/generic/time_members.cc
15801 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15803 darwin)
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15805 $as_echo "darwin or freebsd" >&6; }
15807 CLOCALE_H=config/locale/generic/c_locale.h
15808 CLOCALE_CC=config/locale/generic/c_locale.cc
15809 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15810 CCOLLATE_CC=config/locale/generic/collate_members.cc
15811 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15812 CMESSAGES_H=config/locale/generic/messages_members.h
15813 CMESSAGES_CC=config/locale/generic/messages_members.cc
15814 CMONEY_CC=config/locale/generic/monetary_members.cc
15815 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15816 CTIME_H=config/locale/generic/time_members.h
15817 CTIME_CC=config/locale/generic/time_members.cc
15818 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15821 gnu)
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15823 $as_echo "gnu" >&6; }
15825 # Declare intention to use gettext, and add support for specific
15826 # languages.
15827 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15828 ALL_LINGUAS="de fr"
15830 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15831 # Extract the first word of "msgfmt", so it can be a program name with args.
15832 set dummy msgfmt; ac_word=$2
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15834 $as_echo_n "checking for $ac_word... " >&6; }
15835 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15836 $as_echo_n "(cached) " >&6
15837 else
15838 if test -n "$check_msgfmt"; then
15839 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15840 else
15841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15842 for as_dir in $PATH
15844 IFS=$as_save_IFS
15845 test -z "$as_dir" && as_dir=.
15846 for ac_exec_ext in '' $ac_executable_extensions; do
15847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15848 ac_cv_prog_check_msgfmt="yes"
15849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15850 break 2
15852 done
15853 done
15854 IFS=$as_save_IFS
15856 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15859 check_msgfmt=$ac_cv_prog_check_msgfmt
15860 if test -n "$check_msgfmt"; then
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15862 $as_echo "$check_msgfmt" >&6; }
15863 else
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15865 $as_echo "no" >&6; }
15869 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15870 USE_NLS=yes
15872 # Export the build objects.
15873 for ling in $ALL_LINGUAS; do \
15874 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15875 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15876 done
15880 CLOCALE_H=config/locale/gnu/c_locale.h
15881 CLOCALE_CC=config/locale/gnu/c_locale.cc
15882 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15883 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15884 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15885 CMESSAGES_H=config/locale/gnu/messages_members.h
15886 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15887 CMONEY_CC=config/locale/gnu/monetary_members.cc
15888 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15889 CTIME_H=config/locale/gnu/time_members.h
15890 CTIME_CC=config/locale/gnu/time_members.cc
15891 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15893 ieee_1003.1-2001)
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15895 $as_echo "IEEE 1003.1" >&6; }
15897 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15898 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15899 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15900 CCOLLATE_CC=config/locale/generic/collate_members.cc
15901 CCTYPE_CC=config/locale/generic/ctype_members.cc
15902 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15903 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15904 CMONEY_CC=config/locale/generic/monetary_members.cc
15905 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15906 CTIME_H=config/locale/generic/time_members.h
15907 CTIME_CC=config/locale/generic/time_members.cc
15908 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15910 esac
15912 # This is where the testsuite looks for locale catalogs, using the
15913 # -DLOCALEDIR define during testsuite compilation.
15914 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15917 # A standalone libintl (e.g., GNU libintl) may be in use.
15918 if test $USE_NLS = yes; then
15919 for ac_header in libintl.h
15920 do :
15921 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15922 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_LIBINTL_H 1
15925 _ACEOF
15927 else
15928 USE_NLS=no
15931 done
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15934 $as_echo_n "checking for library containing gettext... " >&6; }
15935 if test "${ac_cv_search_gettext+set}" = set; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15938 ac_func_search_save_LIBS=$LIBS
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15942 /* Override any GCC internal prototype to avoid an error.
15943 Use char because int might match the return type of a GCC
15944 builtin and then its argument prototype would still apply. */
15945 #ifdef __cplusplus
15946 extern "C"
15947 #endif
15948 char gettext ();
15950 main ()
15952 return gettext ();
15954 return 0;
15956 _ACEOF
15957 for ac_lib in '' intl; do
15958 if test -z "$ac_lib"; then
15959 ac_res="none required"
15960 else
15961 ac_res=-l$ac_lib
15962 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15964 if test x$gcc_no_link = xyes; then
15965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15967 if ac_fn_c_try_link "$LINENO"; then :
15968 ac_cv_search_gettext=$ac_res
15970 rm -f core conftest.err conftest.$ac_objext \
15971 conftest$ac_exeext
15972 if test "${ac_cv_search_gettext+set}" = set; then :
15973 break
15975 done
15976 if test "${ac_cv_search_gettext+set}" = set; then :
15978 else
15979 ac_cv_search_gettext=no
15981 rm conftest.$ac_ext
15982 LIBS=$ac_func_search_save_LIBS
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15985 $as_echo "$ac_cv_search_gettext" >&6; }
15986 ac_res=$ac_cv_search_gettext
15987 if test "$ac_res" != no; then :
15988 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15990 else
15991 USE_NLS=no
15995 if test $USE_NLS = yes; then
15997 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16017 $as_echo_n "checking for std::allocator base class... " >&6; }
16018 # Check whether --enable-libstdcxx-allocator was given.
16019 if test "${enable_libstdcxx_allocator+set}" = set; then :
16020 enableval=$enable_libstdcxx_allocator;
16021 case "$enableval" in
16022 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16023 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16024 esac
16026 else
16027 enable_libstdcxx_allocator=auto
16032 # If they didn't use this option switch, or if they specified --enable
16033 # with no specific model, we'll have to look for one. If they
16034 # specified --disable (???), do likewise.
16035 if test $enable_libstdcxx_allocator = no ||
16036 test $enable_libstdcxx_allocator = yes;
16037 then
16038 enable_libstdcxx_allocator=auto
16041 # Either a known package, or "auto". Auto implies the default choice
16042 # for a particular platform.
16043 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16045 # Probe for host-specific support if no specific model is specified.
16046 # Default to "new".
16047 if test $enable_libstdcxx_allocator_flag = auto; then
16048 case ${target_os} in
16049 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16050 enable_libstdcxx_allocator_flag=new
16053 enable_libstdcxx_allocator_flag=new
16055 esac
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16058 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16061 # Set configure bits for specified locale package
16062 case ${enable_libstdcxx_allocator_flag} in
16063 bitmap)
16064 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16065 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16067 malloc)
16068 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16069 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16072 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16073 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16075 new)
16076 ALLOCATOR_H=config/allocator/new_allocator_base.h
16077 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16079 pool)
16080 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16081 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16083 esac
16089 # Check whether --enable-cheaders was given.
16090 if test "${enable_cheaders+set}" = set; then :
16091 enableval=$enable_cheaders;
16092 case "$enableval" in
16093 c|c_std|c_global) ;;
16094 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16095 esac
16097 else
16098 enable_cheaders=$c_model
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16103 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16105 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16107 # Allow overrides to configure.host here.
16108 if test $enable_cheaders = c_global; then
16109 c_compatibility=yes
16118 # Check whether --enable-long-long was given.
16119 if test "${enable_long_long+set}" = set; then :
16120 enableval=$enable_long_long;
16121 case "$enableval" in
16122 yes|no) ;;
16123 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16124 esac
16126 else
16127 enable_long_long=yes
16131 if test $enable_long_long = yes; then
16133 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16137 $as_echo_n "checking for enabled long long specializations... " >&6; }
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16139 $as_echo "$enable_long_long" >&6; }
16142 # Check whether --enable-wchar_t was given.
16143 if test "${enable_wchar_t+set}" = set; then :
16144 enableval=$enable_wchar_t;
16145 case "$enableval" in
16146 yes|no) ;;
16147 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16148 esac
16150 else
16151 enable_wchar_t=yes
16156 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16157 for ac_header in wchar.h
16158 do :
16159 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16160 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_WCHAR_H 1
16163 _ACEOF
16164 ac_has_wchar_h=yes
16165 else
16166 ac_has_wchar_h=no
16169 done
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16172 $as_echo_n "checking for mbstate_t... " >&6; }
16173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16175 #include <wchar.h>
16177 main ()
16179 mbstate_t teststate;
16181 return 0;
16183 _ACEOF
16184 if ac_fn_c_try_compile "$LINENO"; then :
16185 have_mbstate_t=yes
16186 else
16187 have_mbstate_t=no
16189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16191 $as_echo "$have_mbstate_t" >&6; }
16192 if test x"$have_mbstate_t" = xyes; then
16194 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16198 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16199 # ac_has_wchar_h.
16200 for ac_header in wctype.h
16201 do :
16202 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16203 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16204 cat >>confdefs.h <<_ACEOF
16205 #define HAVE_WCTYPE_H 1
16206 _ACEOF
16207 ac_has_wctype_h=yes
16208 else
16209 ac_has_wctype_h=no
16212 done
16215 if test x"$enable_wchar_t" = x"yes"; then
16218 ac_ext=cpp
16219 ac_cpp='$CXXCPP $CPPFLAGS'
16220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16225 if test x"$ac_has_wchar_h" = xyes &&
16226 test x"$ac_has_wctype_h" = xyes; then
16227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h. */
16229 #include <wchar.h>
16230 #include <stddef.h>
16231 wint_t i;
16232 long l = WEOF;
16233 long j = WCHAR_MIN;
16234 long k = WCHAR_MAX;
16235 namespace test
16237 using ::btowc;
16238 using ::fgetwc;
16239 using ::fgetws;
16240 using ::fputwc;
16241 using ::fputws;
16242 using ::fwide;
16243 using ::fwprintf;
16244 using ::fwscanf;
16245 using ::getwc;
16246 using ::getwchar;
16247 using ::mbrlen;
16248 using ::mbrtowc;
16249 using ::mbsinit;
16250 using ::mbsrtowcs;
16251 using ::putwc;
16252 using ::putwchar;
16253 using ::swprintf;
16254 using ::swscanf;
16255 using ::ungetwc;
16256 using ::vfwprintf;
16257 using ::vswprintf;
16258 using ::vwprintf;
16259 using ::wcrtomb;
16260 using ::wcscat;
16261 using ::wcschr;
16262 using ::wcscmp;
16263 using ::wcscoll;
16264 using ::wcscpy;
16265 using ::wcscspn;
16266 using ::wcsftime;
16267 using ::wcslen;
16268 using ::wcsncat;
16269 using ::wcsncmp;
16270 using ::wcsncpy;
16271 using ::wcspbrk;
16272 using ::wcsrchr;
16273 using ::wcsrtombs;
16274 using ::wcsspn;
16275 using ::wcsstr;
16276 using ::wcstod;
16277 using ::wcstok;
16278 using ::wcstol;
16279 using ::wcstoul;
16280 using ::wcsxfrm;
16281 using ::wctob;
16282 using ::wmemchr;
16283 using ::wmemcmp;
16284 using ::wmemcpy;
16285 using ::wmemmove;
16286 using ::wmemset;
16287 using ::wprintf;
16288 using ::wscanf;
16292 main ()
16296 return 0;
16298 _ACEOF
16299 if ac_fn_cxx_try_compile "$LINENO"; then :
16301 else
16302 enable_wchar_t=no
16304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16305 else
16306 enable_wchar_t=no
16309 ac_ext=c
16310 ac_cpp='$CPP $CPPFLAGS'
16311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16317 if test x"$enable_wchar_t" = x"yes"; then
16319 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16324 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16326 $as_echo "$enable_wchar_t" >&6; }
16330 # Check whether --enable-c99 was given.
16331 if test "${enable_c99+set}" = set; then :
16332 enableval=$enable_c99;
16333 case "$enableval" in
16334 yes|no) ;;
16335 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16336 esac
16338 else
16339 enable_c99=yes
16344 if test x"$enable_c99" = x"yes"; then
16347 ac_ext=cpp
16348 ac_cpp='$CXXCPP $CPPFLAGS'
16349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16354 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16355 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16356 # spuriously enabled.
16357 # Long term, -std=c++0x could be even better, could manage to explicitely
16358 # request C99 facilities to the underlying C headers.
16359 ac_save_CXXFLAGS="$CXXFLAGS"
16360 CXXFLAGS="$CXXFLAGS -std=c++98"
16361 ac_save_LIBS="$LIBS"
16362 ac_save_gcc_no_link="$gcc_no_link"
16364 if test x$gcc_no_link != xyes; then
16365 # Use -fno-exceptions to that the C driver can link these tests without
16366 # hitting undefined references to personality routines.
16367 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16369 $as_echo_n "checking for sin in -lm... " >&6; }
16370 if test "${ac_cv_lib_m_sin+set}" = set; then :
16371 $as_echo_n "(cached) " >&6
16372 else
16373 ac_check_lib_save_LIBS=$LIBS
16374 LIBS="-lm $LIBS"
16375 if test x$gcc_no_link = xyes; then
16376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16381 /* Override any GCC internal prototype to avoid an error.
16382 Use char because int might match the return type of a GCC
16383 builtin and then its argument prototype would still apply. */
16384 #ifdef __cplusplus
16385 extern "C"
16386 #endif
16387 char sin ();
16389 main ()
16391 return sin ();
16393 return 0;
16395 _ACEOF
16396 if ac_fn_cxx_try_link "$LINENO"; then :
16397 ac_cv_lib_m_sin=yes
16398 else
16399 ac_cv_lib_m_sin=no
16401 rm -f core conftest.err conftest.$ac_objext \
16402 conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_lib_save_LIBS
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16406 $as_echo "$ac_cv_lib_m_sin" >&6; }
16407 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16409 LIBS="$LIBS -lm"
16411 else
16413 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16414 gcc_no_link=yes
16420 # Check for the existence of <math.h> functions used if C99 is enabled.
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16422 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16423 if test "${glibcxx_cv_c99_math+set}" = set; then :
16424 $as_echo_n "(cached) " >&6
16425 else
16427 if test x$gcc_no_link = xyes; then
16428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16430 #include <math.h>
16431 volatile double d1, d2;
16432 volatile int i;
16434 main ()
16436 i = fpclassify(d1);
16437 i = isfinite(d1);
16438 i = isinf(d1);
16439 i = isnan(d1);
16440 i = isnormal(d1);
16441 i = signbit(d1);
16442 i = isgreater(d1, d2);
16443 i = isgreaterequal(d1, d2);
16444 i = isless(d1, d2);
16445 i = islessequal(d1, d2);
16446 i = islessgreater(d1, d2);
16447 i = islessgreater(d1, d2);
16448 i = isunordered(d1, d2);
16451 return 0;
16453 _ACEOF
16454 if ac_fn_cxx_try_compile "$LINENO"; then :
16455 glibcxx_cv_c99_math=yes
16456 else
16457 glibcxx_cv_c99_math=no
16459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16460 else
16461 if test x$gcc_no_link = xyes; then
16462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16465 /* end confdefs.h. */
16466 #include <math.h>
16467 volatile double d1, d2;
16468 volatile int i;
16470 main ()
16472 i = fpclassify(d1);
16473 i = isfinite(d1);
16474 i = isinf(d1);
16475 i = isnan(d1);
16476 i = isnormal(d1);
16477 i = signbit(d1);
16478 i = isgreater(d1, d2);
16479 i = isgreaterequal(d1, d2);
16480 i = isless(d1, d2);
16481 i = islessequal(d1, d2);
16482 i = islessgreater(d1, d2);
16483 i = islessgreater(d1, d2);
16484 i = isunordered(d1, d2);
16487 return 0;
16489 _ACEOF
16490 if ac_fn_cxx_try_link "$LINENO"; then :
16491 glibcxx_cv_c99_math=yes
16492 else
16493 glibcxx_cv_c99_math=no
16495 rm -f core conftest.err conftest.$ac_objext \
16496 conftest$ac_exeext conftest.$ac_ext
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16502 $as_echo "$glibcxx_cv_c99_math" >&6; }
16503 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16505 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16509 # Check for the existence of <complex.h> complex math functions.
16510 # This is necessary even though libstdc++ uses the builtin versions
16511 # of these functions, because if the builtin cannot be used, a reference
16512 # to the library function is emitted.
16513 for ac_header in tgmath.h
16514 do :
16515 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16516 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16517 cat >>confdefs.h <<_ACEOF
16518 #define HAVE_TGMATH_H 1
16519 _ACEOF
16520 ac_has_tgmath_h=yes
16521 else
16522 ac_has_tgmath_h=no
16525 done
16527 for ac_header in complex.h
16528 do :
16529 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16530 if test "x$ac_cv_header_complex_h" = x""yes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_COMPLEX_H 1
16533 _ACEOF
16534 ac_has_complex_h=yes
16535 else
16536 ac_has_complex_h=no
16539 done
16541 glibcxx_cv_c99_complex=no;
16542 if test x"$ac_has_complex_h" = x"yes"; then
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16544 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16545 if test x$gcc_no_link = xyes; then
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16548 #include <complex.h>
16549 typedef __complex__ float float_type;
16550 typedef __complex__ double double_type;
16551 typedef __complex__ long double ld_type;
16552 volatile float_type tmpf;
16553 volatile double_type tmpd;
16554 volatile ld_type tmpld;
16555 volatile float f;
16556 volatile double d;
16557 volatile long double ld;
16559 main ()
16561 f = cabsf(tmpf);
16562 f = cargf(tmpf);
16563 tmpf = ccosf(tmpf);
16564 tmpf = ccoshf(tmpf);
16565 tmpf = cexpf(tmpf);
16566 tmpf = clogf(tmpf);
16567 tmpf = csinf(tmpf);
16568 tmpf = csinhf(tmpf);
16569 tmpf = csqrtf(tmpf);
16570 tmpf = ctanf(tmpf);
16571 tmpf = ctanhf(tmpf);
16572 tmpf = cpowf(tmpf, tmpf);
16573 tmpf = cprojf(tmpf);
16574 d = cabs(tmpd);
16575 d = carg(tmpd);
16576 tmpd = ccos(tmpd);
16577 tmpd = ccosh(tmpd);
16578 tmpd = cexp(tmpd);
16579 tmpd = clog(tmpd);
16580 tmpd = csin(tmpd);
16581 tmpd = csinh(tmpd);
16582 tmpd = csqrt(tmpd);
16583 tmpd = ctan(tmpd);
16584 tmpd = ctanh(tmpd);
16585 tmpd = cpow(tmpd, tmpd);
16586 tmpd = cproj(tmpd);
16587 ld = cabsl(tmpld);
16588 ld = cargl(tmpld);
16589 tmpld = ccosl(tmpld);
16590 tmpld = ccoshl(tmpld);
16591 tmpld = cexpl(tmpld);
16592 tmpld = clogl(tmpld);
16593 tmpld = csinl(tmpld);
16594 tmpld = csinhl(tmpld);
16595 tmpld = csqrtl(tmpld);
16596 tmpld = ctanl(tmpld);
16597 tmpld = ctanhl(tmpld);
16598 tmpld = cpowl(tmpld, tmpld);
16599 tmpld = cprojl(tmpld);
16602 return 0;
16604 _ACEOF
16605 if ac_fn_cxx_try_compile "$LINENO"; then :
16606 glibcxx_cv_c99_complex=yes
16607 else
16608 glibcxx_cv_c99_complex=no
16610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16611 else
16612 if test x$gcc_no_link = xyes; then
16613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16616 /* end confdefs.h. */
16617 #include <complex.h>
16618 typedef __complex__ float float_type;
16619 typedef __complex__ double double_type;
16620 typedef __complex__ long double ld_type;
16621 volatile float_type tmpf;
16622 volatile double_type tmpd;
16623 volatile ld_type tmpld;
16624 volatile float f;
16625 volatile double d;
16626 volatile long double ld;
16628 main ()
16630 f = cabsf(tmpf);
16631 f = cargf(tmpf);
16632 tmpf = ccosf(tmpf);
16633 tmpf = ccoshf(tmpf);
16634 tmpf = cexpf(tmpf);
16635 tmpf = clogf(tmpf);
16636 tmpf = csinf(tmpf);
16637 tmpf = csinhf(tmpf);
16638 tmpf = csqrtf(tmpf);
16639 tmpf = ctanf(tmpf);
16640 tmpf = ctanhf(tmpf);
16641 tmpf = cpowf(tmpf, tmpf);
16642 tmpf = cprojf(tmpf);
16643 d = cabs(tmpd);
16644 d = carg(tmpd);
16645 tmpd = ccos(tmpd);
16646 tmpd = ccosh(tmpd);
16647 tmpd = cexp(tmpd);
16648 tmpd = clog(tmpd);
16649 tmpd = csin(tmpd);
16650 tmpd = csinh(tmpd);
16651 tmpd = csqrt(tmpd);
16652 tmpd = ctan(tmpd);
16653 tmpd = ctanh(tmpd);
16654 tmpd = cpow(tmpd, tmpd);
16655 tmpd = cproj(tmpd);
16656 ld = cabsl(tmpld);
16657 ld = cargl(tmpld);
16658 tmpld = ccosl(tmpld);
16659 tmpld = ccoshl(tmpld);
16660 tmpld = cexpl(tmpld);
16661 tmpld = clogl(tmpld);
16662 tmpld = csinl(tmpld);
16663 tmpld = csinhl(tmpld);
16664 tmpld = csqrtl(tmpld);
16665 tmpld = ctanl(tmpld);
16666 tmpld = ctanhl(tmpld);
16667 tmpld = cpowl(tmpld, tmpld);
16668 tmpld = cprojl(tmpld);
16671 return 0;
16673 _ACEOF
16674 if ac_fn_cxx_try_link "$LINENO"; then :
16675 glibcxx_cv_c99_complex=yes
16676 else
16677 glibcxx_cv_c99_complex=no
16679 rm -f core conftest.err conftest.$ac_objext \
16680 conftest$ac_exeext conftest.$ac_ext
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16684 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16685 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16687 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16691 # Check for the existence in <stdio.h> of vscanf, et. al.
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16693 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16694 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16695 $as_echo_n "(cached) " >&6
16696 else
16698 if test x$gcc_no_link = xyes; then
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16701 #include <stdio.h>
16702 #include <stdarg.h>
16703 void foo(char* fmt, ...)
16705 va_list args; va_start(args, fmt);
16706 vfscanf(stderr, "%i", args);
16707 vscanf("%i", args);
16708 vsnprintf(fmt, 0, "%i", args);
16709 vsscanf(fmt, "%i", args);
16712 main ()
16714 snprintf("12", 0, "%i");
16716 return 0;
16718 _ACEOF
16719 if ac_fn_cxx_try_compile "$LINENO"; then :
16720 glibcxx_cv_c99_stdio=yes
16721 else
16722 glibcxx_cv_c99_stdio=no
16724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16725 else
16726 if test x$gcc_no_link = xyes; then
16727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16730 /* end confdefs.h. */
16731 #include <stdio.h>
16732 #include <stdarg.h>
16733 void foo(char* fmt, ...)
16735 va_list args; va_start(args, fmt);
16736 vfscanf(stderr, "%i", args);
16737 vscanf("%i", args);
16738 vsnprintf(fmt, 0, "%i", args);
16739 vsscanf(fmt, "%i", args);
16742 main ()
16744 snprintf("12", 0, "%i");
16746 return 0;
16748 _ACEOF
16749 if ac_fn_cxx_try_link "$LINENO"; then :
16750 glibcxx_cv_c99_stdio=yes
16751 else
16752 glibcxx_cv_c99_stdio=no
16754 rm -f core conftest.err conftest.$ac_objext \
16755 conftest$ac_exeext conftest.$ac_ext
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16761 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16763 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16765 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16766 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16767 $as_echo_n "(cached) " >&6
16768 else
16770 if test x$gcc_no_link = xyes; then
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16773 #include <stdlib.h>
16774 volatile float f;
16775 volatile long double ld;
16776 volatile unsigned long long ll;
16777 lldiv_t mydivt;
16779 main ()
16781 char* tmp;
16782 f = strtof("gnu", &tmp);
16783 ld = strtold("gnu", &tmp);
16784 ll = strtoll("gnu", &tmp, 10);
16785 ll = strtoull("gnu", &tmp, 10);
16786 ll = llabs(10);
16787 mydivt = lldiv(10,1);
16788 ll = mydivt.quot;
16789 ll = mydivt.rem;
16790 ll = atoll("10");
16791 _Exit(0);
16794 return 0;
16796 _ACEOF
16797 if ac_fn_cxx_try_compile "$LINENO"; then :
16798 glibcxx_cv_c99_stdlib=yes
16799 else
16800 glibcxx_cv_c99_stdlib=no
16802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16803 else
16804 if test x$gcc_no_link = xyes; then
16805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16809 #include <stdlib.h>
16810 volatile float f;
16811 volatile long double ld;
16812 volatile unsigned long long ll;
16813 lldiv_t mydivt;
16815 main ()
16817 char* tmp;
16818 f = strtof("gnu", &tmp);
16819 ld = strtold("gnu", &tmp);
16820 ll = strtoll("gnu", &tmp, 10);
16821 ll = strtoull("gnu", &tmp, 10);
16822 ll = llabs(10);
16823 mydivt = lldiv(10,1);
16824 ll = mydivt.quot;
16825 ll = mydivt.rem;
16826 ll = atoll("10");
16827 _Exit(0);
16830 return 0;
16832 _ACEOF
16833 if ac_fn_cxx_try_link "$LINENO"; then :
16834 glibcxx_cv_c99_stdlib=yes
16835 else
16836 glibcxx_cv_c99_stdlib=no
16838 rm -f core conftest.err conftest.$ac_objext \
16839 conftest$ac_exeext conftest.$ac_ext
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16845 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16847 # Check for the existence in <wchar.h> of wcstold, etc.
16848 glibcxx_cv_c99_wchar=no;
16849 if test x"$ac_has_wchar_h" = xyes &&
16850 test x"$ac_has_wctype_h" = xyes; then
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16852 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16855 #include <wchar.h>
16856 namespace test
16858 using ::wcstold;
16859 using ::wcstoll;
16860 using ::wcstoull;
16864 main ()
16868 return 0;
16870 _ACEOF
16871 if ac_fn_cxx_try_compile "$LINENO"; then :
16872 glibcxx_cv_c99_wchar=yes
16873 else
16874 glibcxx_cv_c99_wchar=no
16876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 # Checks for wide character functions that may not be present.
16879 # Injection of these is wrapped with guard macros.
16880 # NB: only put functions here, instead of immediately above, if
16881 # absolutely necessary.
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16884 #include <wchar.h>
16885 namespace test { using ::vfwscanf; }
16887 main ()
16891 return 0;
16893 _ACEOF
16894 if ac_fn_cxx_try_compile "$LINENO"; then :
16896 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #include <wchar.h>
16904 namespace test { using ::vswscanf; }
16906 main ()
16910 return 0;
16912 _ACEOF
16913 if ac_fn_cxx_try_compile "$LINENO"; then :
16915 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16922 #include <wchar.h>
16923 namespace test { using ::vwscanf; }
16925 main ()
16929 return 0;
16931 _ACEOF
16932 if ac_fn_cxx_try_compile "$LINENO"; then :
16934 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h. */
16941 #include <wchar.h>
16942 namespace test { using ::wcstof; }
16944 main ()
16948 return 0;
16950 _ACEOF
16951 if ac_fn_cxx_try_compile "$LINENO"; then :
16953 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 #include <wctype.h>
16962 main ()
16964 wint_t t; int i = iswblank(t);
16966 return 0;
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16971 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16977 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16980 # Option parsed, now set things appropriately.
16981 if test x"$glibcxx_cv_c99_math" = x"no" ||
16982 test x"$glibcxx_cv_c99_complex" = x"no" ||
16983 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16984 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16985 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16986 enable_c99=no;
16987 else
16989 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16993 gcc_no_link="$ac_save_gcc_no_link"
16994 LIBS="$ac_save_LIBS"
16995 CXXFLAGS="$ac_save_CXXFLAGS"
16996 ac_ext=c
16997 ac_cpp='$CPP $CPPFLAGS'
16998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17005 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17007 $as_echo "$enable_c99" >&6; }
17010 # Check whether --enable-concept-checks was given.
17011 if test "${enable_concept_checks+set}" = set; then :
17012 enableval=$enable_concept_checks;
17013 case "$enableval" in
17014 yes|no) ;;
17015 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17016 esac
17018 else
17019 enable_concept_checks=no
17023 if test $enable_concept_checks = yes; then
17025 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17030 # Check whether --enable-libstdcxx-debug-flags was given.
17031 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17032 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17033 xno | x) enable_libstdcxx_debug_flags= ;;
17034 x-*) ;;
17035 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17036 esac
17037 else
17038 enable_libstdcxx_debug_flags="-g3 -O0"
17043 # Option parsed, now set things appropriately
17044 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17048 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17052 $as_echo_n "checking for additional debug build... " >&6; }
17053 # Check whether --enable-libstdcxx-debug was given.
17054 if test "${enable_libstdcxx_debug+set}" = set; then :
17055 enableval=$enable_libstdcxx_debug;
17056 case "$enableval" in
17057 yes|no) ;;
17058 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17059 esac
17061 else
17062 enable_libstdcxx_debug=no
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17067 $as_echo "$enable_libstdcxx_debug" >&6; }
17072 enable_parallel=no;
17074 # See if configured libgomp/omp.h exists. (libgomp may be in
17075 # noconfigdirs but not explicitly disabled.)
17076 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17077 enable_parallel=yes;
17078 else
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17080 $as_echo "$as_me: target-libgomp not built" >&6;}
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17084 $as_echo_n "checking for parallel mode support... " >&6; }
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17086 $as_echo "$enable_parallel" >&6; }
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17090 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17091 # Check whether --enable-cxx-flags was given.
17092 if test "${enable_cxx_flags+set}" = set; then :
17093 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17094 xno | x) enable_cxx_flags= ;;
17095 x-*) ;;
17096 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17097 esac
17098 else
17099 enable_cxx_flags=
17104 # Run through flags (either default or command-line) and set anything
17105 # extra (e.g., #defines) that must accompany particular g++ options.
17106 if test -n "$enable_cxx_flags"; then
17107 for f in $enable_cxx_flags; do
17108 case "$f" in
17109 -fhonor-std) ;;
17110 -*) ;;
17111 *) # and we're trying to pass /what/ exactly?
17112 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17113 esac
17114 done
17117 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17119 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17123 # Check whether --enable-fully-dynamic-string was given.
17124 if test "${enable_fully_dynamic_string+set}" = set; then :
17125 enableval=$enable_fully_dynamic_string;
17126 case "$enableval" in
17127 yes|no) ;;
17128 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17129 esac
17131 else
17132 enable_fully_dynamic_string=no
17136 if test $enable_fully_dynamic_string = yes; then
17138 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17144 # Check whether --enable-extern-template was given.
17145 if test "${enable_extern_template+set}" = set; then :
17146 enableval=$enable_extern_template;
17147 case "$enableval" in
17148 yes|no) ;;
17149 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17150 esac
17152 else
17153 enable_extern_template=yes
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17159 $as_echo_n "checking for extern template support... " >&6; }
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17161 $as_echo "$enable_extern_template" >&6; }
17166 # Checks for operating systems support that doesn't require linking.
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17170 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17171 if test "${glibcxx_cv_system_error1+set}" = set; then :
17172 $as_echo_n "(cached) " >&6
17173 else
17175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h. */
17177 #include <errno.h>
17179 main ()
17181 int i = EOWNERDEAD;
17183 return 0;
17185 _ACEOF
17186 if ac_fn_c_try_compile "$LINENO"; then :
17187 glibcxx_cv_system_error1=yes
17188 else
17189 glibcxx_cv_system_error1=no
17191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17196 $as_echo "$glibcxx_cv_system_error1" >&6; }
17197 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17199 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17203 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17204 if test "${glibcxx_cv_system_error2+set}" = set; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 #include <errno.h>
17212 main ()
17214 int i = ENOTRECOVERABLE;
17216 return 0;
17218 _ACEOF
17219 if ac_fn_c_try_compile "$LINENO"; then :
17220 glibcxx_cv_system_error2=yes
17221 else
17222 glibcxx_cv_system_error2=no
17224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17229 $as_echo "$glibcxx_cv_system_error2" >&6; }
17230 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17232 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17236 $as_echo_n "checking for ENOLINK... " >&6; }
17237 if test "${glibcxx_cv_system_error3+set}" = set; then :
17238 $as_echo_n "(cached) " >&6
17239 else
17241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h. */
17243 #include <errno.h>
17245 main ()
17247 int i = ENOLINK;
17249 return 0;
17251 _ACEOF
17252 if ac_fn_c_try_compile "$LINENO"; then :
17253 glibcxx_cv_system_error3=yes
17254 else
17255 glibcxx_cv_system_error3=no
17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17262 $as_echo "$glibcxx_cv_system_error3" >&6; }
17263 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17265 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17269 $as_echo_n "checking for EPROTO... " >&6; }
17270 if test "${glibcxx_cv_system_error4+set}" = set; then :
17271 $as_echo_n "(cached) " >&6
17272 else
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17276 #include <errno.h>
17278 main ()
17280 int i = EPROTO;
17282 return 0;
17284 _ACEOF
17285 if ac_fn_c_try_compile "$LINENO"; then :
17286 glibcxx_cv_system_error4=yes
17287 else
17288 glibcxx_cv_system_error4=no
17290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17295 $as_echo "$glibcxx_cv_system_error4" >&6; }
17296 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17298 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17302 $as_echo_n "checking for ENODATA... " >&6; }
17303 if test "${glibcxx_cv_system_error5+set}" = set; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #include <errno.h>
17311 main ()
17313 int i = ENODATA;
17315 return 0;
17317 _ACEOF
17318 if ac_fn_c_try_compile "$LINENO"; then :
17319 glibcxx_cv_system_error5=yes
17320 else
17321 glibcxx_cv_system_error5=no
17323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17328 $as_echo "$glibcxx_cv_system_error5" >&6; }
17329 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17331 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17335 $as_echo_n "checking for ENOSR... " >&6; }
17336 if test "${glibcxx_cv_system_error6+set}" = set; then :
17337 $as_echo_n "(cached) " >&6
17338 else
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17342 #include <errno.h>
17344 main ()
17346 int i = ENOSR;
17348 return 0;
17350 _ACEOF
17351 if ac_fn_c_try_compile "$LINENO"; then :
17352 glibcxx_cv_system_error6=yes
17353 else
17354 glibcxx_cv_system_error6=no
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17361 $as_echo "$glibcxx_cv_system_error6" >&6; }
17362 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17364 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17368 $as_echo_n "checking for ENOSTR... " >&6; }
17369 if test "${glibcxx_cv_system_error7+set}" = set; then :
17370 $as_echo_n "(cached) " >&6
17371 else
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17375 #include <errno.h>
17377 main ()
17379 int i = ENOSTR;
17381 return 0;
17383 _ACEOF
17384 if ac_fn_c_try_compile "$LINENO"; then :
17385 glibcxx_cv_system_error7=yes
17386 else
17387 glibcxx_cv_system_error7=no
17389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17394 $as_echo "$glibcxx_cv_system_error7" >&6; }
17395 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17397 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17401 $as_echo_n "checking for ETIME... " >&6; }
17402 if test "${glibcxx_cv_system_error8+set}" = set; then :
17403 $as_echo_n "(cached) " >&6
17404 else
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17408 #include <errno.h>
17410 main ()
17412 int i = ETIME;
17414 return 0;
17416 _ACEOF
17417 if ac_fn_c_try_compile "$LINENO"; then :
17418 glibcxx_cv_system_error8=yes
17419 else
17420 glibcxx_cv_system_error8=no
17422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17427 $as_echo "$glibcxx_cv_system_error8" >&6; }
17428 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17430 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17434 $as_echo_n "checking for EBADMSG... " >&6; }
17435 if test "${glibcxx_cv_system_error9+set}" = set; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17441 #include <errno.h>
17443 main ()
17445 int i = EBADMSG;
17447 return 0;
17449 _ACEOF
17450 if ac_fn_c_try_compile "$LINENO"; then :
17451 glibcxx_cv_system_error9=yes
17452 else
17453 glibcxx_cv_system_error9=no
17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17460 $as_echo "$glibcxx_cv_system_error9" >&6; }
17461 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17463 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17467 $as_echo_n "checking for ECANCELED... " >&6; }
17468 if test "${glibcxx_cv_system_error10+set}" = set; then :
17469 $as_echo_n "(cached) " >&6
17470 else
17472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h. */
17474 #include <errno.h>
17476 main ()
17478 int i = ECANCELED;
17480 return 0;
17482 _ACEOF
17483 if ac_fn_c_try_compile "$LINENO"; then :
17484 glibcxx_cv_system_error10=yes
17485 else
17486 glibcxx_cv_system_error10=no
17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17493 $as_echo "$glibcxx_cv_system_error10" >&6; }
17494 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17496 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17500 $as_echo_n "checking for EOVERFLOW... " >&6; }
17501 if test "${glibcxx_cv_system_error11+set}" = set; then :
17502 $as_echo_n "(cached) " >&6
17503 else
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17507 #include <errno.h>
17509 main ()
17511 int i = EOVERFLOW;
17513 return 0;
17515 _ACEOF
17516 if ac_fn_c_try_compile "$LINENO"; then :
17517 glibcxx_cv_system_error11=yes
17518 else
17519 glibcxx_cv_system_error11=no
17521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17526 $as_echo "$glibcxx_cv_system_error11" >&6; }
17527 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17529 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17533 $as_echo_n "checking for ENOTSUP... " >&6; }
17534 if test "${glibcxx_cv_system_error12+set}" = set; then :
17535 $as_echo_n "(cached) " >&6
17536 else
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h. */
17540 #include <errno.h>
17542 main ()
17544 int i = ENOTSUP;
17546 return 0;
17548 _ACEOF
17549 if ac_fn_c_try_compile "$LINENO"; then :
17550 glibcxx_cv_system_error12=yes
17551 else
17552 glibcxx_cv_system_error12=no
17554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17559 $as_echo "$glibcxx_cv_system_error12" >&6; }
17560 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17562 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17566 $as_echo_n "checking for EIDRM... " >&6; }
17567 if test "${glibcxx_cv_system_error13+set}" = set; then :
17568 $as_echo_n "(cached) " >&6
17569 else
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17573 #include <errno.h>
17575 main ()
17577 int i = EIDRM;
17579 return 0;
17581 _ACEOF
17582 if ac_fn_c_try_compile "$LINENO"; then :
17583 glibcxx_cv_system_error13=yes
17584 else
17585 glibcxx_cv_system_error13=no
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17592 $as_echo "$glibcxx_cv_system_error13" >&6; }
17593 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17595 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17599 $as_echo_n "checking for ETXTBSY... " >&6; }
17600 if test "${glibcxx_cv_system_error14+set}" = set; then :
17601 $as_echo_n "(cached) " >&6
17602 else
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 #include <errno.h>
17608 main ()
17610 int i = ETXTBSY;
17612 return 0;
17614 _ACEOF
17615 if ac_fn_c_try_compile "$LINENO"; then :
17616 glibcxx_cv_system_error14=yes
17617 else
17618 glibcxx_cv_system_error14=no
17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17625 $as_echo "$glibcxx_cv_system_error14" >&6; }
17626 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17628 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17634 # For the streamoff typedef.
17638 ac_ext=cpp
17639 ac_cpp='$CXXCPP $CPPFLAGS'
17640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17646 $as_echo_n "checking for int64_t... " >&6; }
17647 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17648 $as_echo_n "(cached) " >&6
17649 else
17651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17652 /* end confdefs.h. */
17653 #include <stdint.h>
17655 main ()
17657 int64_t var;
17659 return 0;
17661 _ACEOF
17662 if ac_fn_cxx_try_compile "$LINENO"; then :
17663 glibcxx_cv_INT64_T=yes
17664 else
17665 glibcxx_cv_INT64_T=no
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17672 if test $glibcxx_cv_INT64_T = yes; then
17674 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17677 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17680 $as_echo_n "checking for int64_t as long... " >&6; }
17681 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17682 $as_echo_n "(cached) " >&6
17683 else
17685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17687 #include <stdint.h>
17688 template<typename, typename> struct same { enum { value = -1 }; };
17689 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17690 int array[same<int64_t, long>::value];
17692 main ()
17696 return 0;
17698 _ACEOF
17699 if ac_fn_cxx_try_compile "$LINENO"; then :
17700 glibcxx_cv_int64_t_long=yes
17701 else
17702 glibcxx_cv_int64_t_long=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17709 if test $glibcxx_cv_int64_t_long = yes; then
17711 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17714 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17718 $as_echo_n "checking for int64_t as long long... " >&6; }
17719 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17720 $as_echo_n "(cached) " >&6
17721 else
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 #include <stdint.h>
17726 template<typename, typename> struct same { enum { value = -1 }; };
17727 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17728 int array[same<int64_t, long long>::value];
17730 main ()
17734 return 0;
17736 _ACEOF
17737 if ac_fn_cxx_try_compile "$LINENO"; then :
17738 glibcxx_cv_int64_t_long_long=yes
17739 else
17740 glibcxx_cv_int64_t_long_long=no
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17747 if test $glibcxx_cv_int64_t_long_long = yes; then
17749 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17752 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17756 ac_ext=c
17757 ac_cpp='$CPP $CPPFLAGS'
17758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17764 # For LFS support.
17767 ac_ext=cpp
17768 ac_cpp='$CXXCPP $CPPFLAGS'
17769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17773 ac_save_CXXFLAGS="$CXXFLAGS"
17774 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17776 $as_echo_n "checking for LFS support... " >&6; }
17777 if test "${glibcxx_cv_LFS+set}" = set; then :
17778 $as_echo_n "(cached) " >&6
17779 else
17781 if test x$gcc_no_link = xyes; then
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17784 #include <unistd.h>
17785 #include <stdio.h>
17786 #include <sys/stat.h>
17789 main ()
17791 FILE* fp;
17792 fopen64("t", "w");
17793 fseeko64(fp, 0, SEEK_CUR);
17794 ftello64(fp);
17795 lseek64(1, 0, SEEK_CUR);
17796 struct stat64 buf;
17797 fstat64(1, &buf);
17799 return 0;
17801 _ACEOF
17802 if ac_fn_cxx_try_compile "$LINENO"; then :
17803 glibcxx_cv_LFS=yes
17804 else
17805 glibcxx_cv_LFS=no
17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 else
17809 if test x$gcc_no_link = xyes; then
17810 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h. */
17814 #include <unistd.h>
17815 #include <stdio.h>
17816 #include <sys/stat.h>
17819 main ()
17821 FILE* fp;
17822 fopen64("t", "w");
17823 fseeko64(fp, 0, SEEK_CUR);
17824 ftello64(fp);
17825 lseek64(1, 0, SEEK_CUR);
17826 struct stat64 buf;
17827 fstat64(1, &buf);
17829 return 0;
17831 _ACEOF
17832 if ac_fn_cxx_try_link "$LINENO"; then :
17833 glibcxx_cv_LFS=yes
17834 else
17835 glibcxx_cv_LFS=no
17837 rm -f core conftest.err conftest.$ac_objext \
17838 conftest$ac_exeext conftest.$ac_ext
17843 if test $glibcxx_cv_LFS = yes; then
17845 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17849 $as_echo "$glibcxx_cv_LFS" >&6; }
17850 CXXFLAGS="$ac_save_CXXFLAGS"
17851 ac_ext=c
17852 ac_cpp='$CPP $CPPFLAGS'
17853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17859 # For showmanyc_helper().
17860 for ac_header in sys/ioctl.h sys/filio.h
17861 do :
17862 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17863 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17864 eval as_val=\$$as_ac_Header
17865 if test "x$as_val" = x""yes; then :
17866 cat >>confdefs.h <<_ACEOF
17867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17868 _ACEOF
17872 done
17877 ac_ext=cpp
17878 ac_cpp='$CXXCPP $CPPFLAGS'
17879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17883 ac_save_CXXFLAGS="$CXXFLAGS"
17884 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17887 $as_echo_n "checking for poll... " >&6; }
17888 if test "${glibcxx_cv_POLL+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17892 if test x$gcc_no_link = xyes; then
17893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17895 #include <poll.h>
17897 main ()
17899 struct pollfd pfd[1];
17900 pfd[0].events = POLLIN;
17901 poll(pfd, 1, 0);
17903 return 0;
17905 _ACEOF
17906 if ac_fn_cxx_try_compile "$LINENO"; then :
17907 glibcxx_cv_POLL=yes
17908 else
17909 glibcxx_cv_POLL=no
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912 else
17913 if test x$gcc_no_link = xyes; then
17914 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17917 /* end confdefs.h. */
17918 #include <poll.h>
17920 main ()
17922 struct pollfd pfd[1];
17923 pfd[0].events = POLLIN;
17924 poll(pfd, 1, 0);
17926 return 0;
17928 _ACEOF
17929 if ac_fn_cxx_try_link "$LINENO"; then :
17930 glibcxx_cv_POLL=yes
17931 else
17932 glibcxx_cv_POLL=no
17934 rm -f core conftest.err conftest.$ac_objext \
17935 conftest$ac_exeext conftest.$ac_ext
17940 if test $glibcxx_cv_POLL = yes; then
17942 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17946 $as_echo "$glibcxx_cv_POLL" >&6; }
17948 CXXFLAGS="$ac_save_CXXFLAGS"
17949 ac_ext=c
17950 ac_cpp='$CPP $CPPFLAGS'
17951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17959 ac_ext=cpp
17960 ac_cpp='$CXXCPP $CPPFLAGS'
17961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17965 ac_save_CXXFLAGS="$CXXFLAGS"
17966 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17969 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17970 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17974 if test x$gcc_no_link = xyes; then
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 #include <sys/stat.h>
17979 main ()
17981 struct stat buffer;
17982 fstat(0, &buffer);
17983 S_ISREG(buffer.st_mode);
17985 return 0;
17987 _ACEOF
17988 if ac_fn_cxx_try_compile "$LINENO"; then :
17989 glibcxx_cv_S_ISREG=yes
17990 else
17991 glibcxx_cv_S_ISREG=no
17993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17994 else
17995 if test x$gcc_no_link = xyes; then
17996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h. */
18000 #include <sys/stat.h>
18002 main ()
18004 struct stat buffer;
18005 fstat(0, &buffer);
18006 S_ISREG(buffer.st_mode);
18008 return 0;
18010 _ACEOF
18011 if ac_fn_cxx_try_link "$LINENO"; then :
18012 glibcxx_cv_S_ISREG=yes
18013 else
18014 glibcxx_cv_S_ISREG=no
18016 rm -f core conftest.err conftest.$ac_objext \
18017 conftest$ac_exeext conftest.$ac_ext
18022 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18023 $as_echo_n "(cached) " >&6
18024 else
18026 if test x$gcc_no_link = xyes; then
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18029 #include <sys/stat.h>
18031 main ()
18033 struct stat buffer;
18034 fstat(0, &buffer);
18035 S_IFREG & buffer.st_mode;
18037 return 0;
18039 _ACEOF
18040 if ac_fn_cxx_try_compile "$LINENO"; then :
18041 glibcxx_cv_S_IFREG=yes
18042 else
18043 glibcxx_cv_S_IFREG=no
18045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18046 else
18047 if test x$gcc_no_link = xyes; then
18048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18051 /* end confdefs.h. */
18052 #include <sys/stat.h>
18054 main ()
18056 struct stat buffer;
18057 fstat(0, &buffer);
18058 S_IFREG & buffer.st_mode;
18060 return 0;
18062 _ACEOF
18063 if ac_fn_cxx_try_link "$LINENO"; then :
18064 glibcxx_cv_S_IFREG=yes
18065 else
18066 glibcxx_cv_S_IFREG=no
18068 rm -f core conftest.err conftest.$ac_objext \
18069 conftest$ac_exeext conftest.$ac_ext
18074 res=no
18075 if test $glibcxx_cv_S_ISREG = yes; then
18077 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18079 res=S_ISREG
18080 elif test $glibcxx_cv_S_IFREG = yes; then
18082 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18084 res=S_IFREG
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18087 $as_echo "$res" >&6; }
18089 CXXFLAGS="$ac_save_CXXFLAGS"
18090 ac_ext=c
18091 ac_cpp='$CPP $CPPFLAGS'
18092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18098 # For xsputn_2().
18099 for ac_header in sys/uio.h
18100 do :
18101 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18102 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18103 cat >>confdefs.h <<_ACEOF
18104 #define HAVE_SYS_UIO_H 1
18105 _ACEOF
18109 done
18114 ac_ext=cpp
18115 ac_cpp='$CXXCPP $CPPFLAGS'
18116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18120 ac_save_CXXFLAGS="$CXXFLAGS"
18121 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18124 $as_echo_n "checking for writev... " >&6; }
18125 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18126 $as_echo_n "(cached) " >&6
18127 else
18129 if test x$gcc_no_link = xyes; then
18130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18132 #include <sys/uio.h>
18134 main ()
18136 struct iovec iov[2];
18137 writev(0, iov, 0);
18139 return 0;
18141 _ACEOF
18142 if ac_fn_cxx_try_compile "$LINENO"; then :
18143 glibcxx_cv_WRITEV=yes
18144 else
18145 glibcxx_cv_WRITEV=no
18147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18148 else
18149 if test x$gcc_no_link = xyes; then
18150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18154 #include <sys/uio.h>
18156 main ()
18158 struct iovec iov[2];
18159 writev(0, iov, 0);
18161 return 0;
18163 _ACEOF
18164 if ac_fn_cxx_try_link "$LINENO"; then :
18165 glibcxx_cv_WRITEV=yes
18166 else
18167 glibcxx_cv_WRITEV=no
18169 rm -f core conftest.err conftest.$ac_objext \
18170 conftest$ac_exeext conftest.$ac_ext
18175 if test $glibcxx_cv_WRITEV = yes; then
18177 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18181 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18183 CXXFLAGS="$ac_save_CXXFLAGS"
18184 ac_ext=c
18185 ac_cpp='$CPP $CPPFLAGS'
18186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192 # For C99 support to TR1.
18196 ac_ext=cpp
18197 ac_cpp='$CXXCPP $CPPFLAGS'
18198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18203 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18204 # undefined and fake C99 facilities may be spuriously enabled.
18205 ac_save_CXXFLAGS="$CXXFLAGS"
18206 CXXFLAGS="$CXXFLAGS -std=c++98"
18208 # Check for the existence of <complex.h> complex math functions used
18209 # by tr1/complex.
18210 for ac_header in complex.h
18211 do :
18212 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18213 if test "x$ac_cv_header_complex_h" = x""yes; then :
18214 cat >>confdefs.h <<_ACEOF
18215 #define HAVE_COMPLEX_H 1
18216 _ACEOF
18217 ac_has_complex_h=yes
18218 else
18219 ac_has_complex_h=no
18222 done
18224 ac_c99_complex_tr1=no;
18225 if test x"$ac_has_complex_h" = x"yes"; then
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18227 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18230 #include <complex.h>
18232 main ()
18234 typedef __complex__ float float_type; float_type tmpf;
18235 cacosf(tmpf);
18236 casinf(tmpf);
18237 catanf(tmpf);
18238 cacoshf(tmpf);
18239 casinhf(tmpf);
18240 catanhf(tmpf);
18241 typedef __complex__ double double_type; double_type tmpd;
18242 cacos(tmpd);
18243 casin(tmpd);
18244 catan(tmpd);
18245 cacosh(tmpd);
18246 casinh(tmpd);
18247 catanh(tmpd);
18248 typedef __complex__ long double ld_type; ld_type tmpld;
18249 cacosl(tmpld);
18250 casinl(tmpld);
18251 catanl(tmpld);
18252 cacoshl(tmpld);
18253 casinhl(tmpld);
18254 catanhl(tmpld);
18257 return 0;
18259 _ACEOF
18260 if ac_fn_cxx_try_compile "$LINENO"; then :
18261 ac_c99_complex_tr1=yes
18262 else
18263 ac_c99_complex_tr1=no
18265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18268 $as_echo "$ac_c99_complex_tr1" >&6; }
18269 if test x"$ac_c99_complex_tr1" = x"yes"; then
18271 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18275 # Check for the existence of <ctype.h> functions.
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18277 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18278 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18279 $as_echo_n "(cached) " >&6
18280 else
18282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h. */
18284 #include <ctype.h>
18286 main ()
18288 int ch;
18289 int ret;
18290 ret = isblank(ch);
18293 return 0;
18295 _ACEOF
18296 if ac_fn_cxx_try_compile "$LINENO"; then :
18297 glibcxx_cv_c99_ctype_tr1=yes
18298 else
18299 glibcxx_cv_c99_ctype_tr1=no
18301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18306 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18307 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18309 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18313 # Check for the existence of <fenv.h> functions.
18314 for ac_header in fenv.h
18315 do :
18316 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18317 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18318 cat >>confdefs.h <<_ACEOF
18319 #define HAVE_FENV_H 1
18320 _ACEOF
18321 ac_has_fenv_h=yes
18322 else
18323 ac_has_fenv_h=no
18326 done
18328 ac_c99_fenv_tr1=no;
18329 if test x"$ac_has_fenv_h" = x"yes"; then
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18331 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18333 /* end confdefs.h. */
18334 #include <fenv.h>
18336 main ()
18338 int except, mode;
18339 fexcept_t* pflag;
18340 fenv_t* penv;
18341 int ret;
18342 ret = feclearexcept(except);
18343 ret = fegetexceptflag(pflag, except);
18344 ret = feraiseexcept(except);
18345 ret = fesetexceptflag(pflag, except);
18346 ret = fetestexcept(except);
18347 ret = fegetround();
18348 ret = fesetround(mode);
18349 ret = fegetenv(penv);
18350 ret = feholdexcept(penv);
18351 ret = fesetenv(penv);
18352 ret = feupdateenv(penv);
18355 return 0;
18357 _ACEOF
18358 if ac_fn_cxx_try_compile "$LINENO"; then :
18359 ac_c99_fenv_tr1=yes
18360 else
18361 ac_c99_fenv_tr1=no
18363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18366 $as_echo "$ac_c99_fenv_tr1" >&6; }
18367 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18369 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18373 # Check for the existence of <stdint.h> types.
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18375 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18376 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18381 /* end confdefs.h. */
18382 #define __STDC_LIMIT_MACROS
18383 #define __STDC_CONSTANT_MACROS
18384 #include <stdint.h>
18386 main ()
18388 typedef int8_t my_int8_t;
18389 my_int8_t i8 = INT8_MIN;
18390 i8 = INT8_MAX;
18391 typedef int16_t my_int16_t;
18392 my_int16_t i16 = INT16_MIN;
18393 i16 = INT16_MAX;
18394 typedef int32_t my_int32_t;
18395 my_int32_t i32 = INT32_MIN;
18396 i32 = INT32_MAX;
18397 typedef int64_t my_int64_t;
18398 my_int64_t i64 = INT64_MIN;
18399 i64 = INT64_MAX;
18400 typedef int_fast8_t my_int_fast8_t;
18401 my_int_fast8_t if8 = INT_FAST8_MIN;
18402 if8 = INT_FAST8_MAX;
18403 typedef int_fast16_t my_int_fast16_t;
18404 my_int_fast16_t if16 = INT_FAST16_MIN;
18405 if16 = INT_FAST16_MAX;
18406 typedef int_fast32_t my_int_fast32_t;
18407 my_int_fast32_t if32 = INT_FAST32_MIN;
18408 if32 = INT_FAST32_MAX;
18409 typedef int_fast64_t my_int_fast64_t;
18410 my_int_fast64_t if64 = INT_FAST64_MIN;
18411 if64 = INT_FAST64_MAX;
18412 typedef int_least8_t my_int_least8_t;
18413 my_int_least8_t il8 = INT_LEAST8_MIN;
18414 il8 = INT_LEAST8_MAX;
18415 typedef int_least16_t my_int_least16_t;
18416 my_int_least16_t il16 = INT_LEAST16_MIN;
18417 il16 = INT_LEAST16_MAX;
18418 typedef int_least32_t my_int_least32_t;
18419 my_int_least32_t il32 = INT_LEAST32_MIN;
18420 il32 = INT_LEAST32_MAX;
18421 typedef int_least64_t my_int_least64_t;
18422 my_int_least64_t il64 = INT_LEAST64_MIN;
18423 il64 = INT_LEAST64_MAX;
18424 typedef intmax_t my_intmax_t;
18425 my_intmax_t im = INTMAX_MAX;
18426 im = INTMAX_MIN;
18427 typedef intptr_t my_intptr_t;
18428 my_intptr_t ip = INTPTR_MAX;
18429 ip = INTPTR_MIN;
18430 typedef uint8_t my_uint8_t;
18431 my_uint8_t ui8 = UINT8_MAX;
18432 ui8 = UINT8_MAX;
18433 typedef uint16_t my_uint16_t;
18434 my_uint16_t ui16 = UINT16_MAX;
18435 ui16 = UINT16_MAX;
18436 typedef uint32_t my_uint32_t;
18437 my_uint32_t ui32 = UINT32_MAX;
18438 ui32 = UINT32_MAX;
18439 typedef uint64_t my_uint64_t;
18440 my_uint64_t ui64 = UINT64_MAX;
18441 ui64 = UINT64_MAX;
18442 typedef uint_fast8_t my_uint_fast8_t;
18443 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18444 uif8 = UINT_FAST8_MAX;
18445 typedef uint_fast16_t my_uint_fast16_t;
18446 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18447 uif16 = UINT_FAST16_MAX;
18448 typedef uint_fast32_t my_uint_fast32_t;
18449 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18450 uif32 = UINT_FAST32_MAX;
18451 typedef uint_fast64_t my_uint_fast64_t;
18452 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18453 uif64 = UINT_FAST64_MAX;
18454 typedef uint_least8_t my_uint_least8_t;
18455 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18456 uil8 = UINT_LEAST8_MAX;
18457 typedef uint_least16_t my_uint_least16_t;
18458 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18459 uil16 = UINT_LEAST16_MAX;
18460 typedef uint_least32_t my_uint_least32_t;
18461 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18462 uil32 = UINT_LEAST32_MAX;
18463 typedef uint_least64_t my_uint_least64_t;
18464 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18465 uil64 = UINT_LEAST64_MAX;
18466 typedef uintmax_t my_uintmax_t;
18467 my_uintmax_t uim = UINTMAX_MAX;
18468 uim = UINTMAX_MAX;
18469 typedef uintptr_t my_uintptr_t;
18470 my_uintptr_t uip = UINTPTR_MAX;
18471 uip = UINTPTR_MAX;
18474 return 0;
18476 _ACEOF
18477 if ac_fn_cxx_try_compile "$LINENO"; then :
18478 glibcxx_cv_c99_stdint_tr1=yes
18479 else
18480 glibcxx_cv_c99_stdint_tr1=no
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18487 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18488 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18490 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18494 # Check for the existence of <math.h> functions.
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18496 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18497 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18498 $as_echo_n "(cached) " >&6
18499 else
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18503 #include <math.h>
18505 main ()
18507 typedef double_t my_double_t;
18508 typedef float_t my_float_t;
18509 acosh(0.0);
18510 acoshf(0.0f);
18511 acoshl(0.0l);
18512 asinh(0.0);
18513 asinhf(0.0f);
18514 asinhl(0.0l);
18515 atanh(0.0);
18516 atanhf(0.0f);
18517 atanhl(0.0l);
18518 cbrt(0.0);
18519 cbrtf(0.0f);
18520 cbrtl(0.0l);
18521 copysign(0.0, 0.0);
18522 copysignf(0.0f, 0.0f);
18523 copysignl(0.0l, 0.0l);
18524 erf(0.0);
18525 erff(0.0f);
18526 erfl(0.0l);
18527 erfc(0.0);
18528 erfcf(0.0f);
18529 erfcl(0.0l);
18530 exp2(0.0);
18531 exp2f(0.0f);
18532 exp2l(0.0l);
18533 expm1(0.0);
18534 expm1f(0.0f);
18535 expm1l(0.0l);
18536 fdim(0.0, 0.0);
18537 fdimf(0.0f, 0.0f);
18538 fdiml(0.0l, 0.0l);
18539 fma(0.0, 0.0, 0.0);
18540 fmaf(0.0f, 0.0f, 0.0f);
18541 fmal(0.0l, 0.0l, 0.0l);
18542 fmax(0.0, 0.0);
18543 fmaxf(0.0f, 0.0f);
18544 fmaxl(0.0l, 0.0l);
18545 fmin(0.0, 0.0);
18546 fminf(0.0f, 0.0f);
18547 fminl(0.0l, 0.0l);
18548 hypot(0.0, 0.0);
18549 hypotf(0.0f, 0.0f);
18550 hypotl(0.0l, 0.0l);
18551 ilogb(0.0);
18552 ilogbf(0.0f);
18553 ilogbl(0.0l);
18554 lgamma(0.0);
18555 lgammaf(0.0f);
18556 lgammal(0.0l);
18557 llrint(0.0);
18558 llrintf(0.0f);
18559 llrintl(0.0l);
18560 llround(0.0);
18561 llroundf(0.0f);
18562 llroundl(0.0l);
18563 log1p(0.0);
18564 log1pf(0.0f);
18565 log1pl(0.0l);
18566 log2(0.0);
18567 log2f(0.0f);
18568 log2l(0.0l);
18569 logb(0.0);
18570 logbf(0.0f);
18571 logbl(0.0l);
18572 lrint(0.0);
18573 lrintf(0.0f);
18574 lrintl(0.0l);
18575 lround(0.0);
18576 lroundf(0.0f);
18577 lroundl(0.0l);
18578 nan(0);
18579 nanf(0);
18580 nanl(0);
18581 nearbyint(0.0);
18582 nearbyintf(0.0f);
18583 nearbyintl(0.0l);
18584 nextafter(0.0, 0.0);
18585 nextafterf(0.0f, 0.0f);
18586 nextafterl(0.0l, 0.0l);
18587 nexttoward(0.0, 0.0);
18588 nexttowardf(0.0f, 0.0f);
18589 nexttowardl(0.0l, 0.0l);
18590 remainder(0.0, 0.0);
18591 remainderf(0.0f, 0.0f);
18592 remainderl(0.0l, 0.0l);
18593 remquo(0.0, 0.0, 0);
18594 remquof(0.0f, 0.0f, 0);
18595 remquol(0.0l, 0.0l, 0);
18596 rint(0.0);
18597 rintf(0.0f);
18598 rintl(0.0l);
18599 round(0.0);
18600 roundf(0.0f);
18601 roundl(0.0l);
18602 scalbln(0.0, 0l);
18603 scalblnf(0.0f, 0l);
18604 scalblnl(0.0l, 0l);
18605 scalbn(0.0, 0);
18606 scalbnf(0.0f, 0);
18607 scalbnl(0.0l, 0);
18608 tgamma(0.0);
18609 tgammaf(0.0f);
18610 tgammal(0.0l);
18611 trunc(0.0);
18612 truncf(0.0f);
18613 truncl(0.0l);
18616 return 0;
18618 _ACEOF
18619 if ac_fn_cxx_try_compile "$LINENO"; then :
18620 glibcxx_cv_c99_math_tr1=yes
18621 else
18622 glibcxx_cv_c99_math_tr1=no
18624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18629 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18630 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18632 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18636 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18637 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18638 ac_c99_inttypes_tr1=no;
18639 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18641 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 #include <inttypes.h>
18646 main ()
18648 intmax_t i, numer, denom, base;
18649 const char* s;
18650 char** endptr;
18651 intmax_t ret = imaxabs(i);
18652 imaxdiv_t dret = imaxdiv(numer, denom);
18653 ret = strtoimax(s, endptr, base);
18654 uintmax_t uret = strtoumax(s, endptr, base);
18657 return 0;
18659 _ACEOF
18660 if ac_fn_cxx_try_compile "$LINENO"; then :
18661 ac_c99_inttypes_tr1=yes
18662 else
18663 ac_c99_inttypes_tr1=no
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18668 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18669 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18671 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18675 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18676 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18677 ac_c99_inttypes_wchar_t_tr1=no;
18678 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18680 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 #include <inttypes.h>
18685 main ()
18687 intmax_t base;
18688 const wchar_t* s;
18689 wchar_t** endptr;
18690 intmax_t ret = wcstoimax(s, endptr, base);
18691 uintmax_t uret = wcstoumax(s, endptr, base);
18694 return 0;
18696 _ACEOF
18697 if ac_fn_cxx_try_compile "$LINENO"; then :
18698 ac_c99_inttypes_wchar_t_tr1=yes
18699 else
18700 ac_c99_inttypes_wchar_t_tr1=no
18702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18705 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18706 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18708 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18712 # Check for the existence of the <stdbool.h> header.
18713 for ac_header in stdbool.h
18714 do :
18715 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18716 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18717 cat >>confdefs.h <<_ACEOF
18718 #define HAVE_STDBOOL_H 1
18719 _ACEOF
18723 done
18726 CXXFLAGS="$ac_save_CXXFLAGS"
18727 ac_ext=c
18728 ac_cpp='$CPP $CPPFLAGS'
18729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18735 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18739 $as_echo_n "checking for the value of EOF... " >&6; }
18740 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18741 $as_echo_n "(cached) " >&6
18742 else
18744 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18746 else
18747 as_fn_error "computing EOF failed" "$LINENO" 5
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18753 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18755 cat >>confdefs.h <<_ACEOF
18756 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18757 _ACEOF
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18761 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18762 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18763 $as_echo_n "(cached) " >&6
18764 else
18766 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18768 else
18769 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18775 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18777 cat >>confdefs.h <<_ACEOF
18778 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18779 _ACEOF
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18783 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18784 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18785 $as_echo_n "(cached) " >&6
18786 else
18788 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18790 else
18791 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18797 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18799 cat >>confdefs.h <<_ACEOF
18800 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18801 _ACEOF
18805 # For gettimeofday support.
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18809 $as_echo_n "checking for gettimeofday... " >&6; }
18812 ac_ext=cpp
18813 ac_cpp='$CXXCPP $CPPFLAGS'
18814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18818 ac_save_CXXFLAGS="$CXXFLAGS"
18819 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18821 ac_has_gettimeofday=no;
18822 for ac_header in sys/time.h
18823 do :
18824 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18825 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_SYS_TIME_H 1
18828 _ACEOF
18829 ac_has_sys_time_h=yes
18830 else
18831 ac_has_sys_time_h=no
18834 done
18836 if test x"$ac_has_sys_time_h" = x"yes"; then
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18838 $as_echo_n "checking for gettimeofday... " >&6; }
18839 if test x$gcc_no_link = xyes; then
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 #include <sys/time.h>
18844 main ()
18846 timeval tv; gettimeofday(&tv, 0);
18848 return 0;
18850 _ACEOF
18851 if ac_fn_cxx_try_compile "$LINENO"; then :
18852 ac_has_gettimeofday=yes
18853 else
18854 ac_has_gettimeofday=no
18856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18857 else
18858 if test x$gcc_no_link = xyes; then
18859 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18863 #include <sys/time.h>
18865 main ()
18867 timeval tv; gettimeofday(&tv, 0);
18869 return 0;
18871 _ACEOF
18872 if ac_fn_cxx_try_link "$LINENO"; then :
18873 ac_has_gettimeofday=yes
18874 else
18875 ac_has_gettimeofday=no
18877 rm -f core conftest.err conftest.$ac_objext \
18878 conftest$ac_exeext conftest.$ac_ext
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18882 $as_echo "$ac_has_gettimeofday" >&6; }
18885 if test x"$ac_has_gettimeofday" = x"yes"; then
18887 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18891 CXXFLAGS="$ac_save_CXXFLAGS"
18892 ac_ext=c
18893 ac_cpp='$CPP $CPPFLAGS'
18894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18900 # For clock_gettime, nanosleep and sched_yield support.
18901 # NB: The default is [no], because otherwise it requires linking.
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18905 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18906 # Check whether --enable-libstdcxx-time was given.
18907 if test "${enable_libstdcxx_time+set}" = set; then :
18908 enableval=$enable_libstdcxx_time;
18909 case "$enableval" in
18910 yes|no|rt) ;;
18911 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18912 esac
18914 else
18915 enable_libstdcxx_time=no
18921 ac_ext=cpp
18922 ac_cpp='$CXXCPP $CPPFLAGS'
18923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18927 ac_save_CXXFLAGS="$CXXFLAGS"
18928 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18929 ac_save_LIBS="$LIBS"
18931 ac_has_clock_monotonic=no
18932 ac_has_clock_realtime=no
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18934 $as_echo "$enable_libstdcxx_time" >&6; }
18936 if test x"$enable_libstdcxx_time" != x"no"; then
18938 if test x"$enable_libstdcxx_time" = x"rt"; then
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18940 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18941 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18942 $as_echo_n "(cached) " >&6
18943 else
18944 ac_func_search_save_LIBS=$LIBS
18945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18948 /* Override any GCC internal prototype to avoid an error.
18949 Use char because int might match the return type of a GCC
18950 builtin and then its argument prototype would still apply. */
18951 #ifdef __cplusplus
18952 extern "C"
18953 #endif
18954 char clock_gettime ();
18956 main ()
18958 return clock_gettime ();
18960 return 0;
18962 _ACEOF
18963 for ac_lib in '' rt posix4; do
18964 if test -z "$ac_lib"; then
18965 ac_res="none required"
18966 else
18967 ac_res=-l$ac_lib
18968 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18970 if test x$gcc_no_link = xyes; then
18971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18973 if ac_fn_cxx_try_link "$LINENO"; then :
18974 ac_cv_search_clock_gettime=$ac_res
18976 rm -f core conftest.err conftest.$ac_objext \
18977 conftest$ac_exeext
18978 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18979 break
18981 done
18982 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18984 else
18985 ac_cv_search_clock_gettime=no
18987 rm conftest.$ac_ext
18988 LIBS=$ac_func_search_save_LIBS
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18991 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18992 ac_res=$ac_cv_search_clock_gettime
18993 if test "$ac_res" != no; then :
18994 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18999 $as_echo_n "checking for library containing nanosleep... " >&6; }
19000 if test "${ac_cv_search_nanosleep+set}" = set; then :
19001 $as_echo_n "(cached) " >&6
19002 else
19003 ac_func_search_save_LIBS=$LIBS
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19007 /* Override any GCC internal prototype to avoid an error.
19008 Use char because int might match the return type of a GCC
19009 builtin and then its argument prototype would still apply. */
19010 #ifdef __cplusplus
19011 extern "C"
19012 #endif
19013 char nanosleep ();
19015 main ()
19017 return nanosleep ();
19019 return 0;
19021 _ACEOF
19022 for ac_lib in '' rt posix4; do
19023 if test -z "$ac_lib"; then
19024 ac_res="none required"
19025 else
19026 ac_res=-l$ac_lib
19027 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19029 if test x$gcc_no_link = xyes; then
19030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19032 if ac_fn_cxx_try_link "$LINENO"; then :
19033 ac_cv_search_nanosleep=$ac_res
19035 rm -f core conftest.err conftest.$ac_objext \
19036 conftest$ac_exeext
19037 if test "${ac_cv_search_nanosleep+set}" = set; then :
19038 break
19040 done
19041 if test "${ac_cv_search_nanosleep+set}" = set; then :
19043 else
19044 ac_cv_search_nanosleep=no
19046 rm conftest.$ac_ext
19047 LIBS=$ac_func_search_save_LIBS
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19050 $as_echo "$ac_cv_search_nanosleep" >&6; }
19051 ac_res=$ac_cv_search_nanosleep
19052 if test "$ac_res" != no; then :
19053 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19057 else
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19059 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19060 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19061 $as_echo_n "(cached) " >&6
19062 else
19063 ac_func_search_save_LIBS=$LIBS
19064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19067 /* Override any GCC internal prototype to avoid an error.
19068 Use char because int might match the return type of a GCC
19069 builtin and then its argument prototype would still apply. */
19070 #ifdef __cplusplus
19071 extern "C"
19072 #endif
19073 char clock_gettime ();
19075 main ()
19077 return clock_gettime ();
19079 return 0;
19081 _ACEOF
19082 for ac_lib in '' posix4; do
19083 if test -z "$ac_lib"; then
19084 ac_res="none required"
19085 else
19086 ac_res=-l$ac_lib
19087 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19089 if test x$gcc_no_link = xyes; then
19090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19092 if ac_fn_cxx_try_link "$LINENO"; then :
19093 ac_cv_search_clock_gettime=$ac_res
19095 rm -f core conftest.err conftest.$ac_objext \
19096 conftest$ac_exeext
19097 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19098 break
19100 done
19101 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19103 else
19104 ac_cv_search_clock_gettime=no
19106 rm conftest.$ac_ext
19107 LIBS=$ac_func_search_save_LIBS
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19110 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19111 ac_res=$ac_cv_search_clock_gettime
19112 if test "$ac_res" != no; then :
19113 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19118 $as_echo_n "checking for library containing nanosleep... " >&6; }
19119 if test "${ac_cv_search_nanosleep+set}" = set; then :
19120 $as_echo_n "(cached) " >&6
19121 else
19122 ac_func_search_save_LIBS=$LIBS
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19126 /* Override any GCC internal prototype to avoid an error.
19127 Use char because int might match the return type of a GCC
19128 builtin and then its argument prototype would still apply. */
19129 #ifdef __cplusplus
19130 extern "C"
19131 #endif
19132 char nanosleep ();
19134 main ()
19136 return nanosleep ();
19138 return 0;
19140 _ACEOF
19141 for ac_lib in '' posix4; do
19142 if test -z "$ac_lib"; then
19143 ac_res="none required"
19144 else
19145 ac_res=-l$ac_lib
19146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19148 if test x$gcc_no_link = xyes; then
19149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19151 if ac_fn_cxx_try_link "$LINENO"; then :
19152 ac_cv_search_nanosleep=$ac_res
19154 rm -f core conftest.err conftest.$ac_objext \
19155 conftest$ac_exeext
19156 if test "${ac_cv_search_nanosleep+set}" = set; then :
19157 break
19159 done
19160 if test "${ac_cv_search_nanosleep+set}" = set; then :
19162 else
19163 ac_cv_search_nanosleep=no
19165 rm conftest.$ac_ext
19166 LIBS=$ac_func_search_save_LIBS
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19169 $as_echo "$ac_cv_search_nanosleep" >&6; }
19170 ac_res=$ac_cv_search_nanosleep
19171 if test "$ac_res" != no; then :
19172 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19178 case "$ac_cv_search_clock_gettime" in
19179 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19181 esac
19182 case "$ac_cv_search_nanosleep" in
19183 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19185 esac
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19188 $as_echo_n "checking for library containing sched_yield... " >&6; }
19189 if test "${ac_cv_search_sched_yield+set}" = set; then :
19190 $as_echo_n "(cached) " >&6
19191 else
19192 ac_func_search_save_LIBS=$LIBS
19193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19194 /* end confdefs.h. */
19196 /* Override any GCC internal prototype to avoid an error.
19197 Use char because int might match the return type of a GCC
19198 builtin and then its argument prototype would still apply. */
19199 #ifdef __cplusplus
19200 extern "C"
19201 #endif
19202 char sched_yield ();
19204 main ()
19206 return sched_yield ();
19208 return 0;
19210 _ACEOF
19211 for ac_lib in '' rt posix4; do
19212 if test -z "$ac_lib"; then
19213 ac_res="none required"
19214 else
19215 ac_res=-l$ac_lib
19216 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19218 if test x$gcc_no_link = xyes; then
19219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19221 if ac_fn_cxx_try_link "$LINENO"; then :
19222 ac_cv_search_sched_yield=$ac_res
19224 rm -f core conftest.err conftest.$ac_objext \
19225 conftest$ac_exeext
19226 if test "${ac_cv_search_sched_yield+set}" = set; then :
19227 break
19229 done
19230 if test "${ac_cv_search_sched_yield+set}" = set; then :
19232 else
19233 ac_cv_search_sched_yield=no
19235 rm conftest.$ac_ext
19236 LIBS=$ac_func_search_save_LIBS
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19239 $as_echo "$ac_cv_search_sched_yield" >&6; }
19240 ac_res=$ac_cv_search_sched_yield
19241 if test "$ac_res" != no; then :
19242 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19247 case "$ac_cv_search_sched_yield" in
19248 -lposix4*)
19249 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19251 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19254 -lrt*)
19255 if test x"$enable_libstdcxx_time" = x"rt"; then
19256 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19258 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19264 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19267 esac
19269 for ac_header in unistd.h
19270 do :
19271 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19272 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_UNISTD_H 1
19275 _ACEOF
19276 ac_has_unistd_h=yes
19277 else
19278 ac_has_unistd_h=no
19281 done
19284 if test x"$ac_has_unistd_h" = x"yes"; then
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19286 $as_echo_n "checking for monotonic clock... " >&6; }
19287 if test x$gcc_no_link = xyes; then
19288 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19292 #include <unistd.h>
19293 #include <time.h>
19296 main ()
19298 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19299 timespec tp;
19300 #endif
19301 clock_gettime(CLOCK_MONOTONIC, &tp);
19304 return 0;
19306 _ACEOF
19307 if ac_fn_cxx_try_link "$LINENO"; then :
19308 ac_has_clock_monotonic=yes
19309 else
19310 ac_has_clock_monotonic=no
19312 rm -f core conftest.err conftest.$ac_objext \
19313 conftest$ac_exeext conftest.$ac_ext
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19316 $as_echo "$ac_has_clock_monotonic" >&6; }
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19319 $as_echo_n "checking for realtime clock... " >&6; }
19320 if test x$gcc_no_link = xyes; then
19321 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h. */
19325 #include <unistd.h>
19326 #include <time.h>
19329 main ()
19331 #if _POSIX_TIMERS > 0
19332 timespec tp;
19333 #endif
19334 clock_gettime(CLOCK_REALTIME, &tp);
19337 return 0;
19339 _ACEOF
19340 if ac_fn_cxx_try_link "$LINENO"; then :
19341 ac_has_clock_realtime=yes
19342 else
19343 ac_has_clock_realtime=no
19345 rm -f core conftest.err conftest.$ac_objext \
19346 conftest$ac_exeext conftest.$ac_ext
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19349 $as_echo "$ac_has_clock_realtime" >&6; }
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19352 $as_echo_n "checking for nanosleep... " >&6; }
19353 if test x$gcc_no_link = xyes; then
19354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19357 /* end confdefs.h. */
19358 #include <unistd.h>
19359 #include <time.h>
19362 main ()
19364 #if _POSIX_TIMERS > 0
19365 timespec tp;
19366 #endif
19367 nanosleep(&tp, 0);
19370 return 0;
19372 _ACEOF
19373 if ac_fn_cxx_try_link "$LINENO"; then :
19374 ac_has_nanosleep=yes
19375 else
19376 ac_has_nanosleep=no
19378 rm -f core conftest.err conftest.$ac_objext \
19379 conftest$ac_exeext conftest.$ac_ext
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19382 $as_echo "$ac_has_nanosleep" >&6; }
19386 if test x"$ac_has_clock_monotonic" = x"yes"; then
19388 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19392 if test x"$ac_has_clock_realtime" = x"yes"; then
19394 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19398 if test x"$ac_has_nanosleep" = x"yes"; then
19400 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19406 CXXFLAGS="$ac_save_CXXFLAGS"
19407 LIBS="$ac_save_LIBS"
19408 ac_ext=c
19409 ac_cpp='$CPP $CPPFLAGS'
19410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19416 # For gthread support
19419 ac_ext=cpp
19420 ac_cpp='$CXXCPP $CPPFLAGS'
19421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19426 ac_save_CXXFLAGS="$CXXFLAGS"
19427 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19429 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19430 case $target_thread_file in
19431 posix)
19432 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19433 esac
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19436 $as_echo_n "checking for gthreads library... " >&6; }
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19440 #include "gthr.h"
19442 main ()
19445 #ifndef __GTHREADS_CXX0X
19446 #error
19447 #endif
19449 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19450 #if (defined(_PTHREADS) \
19451 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19452 #error
19453 #endif
19456 return 0;
19458 _ACEOF
19459 if ac_fn_cxx_try_compile "$LINENO"; then :
19460 ac_has_gthreads=yes
19461 else
19462 ac_has_gthreads=no
19464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19467 $as_echo "$ac_has_gthreads" >&6; }
19469 if test x"$ac_has_gthreads" = x"yes"; then
19471 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19475 CXXFLAGS="$ac_save_CXXFLAGS"
19476 ac_ext=c
19477 ac_cpp='$CPP $CPPFLAGS'
19478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19485 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19486 if test "x$ac_cv_header_locale_h" = x""yes; then :
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19489 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19490 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19491 $as_echo_n "(cached) " >&6
19492 else
19493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19494 /* end confdefs.h. */
19495 #include <locale.h>
19497 main ()
19499 return LC_MESSAGES
19501 return 0;
19503 _ACEOF
19504 if ac_fn_c_try_compile "$LINENO"; then :
19505 ac_cv_val_LC_MESSAGES=yes
19506 else
19507 ac_cv_val_LC_MESSAGES=no
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19512 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19513 if test $ac_cv_val_LC_MESSAGES = yes; then
19515 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19524 # For hardware_concurrency
19525 for ac_header in sys/sysinfo.h
19526 do :
19527 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19528 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19529 cat >>confdefs.h <<_ACEOF
19530 #define HAVE_SYS_SYSINFO_H 1
19531 _ACEOF
19535 done
19540 ac_ext=cpp
19541 ac_cpp='$CXXCPP $CPPFLAGS'
19542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19546 ac_save_CXXFLAGS="$CXXFLAGS"
19547 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19550 $as_echo_n "checking for get_nprocs... " >&6; }
19551 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19552 $as_echo_n "(cached) " >&6
19553 else
19555 if test x$gcc_no_link = xyes; then
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558 #include <sys/sysinfo.h>
19560 main ()
19562 int n = get_nprocs();
19564 return 0;
19566 _ACEOF
19567 if ac_fn_cxx_try_compile "$LINENO"; then :
19568 glibcxx_cv_GET_NPROCS=yes
19569 else
19570 glibcxx_cv_GET_NPROCS=no
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19573 else
19574 if test x$gcc_no_link = xyes; then
19575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19578 /* end confdefs.h. */
19579 #include <sys/sysinfo.h>
19581 main ()
19583 int n = get_nprocs();
19585 return 0;
19587 _ACEOF
19588 if ac_fn_cxx_try_link "$LINENO"; then :
19589 glibcxx_cv_GET_NPROCS=yes
19590 else
19591 glibcxx_cv_GET_NPROCS=no
19593 rm -f core conftest.err conftest.$ac_objext \
19594 conftest$ac_exeext conftest.$ac_ext
19599 if test $glibcxx_cv_GET_NPROCS = yes; then
19601 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19605 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19607 CXXFLAGS="$ac_save_CXXFLAGS"
19608 ac_ext=c
19609 ac_cpp='$CPP $CPPFLAGS'
19610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19615 for ac_header in unistd.h
19616 do :
19617 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19618 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19619 cat >>confdefs.h <<_ACEOF
19620 #define HAVE_UNISTD_H 1
19621 _ACEOF
19625 done
19630 ac_ext=cpp
19631 ac_cpp='$CXXCPP $CPPFLAGS'
19632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19636 ac_save_CXXFLAGS="$CXXFLAGS"
19637 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19640 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19641 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19642 $as_echo_n "(cached) " >&6
19643 else
19645 if test x$gcc_no_link = xyes; then
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648 #include <unistd.h>
19650 main ()
19652 int n = sysconf(_SC_NPROCESSORS_ONLN);
19654 return 0;
19656 _ACEOF
19657 if ac_fn_cxx_try_compile "$LINENO"; then :
19658 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19659 else
19660 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663 else
19664 if test x$gcc_no_link = xyes; then
19665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19669 #include <unistd.h>
19671 main ()
19673 int n = sysconf(_SC_NPROCESSORS_ONLN);
19675 return 0;
19677 _ACEOF
19678 if ac_fn_cxx_try_link "$LINENO"; then :
19679 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19680 else
19681 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19683 rm -f core conftest.err conftest.$ac_objext \
19684 conftest$ac_exeext conftest.$ac_ext
19689 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
19691 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
19695 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
19697 CXXFLAGS="$ac_save_CXXFLAGS"
19698 ac_ext=c
19699 ac_cpp='$CPP $CPPFLAGS'
19700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19706 # Check for available headers.
19707 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19708 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19709 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19710 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19711 wchar.h wctype.h
19712 do :
19713 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19714 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19715 eval as_val=\$$as_ac_Header
19716 if test "x$as_val" = x""yes; then :
19717 cat >>confdefs.h <<_ACEOF
19718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19719 _ACEOF
19723 done
19726 # Only do link tests if native. Else, hardcode.
19727 if $GLIBCXX_IS_NATIVE; then
19729 # We can do more elaborate tests that assume a working linker.
19730 CANADIAN=no
19734 # Check whether --with-gnu-ld was given.
19735 if test "${with_gnu_ld+set}" = set; then :
19736 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19737 else
19738 with_gnu_ld=no
19741 ac_prog=ld
19742 if test "$GCC" = yes; then
19743 # Check if gcc -print-prog-name=ld gives a path.
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19745 $as_echo_n "checking for ld used by $CC... " >&6; }
19746 case $host in
19747 *-*-mingw*)
19748 # gcc leaves a trailing carriage return which upsets mingw
19749 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19751 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19752 esac
19753 case $ac_prog in
19754 # Accept absolute paths.
19755 [\\/]* | ?:[\\/]*)
19756 re_direlt='/[^/][^/]*/\.\./'
19757 # Canonicalize the pathname of ld
19758 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19759 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19760 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19761 done
19762 test -z "$LD" && LD="$ac_prog"
19765 # If it fails, then pretend we aren't using GCC.
19766 ac_prog=ld
19769 # If it is relative, then search for the first ld in PATH.
19770 with_gnu_ld=unknown
19772 esac
19773 elif test "$with_gnu_ld" = yes; then
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19775 $as_echo_n "checking for GNU ld... " >&6; }
19776 else
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19778 $as_echo_n "checking for non-GNU ld... " >&6; }
19780 if test "${lt_cv_path_LD+set}" = set; then :
19781 $as_echo_n "(cached) " >&6
19782 else
19783 if test -z "$LD"; then
19784 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19785 for ac_dir in $PATH; do
19786 IFS="$lt_save_ifs"
19787 test -z "$ac_dir" && ac_dir=.
19788 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19789 lt_cv_path_LD="$ac_dir/$ac_prog"
19790 # Check to see if the program is GNU ld. I'd rather use --version,
19791 # but apparently some variants of GNU ld only accept -v.
19792 # Break only if it was the GNU/non-GNU ld that we prefer.
19793 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19794 *GNU* | *'with BFD'*)
19795 test "$with_gnu_ld" != no && break
19798 test "$with_gnu_ld" != yes && break
19800 esac
19802 done
19803 IFS="$lt_save_ifs"
19804 else
19805 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19809 LD="$lt_cv_path_LD"
19810 if test -n "$LD"; then
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19812 $as_echo "$LD" >&6; }
19813 else
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19815 $as_echo "no" >&6; }
19817 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19819 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19820 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19821 $as_echo_n "(cached) " >&6
19822 else
19823 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19824 case `$LD -v 2>&1 </dev/null` in
19825 *GNU* | *'with BFD'*)
19826 lt_cv_prog_gnu_ld=yes
19829 lt_cv_prog_gnu_ld=no
19831 esac
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19834 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19835 with_gnu_ld=$lt_cv_prog_gnu_ld
19843 # If we're not using GNU ld, then there's no point in even trying these
19844 # tests. Check for that first. We should have already tested for gld
19845 # by now (in libtool), but require it now just to be safe...
19846 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19847 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19851 # The name set by libtool depends on the version of libtool. Shame on us
19852 # for depending on an impl detail, but c'est la vie. Older versions used
19853 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19854 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19855 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19856 # set (hence we're using an older libtool), then set it.
19857 if test x${with_gnu_ld+set} != xset; then
19858 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19859 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19860 with_gnu_ld=no
19861 else
19862 with_gnu_ld=$ac_cv_prog_gnu_ld
19866 # Start by getting the version number. I think the libtool test already
19867 # does some of this, but throws away the result.
19868 glibcxx_ld_is_gold=no
19869 if test x"$with_gnu_ld" = x"yes"; then
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19871 $as_echo_n "checking for ld version... " >&6; }
19873 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19874 glibcxx_ld_is_gold=yes
19876 ldver=`$LD --version 2>/dev/null |
19877 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'`
19879 glibcxx_gnu_ld_version=`echo $ldver | \
19880 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19882 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19885 # Set --gc-sections.
19886 glibcxx_have_gc_sections=no
19887 if test "$glibcxx_ld_is_gold" = "yes"; then
19888 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19889 glibcxx_have_gc_sections=yes
19891 else
19892 glibcxx_gcsections_min_ld=21602
19893 if test x"$with_gnu_ld" = x"yes" &&
19894 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19895 glibcxx_have_gc_sections=yes
19898 if test "$glibcxx_have_gc_sections" = "yes"; then
19899 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19900 # NB: This flag only works reliably after 2.16.1. Configure tests
19901 # for this are difficult, so hard wire a value that should work.
19903 ac_test_CFLAGS="${CFLAGS+set}"
19904 ac_save_CFLAGS="$CFLAGS"
19905 CFLAGS='-Wl,--gc-sections'
19907 # Check for -Wl,--gc-sections
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19909 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19910 if test x$gcc_no_link = xyes; then
19911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19914 /* end confdefs.h. */
19915 int one(void) { return 1; }
19916 int two(void) { return 2; }
19919 main ()
19921 two();
19923 return 0;
19925 _ACEOF
19926 if ac_fn_c_try_link "$LINENO"; then :
19927 ac_gcsections=yes
19928 else
19929 ac_gcsections=no
19931 rm -f core conftest.err conftest.$ac_objext \
19932 conftest$ac_exeext conftest.$ac_ext
19933 if test "$ac_gcsections" = "yes"; then
19934 rm -f conftest.c
19935 touch conftest.c
19936 if $CC -c conftest.c; then
19937 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19938 grep "Warning: gc-sections option ignored" > /dev/null; then
19939 ac_gcsections=no
19942 rm -f conftest.c conftest.o conftest
19944 if test "$ac_gcsections" = "yes"; then
19945 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19948 $as_echo "$ac_gcsections" >&6; }
19950 if test "$ac_test_CFLAGS" = set; then
19951 CFLAGS="$ac_save_CFLAGS"
19952 else
19953 # this is the suspicious part
19954 CFLAGS=''
19958 # Set -z,relro.
19959 # Note this is only for shared objects.
19960 ac_ld_relro=no
19961 if test x"$with_gnu_ld" = x"yes"; then
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19963 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19964 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19965 if test -n "$cxx_z_relo"; then
19966 OPT_LDFLAGS="-Wl,-z,relro"
19967 ac_ld_relro=yes
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19970 $as_echo "$ac_ld_relro" >&6; }
19973 # Set linker optimization flags.
19974 if test x"$with_gnu_ld" = x"yes"; then
19975 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19982 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19983 ac_save_CXXFLAGS="$CXXFLAGS"
19984 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19987 $as_echo_n "checking for sin in -lm... " >&6; }
19988 if test "${ac_cv_lib_m_sin+set}" = set; then :
19989 $as_echo_n "(cached) " >&6
19990 else
19991 ac_check_lib_save_LIBS=$LIBS
19992 LIBS="-lm $LIBS"
19993 if test x$gcc_no_link = xyes; then
19994 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19997 /* end confdefs.h. */
19999 /* Override any GCC internal prototype to avoid an error.
20000 Use char because int might match the return type of a GCC
20001 builtin and then its argument prototype would still apply. */
20002 #ifdef __cplusplus
20003 extern "C"
20004 #endif
20005 char sin ();
20007 main ()
20009 return sin ();
20011 return 0;
20013 _ACEOF
20014 if ac_fn_c_try_link "$LINENO"; then :
20015 ac_cv_lib_m_sin=yes
20016 else
20017 ac_cv_lib_m_sin=no
20019 rm -f core conftest.err conftest.$ac_objext \
20020 conftest$ac_exeext conftest.$ac_ext
20021 LIBS=$ac_check_lib_save_LIBS
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20024 $as_echo "$ac_cv_lib_m_sin" >&6; }
20025 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20026 libm="-lm"
20029 ac_save_LIBS="$LIBS"
20030 LIBS="$LIBS $libm"
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20035 $as_echo_n "checking for isinf declaration... " >&6; }
20036 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20037 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20038 $as_echo_n "(cached) " >&6
20039 else
20042 ac_ext=cpp
20043 ac_cpp='$CXXCPP $CPPFLAGS'
20044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20049 /* end confdefs.h. */
20050 #include <math.h>
20051 #ifdef HAVE_IEEEFP_H
20052 #include <ieeefp.h>
20053 #endif
20056 main ()
20058 isinf(0);
20060 return 0;
20062 _ACEOF
20063 if ac_fn_cxx_try_compile "$LINENO"; then :
20064 glibcxx_cv_func_isinf_use=yes
20065 else
20066 glibcxx_cv_func_isinf_use=no
20068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20069 ac_ext=c
20070 ac_cpp='$CPP $CPPFLAGS'
20071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20080 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20082 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20083 for ac_func in isinf
20084 do :
20085 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20086 if test "x$ac_cv_func_isinf" = x""yes; then :
20087 cat >>confdefs.h <<_ACEOF
20088 #define HAVE_ISINF 1
20089 _ACEOF
20092 done
20094 else
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20097 $as_echo_n "checking for _isinf declaration... " >&6; }
20098 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20099 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20100 $as_echo_n "(cached) " >&6
20101 else
20104 ac_ext=cpp
20105 ac_cpp='$CXXCPP $CPPFLAGS'
20106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20111 /* end confdefs.h. */
20112 #include <math.h>
20113 #ifdef HAVE_IEEEFP_H
20114 #include <ieeefp.h>
20115 #endif
20118 main ()
20120 _isinf(0);
20122 return 0;
20124 _ACEOF
20125 if ac_fn_cxx_try_compile "$LINENO"; then :
20126 glibcxx_cv_func__isinf_use=yes
20127 else
20128 glibcxx_cv_func__isinf_use=no
20130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20131 ac_ext=c
20132 ac_cpp='$CPP $CPPFLAGS'
20133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20142 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20144 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20145 for ac_func in _isinf
20146 do :
20147 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20148 if test "x$ac_cv_func__isinf" = x""yes; then :
20149 cat >>confdefs.h <<_ACEOF
20150 #define HAVE__ISINF 1
20151 _ACEOF
20154 done
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20164 $as_echo_n "checking for isnan declaration... " >&6; }
20165 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20166 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20167 $as_echo_n "(cached) " >&6
20168 else
20171 ac_ext=cpp
20172 ac_cpp='$CXXCPP $CPPFLAGS'
20173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20178 /* end confdefs.h. */
20179 #include <math.h>
20180 #ifdef HAVE_IEEEFP_H
20181 #include <ieeefp.h>
20182 #endif
20185 main ()
20187 isnan(0);
20189 return 0;
20191 _ACEOF
20192 if ac_fn_cxx_try_compile "$LINENO"; then :
20193 glibcxx_cv_func_isnan_use=yes
20194 else
20195 glibcxx_cv_func_isnan_use=no
20197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20198 ac_ext=c
20199 ac_cpp='$CPP $CPPFLAGS'
20200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20209 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20211 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20212 for ac_func in isnan
20213 do :
20214 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20215 if test "x$ac_cv_func_isnan" = x""yes; then :
20216 cat >>confdefs.h <<_ACEOF
20217 #define HAVE_ISNAN 1
20218 _ACEOF
20221 done
20223 else
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20226 $as_echo_n "checking for _isnan declaration... " >&6; }
20227 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20228 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20229 $as_echo_n "(cached) " >&6
20230 else
20233 ac_ext=cpp
20234 ac_cpp='$CXXCPP $CPPFLAGS'
20235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20240 /* end confdefs.h. */
20241 #include <math.h>
20242 #ifdef HAVE_IEEEFP_H
20243 #include <ieeefp.h>
20244 #endif
20247 main ()
20249 _isnan(0);
20251 return 0;
20253 _ACEOF
20254 if ac_fn_cxx_try_compile "$LINENO"; then :
20255 glibcxx_cv_func__isnan_use=yes
20256 else
20257 glibcxx_cv_func__isnan_use=no
20259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20260 ac_ext=c
20261 ac_cpp='$CPP $CPPFLAGS'
20262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20271 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20273 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20274 for ac_func in _isnan
20275 do :
20276 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20277 if test "x$ac_cv_func__isnan" = x""yes; then :
20278 cat >>confdefs.h <<_ACEOF
20279 #define HAVE__ISNAN 1
20280 _ACEOF
20283 done
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20293 $as_echo_n "checking for finite declaration... " >&6; }
20294 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20295 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20296 $as_echo_n "(cached) " >&6
20297 else
20300 ac_ext=cpp
20301 ac_cpp='$CXXCPP $CPPFLAGS'
20302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20307 /* end confdefs.h. */
20308 #include <math.h>
20309 #ifdef HAVE_IEEEFP_H
20310 #include <ieeefp.h>
20311 #endif
20314 main ()
20316 finite(0);
20318 return 0;
20320 _ACEOF
20321 if ac_fn_cxx_try_compile "$LINENO"; then :
20322 glibcxx_cv_func_finite_use=yes
20323 else
20324 glibcxx_cv_func_finite_use=no
20326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20327 ac_ext=c
20328 ac_cpp='$CPP $CPPFLAGS'
20329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20338 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20340 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20341 for ac_func in finite
20342 do :
20343 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20344 if test "x$ac_cv_func_finite" = x""yes; then :
20345 cat >>confdefs.h <<_ACEOF
20346 #define HAVE_FINITE 1
20347 _ACEOF
20350 done
20352 else
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20355 $as_echo_n "checking for _finite declaration... " >&6; }
20356 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20357 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20358 $as_echo_n "(cached) " >&6
20359 else
20362 ac_ext=cpp
20363 ac_cpp='$CXXCPP $CPPFLAGS'
20364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20369 /* end confdefs.h. */
20370 #include <math.h>
20371 #ifdef HAVE_IEEEFP_H
20372 #include <ieeefp.h>
20373 #endif
20376 main ()
20378 _finite(0);
20380 return 0;
20382 _ACEOF
20383 if ac_fn_cxx_try_compile "$LINENO"; then :
20384 glibcxx_cv_func__finite_use=yes
20385 else
20386 glibcxx_cv_func__finite_use=no
20388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20389 ac_ext=c
20390 ac_cpp='$CPP $CPPFLAGS'
20391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20400 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20402 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20403 for ac_func in _finite
20404 do :
20405 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20406 if test "x$ac_cv_func__finite" = x""yes; then :
20407 cat >>confdefs.h <<_ACEOF
20408 #define HAVE__FINITE 1
20409 _ACEOF
20412 done
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20422 $as_echo_n "checking for sincos declaration... " >&6; }
20423 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20424 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20425 $as_echo_n "(cached) " >&6
20426 else
20429 ac_ext=cpp
20430 ac_cpp='$CXXCPP $CPPFLAGS'
20431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h. */
20437 #include <math.h>
20439 main ()
20441 sincos(0, 0, 0);
20443 return 0;
20445 _ACEOF
20446 if ac_fn_cxx_try_compile "$LINENO"; then :
20447 glibcxx_cv_func_sincos_use=yes
20448 else
20449 glibcxx_cv_func_sincos_use=no
20451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452 ac_ext=c
20453 ac_cpp='$CPP $CPPFLAGS'
20454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20463 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20465 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20466 for ac_func in sincos
20467 do :
20468 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20469 if test "x$ac_cv_func_sincos" = x""yes; then :
20470 cat >>confdefs.h <<_ACEOF
20471 #define HAVE_SINCOS 1
20472 _ACEOF
20475 done
20477 else
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20480 $as_echo_n "checking for _sincos declaration... " >&6; }
20481 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20482 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20483 $as_echo_n "(cached) " >&6
20484 else
20487 ac_ext=cpp
20488 ac_cpp='$CXXCPP $CPPFLAGS'
20489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20494 /* end confdefs.h. */
20495 #include <math.h>
20497 main ()
20499 _sincos(0, 0, 0);
20501 return 0;
20503 _ACEOF
20504 if ac_fn_cxx_try_compile "$LINENO"; then :
20505 glibcxx_cv_func__sincos_use=yes
20506 else
20507 glibcxx_cv_func__sincos_use=no
20509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20510 ac_ext=c
20511 ac_cpp='$CPP $CPPFLAGS'
20512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20521 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20523 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20524 for ac_func in _sincos
20525 do :
20526 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20527 if test "x$ac_cv_func__sincos" = x""yes; then :
20528 cat >>confdefs.h <<_ACEOF
20529 #define HAVE__SINCOS 1
20530 _ACEOF
20533 done
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20543 $as_echo_n "checking for fpclass declaration... " >&6; }
20544 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20545 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20546 $as_echo_n "(cached) " >&6
20547 else
20550 ac_ext=cpp
20551 ac_cpp='$CXXCPP $CPPFLAGS'
20552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20557 /* end confdefs.h. */
20558 #include <math.h>
20559 #ifdef HAVE_IEEEFP_H
20560 #include <ieeefp.h>
20561 #endif
20564 main ()
20566 fpclass(0);
20568 return 0;
20570 _ACEOF
20571 if ac_fn_cxx_try_compile "$LINENO"; then :
20572 glibcxx_cv_func_fpclass_use=yes
20573 else
20574 glibcxx_cv_func_fpclass_use=no
20576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20577 ac_ext=c
20578 ac_cpp='$CPP $CPPFLAGS'
20579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20588 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20590 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20591 for ac_func in fpclass
20592 do :
20593 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20594 if test "x$ac_cv_func_fpclass" = x""yes; then :
20595 cat >>confdefs.h <<_ACEOF
20596 #define HAVE_FPCLASS 1
20597 _ACEOF
20600 done
20602 else
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20605 $as_echo_n "checking for _fpclass declaration... " >&6; }
20606 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20607 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20608 $as_echo_n "(cached) " >&6
20609 else
20612 ac_ext=cpp
20613 ac_cpp='$CXXCPP $CPPFLAGS'
20614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20619 /* end confdefs.h. */
20620 #include <math.h>
20621 #ifdef HAVE_IEEEFP_H
20622 #include <ieeefp.h>
20623 #endif
20626 main ()
20628 _fpclass(0);
20630 return 0;
20632 _ACEOF
20633 if ac_fn_cxx_try_compile "$LINENO"; then :
20634 glibcxx_cv_func__fpclass_use=yes
20635 else
20636 glibcxx_cv_func__fpclass_use=no
20638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20639 ac_ext=c
20640 ac_cpp='$CPP $CPPFLAGS'
20641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20650 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20652 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20653 for ac_func in _fpclass
20654 do :
20655 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20656 if test "x$ac_cv_func__fpclass" = x""yes; then :
20657 cat >>confdefs.h <<_ACEOF
20658 #define HAVE__FPCLASS 1
20659 _ACEOF
20662 done
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20672 $as_echo_n "checking for qfpclass declaration... " >&6; }
20673 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20674 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20675 $as_echo_n "(cached) " >&6
20676 else
20679 ac_ext=cpp
20680 ac_cpp='$CXXCPP $CPPFLAGS'
20681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20686 /* end confdefs.h. */
20687 #include <math.h>
20688 #ifdef HAVE_IEEEFP_H
20689 #include <ieeefp.h>
20690 #endif
20693 main ()
20695 qfpclass(0);
20697 return 0;
20699 _ACEOF
20700 if ac_fn_cxx_try_compile "$LINENO"; then :
20701 glibcxx_cv_func_qfpclass_use=yes
20702 else
20703 glibcxx_cv_func_qfpclass_use=no
20705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20706 ac_ext=c
20707 ac_cpp='$CPP $CPPFLAGS'
20708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20717 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20719 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20720 for ac_func in qfpclass
20721 do :
20722 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20723 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20724 cat >>confdefs.h <<_ACEOF
20725 #define HAVE_QFPCLASS 1
20726 _ACEOF
20729 done
20731 else
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20734 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20735 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20736 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20737 $as_echo_n "(cached) " >&6
20738 else
20741 ac_ext=cpp
20742 ac_cpp='$CXXCPP $CPPFLAGS'
20743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20749 #include <math.h>
20750 #ifdef HAVE_IEEEFP_H
20751 #include <ieeefp.h>
20752 #endif
20755 main ()
20757 _qfpclass(0);
20759 return 0;
20761 _ACEOF
20762 if ac_fn_cxx_try_compile "$LINENO"; then :
20763 glibcxx_cv_func__qfpclass_use=yes
20764 else
20765 glibcxx_cv_func__qfpclass_use=no
20767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20768 ac_ext=c
20769 ac_cpp='$CPP $CPPFLAGS'
20770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20779 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20781 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20782 for ac_func in _qfpclass
20783 do :
20784 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20785 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20786 cat >>confdefs.h <<_ACEOF
20787 #define HAVE__QFPCLASS 1
20788 _ACEOF
20791 done
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20801 $as_echo_n "checking for hypot declaration... " >&6; }
20802 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20803 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20804 $as_echo_n "(cached) " >&6
20805 else
20808 ac_ext=cpp
20809 ac_cpp='$CXXCPP $CPPFLAGS'
20810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20815 /* end confdefs.h. */
20816 #include <math.h>
20818 main ()
20820 hypot(0, 0);
20822 return 0;
20824 _ACEOF
20825 if ac_fn_cxx_try_compile "$LINENO"; then :
20826 glibcxx_cv_func_hypot_use=yes
20827 else
20828 glibcxx_cv_func_hypot_use=no
20830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20831 ac_ext=c
20832 ac_cpp='$CPP $CPPFLAGS'
20833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20842 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20844 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20845 for ac_func in hypot
20846 do :
20847 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20848 if test "x$ac_cv_func_hypot" = x""yes; then :
20849 cat >>confdefs.h <<_ACEOF
20850 #define HAVE_HYPOT 1
20851 _ACEOF
20854 done
20856 else
20858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20859 $as_echo_n "checking for _hypot declaration... " >&6; }
20860 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20861 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20862 $as_echo_n "(cached) " >&6
20863 else
20866 ac_ext=cpp
20867 ac_cpp='$CXXCPP $CPPFLAGS'
20868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20874 #include <math.h>
20876 main ()
20878 _hypot(0, 0);
20880 return 0;
20882 _ACEOF
20883 if ac_fn_cxx_try_compile "$LINENO"; then :
20884 glibcxx_cv_func__hypot_use=yes
20885 else
20886 glibcxx_cv_func__hypot_use=no
20888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20889 ac_ext=c
20890 ac_cpp='$CPP $CPPFLAGS'
20891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20900 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20902 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20903 for ac_func in _hypot
20904 do :
20905 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20906 if test "x$ac_cv_func__hypot" = x""yes; then :
20907 cat >>confdefs.h <<_ACEOF
20908 #define HAVE__HYPOT 1
20909 _ACEOF
20912 done
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20922 $as_echo_n "checking for float trig functions... " >&6; }
20923 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20924 $as_echo_n "(cached) " >&6
20925 else
20928 ac_ext=cpp
20929 ac_cpp='$CXXCPP $CPPFLAGS'
20930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20935 /* end confdefs.h. */
20936 #include <math.h>
20938 main ()
20940 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20942 return 0;
20944 _ACEOF
20945 if ac_fn_cxx_try_compile "$LINENO"; then :
20946 glibcxx_cv_func_float_trig_use=yes
20947 else
20948 glibcxx_cv_func_float_trig_use=no
20950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20951 ac_ext=c
20952 ac_cpp='$CPP $CPPFLAGS'
20953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20960 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20961 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20962 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20963 do :
20964 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20965 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20966 eval as_val=\$$as_ac_var
20967 if test "x$as_val" = x""yes; then :
20968 cat >>confdefs.h <<_ACEOF
20969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20970 _ACEOF
20973 done
20975 else
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20977 $as_echo_n "checking for _float trig functions... " >&6; }
20978 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20979 $as_echo_n "(cached) " >&6
20980 else
20983 ac_ext=cpp
20984 ac_cpp='$CXXCPP $CPPFLAGS'
20985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h. */
20991 #include <math.h>
20993 main ()
20995 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20997 return 0;
20999 _ACEOF
21000 if ac_fn_cxx_try_compile "$LINENO"; then :
21001 glibcxx_cv_func__float_trig_use=yes
21002 else
21003 glibcxx_cv_func__float_trig_use=no
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006 ac_ext=c
21007 ac_cpp='$CPP $CPPFLAGS'
21008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21015 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21016 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21017 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21018 do :
21019 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21021 eval as_val=\$$as_ac_var
21022 if test "x$as_val" = x""yes; then :
21023 cat >>confdefs.h <<_ACEOF
21024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21025 _ACEOF
21028 done
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21038 $as_echo_n "checking for float round functions... " >&6; }
21039 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21040 $as_echo_n "(cached) " >&6
21041 else
21044 ac_ext=cpp
21045 ac_cpp='$CXXCPP $CPPFLAGS'
21046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21052 #include <math.h>
21054 main ()
21056 ceilf (0); floorf (0);
21058 return 0;
21060 _ACEOF
21061 if ac_fn_cxx_try_compile "$LINENO"; then :
21062 glibcxx_cv_func_float_round_use=yes
21063 else
21064 glibcxx_cv_func_float_round_use=no
21066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21067 ac_ext=c
21068 ac_cpp='$CPP $CPPFLAGS'
21069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21076 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21077 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21078 for ac_func in ceilf floorf
21079 do :
21080 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21081 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21082 eval as_val=\$$as_ac_var
21083 if test "x$as_val" = x""yes; then :
21084 cat >>confdefs.h <<_ACEOF
21085 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21086 _ACEOF
21089 done
21091 else
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21093 $as_echo_n "checking for _float round functions... " >&6; }
21094 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21095 $as_echo_n "(cached) " >&6
21096 else
21099 ac_ext=cpp
21100 ac_cpp='$CXXCPP $CPPFLAGS'
21101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21106 /* end confdefs.h. */
21107 #include <math.h>
21109 main ()
21111 _ceilf (0); _floorf (0);
21113 return 0;
21115 _ACEOF
21116 if ac_fn_cxx_try_compile "$LINENO"; then :
21117 glibcxx_cv_func__float_round_use=yes
21118 else
21119 glibcxx_cv_func__float_round_use=no
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122 ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21131 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21132 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21133 for ac_func in _ceilf _floorf
21134 do :
21135 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21137 eval as_val=\$$as_ac_var
21138 if test "x$as_val" = x""yes; then :
21139 cat >>confdefs.h <<_ACEOF
21140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21141 _ACEOF
21144 done
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21155 $as_echo_n "checking for expf declaration... " >&6; }
21156 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21157 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21158 $as_echo_n "(cached) " >&6
21159 else
21162 ac_ext=cpp
21163 ac_cpp='$CXXCPP $CPPFLAGS'
21164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21169 /* end confdefs.h. */
21170 #include <math.h>
21171 #ifdef HAVE_IEEEFP_H
21172 #include <ieeefp.h>
21173 #endif
21176 main ()
21178 expf(0);
21180 return 0;
21182 _ACEOF
21183 if ac_fn_cxx_try_compile "$LINENO"; then :
21184 glibcxx_cv_func_expf_use=yes
21185 else
21186 glibcxx_cv_func_expf_use=no
21188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21189 ac_ext=c
21190 ac_cpp='$CPP $CPPFLAGS'
21191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21200 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21202 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21203 for ac_func in expf
21204 do :
21205 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21206 if test "x$ac_cv_func_expf" = x""yes; then :
21207 cat >>confdefs.h <<_ACEOF
21208 #define HAVE_EXPF 1
21209 _ACEOF
21212 done
21214 else
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21217 $as_echo_n "checking for _expf declaration... " >&6; }
21218 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21219 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21220 $as_echo_n "(cached) " >&6
21221 else
21224 ac_ext=cpp
21225 ac_cpp='$CXXCPP $CPPFLAGS'
21226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21231 /* end confdefs.h. */
21232 #include <math.h>
21233 #ifdef HAVE_IEEEFP_H
21234 #include <ieeefp.h>
21235 #endif
21238 main ()
21240 _expf(0);
21242 return 0;
21244 _ACEOF
21245 if ac_fn_cxx_try_compile "$LINENO"; then :
21246 glibcxx_cv_func__expf_use=yes
21247 else
21248 glibcxx_cv_func__expf_use=no
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251 ac_ext=c
21252 ac_cpp='$CPP $CPPFLAGS'
21253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21262 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21264 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21265 for ac_func in _expf
21266 do :
21267 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21268 if test "x$ac_cv_func__expf" = x""yes; then :
21269 cat >>confdefs.h <<_ACEOF
21270 #define HAVE__EXPF 1
21271 _ACEOF
21274 done
21283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21284 $as_echo_n "checking for isnanf declaration... " >&6; }
21285 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21286 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21287 $as_echo_n "(cached) " >&6
21288 else
21291 ac_ext=cpp
21292 ac_cpp='$CXXCPP $CPPFLAGS'
21293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21298 /* end confdefs.h. */
21299 #include <math.h>
21300 #ifdef HAVE_IEEEFP_H
21301 #include <ieeefp.h>
21302 #endif
21305 main ()
21307 isnanf(0);
21309 return 0;
21311 _ACEOF
21312 if ac_fn_cxx_try_compile "$LINENO"; then :
21313 glibcxx_cv_func_isnanf_use=yes
21314 else
21315 glibcxx_cv_func_isnanf_use=no
21317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21318 ac_ext=c
21319 ac_cpp='$CPP $CPPFLAGS'
21320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21329 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21331 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21332 for ac_func in isnanf
21333 do :
21334 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21335 if test "x$ac_cv_func_isnanf" = x""yes; then :
21336 cat >>confdefs.h <<_ACEOF
21337 #define HAVE_ISNANF 1
21338 _ACEOF
21341 done
21343 else
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21346 $as_echo_n "checking for _isnanf declaration... " >&6; }
21347 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21348 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21349 $as_echo_n "(cached) " >&6
21350 else
21353 ac_ext=cpp
21354 ac_cpp='$CXXCPP $CPPFLAGS'
21355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21360 /* end confdefs.h. */
21361 #include <math.h>
21362 #ifdef HAVE_IEEEFP_H
21363 #include <ieeefp.h>
21364 #endif
21367 main ()
21369 _isnanf(0);
21371 return 0;
21373 _ACEOF
21374 if ac_fn_cxx_try_compile "$LINENO"; then :
21375 glibcxx_cv_func__isnanf_use=yes
21376 else
21377 glibcxx_cv_func__isnanf_use=no
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21380 ac_ext=c
21381 ac_cpp='$CPP $CPPFLAGS'
21382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21391 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21393 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21394 for ac_func in _isnanf
21395 do :
21396 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21397 if test "x$ac_cv_func__isnanf" = x""yes; then :
21398 cat >>confdefs.h <<_ACEOF
21399 #define HAVE__ISNANF 1
21400 _ACEOF
21403 done
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21413 $as_echo_n "checking for isinff declaration... " >&6; }
21414 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21415 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21416 $as_echo_n "(cached) " >&6
21417 else
21420 ac_ext=cpp
21421 ac_cpp='$CXXCPP $CPPFLAGS'
21422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21427 /* end confdefs.h. */
21428 #include <math.h>
21429 #ifdef HAVE_IEEEFP_H
21430 #include <ieeefp.h>
21431 #endif
21434 main ()
21436 isinff(0);
21438 return 0;
21440 _ACEOF
21441 if ac_fn_cxx_try_compile "$LINENO"; then :
21442 glibcxx_cv_func_isinff_use=yes
21443 else
21444 glibcxx_cv_func_isinff_use=no
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 ac_ext=c
21448 ac_cpp='$CPP $CPPFLAGS'
21449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21458 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21460 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21461 for ac_func in isinff
21462 do :
21463 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21464 if test "x$ac_cv_func_isinff" = x""yes; then :
21465 cat >>confdefs.h <<_ACEOF
21466 #define HAVE_ISINFF 1
21467 _ACEOF
21470 done
21472 else
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21475 $as_echo_n "checking for _isinff declaration... " >&6; }
21476 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21477 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21478 $as_echo_n "(cached) " >&6
21479 else
21482 ac_ext=cpp
21483 ac_cpp='$CXXCPP $CPPFLAGS'
21484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21489 /* end confdefs.h. */
21490 #include <math.h>
21491 #ifdef HAVE_IEEEFP_H
21492 #include <ieeefp.h>
21493 #endif
21496 main ()
21498 _isinff(0);
21500 return 0;
21502 _ACEOF
21503 if ac_fn_cxx_try_compile "$LINENO"; then :
21504 glibcxx_cv_func__isinff_use=yes
21505 else
21506 glibcxx_cv_func__isinff_use=no
21508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21509 ac_ext=c
21510 ac_cpp='$CPP $CPPFLAGS'
21511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21520 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21522 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21523 for ac_func in _isinff
21524 do :
21525 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21526 if test "x$ac_cv_func__isinff" = x""yes; then :
21527 cat >>confdefs.h <<_ACEOF
21528 #define HAVE__ISINFF 1
21529 _ACEOF
21532 done
21541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21542 $as_echo_n "checking for atan2f declaration... " >&6; }
21543 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21544 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21545 $as_echo_n "(cached) " >&6
21546 else
21549 ac_ext=cpp
21550 ac_cpp='$CXXCPP $CPPFLAGS'
21551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21556 /* end confdefs.h. */
21557 #include <math.h>
21559 main ()
21561 atan2f(0, 0);
21563 return 0;
21565 _ACEOF
21566 if ac_fn_cxx_try_compile "$LINENO"; then :
21567 glibcxx_cv_func_atan2f_use=yes
21568 else
21569 glibcxx_cv_func_atan2f_use=no
21571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21572 ac_ext=c
21573 ac_cpp='$CPP $CPPFLAGS'
21574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21583 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21585 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21586 for ac_func in atan2f
21587 do :
21588 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21589 if test "x$ac_cv_func_atan2f" = x""yes; then :
21590 cat >>confdefs.h <<_ACEOF
21591 #define HAVE_ATAN2F 1
21592 _ACEOF
21595 done
21597 else
21599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21600 $as_echo_n "checking for _atan2f declaration... " >&6; }
21601 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21602 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21603 $as_echo_n "(cached) " >&6
21604 else
21607 ac_ext=cpp
21608 ac_cpp='$CXXCPP $CPPFLAGS'
21609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21614 /* end confdefs.h. */
21615 #include <math.h>
21617 main ()
21619 _atan2f(0, 0);
21621 return 0;
21623 _ACEOF
21624 if ac_fn_cxx_try_compile "$LINENO"; then :
21625 glibcxx_cv_func__atan2f_use=yes
21626 else
21627 glibcxx_cv_func__atan2f_use=no
21629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21630 ac_ext=c
21631 ac_cpp='$CPP $CPPFLAGS'
21632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21641 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21643 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21644 for ac_func in _atan2f
21645 do :
21646 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21647 if test "x$ac_cv_func__atan2f" = x""yes; then :
21648 cat >>confdefs.h <<_ACEOF
21649 #define HAVE__ATAN2F 1
21650 _ACEOF
21653 done
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21663 $as_echo_n "checking for fabsf declaration... " >&6; }
21664 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21665 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21666 $as_echo_n "(cached) " >&6
21667 else
21670 ac_ext=cpp
21671 ac_cpp='$CXXCPP $CPPFLAGS'
21672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21677 /* end confdefs.h. */
21678 #include <math.h>
21679 #ifdef HAVE_IEEEFP_H
21680 #include <ieeefp.h>
21681 #endif
21684 main ()
21686 fabsf(0);
21688 return 0;
21690 _ACEOF
21691 if ac_fn_cxx_try_compile "$LINENO"; then :
21692 glibcxx_cv_func_fabsf_use=yes
21693 else
21694 glibcxx_cv_func_fabsf_use=no
21696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21697 ac_ext=c
21698 ac_cpp='$CPP $CPPFLAGS'
21699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21708 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21710 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21711 for ac_func in fabsf
21712 do :
21713 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21714 if test "x$ac_cv_func_fabsf" = x""yes; then :
21715 cat >>confdefs.h <<_ACEOF
21716 #define HAVE_FABSF 1
21717 _ACEOF
21720 done
21722 else
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21725 $as_echo_n "checking for _fabsf declaration... " >&6; }
21726 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21727 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21728 $as_echo_n "(cached) " >&6
21729 else
21732 ac_ext=cpp
21733 ac_cpp='$CXXCPP $CPPFLAGS'
21734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21739 /* end confdefs.h. */
21740 #include <math.h>
21741 #ifdef HAVE_IEEEFP_H
21742 #include <ieeefp.h>
21743 #endif
21746 main ()
21748 _fabsf(0);
21750 return 0;
21752 _ACEOF
21753 if ac_fn_cxx_try_compile "$LINENO"; then :
21754 glibcxx_cv_func__fabsf_use=yes
21755 else
21756 glibcxx_cv_func__fabsf_use=no
21758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21759 ac_ext=c
21760 ac_cpp='$CPP $CPPFLAGS'
21761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21770 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21772 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21773 for ac_func in _fabsf
21774 do :
21775 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21776 if test "x$ac_cv_func__fabsf" = x""yes; then :
21777 cat >>confdefs.h <<_ACEOF
21778 #define HAVE__FABSF 1
21779 _ACEOF
21782 done
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21792 $as_echo_n "checking for fmodf declaration... " >&6; }
21793 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21794 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21795 $as_echo_n "(cached) " >&6
21796 else
21799 ac_ext=cpp
21800 ac_cpp='$CXXCPP $CPPFLAGS'
21801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21806 /* end confdefs.h. */
21807 #include <math.h>
21809 main ()
21811 fmodf(0, 0);
21813 return 0;
21815 _ACEOF
21816 if ac_fn_cxx_try_compile "$LINENO"; then :
21817 glibcxx_cv_func_fmodf_use=yes
21818 else
21819 glibcxx_cv_func_fmodf_use=no
21821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21822 ac_ext=c
21823 ac_cpp='$CPP $CPPFLAGS'
21824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21833 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21835 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21836 for ac_func in fmodf
21837 do :
21838 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21839 if test "x$ac_cv_func_fmodf" = x""yes; then :
21840 cat >>confdefs.h <<_ACEOF
21841 #define HAVE_FMODF 1
21842 _ACEOF
21845 done
21847 else
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21850 $as_echo_n "checking for _fmodf declaration... " >&6; }
21851 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21852 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21853 $as_echo_n "(cached) " >&6
21854 else
21857 ac_ext=cpp
21858 ac_cpp='$CXXCPP $CPPFLAGS'
21859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21864 /* end confdefs.h. */
21865 #include <math.h>
21867 main ()
21869 _fmodf(0, 0);
21871 return 0;
21873 _ACEOF
21874 if ac_fn_cxx_try_compile "$LINENO"; then :
21875 glibcxx_cv_func__fmodf_use=yes
21876 else
21877 glibcxx_cv_func__fmodf_use=no
21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880 ac_ext=c
21881 ac_cpp='$CPP $CPPFLAGS'
21882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21891 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21893 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21894 for ac_func in _fmodf
21895 do :
21896 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21897 if test "x$ac_cv_func__fmodf" = x""yes; then :
21898 cat >>confdefs.h <<_ACEOF
21899 #define HAVE__FMODF 1
21900 _ACEOF
21903 done
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21913 $as_echo_n "checking for frexpf declaration... " >&6; }
21914 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21915 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21916 $as_echo_n "(cached) " >&6
21917 else
21920 ac_ext=cpp
21921 ac_cpp='$CXXCPP $CPPFLAGS'
21922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21927 /* end confdefs.h. */
21928 #include <math.h>
21930 main ()
21932 frexpf(0, 0);
21934 return 0;
21936 _ACEOF
21937 if ac_fn_cxx_try_compile "$LINENO"; then :
21938 glibcxx_cv_func_frexpf_use=yes
21939 else
21940 glibcxx_cv_func_frexpf_use=no
21942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21943 ac_ext=c
21944 ac_cpp='$CPP $CPPFLAGS'
21945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21954 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21956 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21957 for ac_func in frexpf
21958 do :
21959 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21960 if test "x$ac_cv_func_frexpf" = x""yes; then :
21961 cat >>confdefs.h <<_ACEOF
21962 #define HAVE_FREXPF 1
21963 _ACEOF
21966 done
21968 else
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21971 $as_echo_n "checking for _frexpf declaration... " >&6; }
21972 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21973 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21974 $as_echo_n "(cached) " >&6
21975 else
21978 ac_ext=cpp
21979 ac_cpp='$CXXCPP $CPPFLAGS'
21980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21985 /* end confdefs.h. */
21986 #include <math.h>
21988 main ()
21990 _frexpf(0, 0);
21992 return 0;
21994 _ACEOF
21995 if ac_fn_cxx_try_compile "$LINENO"; then :
21996 glibcxx_cv_func__frexpf_use=yes
21997 else
21998 glibcxx_cv_func__frexpf_use=no
22000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22001 ac_ext=c
22002 ac_cpp='$CPP $CPPFLAGS'
22003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22012 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22014 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22015 for ac_func in _frexpf
22016 do :
22017 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22018 if test "x$ac_cv_func__frexpf" = x""yes; then :
22019 cat >>confdefs.h <<_ACEOF
22020 #define HAVE__FREXPF 1
22021 _ACEOF
22024 done
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22034 $as_echo_n "checking for hypotf declaration... " >&6; }
22035 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22036 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22037 $as_echo_n "(cached) " >&6
22038 else
22041 ac_ext=cpp
22042 ac_cpp='$CXXCPP $CPPFLAGS'
22043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22048 /* end confdefs.h. */
22049 #include <math.h>
22051 main ()
22053 hypotf(0, 0);
22055 return 0;
22057 _ACEOF
22058 if ac_fn_cxx_try_compile "$LINENO"; then :
22059 glibcxx_cv_func_hypotf_use=yes
22060 else
22061 glibcxx_cv_func_hypotf_use=no
22063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22064 ac_ext=c
22065 ac_cpp='$CPP $CPPFLAGS'
22066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22075 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22077 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22078 for ac_func in hypotf
22079 do :
22080 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22081 if test "x$ac_cv_func_hypotf" = x""yes; then :
22082 cat >>confdefs.h <<_ACEOF
22083 #define HAVE_HYPOTF 1
22084 _ACEOF
22087 done
22089 else
22091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22092 $as_echo_n "checking for _hypotf declaration... " >&6; }
22093 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22094 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22095 $as_echo_n "(cached) " >&6
22096 else
22099 ac_ext=cpp
22100 ac_cpp='$CXXCPP $CPPFLAGS'
22101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106 /* end confdefs.h. */
22107 #include <math.h>
22109 main ()
22111 _hypotf(0, 0);
22113 return 0;
22115 _ACEOF
22116 if ac_fn_cxx_try_compile "$LINENO"; then :
22117 glibcxx_cv_func__hypotf_use=yes
22118 else
22119 glibcxx_cv_func__hypotf_use=no
22121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22122 ac_ext=c
22123 ac_cpp='$CPP $CPPFLAGS'
22124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22133 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22135 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22136 for ac_func in _hypotf
22137 do :
22138 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22139 if test "x$ac_cv_func__hypotf" = x""yes; then :
22140 cat >>confdefs.h <<_ACEOF
22141 #define HAVE__HYPOTF 1
22142 _ACEOF
22145 done
22154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22155 $as_echo_n "checking for ldexpf declaration... " >&6; }
22156 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22157 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22158 $as_echo_n "(cached) " >&6
22159 else
22162 ac_ext=cpp
22163 ac_cpp='$CXXCPP $CPPFLAGS'
22164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22169 /* end confdefs.h. */
22170 #include <math.h>
22172 main ()
22174 ldexpf(0, 0);
22176 return 0;
22178 _ACEOF
22179 if ac_fn_cxx_try_compile "$LINENO"; then :
22180 glibcxx_cv_func_ldexpf_use=yes
22181 else
22182 glibcxx_cv_func_ldexpf_use=no
22184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22185 ac_ext=c
22186 ac_cpp='$CPP $CPPFLAGS'
22187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22196 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22198 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22199 for ac_func in ldexpf
22200 do :
22201 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22202 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22203 cat >>confdefs.h <<_ACEOF
22204 #define HAVE_LDEXPF 1
22205 _ACEOF
22208 done
22210 else
22212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22213 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22214 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22215 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22216 $as_echo_n "(cached) " >&6
22217 else
22220 ac_ext=cpp
22221 ac_cpp='$CXXCPP $CPPFLAGS'
22222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22227 /* end confdefs.h. */
22228 #include <math.h>
22230 main ()
22232 _ldexpf(0, 0);
22234 return 0;
22236 _ACEOF
22237 if ac_fn_cxx_try_compile "$LINENO"; then :
22238 glibcxx_cv_func__ldexpf_use=yes
22239 else
22240 glibcxx_cv_func__ldexpf_use=no
22242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22243 ac_ext=c
22244 ac_cpp='$CPP $CPPFLAGS'
22245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22254 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22256 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22257 for ac_func in _ldexpf
22258 do :
22259 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22260 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22261 cat >>confdefs.h <<_ACEOF
22262 #define HAVE__LDEXPF 1
22263 _ACEOF
22266 done
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22276 $as_echo_n "checking for logf declaration... " >&6; }
22277 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22278 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22279 $as_echo_n "(cached) " >&6
22280 else
22283 ac_ext=cpp
22284 ac_cpp='$CXXCPP $CPPFLAGS'
22285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22290 /* end confdefs.h. */
22291 #include <math.h>
22292 #ifdef HAVE_IEEEFP_H
22293 #include <ieeefp.h>
22294 #endif
22297 main ()
22299 logf(0);
22301 return 0;
22303 _ACEOF
22304 if ac_fn_cxx_try_compile "$LINENO"; then :
22305 glibcxx_cv_func_logf_use=yes
22306 else
22307 glibcxx_cv_func_logf_use=no
22309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22310 ac_ext=c
22311 ac_cpp='$CPP $CPPFLAGS'
22312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22321 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22323 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22324 for ac_func in logf
22325 do :
22326 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22327 if test "x$ac_cv_func_logf" = x""yes; then :
22328 cat >>confdefs.h <<_ACEOF
22329 #define HAVE_LOGF 1
22330 _ACEOF
22333 done
22335 else
22337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22338 $as_echo_n "checking for _logf declaration... " >&6; }
22339 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22340 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22341 $as_echo_n "(cached) " >&6
22342 else
22345 ac_ext=cpp
22346 ac_cpp='$CXXCPP $CPPFLAGS'
22347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22352 /* end confdefs.h. */
22353 #include <math.h>
22354 #ifdef HAVE_IEEEFP_H
22355 #include <ieeefp.h>
22356 #endif
22359 main ()
22361 _logf(0);
22363 return 0;
22365 _ACEOF
22366 if ac_fn_cxx_try_compile "$LINENO"; then :
22367 glibcxx_cv_func__logf_use=yes
22368 else
22369 glibcxx_cv_func__logf_use=no
22371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22372 ac_ext=c
22373 ac_cpp='$CPP $CPPFLAGS'
22374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22383 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22385 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22386 for ac_func in _logf
22387 do :
22388 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22389 if test "x$ac_cv_func__logf" = x""yes; then :
22390 cat >>confdefs.h <<_ACEOF
22391 #define HAVE__LOGF 1
22392 _ACEOF
22395 done
22404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22405 $as_echo_n "checking for log10f declaration... " >&6; }
22406 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22407 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22408 $as_echo_n "(cached) " >&6
22409 else
22412 ac_ext=cpp
22413 ac_cpp='$CXXCPP $CPPFLAGS'
22414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22419 /* end confdefs.h. */
22420 #include <math.h>
22421 #ifdef HAVE_IEEEFP_H
22422 #include <ieeefp.h>
22423 #endif
22426 main ()
22428 log10f(0);
22430 return 0;
22432 _ACEOF
22433 if ac_fn_cxx_try_compile "$LINENO"; then :
22434 glibcxx_cv_func_log10f_use=yes
22435 else
22436 glibcxx_cv_func_log10f_use=no
22438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439 ac_ext=c
22440 ac_cpp='$CPP $CPPFLAGS'
22441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22450 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22452 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22453 for ac_func in log10f
22454 do :
22455 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22456 if test "x$ac_cv_func_log10f" = x""yes; then :
22457 cat >>confdefs.h <<_ACEOF
22458 #define HAVE_LOG10F 1
22459 _ACEOF
22462 done
22464 else
22466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22467 $as_echo_n "checking for _log10f declaration... " >&6; }
22468 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22469 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22470 $as_echo_n "(cached) " >&6
22471 else
22474 ac_ext=cpp
22475 ac_cpp='$CXXCPP $CPPFLAGS'
22476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22481 /* end confdefs.h. */
22482 #include <math.h>
22483 #ifdef HAVE_IEEEFP_H
22484 #include <ieeefp.h>
22485 #endif
22488 main ()
22490 _log10f(0);
22492 return 0;
22494 _ACEOF
22495 if ac_fn_cxx_try_compile "$LINENO"; then :
22496 glibcxx_cv_func__log10f_use=yes
22497 else
22498 glibcxx_cv_func__log10f_use=no
22500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22501 ac_ext=c
22502 ac_cpp='$CPP $CPPFLAGS'
22503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22512 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22514 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22515 for ac_func in _log10f
22516 do :
22517 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22518 if test "x$ac_cv_func__log10f" = x""yes; then :
22519 cat >>confdefs.h <<_ACEOF
22520 #define HAVE__LOG10F 1
22521 _ACEOF
22524 done
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22534 $as_echo_n "checking for modff declaration... " >&6; }
22535 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22536 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22537 $as_echo_n "(cached) " >&6
22538 else
22541 ac_ext=cpp
22542 ac_cpp='$CXXCPP $CPPFLAGS'
22543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22548 /* end confdefs.h. */
22549 #include <math.h>
22551 main ()
22553 modff(0, 0);
22555 return 0;
22557 _ACEOF
22558 if ac_fn_cxx_try_compile "$LINENO"; then :
22559 glibcxx_cv_func_modff_use=yes
22560 else
22561 glibcxx_cv_func_modff_use=no
22563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22564 ac_ext=c
22565 ac_cpp='$CPP $CPPFLAGS'
22566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22575 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22577 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22578 for ac_func in modff
22579 do :
22580 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22581 if test "x$ac_cv_func_modff" = x""yes; then :
22582 cat >>confdefs.h <<_ACEOF
22583 #define HAVE_MODFF 1
22584 _ACEOF
22587 done
22589 else
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22592 $as_echo_n "checking for _modff declaration... " >&6; }
22593 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22594 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22595 $as_echo_n "(cached) " >&6
22596 else
22599 ac_ext=cpp
22600 ac_cpp='$CXXCPP $CPPFLAGS'
22601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22606 /* end confdefs.h. */
22607 #include <math.h>
22609 main ()
22611 _modff(0, 0);
22613 return 0;
22615 _ACEOF
22616 if ac_fn_cxx_try_compile "$LINENO"; then :
22617 glibcxx_cv_func__modff_use=yes
22618 else
22619 glibcxx_cv_func__modff_use=no
22621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22622 ac_ext=c
22623 ac_cpp='$CPP $CPPFLAGS'
22624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22633 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22635 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22636 for ac_func in _modff
22637 do :
22638 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22639 if test "x$ac_cv_func__modff" = x""yes; then :
22640 cat >>confdefs.h <<_ACEOF
22641 #define HAVE__MODFF 1
22642 _ACEOF
22645 done
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22655 $as_echo_n "checking for modf declaration... " >&6; }
22656 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22657 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22658 $as_echo_n "(cached) " >&6
22659 else
22662 ac_ext=cpp
22663 ac_cpp='$CXXCPP $CPPFLAGS'
22664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22669 /* end confdefs.h. */
22670 #include <math.h>
22672 main ()
22674 modf(0, 0);
22676 return 0;
22678 _ACEOF
22679 if ac_fn_cxx_try_compile "$LINENO"; then :
22680 glibcxx_cv_func_modf_use=yes
22681 else
22682 glibcxx_cv_func_modf_use=no
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22685 ac_ext=c
22686 ac_cpp='$CPP $CPPFLAGS'
22687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22696 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22698 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22699 for ac_func in modf
22700 do :
22701 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22702 if test "x$ac_cv_func_modf" = x""yes; then :
22703 cat >>confdefs.h <<_ACEOF
22704 #define HAVE_MODF 1
22705 _ACEOF
22708 done
22710 else
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22713 $as_echo_n "checking for _modf declaration... " >&6; }
22714 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22715 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22716 $as_echo_n "(cached) " >&6
22717 else
22720 ac_ext=cpp
22721 ac_cpp='$CXXCPP $CPPFLAGS'
22722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22727 /* end confdefs.h. */
22728 #include <math.h>
22730 main ()
22732 _modf(0, 0);
22734 return 0;
22736 _ACEOF
22737 if ac_fn_cxx_try_compile "$LINENO"; then :
22738 glibcxx_cv_func__modf_use=yes
22739 else
22740 glibcxx_cv_func__modf_use=no
22742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22743 ac_ext=c
22744 ac_cpp='$CPP $CPPFLAGS'
22745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22754 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22756 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22757 for ac_func in _modf
22758 do :
22759 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22760 if test "x$ac_cv_func__modf" = x""yes; then :
22761 cat >>confdefs.h <<_ACEOF
22762 #define HAVE__MODF 1
22763 _ACEOF
22766 done
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22776 $as_echo_n "checking for powf declaration... " >&6; }
22777 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22778 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22779 $as_echo_n "(cached) " >&6
22780 else
22783 ac_ext=cpp
22784 ac_cpp='$CXXCPP $CPPFLAGS'
22785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22790 /* end confdefs.h. */
22791 #include <math.h>
22793 main ()
22795 powf(0, 0);
22797 return 0;
22799 _ACEOF
22800 if ac_fn_cxx_try_compile "$LINENO"; then :
22801 glibcxx_cv_func_powf_use=yes
22802 else
22803 glibcxx_cv_func_powf_use=no
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806 ac_ext=c
22807 ac_cpp='$CPP $CPPFLAGS'
22808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22817 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22819 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22820 for ac_func in powf
22821 do :
22822 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22823 if test "x$ac_cv_func_powf" = x""yes; then :
22824 cat >>confdefs.h <<_ACEOF
22825 #define HAVE_POWF 1
22826 _ACEOF
22829 done
22831 else
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22834 $as_echo_n "checking for _powf declaration... " >&6; }
22835 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22836 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22837 $as_echo_n "(cached) " >&6
22838 else
22841 ac_ext=cpp
22842 ac_cpp='$CXXCPP $CPPFLAGS'
22843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22848 /* end confdefs.h. */
22849 #include <math.h>
22851 main ()
22853 _powf(0, 0);
22855 return 0;
22857 _ACEOF
22858 if ac_fn_cxx_try_compile "$LINENO"; then :
22859 glibcxx_cv_func__powf_use=yes
22860 else
22861 glibcxx_cv_func__powf_use=no
22863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22864 ac_ext=c
22865 ac_cpp='$CPP $CPPFLAGS'
22866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22875 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22877 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22878 for ac_func in _powf
22879 do :
22880 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22881 if test "x$ac_cv_func__powf" = x""yes; then :
22882 cat >>confdefs.h <<_ACEOF
22883 #define HAVE__POWF 1
22884 _ACEOF
22887 done
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22897 $as_echo_n "checking for sqrtf declaration... " >&6; }
22898 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22899 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22900 $as_echo_n "(cached) " >&6
22901 else
22904 ac_ext=cpp
22905 ac_cpp='$CXXCPP $CPPFLAGS'
22906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22911 /* end confdefs.h. */
22912 #include <math.h>
22913 #ifdef HAVE_IEEEFP_H
22914 #include <ieeefp.h>
22915 #endif
22918 main ()
22920 sqrtf(0);
22922 return 0;
22924 _ACEOF
22925 if ac_fn_cxx_try_compile "$LINENO"; then :
22926 glibcxx_cv_func_sqrtf_use=yes
22927 else
22928 glibcxx_cv_func_sqrtf_use=no
22930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22931 ac_ext=c
22932 ac_cpp='$CPP $CPPFLAGS'
22933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22942 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22944 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22945 for ac_func in sqrtf
22946 do :
22947 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22948 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22949 cat >>confdefs.h <<_ACEOF
22950 #define HAVE_SQRTF 1
22951 _ACEOF
22954 done
22956 else
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22959 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22960 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22961 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22962 $as_echo_n "(cached) " >&6
22963 else
22966 ac_ext=cpp
22967 ac_cpp='$CXXCPP $CPPFLAGS'
22968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22974 #include <math.h>
22975 #ifdef HAVE_IEEEFP_H
22976 #include <ieeefp.h>
22977 #endif
22980 main ()
22982 _sqrtf(0);
22984 return 0;
22986 _ACEOF
22987 if ac_fn_cxx_try_compile "$LINENO"; then :
22988 glibcxx_cv_func__sqrtf_use=yes
22989 else
22990 glibcxx_cv_func__sqrtf_use=no
22992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22993 ac_ext=c
22994 ac_cpp='$CPP $CPPFLAGS'
22995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23004 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23006 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23007 for ac_func in _sqrtf
23008 do :
23009 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23010 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23011 cat >>confdefs.h <<_ACEOF
23012 #define HAVE__SQRTF 1
23013 _ACEOF
23016 done
23025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23026 $as_echo_n "checking for sincosf declaration... " >&6; }
23027 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23028 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23029 $as_echo_n "(cached) " >&6
23030 else
23033 ac_ext=cpp
23034 ac_cpp='$CXXCPP $CPPFLAGS'
23035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23040 /* end confdefs.h. */
23041 #include <math.h>
23043 main ()
23045 sincosf(0, 0, 0);
23047 return 0;
23049 _ACEOF
23050 if ac_fn_cxx_try_compile "$LINENO"; then :
23051 glibcxx_cv_func_sincosf_use=yes
23052 else
23053 glibcxx_cv_func_sincosf_use=no
23055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23056 ac_ext=c
23057 ac_cpp='$CPP $CPPFLAGS'
23058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23067 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23069 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23070 for ac_func in sincosf
23071 do :
23072 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23073 if test "x$ac_cv_func_sincosf" = x""yes; then :
23074 cat >>confdefs.h <<_ACEOF
23075 #define HAVE_SINCOSF 1
23076 _ACEOF
23079 done
23081 else
23083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23084 $as_echo_n "checking for _sincosf declaration... " >&6; }
23085 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23086 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23087 $as_echo_n "(cached) " >&6
23088 else
23091 ac_ext=cpp
23092 ac_cpp='$CXXCPP $CPPFLAGS'
23093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23098 /* end confdefs.h. */
23099 #include <math.h>
23101 main ()
23103 _sincosf(0, 0, 0);
23105 return 0;
23107 _ACEOF
23108 if ac_fn_cxx_try_compile "$LINENO"; then :
23109 glibcxx_cv_func__sincosf_use=yes
23110 else
23111 glibcxx_cv_func__sincosf_use=no
23113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23114 ac_ext=c
23115 ac_cpp='$CPP $CPPFLAGS'
23116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23125 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23127 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23128 for ac_func in _sincosf
23129 do :
23130 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23131 if test "x$ac_cv_func__sincosf" = x""yes; then :
23132 cat >>confdefs.h <<_ACEOF
23133 #define HAVE__SINCOSF 1
23134 _ACEOF
23137 done
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23147 $as_echo_n "checking for finitef declaration... " >&6; }
23148 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23149 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23150 $as_echo_n "(cached) " >&6
23151 else
23154 ac_ext=cpp
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161 /* end confdefs.h. */
23162 #include <math.h>
23163 #ifdef HAVE_IEEEFP_H
23164 #include <ieeefp.h>
23165 #endif
23168 main ()
23170 finitef(0);
23172 return 0;
23174 _ACEOF
23175 if ac_fn_cxx_try_compile "$LINENO"; then :
23176 glibcxx_cv_func_finitef_use=yes
23177 else
23178 glibcxx_cv_func_finitef_use=no
23180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23181 ac_ext=c
23182 ac_cpp='$CPP $CPPFLAGS'
23183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23192 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23194 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23195 for ac_func in finitef
23196 do :
23197 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23198 if test "x$ac_cv_func_finitef" = x""yes; then :
23199 cat >>confdefs.h <<_ACEOF
23200 #define HAVE_FINITEF 1
23201 _ACEOF
23204 done
23206 else
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23209 $as_echo_n "checking for _finitef declaration... " >&6; }
23210 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23211 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23212 $as_echo_n "(cached) " >&6
23213 else
23216 ac_ext=cpp
23217 ac_cpp='$CXXCPP $CPPFLAGS'
23218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23223 /* end confdefs.h. */
23224 #include <math.h>
23225 #ifdef HAVE_IEEEFP_H
23226 #include <ieeefp.h>
23227 #endif
23230 main ()
23232 _finitef(0);
23234 return 0;
23236 _ACEOF
23237 if ac_fn_cxx_try_compile "$LINENO"; then :
23238 glibcxx_cv_func__finitef_use=yes
23239 else
23240 glibcxx_cv_func__finitef_use=no
23242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23243 ac_ext=c
23244 ac_cpp='$CPP $CPPFLAGS'
23245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23254 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23256 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23257 for ac_func in _finitef
23258 do :
23259 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23260 if test "x$ac_cv_func__finitef" = x""yes; then :
23261 cat >>confdefs.h <<_ACEOF
23262 #define HAVE__FINITEF 1
23263 _ACEOF
23266 done
23275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23276 $as_echo_n "checking for long double trig functions... " >&6; }
23277 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23278 $as_echo_n "(cached) " >&6
23279 else
23282 ac_ext=cpp
23283 ac_cpp='$CXXCPP $CPPFLAGS'
23284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23289 /* end confdefs.h. */
23290 #include <math.h>
23292 main ()
23294 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23296 return 0;
23298 _ACEOF
23299 if ac_fn_cxx_try_compile "$LINENO"; then :
23300 glibcxx_cv_func_long_double_trig_use=yes
23301 else
23302 glibcxx_cv_func_long_double_trig_use=no
23304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23305 ac_ext=c
23306 ac_cpp='$CPP $CPPFLAGS'
23307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23314 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23315 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23316 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23317 do :
23318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23320 eval as_val=\$$as_ac_var
23321 if test "x$as_val" = x""yes; then :
23322 cat >>confdefs.h <<_ACEOF
23323 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23324 _ACEOF
23327 done
23329 else
23330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23331 $as_echo_n "checking for _long double trig functions... " >&6; }
23332 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23333 $as_echo_n "(cached) " >&6
23334 else
23337 ac_ext=cpp
23338 ac_cpp='$CXXCPP $CPPFLAGS'
23339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23344 /* end confdefs.h. */
23345 #include <math.h>
23347 main ()
23349 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23351 return 0;
23353 _ACEOF
23354 if ac_fn_cxx_try_compile "$LINENO"; then :
23355 glibcxx_cv_func__long_double_trig_use=yes
23356 else
23357 glibcxx_cv_func__long_double_trig_use=no
23359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360 ac_ext=c
23361 ac_cpp='$CPP $CPPFLAGS'
23362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23369 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23370 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23371 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23372 do :
23373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23375 eval as_val=\$$as_ac_var
23376 if test "x$as_val" = x""yes; then :
23377 cat >>confdefs.h <<_ACEOF
23378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23379 _ACEOF
23382 done
23391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23392 $as_echo_n "checking for long double round functions... " >&6; }
23393 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23394 $as_echo_n "(cached) " >&6
23395 else
23398 ac_ext=cpp
23399 ac_cpp='$CXXCPP $CPPFLAGS'
23400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23405 /* end confdefs.h. */
23406 #include <math.h>
23408 main ()
23410 ceill (0); floorl (0);
23412 return 0;
23414 _ACEOF
23415 if ac_fn_cxx_try_compile "$LINENO"; then :
23416 glibcxx_cv_func_long_double_round_use=yes
23417 else
23418 glibcxx_cv_func_long_double_round_use=no
23420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23421 ac_ext=c
23422 ac_cpp='$CPP $CPPFLAGS'
23423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23430 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23431 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23432 for ac_func in ceill floorl
23433 do :
23434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23436 eval as_val=\$$as_ac_var
23437 if test "x$as_val" = x""yes; then :
23438 cat >>confdefs.h <<_ACEOF
23439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23440 _ACEOF
23443 done
23445 else
23446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23447 $as_echo_n "checking for _long double round functions... " >&6; }
23448 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23449 $as_echo_n "(cached) " >&6
23450 else
23453 ac_ext=cpp
23454 ac_cpp='$CXXCPP $CPPFLAGS'
23455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h. */
23461 #include <math.h>
23463 main ()
23465 _ceill (0); _floorl (0);
23467 return 0;
23469 _ACEOF
23470 if ac_fn_cxx_try_compile "$LINENO"; then :
23471 glibcxx_cv_func__long_double_round_use=yes
23472 else
23473 glibcxx_cv_func__long_double_round_use=no
23475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23476 ac_ext=c
23477 ac_cpp='$CPP $CPPFLAGS'
23478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23485 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23486 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23487 for ac_func in _ceill _floorl
23488 do :
23489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23491 eval as_val=\$$as_ac_var
23492 if test "x$as_val" = x""yes; then :
23493 cat >>confdefs.h <<_ACEOF
23494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23495 _ACEOF
23498 done
23508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23509 $as_echo_n "checking for isnanl declaration... " >&6; }
23510 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23511 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23512 $as_echo_n "(cached) " >&6
23513 else
23516 ac_ext=cpp
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23523 /* end confdefs.h. */
23524 #include <math.h>
23525 #ifdef HAVE_IEEEFP_H
23526 #include <ieeefp.h>
23527 #endif
23530 main ()
23532 isnanl(0);
23534 return 0;
23536 _ACEOF
23537 if ac_fn_cxx_try_compile "$LINENO"; then :
23538 glibcxx_cv_func_isnanl_use=yes
23539 else
23540 glibcxx_cv_func_isnanl_use=no
23542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23543 ac_ext=c
23544 ac_cpp='$CPP $CPPFLAGS'
23545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23554 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23556 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23557 for ac_func in isnanl
23558 do :
23559 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23560 if test "x$ac_cv_func_isnanl" = x""yes; then :
23561 cat >>confdefs.h <<_ACEOF
23562 #define HAVE_ISNANL 1
23563 _ACEOF
23566 done
23568 else
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23571 $as_echo_n "checking for _isnanl declaration... " >&6; }
23572 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23573 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23574 $as_echo_n "(cached) " >&6
23575 else
23578 ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h. */
23586 #include <math.h>
23587 #ifdef HAVE_IEEEFP_H
23588 #include <ieeefp.h>
23589 #endif
23592 main ()
23594 _isnanl(0);
23596 return 0;
23598 _ACEOF
23599 if ac_fn_cxx_try_compile "$LINENO"; then :
23600 glibcxx_cv_func__isnanl_use=yes
23601 else
23602 glibcxx_cv_func__isnanl_use=no
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605 ac_ext=c
23606 ac_cpp='$CPP $CPPFLAGS'
23607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23616 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23618 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23619 for ac_func in _isnanl
23620 do :
23621 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23622 if test "x$ac_cv_func__isnanl" = x""yes; then :
23623 cat >>confdefs.h <<_ACEOF
23624 #define HAVE__ISNANL 1
23625 _ACEOF
23628 done
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23638 $as_echo_n "checking for isinfl declaration... " >&6; }
23639 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23640 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23641 $as_echo_n "(cached) " >&6
23642 else
23645 ac_ext=cpp
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h. */
23653 #include <math.h>
23654 #ifdef HAVE_IEEEFP_H
23655 #include <ieeefp.h>
23656 #endif
23659 main ()
23661 isinfl(0);
23663 return 0;
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667 glibcxx_cv_func_isinfl_use=yes
23668 else
23669 glibcxx_cv_func_isinfl_use=no
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23683 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23685 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23686 for ac_func in isinfl
23687 do :
23688 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23689 if test "x$ac_cv_func_isinfl" = x""yes; then :
23690 cat >>confdefs.h <<_ACEOF
23691 #define HAVE_ISINFL 1
23692 _ACEOF
23695 done
23697 else
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23700 $as_echo_n "checking for _isinfl declaration... " >&6; }
23701 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23702 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23703 $as_echo_n "(cached) " >&6
23704 else
23707 ac_ext=cpp
23708 ac_cpp='$CXXCPP $CPPFLAGS'
23709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h. */
23715 #include <math.h>
23716 #ifdef HAVE_IEEEFP_H
23717 #include <ieeefp.h>
23718 #endif
23721 main ()
23723 _isinfl(0);
23725 return 0;
23727 _ACEOF
23728 if ac_fn_cxx_try_compile "$LINENO"; then :
23729 glibcxx_cv_func__isinfl_use=yes
23730 else
23731 glibcxx_cv_func__isinfl_use=no
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23734 ac_ext=c
23735 ac_cpp='$CPP $CPPFLAGS'
23736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23745 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23747 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23748 for ac_func in _isinfl
23749 do :
23750 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23751 if test "x$ac_cv_func__isinfl" = x""yes; then :
23752 cat >>confdefs.h <<_ACEOF
23753 #define HAVE__ISINFL 1
23754 _ACEOF
23757 done
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23767 $as_echo_n "checking for atan2l declaration... " >&6; }
23768 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23769 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23770 $as_echo_n "(cached) " >&6
23771 else
23774 ac_ext=cpp
23775 ac_cpp='$CXXCPP $CPPFLAGS'
23776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23781 /* end confdefs.h. */
23782 #include <math.h>
23784 main ()
23786 atan2l(0, 0);
23788 return 0;
23790 _ACEOF
23791 if ac_fn_cxx_try_compile "$LINENO"; then :
23792 glibcxx_cv_func_atan2l_use=yes
23793 else
23794 glibcxx_cv_func_atan2l_use=no
23796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797 ac_ext=c
23798 ac_cpp='$CPP $CPPFLAGS'
23799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23808 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23810 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23811 for ac_func in atan2l
23812 do :
23813 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23814 if test "x$ac_cv_func_atan2l" = x""yes; then :
23815 cat >>confdefs.h <<_ACEOF
23816 #define HAVE_ATAN2L 1
23817 _ACEOF
23820 done
23822 else
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23825 $as_echo_n "checking for _atan2l declaration... " >&6; }
23826 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23827 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23828 $as_echo_n "(cached) " >&6
23829 else
23832 ac_ext=cpp
23833 ac_cpp='$CXXCPP $CPPFLAGS'
23834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23839 /* end confdefs.h. */
23840 #include <math.h>
23842 main ()
23844 _atan2l(0, 0);
23846 return 0;
23848 _ACEOF
23849 if ac_fn_cxx_try_compile "$LINENO"; then :
23850 glibcxx_cv_func__atan2l_use=yes
23851 else
23852 glibcxx_cv_func__atan2l_use=no
23854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23855 ac_ext=c
23856 ac_cpp='$CPP $CPPFLAGS'
23857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23866 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23868 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23869 for ac_func in _atan2l
23870 do :
23871 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23872 if test "x$ac_cv_func__atan2l" = x""yes; then :
23873 cat >>confdefs.h <<_ACEOF
23874 #define HAVE__ATAN2L 1
23875 _ACEOF
23878 done
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23888 $as_echo_n "checking for expl declaration... " >&6; }
23889 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23890 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23891 $as_echo_n "(cached) " >&6
23892 else
23895 ac_ext=cpp
23896 ac_cpp='$CXXCPP $CPPFLAGS'
23897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23902 /* end confdefs.h. */
23903 #include <math.h>
23904 #ifdef HAVE_IEEEFP_H
23905 #include <ieeefp.h>
23906 #endif
23909 main ()
23911 expl(0);
23913 return 0;
23915 _ACEOF
23916 if ac_fn_cxx_try_compile "$LINENO"; then :
23917 glibcxx_cv_func_expl_use=yes
23918 else
23919 glibcxx_cv_func_expl_use=no
23921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23922 ac_ext=c
23923 ac_cpp='$CPP $CPPFLAGS'
23924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23933 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23935 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23936 for ac_func in expl
23937 do :
23938 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23939 if test "x$ac_cv_func_expl" = x""yes; then :
23940 cat >>confdefs.h <<_ACEOF
23941 #define HAVE_EXPL 1
23942 _ACEOF
23945 done
23947 else
23949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23950 $as_echo_n "checking for _expl declaration... " >&6; }
23951 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23952 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23953 $as_echo_n "(cached) " >&6
23954 else
23957 ac_ext=cpp
23958 ac_cpp='$CXXCPP $CPPFLAGS'
23959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23964 /* end confdefs.h. */
23965 #include <math.h>
23966 #ifdef HAVE_IEEEFP_H
23967 #include <ieeefp.h>
23968 #endif
23971 main ()
23973 _expl(0);
23975 return 0;
23977 _ACEOF
23978 if ac_fn_cxx_try_compile "$LINENO"; then :
23979 glibcxx_cv_func__expl_use=yes
23980 else
23981 glibcxx_cv_func__expl_use=no
23983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23984 ac_ext=c
23985 ac_cpp='$CPP $CPPFLAGS'
23986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23995 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23997 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23998 for ac_func in _expl
23999 do :
24000 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24001 if test "x$ac_cv_func__expl" = x""yes; then :
24002 cat >>confdefs.h <<_ACEOF
24003 #define HAVE__EXPL 1
24004 _ACEOF
24007 done
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24017 $as_echo_n "checking for fabsl declaration... " >&6; }
24018 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24019 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24020 $as_echo_n "(cached) " >&6
24021 else
24024 ac_ext=cpp
24025 ac_cpp='$CXXCPP $CPPFLAGS'
24026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24031 /* end confdefs.h. */
24032 #include <math.h>
24033 #ifdef HAVE_IEEEFP_H
24034 #include <ieeefp.h>
24035 #endif
24038 main ()
24040 fabsl(0);
24042 return 0;
24044 _ACEOF
24045 if ac_fn_cxx_try_compile "$LINENO"; then :
24046 glibcxx_cv_func_fabsl_use=yes
24047 else
24048 glibcxx_cv_func_fabsl_use=no
24050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24051 ac_ext=c
24052 ac_cpp='$CPP $CPPFLAGS'
24053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24062 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24064 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24065 for ac_func in fabsl
24066 do :
24067 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24068 if test "x$ac_cv_func_fabsl" = x""yes; then :
24069 cat >>confdefs.h <<_ACEOF
24070 #define HAVE_FABSL 1
24071 _ACEOF
24074 done
24076 else
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24079 $as_echo_n "checking for _fabsl declaration... " >&6; }
24080 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24081 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24082 $as_echo_n "(cached) " >&6
24083 else
24086 ac_ext=cpp
24087 ac_cpp='$CXXCPP $CPPFLAGS'
24088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24093 /* end confdefs.h. */
24094 #include <math.h>
24095 #ifdef HAVE_IEEEFP_H
24096 #include <ieeefp.h>
24097 #endif
24100 main ()
24102 _fabsl(0);
24104 return 0;
24106 _ACEOF
24107 if ac_fn_cxx_try_compile "$LINENO"; then :
24108 glibcxx_cv_func__fabsl_use=yes
24109 else
24110 glibcxx_cv_func__fabsl_use=no
24112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24113 ac_ext=c
24114 ac_cpp='$CPP $CPPFLAGS'
24115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24124 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24126 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24127 for ac_func in _fabsl
24128 do :
24129 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24130 if test "x$ac_cv_func__fabsl" = x""yes; then :
24131 cat >>confdefs.h <<_ACEOF
24132 #define HAVE__FABSL 1
24133 _ACEOF
24136 done
24145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24146 $as_echo_n "checking for fmodl declaration... " >&6; }
24147 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24148 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24149 $as_echo_n "(cached) " >&6
24150 else
24153 ac_ext=cpp
24154 ac_cpp='$CXXCPP $CPPFLAGS'
24155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24160 /* end confdefs.h. */
24161 #include <math.h>
24163 main ()
24165 fmodl(0, 0);
24167 return 0;
24169 _ACEOF
24170 if ac_fn_cxx_try_compile "$LINENO"; then :
24171 glibcxx_cv_func_fmodl_use=yes
24172 else
24173 glibcxx_cv_func_fmodl_use=no
24175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24176 ac_ext=c
24177 ac_cpp='$CPP $CPPFLAGS'
24178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24187 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24189 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24190 for ac_func in fmodl
24191 do :
24192 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24193 if test "x$ac_cv_func_fmodl" = x""yes; then :
24194 cat >>confdefs.h <<_ACEOF
24195 #define HAVE_FMODL 1
24196 _ACEOF
24199 done
24201 else
24203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24204 $as_echo_n "checking for _fmodl declaration... " >&6; }
24205 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24206 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24207 $as_echo_n "(cached) " >&6
24208 else
24211 ac_ext=cpp
24212 ac_cpp='$CXXCPP $CPPFLAGS'
24213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24218 /* end confdefs.h. */
24219 #include <math.h>
24221 main ()
24223 _fmodl(0, 0);
24225 return 0;
24227 _ACEOF
24228 if ac_fn_cxx_try_compile "$LINENO"; then :
24229 glibcxx_cv_func__fmodl_use=yes
24230 else
24231 glibcxx_cv_func__fmodl_use=no
24233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24234 ac_ext=c
24235 ac_cpp='$CPP $CPPFLAGS'
24236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24245 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24247 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24248 for ac_func in _fmodl
24249 do :
24250 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24251 if test "x$ac_cv_func__fmodl" = x""yes; then :
24252 cat >>confdefs.h <<_ACEOF
24253 #define HAVE__FMODL 1
24254 _ACEOF
24257 done
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24267 $as_echo_n "checking for frexpl declaration... " >&6; }
24268 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24269 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24270 $as_echo_n "(cached) " >&6
24271 else
24274 ac_ext=cpp
24275 ac_cpp='$CXXCPP $CPPFLAGS'
24276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24281 /* end confdefs.h. */
24282 #include <math.h>
24284 main ()
24286 frexpl(0, 0);
24288 return 0;
24290 _ACEOF
24291 if ac_fn_cxx_try_compile "$LINENO"; then :
24292 glibcxx_cv_func_frexpl_use=yes
24293 else
24294 glibcxx_cv_func_frexpl_use=no
24296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24297 ac_ext=c
24298 ac_cpp='$CPP $CPPFLAGS'
24299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24308 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24310 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24311 for ac_func in frexpl
24312 do :
24313 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24314 if test "x$ac_cv_func_frexpl" = x""yes; then :
24315 cat >>confdefs.h <<_ACEOF
24316 #define HAVE_FREXPL 1
24317 _ACEOF
24320 done
24322 else
24324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24325 $as_echo_n "checking for _frexpl declaration... " >&6; }
24326 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24327 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24328 $as_echo_n "(cached) " >&6
24329 else
24332 ac_ext=cpp
24333 ac_cpp='$CXXCPP $CPPFLAGS'
24334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24339 /* end confdefs.h. */
24340 #include <math.h>
24342 main ()
24344 _frexpl(0, 0);
24346 return 0;
24348 _ACEOF
24349 if ac_fn_cxx_try_compile "$LINENO"; then :
24350 glibcxx_cv_func__frexpl_use=yes
24351 else
24352 glibcxx_cv_func__frexpl_use=no
24354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24355 ac_ext=c
24356 ac_cpp='$CPP $CPPFLAGS'
24357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24366 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24368 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24369 for ac_func in _frexpl
24370 do :
24371 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24372 if test "x$ac_cv_func__frexpl" = x""yes; then :
24373 cat >>confdefs.h <<_ACEOF
24374 #define HAVE__FREXPL 1
24375 _ACEOF
24378 done
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24388 $as_echo_n "checking for hypotl declaration... " >&6; }
24389 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24390 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24391 $as_echo_n "(cached) " >&6
24392 else
24395 ac_ext=cpp
24396 ac_cpp='$CXXCPP $CPPFLAGS'
24397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24402 /* end confdefs.h. */
24403 #include <math.h>
24405 main ()
24407 hypotl(0, 0);
24409 return 0;
24411 _ACEOF
24412 if ac_fn_cxx_try_compile "$LINENO"; then :
24413 glibcxx_cv_func_hypotl_use=yes
24414 else
24415 glibcxx_cv_func_hypotl_use=no
24417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24418 ac_ext=c
24419 ac_cpp='$CPP $CPPFLAGS'
24420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24429 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24431 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24432 for ac_func in hypotl
24433 do :
24434 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24435 if test "x$ac_cv_func_hypotl" = x""yes; then :
24436 cat >>confdefs.h <<_ACEOF
24437 #define HAVE_HYPOTL 1
24438 _ACEOF
24441 done
24443 else
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24446 $as_echo_n "checking for _hypotl declaration... " >&6; }
24447 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24448 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24449 $as_echo_n "(cached) " >&6
24450 else
24453 ac_ext=cpp
24454 ac_cpp='$CXXCPP $CPPFLAGS'
24455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24460 /* end confdefs.h. */
24461 #include <math.h>
24463 main ()
24465 _hypotl(0, 0);
24467 return 0;
24469 _ACEOF
24470 if ac_fn_cxx_try_compile "$LINENO"; then :
24471 glibcxx_cv_func__hypotl_use=yes
24472 else
24473 glibcxx_cv_func__hypotl_use=no
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476 ac_ext=c
24477 ac_cpp='$CPP $CPPFLAGS'
24478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24487 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24489 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24490 for ac_func in _hypotl
24491 do :
24492 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24493 if test "x$ac_cv_func__hypotl" = x""yes; then :
24494 cat >>confdefs.h <<_ACEOF
24495 #define HAVE__HYPOTL 1
24496 _ACEOF
24499 done
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24509 $as_echo_n "checking for ldexpl declaration... " >&6; }
24510 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24511 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24512 $as_echo_n "(cached) " >&6
24513 else
24516 ac_ext=cpp
24517 ac_cpp='$CXXCPP $CPPFLAGS'
24518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24523 /* end confdefs.h. */
24524 #include <math.h>
24526 main ()
24528 ldexpl(0, 0);
24530 return 0;
24532 _ACEOF
24533 if ac_fn_cxx_try_compile "$LINENO"; then :
24534 glibcxx_cv_func_ldexpl_use=yes
24535 else
24536 glibcxx_cv_func_ldexpl_use=no
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 ac_ext=c
24540 ac_cpp='$CPP $CPPFLAGS'
24541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24550 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24552 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24553 for ac_func in ldexpl
24554 do :
24555 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24556 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24557 cat >>confdefs.h <<_ACEOF
24558 #define HAVE_LDEXPL 1
24559 _ACEOF
24562 done
24564 else
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24567 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24568 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24569 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24570 $as_echo_n "(cached) " >&6
24571 else
24574 ac_ext=cpp
24575 ac_cpp='$CXXCPP $CPPFLAGS'
24576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24581 /* end confdefs.h. */
24582 #include <math.h>
24584 main ()
24586 _ldexpl(0, 0);
24588 return 0;
24590 _ACEOF
24591 if ac_fn_cxx_try_compile "$LINENO"; then :
24592 glibcxx_cv_func__ldexpl_use=yes
24593 else
24594 glibcxx_cv_func__ldexpl_use=no
24596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24597 ac_ext=c
24598 ac_cpp='$CPP $CPPFLAGS'
24599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24608 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24610 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24611 for ac_func in _ldexpl
24612 do :
24613 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24614 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24615 cat >>confdefs.h <<_ACEOF
24616 #define HAVE__LDEXPL 1
24617 _ACEOF
24620 done
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24630 $as_echo_n "checking for logl declaration... " >&6; }
24631 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24632 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24633 $as_echo_n "(cached) " >&6
24634 else
24637 ac_ext=cpp
24638 ac_cpp='$CXXCPP $CPPFLAGS'
24639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24644 /* end confdefs.h. */
24645 #include <math.h>
24646 #ifdef HAVE_IEEEFP_H
24647 #include <ieeefp.h>
24648 #endif
24651 main ()
24653 logl(0);
24655 return 0;
24657 _ACEOF
24658 if ac_fn_cxx_try_compile "$LINENO"; then :
24659 glibcxx_cv_func_logl_use=yes
24660 else
24661 glibcxx_cv_func_logl_use=no
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664 ac_ext=c
24665 ac_cpp='$CPP $CPPFLAGS'
24666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24675 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24677 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24678 for ac_func in logl
24679 do :
24680 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24681 if test "x$ac_cv_func_logl" = x""yes; then :
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE_LOGL 1
24684 _ACEOF
24687 done
24689 else
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24692 $as_echo_n "checking for _logl declaration... " >&6; }
24693 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24694 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24695 $as_echo_n "(cached) " >&6
24696 else
24699 ac_ext=cpp
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h. */
24707 #include <math.h>
24708 #ifdef HAVE_IEEEFP_H
24709 #include <ieeefp.h>
24710 #endif
24713 main ()
24715 _logl(0);
24717 return 0;
24719 _ACEOF
24720 if ac_fn_cxx_try_compile "$LINENO"; then :
24721 glibcxx_cv_func__logl_use=yes
24722 else
24723 glibcxx_cv_func__logl_use=no
24725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24726 ac_ext=c
24727 ac_cpp='$CPP $CPPFLAGS'
24728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24737 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24739 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24740 for ac_func in _logl
24741 do :
24742 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24743 if test "x$ac_cv_func__logl" = x""yes; then :
24744 cat >>confdefs.h <<_ACEOF
24745 #define HAVE__LOGL 1
24746 _ACEOF
24749 done
24758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24759 $as_echo_n "checking for log10l declaration... " >&6; }
24760 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24761 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24762 $as_echo_n "(cached) " >&6
24763 else
24766 ac_ext=cpp
24767 ac_cpp='$CXXCPP $CPPFLAGS'
24768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24773 /* end confdefs.h. */
24774 #include <math.h>
24775 #ifdef HAVE_IEEEFP_H
24776 #include <ieeefp.h>
24777 #endif
24780 main ()
24782 log10l(0);
24784 return 0;
24786 _ACEOF
24787 if ac_fn_cxx_try_compile "$LINENO"; then :
24788 glibcxx_cv_func_log10l_use=yes
24789 else
24790 glibcxx_cv_func_log10l_use=no
24792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24793 ac_ext=c
24794 ac_cpp='$CPP $CPPFLAGS'
24795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24804 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24806 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24807 for ac_func in log10l
24808 do :
24809 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24810 if test "x$ac_cv_func_log10l" = x""yes; then :
24811 cat >>confdefs.h <<_ACEOF
24812 #define HAVE_LOG10L 1
24813 _ACEOF
24816 done
24818 else
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24821 $as_echo_n "checking for _log10l declaration... " >&6; }
24822 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24823 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24824 $as_echo_n "(cached) " >&6
24825 else
24828 ac_ext=cpp
24829 ac_cpp='$CXXCPP $CPPFLAGS'
24830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24835 /* end confdefs.h. */
24836 #include <math.h>
24837 #ifdef HAVE_IEEEFP_H
24838 #include <ieeefp.h>
24839 #endif
24842 main ()
24844 _log10l(0);
24846 return 0;
24848 _ACEOF
24849 if ac_fn_cxx_try_compile "$LINENO"; then :
24850 glibcxx_cv_func__log10l_use=yes
24851 else
24852 glibcxx_cv_func__log10l_use=no
24854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24855 ac_ext=c
24856 ac_cpp='$CPP $CPPFLAGS'
24857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24866 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24868 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24869 for ac_func in _log10l
24870 do :
24871 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24872 if test "x$ac_cv_func__log10l" = x""yes; then :
24873 cat >>confdefs.h <<_ACEOF
24874 #define HAVE__LOG10L 1
24875 _ACEOF
24878 done
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24888 $as_echo_n "checking for modfl declaration... " >&6; }
24889 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24890 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24891 $as_echo_n "(cached) " >&6
24892 else
24895 ac_ext=cpp
24896 ac_cpp='$CXXCPP $CPPFLAGS'
24897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24902 /* end confdefs.h. */
24903 #include <math.h>
24905 main ()
24907 modfl(0, 0);
24909 return 0;
24911 _ACEOF
24912 if ac_fn_cxx_try_compile "$LINENO"; then :
24913 glibcxx_cv_func_modfl_use=yes
24914 else
24915 glibcxx_cv_func_modfl_use=no
24917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24918 ac_ext=c
24919 ac_cpp='$CPP $CPPFLAGS'
24920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24929 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24931 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24932 for ac_func in modfl
24933 do :
24934 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24935 if test "x$ac_cv_func_modfl" = x""yes; then :
24936 cat >>confdefs.h <<_ACEOF
24937 #define HAVE_MODFL 1
24938 _ACEOF
24941 done
24943 else
24945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24946 $as_echo_n "checking for _modfl declaration... " >&6; }
24947 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24948 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24949 $as_echo_n "(cached) " >&6
24950 else
24953 ac_ext=cpp
24954 ac_cpp='$CXXCPP $CPPFLAGS'
24955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24960 /* end confdefs.h. */
24961 #include <math.h>
24963 main ()
24965 _modfl(0, 0);
24967 return 0;
24969 _ACEOF
24970 if ac_fn_cxx_try_compile "$LINENO"; then :
24971 glibcxx_cv_func__modfl_use=yes
24972 else
24973 glibcxx_cv_func__modfl_use=no
24975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24976 ac_ext=c
24977 ac_cpp='$CPP $CPPFLAGS'
24978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24987 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24989 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24990 for ac_func in _modfl
24991 do :
24992 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24993 if test "x$ac_cv_func__modfl" = x""yes; then :
24994 cat >>confdefs.h <<_ACEOF
24995 #define HAVE__MODFL 1
24996 _ACEOF
24999 done
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25009 $as_echo_n "checking for powl declaration... " >&6; }
25010 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25011 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25012 $as_echo_n "(cached) " >&6
25013 else
25016 ac_ext=cpp
25017 ac_cpp='$CXXCPP $CPPFLAGS'
25018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25023 /* end confdefs.h. */
25024 #include <math.h>
25026 main ()
25028 powl(0, 0);
25030 return 0;
25032 _ACEOF
25033 if ac_fn_cxx_try_compile "$LINENO"; then :
25034 glibcxx_cv_func_powl_use=yes
25035 else
25036 glibcxx_cv_func_powl_use=no
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039 ac_ext=c
25040 ac_cpp='$CPP $CPPFLAGS'
25041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25050 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25052 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25053 for ac_func in powl
25054 do :
25055 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25056 if test "x$ac_cv_func_powl" = x""yes; then :
25057 cat >>confdefs.h <<_ACEOF
25058 #define HAVE_POWL 1
25059 _ACEOF
25062 done
25064 else
25066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25067 $as_echo_n "checking for _powl declaration... " >&6; }
25068 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25069 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25070 $as_echo_n "(cached) " >&6
25071 else
25074 ac_ext=cpp
25075 ac_cpp='$CXXCPP $CPPFLAGS'
25076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25081 /* end confdefs.h. */
25082 #include <math.h>
25084 main ()
25086 _powl(0, 0);
25088 return 0;
25090 _ACEOF
25091 if ac_fn_cxx_try_compile "$LINENO"; then :
25092 glibcxx_cv_func__powl_use=yes
25093 else
25094 glibcxx_cv_func__powl_use=no
25096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25097 ac_ext=c
25098 ac_cpp='$CPP $CPPFLAGS'
25099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25108 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25110 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25111 for ac_func in _powl
25112 do :
25113 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25114 if test "x$ac_cv_func__powl" = x""yes; then :
25115 cat >>confdefs.h <<_ACEOF
25116 #define HAVE__POWL 1
25117 _ACEOF
25120 done
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25130 $as_echo_n "checking for sqrtl declaration... " >&6; }
25131 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25132 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25133 $as_echo_n "(cached) " >&6
25134 else
25137 ac_ext=cpp
25138 ac_cpp='$CXXCPP $CPPFLAGS'
25139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25144 /* end confdefs.h. */
25145 #include <math.h>
25146 #ifdef HAVE_IEEEFP_H
25147 #include <ieeefp.h>
25148 #endif
25151 main ()
25153 sqrtl(0);
25155 return 0;
25157 _ACEOF
25158 if ac_fn_cxx_try_compile "$LINENO"; then :
25159 glibcxx_cv_func_sqrtl_use=yes
25160 else
25161 glibcxx_cv_func_sqrtl_use=no
25163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164 ac_ext=c
25165 ac_cpp='$CPP $CPPFLAGS'
25166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25175 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25177 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25178 for ac_func in sqrtl
25179 do :
25180 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25181 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25182 cat >>confdefs.h <<_ACEOF
25183 #define HAVE_SQRTL 1
25184 _ACEOF
25187 done
25189 else
25191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25192 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25193 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25194 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25195 $as_echo_n "(cached) " >&6
25196 else
25199 ac_ext=cpp
25200 ac_cpp='$CXXCPP $CPPFLAGS'
25201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25206 /* end confdefs.h. */
25207 #include <math.h>
25208 #ifdef HAVE_IEEEFP_H
25209 #include <ieeefp.h>
25210 #endif
25213 main ()
25215 _sqrtl(0);
25217 return 0;
25219 _ACEOF
25220 if ac_fn_cxx_try_compile "$LINENO"; then :
25221 glibcxx_cv_func__sqrtl_use=yes
25222 else
25223 glibcxx_cv_func__sqrtl_use=no
25225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25226 ac_ext=c
25227 ac_cpp='$CPP $CPPFLAGS'
25228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25237 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25239 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25240 for ac_func in _sqrtl
25241 do :
25242 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25243 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25244 cat >>confdefs.h <<_ACEOF
25245 #define HAVE__SQRTL 1
25246 _ACEOF
25249 done
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25259 $as_echo_n "checking for sincosl declaration... " >&6; }
25260 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25261 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25262 $as_echo_n "(cached) " >&6
25263 else
25266 ac_ext=cpp
25267 ac_cpp='$CXXCPP $CPPFLAGS'
25268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25273 /* end confdefs.h. */
25274 #include <math.h>
25276 main ()
25278 sincosl(0, 0, 0);
25280 return 0;
25282 _ACEOF
25283 if ac_fn_cxx_try_compile "$LINENO"; then :
25284 glibcxx_cv_func_sincosl_use=yes
25285 else
25286 glibcxx_cv_func_sincosl_use=no
25288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25289 ac_ext=c
25290 ac_cpp='$CPP $CPPFLAGS'
25291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25300 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25302 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25303 for ac_func in sincosl
25304 do :
25305 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25306 if test "x$ac_cv_func_sincosl" = x""yes; then :
25307 cat >>confdefs.h <<_ACEOF
25308 #define HAVE_SINCOSL 1
25309 _ACEOF
25312 done
25314 else
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25317 $as_echo_n "checking for _sincosl declaration... " >&6; }
25318 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25319 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25320 $as_echo_n "(cached) " >&6
25321 else
25324 ac_ext=cpp
25325 ac_cpp='$CXXCPP $CPPFLAGS'
25326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25331 /* end confdefs.h. */
25332 #include <math.h>
25334 main ()
25336 _sincosl(0, 0, 0);
25338 return 0;
25340 _ACEOF
25341 if ac_fn_cxx_try_compile "$LINENO"; then :
25342 glibcxx_cv_func__sincosl_use=yes
25343 else
25344 glibcxx_cv_func__sincosl_use=no
25346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25347 ac_ext=c
25348 ac_cpp='$CPP $CPPFLAGS'
25349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25358 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25360 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25361 for ac_func in _sincosl
25362 do :
25363 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25364 if test "x$ac_cv_func__sincosl" = x""yes; then :
25365 cat >>confdefs.h <<_ACEOF
25366 #define HAVE__SINCOSL 1
25367 _ACEOF
25370 done
25379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25380 $as_echo_n "checking for finitel declaration... " >&6; }
25381 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25382 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25383 $as_echo_n "(cached) " >&6
25384 else
25387 ac_ext=cpp
25388 ac_cpp='$CXXCPP $CPPFLAGS'
25389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25394 /* end confdefs.h. */
25395 #include <math.h>
25396 #ifdef HAVE_IEEEFP_H
25397 #include <ieeefp.h>
25398 #endif
25401 main ()
25403 finitel(0);
25405 return 0;
25407 _ACEOF
25408 if ac_fn_cxx_try_compile "$LINENO"; then :
25409 glibcxx_cv_func_finitel_use=yes
25410 else
25411 glibcxx_cv_func_finitel_use=no
25413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25414 ac_ext=c
25415 ac_cpp='$CPP $CPPFLAGS'
25416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25425 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25427 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25428 for ac_func in finitel
25429 do :
25430 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25431 if test "x$ac_cv_func_finitel" = x""yes; then :
25432 cat >>confdefs.h <<_ACEOF
25433 #define HAVE_FINITEL 1
25434 _ACEOF
25437 done
25439 else
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25442 $as_echo_n "checking for _finitel declaration... " >&6; }
25443 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25444 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25445 $as_echo_n "(cached) " >&6
25446 else
25449 ac_ext=cpp
25450 ac_cpp='$CXXCPP $CPPFLAGS'
25451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25456 /* end confdefs.h. */
25457 #include <math.h>
25458 #ifdef HAVE_IEEEFP_H
25459 #include <ieeefp.h>
25460 #endif
25463 main ()
25465 _finitel(0);
25467 return 0;
25469 _ACEOF
25470 if ac_fn_cxx_try_compile "$LINENO"; then :
25471 glibcxx_cv_func__finitel_use=yes
25472 else
25473 glibcxx_cv_func__finitel_use=no
25475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25476 ac_ext=c
25477 ac_cpp='$CPP $CPPFLAGS'
25478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25487 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25489 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25490 for ac_func in _finitel
25491 do :
25492 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25493 if test "x$ac_cv_func__finitel" = x""yes; then :
25494 cat >>confdefs.h <<_ACEOF
25495 #define HAVE__FINITEL 1
25496 _ACEOF
25499 done
25507 LIBS="$ac_save_LIBS"
25508 CXXFLAGS="$ac_save_CXXFLAGS"
25511 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25512 ac_save_CXXFLAGS="$CXXFLAGS"
25513 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25517 $as_echo_n "checking for strtold declaration... " >&6; }
25518 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25519 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25520 $as_echo_n "(cached) " >&6
25521 else
25524 ac_ext=cpp
25525 ac_cpp='$CXXCPP $CPPFLAGS'
25526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25531 /* end confdefs.h. */
25532 #include <stdlib.h>
25534 main ()
25536 strtold(0, 0);
25538 return 0;
25540 _ACEOF
25541 if ac_fn_cxx_try_compile "$LINENO"; then :
25542 glibcxx_cv_func_strtold_use=yes
25543 else
25544 glibcxx_cv_func_strtold_use=no
25546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25547 ac_ext=c
25548 ac_cpp='$CPP $CPPFLAGS'
25549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25558 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25559 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25560 for ac_func in strtold
25561 do :
25562 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25563 if test "x$ac_cv_func_strtold" = x""yes; then :
25564 cat >>confdefs.h <<_ACEOF
25565 #define HAVE_STRTOLD 1
25566 _ACEOF
25569 done
25576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25577 $as_echo_n "checking for strtof declaration... " >&6; }
25578 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25579 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25580 $as_echo_n "(cached) " >&6
25581 else
25584 ac_ext=cpp
25585 ac_cpp='$CXXCPP $CPPFLAGS'
25586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25591 /* end confdefs.h. */
25592 #include <stdlib.h>
25594 main ()
25596 strtof(0, 0);
25598 return 0;
25600 _ACEOF
25601 if ac_fn_cxx_try_compile "$LINENO"; then :
25602 glibcxx_cv_func_strtof_use=yes
25603 else
25604 glibcxx_cv_func_strtof_use=no
25606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25607 ac_ext=c
25608 ac_cpp='$CPP $CPPFLAGS'
25609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25618 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25619 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25620 for ac_func in strtof
25621 do :
25622 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25623 if test "x$ac_cv_func_strtof" = x""yes; then :
25624 cat >>confdefs.h <<_ACEOF
25625 #define HAVE_STRTOF 1
25626 _ACEOF
25629 done
25636 CXXFLAGS="$ac_save_CXXFLAGS"
25639 # For /dev/random and /dev/urandom for TR1.
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25643 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25644 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25645 $as_echo_n "(cached) " >&6
25646 else
25648 if test -r /dev/random && test -r /dev/urandom; then
25649 glibcxx_cv_random_tr1=yes;
25650 else
25651 glibcxx_cv_random_tr1=no;
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25657 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25659 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25661 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25667 # For TLS support.
25670 # Check whether --enable-tls was given.
25671 if test "${enable_tls+set}" = set; then :
25672 enableval=$enable_tls;
25673 case "$enableval" in
25674 yes|no) ;;
25675 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25676 esac
25678 else
25679 enable_tls=yes
25683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25684 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25685 if test "${gcc_cv_have_tls+set}" = set; then :
25686 $as_echo_n "(cached) " >&6
25687 else
25689 if test "$cross_compiling" = yes; then :
25690 if test x$gcc_no_link = xyes; then
25691 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25694 /* end confdefs.h. */
25695 __thread int a; int b; int main() { return a = b; }
25696 _ACEOF
25697 if ac_fn_c_try_link "$LINENO"; then :
25698 chktls_save_LDFLAGS="$LDFLAGS"
25699 case $host in
25700 *-*-linux*)
25701 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25703 esac
25704 chktls_save_CFLAGS="$CFLAGS"
25705 CFLAGS="-fPIC $CFLAGS"
25706 if test x$gcc_no_link = xyes; then
25707 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25710 /* end confdefs.h. */
25711 int f() { return 0; }
25712 _ACEOF
25713 if ac_fn_c_try_link "$LINENO"; then :
25714 if test x$gcc_no_link = xyes; then
25715 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25718 /* end confdefs.h. */
25719 __thread int a; int b; int f() { return a = b; }
25720 _ACEOF
25721 if ac_fn_c_try_link "$LINENO"; then :
25722 gcc_cv_have_tls=yes
25723 else
25724 gcc_cv_have_tls=no
25726 rm -f core conftest.err conftest.$ac_objext \
25727 conftest$ac_exeext conftest.$ac_ext
25728 else
25729 gcc_cv_have_tls=yes
25731 rm -f core conftest.err conftest.$ac_objext \
25732 conftest$ac_exeext conftest.$ac_ext
25733 CFLAGS="$chktls_save_CFLAGS"
25734 LDFLAGS="$chktls_save_LDFLAGS"
25735 else
25736 gcc_cv_have_tls=no
25738 rm -f core conftest.err conftest.$ac_objext \
25739 conftest$ac_exeext conftest.$ac_ext
25742 else
25743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25744 /* end confdefs.h. */
25745 __thread int a; int b; int main() { return a = b; }
25746 _ACEOF
25747 if ac_fn_c_try_run "$LINENO"; then :
25748 chktls_save_LDFLAGS="$LDFLAGS"
25749 LDFLAGS="-static $LDFLAGS"
25750 if test x$gcc_no_link = xyes; then
25751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25754 /* end confdefs.h. */
25755 int main() { return 0; }
25756 _ACEOF
25757 if ac_fn_c_try_link "$LINENO"; then :
25758 if test "$cross_compiling" = yes; then :
25759 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25761 as_fn_error "cannot run test program while cross compiling
25762 See \`config.log' for more details." "$LINENO" 5; }
25763 else
25764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25765 /* end confdefs.h. */
25766 __thread int a; int b; int main() { return a = b; }
25767 _ACEOF
25768 if ac_fn_c_try_run "$LINENO"; then :
25769 gcc_cv_have_tls=yes
25770 else
25771 gcc_cv_have_tls=no
25773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25774 conftest.$ac_objext conftest.beam conftest.$ac_ext
25777 else
25778 gcc_cv_have_tls=yes
25780 rm -f core conftest.err conftest.$ac_objext \
25781 conftest$ac_exeext conftest.$ac_ext
25782 LDFLAGS="$chktls_save_LDFLAGS"
25783 if test $gcc_cv_have_tls = yes; then
25784 chktls_save_CFLAGS="$CFLAGS"
25785 thread_CFLAGS=failed
25786 for flag in '' '-pthread' '-lpthread'; do
25787 CFLAGS="$flag $chktls_save_CFLAGS"
25788 if test x$gcc_no_link = xyes; then
25789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25792 /* end confdefs.h. */
25793 #include <pthread.h>
25794 void *g(void *d) { return NULL; }
25796 main ()
25798 pthread_t t; pthread_create(&t,NULL,g,NULL);
25800 return 0;
25802 _ACEOF
25803 if ac_fn_c_try_link "$LINENO"; then :
25804 thread_CFLAGS="$flag"
25806 rm -f core conftest.err conftest.$ac_objext \
25807 conftest$ac_exeext conftest.$ac_ext
25808 if test "X$thread_CFLAGS" != Xfailed; then
25809 break
25811 done
25812 CFLAGS="$chktls_save_CFLAGS"
25813 if test "X$thread_CFLAGS" != Xfailed; then
25814 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25815 if test "$cross_compiling" = yes; then :
25816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25818 as_fn_error "cannot run test program while cross compiling
25819 See \`config.log' for more details." "$LINENO" 5; }
25820 else
25821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25822 /* end confdefs.h. */
25823 #include <pthread.h>
25824 __thread int a;
25825 static int *volatile a_in_other_thread;
25826 static void *
25827 thread_func (void *arg)
25829 a_in_other_thread = &a;
25830 return (void *)0;
25833 main ()
25835 pthread_t thread;
25836 void *thread_retval;
25837 int *volatile a_in_main_thread;
25838 a_in_main_thread = &a;
25839 if (pthread_create (&thread, (pthread_attr_t *)0,
25840 thread_func, (void *)0))
25841 return 0;
25842 if (pthread_join (thread, &thread_retval))
25843 return 0;
25844 return (a_in_other_thread == a_in_main_thread);
25846 return 0;
25848 _ACEOF
25849 if ac_fn_c_try_run "$LINENO"; then :
25850 gcc_cv_have_tls=yes
25851 else
25852 gcc_cv_have_tls=no
25854 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25855 conftest.$ac_objext conftest.beam conftest.$ac_ext
25858 CFLAGS="$chktls_save_CFLAGS"
25861 else
25862 gcc_cv_have_tls=no
25864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25865 conftest.$ac_objext conftest.beam conftest.$ac_ext
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25870 $as_echo "$gcc_cv_have_tls" >&6; }
25871 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25873 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25877 # For iconv support.
25879 if test "X$prefix" = "XNONE"; then
25880 acl_final_prefix="$ac_default_prefix"
25881 else
25882 acl_final_prefix="$prefix"
25884 if test "X$exec_prefix" = "XNONE"; then
25885 acl_final_exec_prefix='${prefix}'
25886 else
25887 acl_final_exec_prefix="$exec_prefix"
25889 acl_save_prefix="$prefix"
25890 prefix="$acl_final_prefix"
25891 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25892 prefix="$acl_save_prefix"
25895 # Check whether --with-gnu-ld was given.
25896 if test "${with_gnu_ld+set}" = set; then :
25897 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25898 else
25899 with_gnu_ld=no
25902 # Prepare PATH_SEPARATOR.
25903 # The user is always right.
25904 if test "${PATH_SEPARATOR+set}" != set; then
25905 echo "#! /bin/sh" >conf$$.sh
25906 echo "exit 0" >>conf$$.sh
25907 chmod +x conf$$.sh
25908 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25909 PATH_SEPARATOR=';'
25910 else
25911 PATH_SEPARATOR=:
25913 rm -f conf$$.sh
25915 ac_prog=ld
25916 if test "$GCC" = yes; then
25917 # Check if gcc -print-prog-name=ld gives a path.
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25919 $as_echo_n "checking for ld used by GCC... " >&6; }
25920 case $host in
25921 *-*-mingw*)
25922 # gcc leaves a trailing carriage return which upsets mingw
25923 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25925 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25926 esac
25927 case $ac_prog in
25928 # Accept absolute paths.
25929 [\\/]* | [A-Za-z]:[\\/]*)
25930 re_direlt='/[^/][^/]*/\.\./'
25931 # Canonicalize the path of ld
25932 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25933 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25934 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25935 done
25936 test -z "$LD" && LD="$ac_prog"
25939 # If it fails, then pretend we aren't using GCC.
25940 ac_prog=ld
25943 # If it is relative, then search for the first ld in PATH.
25944 with_gnu_ld=unknown
25946 esac
25947 elif test "$with_gnu_ld" = yes; then
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25949 $as_echo_n "checking for GNU ld... " >&6; }
25950 else
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25952 $as_echo_n "checking for non-GNU ld... " >&6; }
25954 if test "${acl_cv_path_LD+set}" = set; then :
25955 $as_echo_n "(cached) " >&6
25956 else
25957 if test -z "$LD"; then
25958 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25959 for ac_dir in $PATH; do
25960 test -z "$ac_dir" && ac_dir=.
25961 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25962 acl_cv_path_LD="$ac_dir/$ac_prog"
25963 # Check to see if the program is GNU ld. I'd rather use --version,
25964 # but apparently some GNU ld's only accept -v.
25965 # Break only if it was the GNU/non-GNU ld that we prefer.
25966 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25967 test "$with_gnu_ld" != no && break
25968 else
25969 test "$with_gnu_ld" != yes && break
25972 done
25973 IFS="$ac_save_ifs"
25974 else
25975 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25979 LD="$acl_cv_path_LD"
25980 if test -n "$LD"; then
25981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25982 $as_echo "$LD" >&6; }
25983 else
25984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25985 $as_echo "no" >&6; }
25987 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25989 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25990 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25991 $as_echo_n "(cached) " >&6
25992 else
25993 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25994 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25995 acl_cv_prog_gnu_ld=yes
25996 else
25997 acl_cv_prog_gnu_ld=no
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26001 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26002 with_gnu_ld=$acl_cv_prog_gnu_ld
26006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26007 $as_echo_n "checking for shared library run path origin... " >&6; }
26008 if test "${acl_cv_rpath+set}" = set; then :
26009 $as_echo_n "(cached) " >&6
26010 else
26012 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26013 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26014 . ./conftest.sh
26015 rm -f ./conftest.sh
26016 acl_cv_rpath=done
26019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26020 $as_echo "$acl_cv_rpath" >&6; }
26021 wl="$acl_cv_wl"
26022 libext="$acl_cv_libext"
26023 shlibext="$acl_cv_shlibext"
26024 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26025 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26026 hardcode_direct="$acl_cv_hardcode_direct"
26027 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26028 # Check whether --enable-rpath was given.
26029 if test "${enable_rpath+set}" = set; then :
26030 enableval=$enable_rpath; :
26031 else
26032 enable_rpath=yes
26042 use_additional=yes
26044 acl_save_prefix="$prefix"
26045 prefix="$acl_final_prefix"
26046 acl_save_exec_prefix="$exec_prefix"
26047 exec_prefix="$acl_final_exec_prefix"
26049 eval additional_includedir=\"$includedir\"
26050 eval additional_libdir=\"$libdir\"
26052 exec_prefix="$acl_save_exec_prefix"
26053 prefix="$acl_save_prefix"
26056 # Check whether --with-libiconv-prefix was given.
26057 if test "${with_libiconv_prefix+set}" = set; then :
26058 withval=$with_libiconv_prefix;
26059 if test "X$withval" = "Xno"; then
26060 use_additional=no
26061 else
26062 if test "X$withval" = "X"; then
26064 acl_save_prefix="$prefix"
26065 prefix="$acl_final_prefix"
26066 acl_save_exec_prefix="$exec_prefix"
26067 exec_prefix="$acl_final_exec_prefix"
26069 eval additional_includedir=\"$includedir\"
26070 eval additional_libdir=\"$libdir\"
26072 exec_prefix="$acl_save_exec_prefix"
26073 prefix="$acl_save_prefix"
26075 else
26076 additional_includedir="$withval/include"
26077 additional_libdir="$withval/lib"
26083 LIBICONV=
26084 LTLIBICONV=
26085 INCICONV=
26086 rpathdirs=
26087 ltrpathdirs=
26088 names_already_handled=
26089 names_next_round='iconv '
26090 while test -n "$names_next_round"; do
26091 names_this_round="$names_next_round"
26092 names_next_round=
26093 for name in $names_this_round; do
26094 already_handled=
26095 for n in $names_already_handled; do
26096 if test "$n" = "$name"; then
26097 already_handled=yes
26098 break
26100 done
26101 if test -z "$already_handled"; then
26102 names_already_handled="$names_already_handled $name"
26103 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26104 eval value=\"\$HAVE_LIB$uppername\"
26105 if test -n "$value"; then
26106 if test "$value" = yes; then
26107 eval value=\"\$LIB$uppername\"
26108 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26109 eval value=\"\$LTLIB$uppername\"
26110 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26111 else
26114 else
26115 found_dir=
26116 found_la=
26117 found_so=
26118 found_a=
26119 if test $use_additional = yes; then
26120 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26121 found_dir="$additional_libdir"
26122 found_so="$additional_libdir/lib$name.$shlibext"
26123 if test -f "$additional_libdir/lib$name.la"; then
26124 found_la="$additional_libdir/lib$name.la"
26126 else
26127 if test -f "$additional_libdir/lib$name.$libext"; then
26128 found_dir="$additional_libdir"
26129 found_a="$additional_libdir/lib$name.$libext"
26130 if test -f "$additional_libdir/lib$name.la"; then
26131 found_la="$additional_libdir/lib$name.la"
26136 if test "X$found_dir" = "X"; then
26137 for x in $LDFLAGS $LTLIBICONV; do
26139 acl_save_prefix="$prefix"
26140 prefix="$acl_final_prefix"
26141 acl_save_exec_prefix="$exec_prefix"
26142 exec_prefix="$acl_final_exec_prefix"
26143 eval x=\"$x\"
26144 exec_prefix="$acl_save_exec_prefix"
26145 prefix="$acl_save_prefix"
26147 case "$x" in
26148 -L*)
26149 dir=`echo "X$x" | sed -e 's/^X-L//'`
26150 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26151 found_dir="$dir"
26152 found_so="$dir/lib$name.$shlibext"
26153 if test -f "$dir/lib$name.la"; then
26154 found_la="$dir/lib$name.la"
26156 else
26157 if test -f "$dir/lib$name.$libext"; then
26158 found_dir="$dir"
26159 found_a="$dir/lib$name.$libext"
26160 if test -f "$dir/lib$name.la"; then
26161 found_la="$dir/lib$name.la"
26166 esac
26167 if test "X$found_dir" != "X"; then
26168 break
26170 done
26172 if test "X$found_dir" != "X"; then
26173 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26174 if test "X$found_so" != "X"; then
26175 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26176 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26177 else
26178 haveit=
26179 for x in $ltrpathdirs; do
26180 if test "X$x" = "X$found_dir"; then
26181 haveit=yes
26182 break
26184 done
26185 if test -z "$haveit"; then
26186 ltrpathdirs="$ltrpathdirs $found_dir"
26188 if test "$hardcode_direct" = yes; then
26189 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26190 else
26191 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26192 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26193 haveit=
26194 for x in $rpathdirs; do
26195 if test "X$x" = "X$found_dir"; then
26196 haveit=yes
26197 break
26199 done
26200 if test -z "$haveit"; then
26201 rpathdirs="$rpathdirs $found_dir"
26203 else
26204 haveit=
26205 for x in $LDFLAGS $LIBICONV; do
26207 acl_save_prefix="$prefix"
26208 prefix="$acl_final_prefix"
26209 acl_save_exec_prefix="$exec_prefix"
26210 exec_prefix="$acl_final_exec_prefix"
26211 eval x=\"$x\"
26212 exec_prefix="$acl_save_exec_prefix"
26213 prefix="$acl_save_prefix"
26215 if test "X$x" = "X-L$found_dir"; then
26216 haveit=yes
26217 break
26219 done
26220 if test -z "$haveit"; then
26221 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26223 if test "$hardcode_minus_L" != no; then
26224 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26225 else
26226 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26231 else
26232 if test "X$found_a" != "X"; then
26233 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26234 else
26235 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26238 additional_includedir=
26239 case "$found_dir" in
26240 */lib | */lib/)
26241 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26242 additional_includedir="$basedir/include"
26244 esac
26245 if test "X$additional_includedir" != "X"; then
26246 if test "X$additional_includedir" != "X/usr/include"; then
26247 haveit=
26248 if test "X$additional_includedir" = "X/usr/local/include"; then
26249 if test -n "$GCC"; then
26250 case $host_os in
26251 linux*) haveit=yes;;
26252 esac
26255 if test -z "$haveit"; then
26256 for x in $CPPFLAGS $INCICONV; do
26258 acl_save_prefix="$prefix"
26259 prefix="$acl_final_prefix"
26260 acl_save_exec_prefix="$exec_prefix"
26261 exec_prefix="$acl_final_exec_prefix"
26262 eval x=\"$x\"
26263 exec_prefix="$acl_save_exec_prefix"
26264 prefix="$acl_save_prefix"
26266 if test "X$x" = "X-I$additional_includedir"; then
26267 haveit=yes
26268 break
26270 done
26271 if test -z "$haveit"; then
26272 if test -d "$additional_includedir"; then
26273 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26279 if test -n "$found_la"; then
26280 save_libdir="$libdir"
26281 case "$found_la" in
26282 */* | *\\*) . "$found_la" ;;
26283 *) . "./$found_la" ;;
26284 esac
26285 libdir="$save_libdir"
26286 for dep in $dependency_libs; do
26287 case "$dep" in
26288 -L*)
26289 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26290 if test "X$additional_libdir" != "X/usr/lib"; then
26291 haveit=
26292 if test "X$additional_libdir" = "X/usr/local/lib"; then
26293 if test -n "$GCC"; then
26294 case $host_os in
26295 linux*) haveit=yes;;
26296 esac
26299 if test -z "$haveit"; then
26300 haveit=
26301 for x in $LDFLAGS $LIBICONV; do
26303 acl_save_prefix="$prefix"
26304 prefix="$acl_final_prefix"
26305 acl_save_exec_prefix="$exec_prefix"
26306 exec_prefix="$acl_final_exec_prefix"
26307 eval x=\"$x\"
26308 exec_prefix="$acl_save_exec_prefix"
26309 prefix="$acl_save_prefix"
26311 if test "X$x" = "X-L$additional_libdir"; then
26312 haveit=yes
26313 break
26315 done
26316 if test -z "$haveit"; then
26317 if test -d "$additional_libdir"; then
26318 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26321 haveit=
26322 for x in $LDFLAGS $LTLIBICONV; do
26324 acl_save_prefix="$prefix"
26325 prefix="$acl_final_prefix"
26326 acl_save_exec_prefix="$exec_prefix"
26327 exec_prefix="$acl_final_exec_prefix"
26328 eval x=\"$x\"
26329 exec_prefix="$acl_save_exec_prefix"
26330 prefix="$acl_save_prefix"
26332 if test "X$x" = "X-L$additional_libdir"; then
26333 haveit=yes
26334 break
26336 done
26337 if test -z "$haveit"; then
26338 if test -d "$additional_libdir"; then
26339 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26345 -R*)
26346 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26347 if test "$enable_rpath" != no; then
26348 haveit=
26349 for x in $rpathdirs; do
26350 if test "X$x" = "X$dir"; then
26351 haveit=yes
26352 break
26354 done
26355 if test -z "$haveit"; then
26356 rpathdirs="$rpathdirs $dir"
26358 haveit=
26359 for x in $ltrpathdirs; do
26360 if test "X$x" = "X$dir"; then
26361 haveit=yes
26362 break
26364 done
26365 if test -z "$haveit"; then
26366 ltrpathdirs="$ltrpathdirs $dir"
26370 -l*)
26371 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26373 *.la)
26374 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26377 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26378 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26380 esac
26381 done
26383 else
26384 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26385 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26389 done
26390 done
26391 if test "X$rpathdirs" != "X"; then
26392 if test -n "$hardcode_libdir_separator"; then
26393 alldirs=
26394 for found_dir in $rpathdirs; do
26395 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26396 done
26397 acl_save_libdir="$libdir"
26398 libdir="$alldirs"
26399 eval flag=\"$hardcode_libdir_flag_spec\"
26400 libdir="$acl_save_libdir"
26401 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26402 else
26403 for found_dir in $rpathdirs; do
26404 acl_save_libdir="$libdir"
26405 libdir="$found_dir"
26406 eval flag=\"$hardcode_libdir_flag_spec\"
26407 libdir="$acl_save_libdir"
26408 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26409 done
26412 if test "X$ltrpathdirs" != "X"; then
26413 for found_dir in $ltrpathdirs; do
26414 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26415 done
26424 am_save_CPPFLAGS="$CPPFLAGS"
26426 for element in $INCICONV; do
26427 haveit=
26428 for x in $CPPFLAGS; do
26430 acl_save_prefix="$prefix"
26431 prefix="$acl_final_prefix"
26432 acl_save_exec_prefix="$exec_prefix"
26433 exec_prefix="$acl_final_exec_prefix"
26434 eval x=\"$x\"
26435 exec_prefix="$acl_save_exec_prefix"
26436 prefix="$acl_save_prefix"
26438 if test "X$x" = "X$element"; then
26439 haveit=yes
26440 break
26442 done
26443 if test -z "$haveit"; then
26444 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26446 done
26449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26450 $as_echo_n "checking for iconv... " >&6; }
26451 if test "${am_cv_func_iconv+set}" = set; then :
26452 $as_echo_n "(cached) " >&6
26453 else
26455 am_cv_func_iconv="no, consider installing GNU libiconv"
26456 am_cv_lib_iconv=no
26457 if test x$gcc_no_link = xyes; then
26458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26461 /* end confdefs.h. */
26462 #include <stdlib.h>
26463 #include <iconv.h>
26465 main ()
26467 iconv_t cd = iconv_open("","");
26468 iconv(cd,NULL,NULL,NULL,NULL);
26469 iconv_close(cd);
26471 return 0;
26473 _ACEOF
26474 if ac_fn_c_try_link "$LINENO"; then :
26475 am_cv_func_iconv=yes
26477 rm -f core conftest.err conftest.$ac_objext \
26478 conftest$ac_exeext conftest.$ac_ext
26479 if test "$am_cv_func_iconv" != yes; then
26480 am_save_LIBS="$LIBS"
26481 LIBS="$LIBS $LIBICONV"
26482 if test x$gcc_no_link = xyes; then
26483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26486 /* end confdefs.h. */
26487 #include <stdlib.h>
26488 #include <iconv.h>
26490 main ()
26492 iconv_t cd = iconv_open("","");
26493 iconv(cd,NULL,NULL,NULL,NULL);
26494 iconv_close(cd);
26496 return 0;
26498 _ACEOF
26499 if ac_fn_c_try_link "$LINENO"; then :
26500 am_cv_lib_iconv=yes
26501 am_cv_func_iconv=yes
26503 rm -f core conftest.err conftest.$ac_objext \
26504 conftest$ac_exeext conftest.$ac_ext
26505 LIBS="$am_save_LIBS"
26509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26510 $as_echo "$am_cv_func_iconv" >&6; }
26511 if test "$am_cv_func_iconv" = yes; then
26513 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26516 if test "$am_cv_lib_iconv" = yes; then
26517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26518 $as_echo_n "checking how to link with libiconv... " >&6; }
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26520 $as_echo "$LIBICONV" >&6; }
26521 else
26522 CPPFLAGS="$am_save_CPPFLAGS"
26523 LIBICONV=
26524 LTLIBICONV=
26529 if test "$am_cv_func_iconv" = yes; then
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26531 $as_echo_n "checking for iconv declaration... " >&6; }
26532 if test "${am_cv_proto_iconv+set}" = set; then :
26533 $as_echo_n "(cached) " >&6
26534 else
26536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26537 /* end confdefs.h. */
26539 #include <stdlib.h>
26540 #include <iconv.h>
26541 extern
26542 #ifdef __cplusplus
26544 #endif
26545 #if defined(__STDC__) || defined(__cplusplus)
26546 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26547 #else
26548 size_t iconv();
26549 #endif
26552 main ()
26556 return 0;
26558 _ACEOF
26559 if ac_fn_c_try_compile "$LINENO"; then :
26560 am_cv_proto_iconv_arg1=""
26561 else
26562 am_cv_proto_iconv_arg1="const"
26564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26565 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);"
26568 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26570 }$am_cv_proto_iconv" >&5
26571 $as_echo "${ac_t:-
26572 }$am_cv_proto_iconv" >&6; }
26574 cat >>confdefs.h <<_ACEOF
26575 #define ICONV_CONST $am_cv_proto_iconv_arg1
26576 _ACEOF
26581 else
26583 # This lets us hard-code the functionality we know we'll have in the cross
26584 # target environment. "Let" is a sugar-coated word placed on an especially
26585 # dull and tedious hack, actually.
26587 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26588 # that involve linking, can't be used:
26589 # "cannot open sim-crt0.o"
26590 # "cannot open crt0.o"
26591 # etc. All this is because there currently exists no unified, consistent
26592 # way for top level CC information to be passed down to target directories:
26593 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26594 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26595 # crosses can be removed.
26597 # If Canadian cross, then don't pick up tools from the build directory.
26598 # Used only in GLIBCXX_EXPORT_INCLUDES.
26599 if test -n "$with_cross_host" &&
26600 test x"$build_alias" != x"$with_cross_host" &&
26601 test x"$build" != x"$target";
26602 then
26603 CANADIAN=yes
26604 else
26605 CANADIAN=no
26608 # Construct crosses by hand, eliminating bits that need ld...
26609 # GLIBCXX_CHECK_MATH_SUPPORT
26611 # First, test for "known" system libraries. We may be using newlib even
26612 # on a hosted environment.
26613 if test "x${with_newlib}" = "xyes"; then
26614 os_include_dir="os/newlib"
26615 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26618 # GLIBCXX_CHECK_STDLIB_SUPPORT
26619 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26622 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26624 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26626 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26628 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26630 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26632 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26634 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26636 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26638 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26640 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26642 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26644 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26646 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26648 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26650 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26652 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26654 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26656 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26658 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26660 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26662 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26664 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26667 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26669 else
26671 # Base decisions on target environment.
26672 case "${host}" in
26673 arm*-*-symbianelf*)
26674 # This is a freestanding configuration; there is nothing to do here.
26677 mips*-sde-elf*)
26678 # These definitions are for the SDE C library rather than newlib.
26679 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26682 # All these tests are for C++; save the language and the compiler flags.
26683 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26684 # found in GLIBCXX_CONFIGURE.
26686 ac_ext=cpp
26687 ac_cpp='$CXXCPP $CPPFLAGS'
26688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26692 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26693 ac_save_CXXFLAGS="$CXXFLAGS"
26695 # Check for maintainer-mode bits.
26696 if test x"$USE_MAINTAINER_MODE" = xno; then
26697 WERROR=''
26698 else
26699 WERROR='-Werror'
26702 # Check for -ffunction-sections -fdata-sections
26703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26704 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26705 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26707 /* end confdefs.h. */
26708 int foo; void bar() { };
26710 main ()
26714 return 0;
26716 _ACEOF
26717 if ac_fn_cxx_try_compile "$LINENO"; then :
26718 ac_fdsections=yes
26719 else
26720 ac_fdsections=no
26722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26723 if test "$ac_test_CXXFLAGS" = set; then
26724 CXXFLAGS="$ac_save_CXXFLAGS"
26725 else
26726 # this is the suspicious part
26727 CXXFLAGS=''
26729 if test x"$ac_fdsections" = x"yes"; then
26730 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26733 $as_echo "$ac_fdsections" >&6; }
26735 ac_ext=c
26736 ac_cpp='$CPP $CPPFLAGS'
26737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26745 # If we're not using GNU ld, then there's no point in even trying these
26746 # tests. Check for that first. We should have already tested for gld
26747 # by now (in libtool), but require it now just to be safe...
26748 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26749 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26753 # The name set by libtool depends on the version of libtool. Shame on us
26754 # for depending on an impl detail, but c'est la vie. Older versions used
26755 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26756 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26757 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26758 # set (hence we're using an older libtool), then set it.
26759 if test x${with_gnu_ld+set} != xset; then
26760 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26761 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26762 with_gnu_ld=no
26763 else
26764 with_gnu_ld=$ac_cv_prog_gnu_ld
26768 # Start by getting the version number. I think the libtool test already
26769 # does some of this, but throws away the result.
26770 glibcxx_ld_is_gold=no
26771 if test x"$with_gnu_ld" = x"yes"; then
26772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26773 $as_echo_n "checking for ld version... " >&6; }
26775 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26776 glibcxx_ld_is_gold=yes
26778 ldver=`$LD --version 2>/dev/null |
26779 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'`
26781 glibcxx_gnu_ld_version=`echo $ldver | \
26782 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26784 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26787 # Set --gc-sections.
26788 glibcxx_have_gc_sections=no
26789 if test "$glibcxx_ld_is_gold" = "yes"; then
26790 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26791 glibcxx_have_gc_sections=yes
26793 else
26794 glibcxx_gcsections_min_ld=21602
26795 if test x"$with_gnu_ld" = x"yes" &&
26796 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26797 glibcxx_have_gc_sections=yes
26800 if test "$glibcxx_have_gc_sections" = "yes"; then
26801 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26802 # NB: This flag only works reliably after 2.16.1. Configure tests
26803 # for this are difficult, so hard wire a value that should work.
26805 ac_test_CFLAGS="${CFLAGS+set}"
26806 ac_save_CFLAGS="$CFLAGS"
26807 CFLAGS='-Wl,--gc-sections'
26809 # Check for -Wl,--gc-sections
26810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26811 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26812 if test x$gcc_no_link = xyes; then
26813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26816 /* end confdefs.h. */
26817 int one(void) { return 1; }
26818 int two(void) { return 2; }
26821 main ()
26823 two();
26825 return 0;
26827 _ACEOF
26828 if ac_fn_c_try_link "$LINENO"; then :
26829 ac_gcsections=yes
26830 else
26831 ac_gcsections=no
26833 rm -f core conftest.err conftest.$ac_objext \
26834 conftest$ac_exeext conftest.$ac_ext
26835 if test "$ac_gcsections" = "yes"; then
26836 rm -f conftest.c
26837 touch conftest.c
26838 if $CC -c conftest.c; then
26839 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26840 grep "Warning: gc-sections option ignored" > /dev/null; then
26841 ac_gcsections=no
26844 rm -f conftest.c conftest.o conftest
26846 if test "$ac_gcsections" = "yes"; then
26847 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26850 $as_echo "$ac_gcsections" >&6; }
26852 if test "$ac_test_CFLAGS" = set; then
26853 CFLAGS="$ac_save_CFLAGS"
26854 else
26855 # this is the suspicious part
26856 CFLAGS=''
26860 # Set -z,relro.
26861 # Note this is only for shared objects.
26862 ac_ld_relro=no
26863 if test x"$with_gnu_ld" = x"yes"; then
26864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26865 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26866 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26867 if test -n "$cxx_z_relo"; then
26868 OPT_LDFLAGS="-Wl,-z,relro"
26869 ac_ld_relro=yes
26871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26872 $as_echo "$ac_ld_relro" >&6; }
26875 # Set linker optimization flags.
26876 if test x"$with_gnu_ld" = x"yes"; then
26877 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26884 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26885 ac_save_CXXFLAGS="$CXXFLAGS"
26886 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26889 $as_echo_n "checking for sin in -lm... " >&6; }
26890 if test "${ac_cv_lib_m_sin+set}" = set; then :
26891 $as_echo_n "(cached) " >&6
26892 else
26893 ac_check_lib_save_LIBS=$LIBS
26894 LIBS="-lm $LIBS"
26895 if test x$gcc_no_link = xyes; then
26896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26899 /* end confdefs.h. */
26901 /* Override any GCC internal prototype to avoid an error.
26902 Use char because int might match the return type of a GCC
26903 builtin and then its argument prototype would still apply. */
26904 #ifdef __cplusplus
26905 extern "C"
26906 #endif
26907 char sin ();
26909 main ()
26911 return sin ();
26913 return 0;
26915 _ACEOF
26916 if ac_fn_c_try_link "$LINENO"; then :
26917 ac_cv_lib_m_sin=yes
26918 else
26919 ac_cv_lib_m_sin=no
26921 rm -f core conftest.err conftest.$ac_objext \
26922 conftest$ac_exeext conftest.$ac_ext
26923 LIBS=$ac_check_lib_save_LIBS
26925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26926 $as_echo "$ac_cv_lib_m_sin" >&6; }
26927 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26928 libm="-lm"
26931 ac_save_LIBS="$LIBS"
26932 LIBS="$LIBS $libm"
26936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26937 $as_echo_n "checking for isinf declaration... " >&6; }
26938 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26939 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26940 $as_echo_n "(cached) " >&6
26941 else
26944 ac_ext=cpp
26945 ac_cpp='$CXXCPP $CPPFLAGS'
26946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26951 /* end confdefs.h. */
26952 #include <math.h>
26953 #ifdef HAVE_IEEEFP_H
26954 #include <ieeefp.h>
26955 #endif
26958 main ()
26960 isinf(0);
26962 return 0;
26964 _ACEOF
26965 if ac_fn_cxx_try_compile "$LINENO"; then :
26966 glibcxx_cv_func_isinf_use=yes
26967 else
26968 glibcxx_cv_func_isinf_use=no
26970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26971 ac_ext=c
26972 ac_cpp='$CPP $CPPFLAGS'
26973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26982 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26984 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26985 for ac_func in isinf
26986 do :
26987 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26988 if test "x$ac_cv_func_isinf" = x""yes; then :
26989 cat >>confdefs.h <<_ACEOF
26990 #define HAVE_ISINF 1
26991 _ACEOF
26994 done
26996 else
26998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26999 $as_echo_n "checking for _isinf declaration... " >&6; }
27000 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27001 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27002 $as_echo_n "(cached) " >&6
27003 else
27006 ac_ext=cpp
27007 ac_cpp='$CXXCPP $CPPFLAGS'
27008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27013 /* end confdefs.h. */
27014 #include <math.h>
27015 #ifdef HAVE_IEEEFP_H
27016 #include <ieeefp.h>
27017 #endif
27020 main ()
27022 _isinf(0);
27024 return 0;
27026 _ACEOF
27027 if ac_fn_cxx_try_compile "$LINENO"; then :
27028 glibcxx_cv_func__isinf_use=yes
27029 else
27030 glibcxx_cv_func__isinf_use=no
27032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27033 ac_ext=c
27034 ac_cpp='$CPP $CPPFLAGS'
27035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27044 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27046 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27047 for ac_func in _isinf
27048 do :
27049 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27050 if test "x$ac_cv_func__isinf" = x""yes; then :
27051 cat >>confdefs.h <<_ACEOF
27052 #define HAVE__ISINF 1
27053 _ACEOF
27056 done
27065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27066 $as_echo_n "checking for isnan declaration... " >&6; }
27067 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27068 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27069 $as_echo_n "(cached) " >&6
27070 else
27073 ac_ext=cpp
27074 ac_cpp='$CXXCPP $CPPFLAGS'
27075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27080 /* end confdefs.h. */
27081 #include <math.h>
27082 #ifdef HAVE_IEEEFP_H
27083 #include <ieeefp.h>
27084 #endif
27087 main ()
27089 isnan(0);
27091 return 0;
27093 _ACEOF
27094 if ac_fn_cxx_try_compile "$LINENO"; then :
27095 glibcxx_cv_func_isnan_use=yes
27096 else
27097 glibcxx_cv_func_isnan_use=no
27099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27100 ac_ext=c
27101 ac_cpp='$CPP $CPPFLAGS'
27102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27111 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27113 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27114 for ac_func in isnan
27115 do :
27116 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27117 if test "x$ac_cv_func_isnan" = x""yes; then :
27118 cat >>confdefs.h <<_ACEOF
27119 #define HAVE_ISNAN 1
27120 _ACEOF
27123 done
27125 else
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27128 $as_echo_n "checking for _isnan declaration... " >&6; }
27129 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27130 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27131 $as_echo_n "(cached) " >&6
27132 else
27135 ac_ext=cpp
27136 ac_cpp='$CXXCPP $CPPFLAGS'
27137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27142 /* end confdefs.h. */
27143 #include <math.h>
27144 #ifdef HAVE_IEEEFP_H
27145 #include <ieeefp.h>
27146 #endif
27149 main ()
27151 _isnan(0);
27153 return 0;
27155 _ACEOF
27156 if ac_fn_cxx_try_compile "$LINENO"; then :
27157 glibcxx_cv_func__isnan_use=yes
27158 else
27159 glibcxx_cv_func__isnan_use=no
27161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27162 ac_ext=c
27163 ac_cpp='$CPP $CPPFLAGS'
27164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27173 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27175 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27176 for ac_func in _isnan
27177 do :
27178 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27179 if test "x$ac_cv_func__isnan" = x""yes; then :
27180 cat >>confdefs.h <<_ACEOF
27181 #define HAVE__ISNAN 1
27182 _ACEOF
27185 done
27194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27195 $as_echo_n "checking for finite declaration... " >&6; }
27196 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27197 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27198 $as_echo_n "(cached) " >&6
27199 else
27202 ac_ext=cpp
27203 ac_cpp='$CXXCPP $CPPFLAGS'
27204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27209 /* end confdefs.h. */
27210 #include <math.h>
27211 #ifdef HAVE_IEEEFP_H
27212 #include <ieeefp.h>
27213 #endif
27216 main ()
27218 finite(0);
27220 return 0;
27222 _ACEOF
27223 if ac_fn_cxx_try_compile "$LINENO"; then :
27224 glibcxx_cv_func_finite_use=yes
27225 else
27226 glibcxx_cv_func_finite_use=no
27228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27229 ac_ext=c
27230 ac_cpp='$CPP $CPPFLAGS'
27231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27240 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27242 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27243 for ac_func in finite
27244 do :
27245 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27246 if test "x$ac_cv_func_finite" = x""yes; then :
27247 cat >>confdefs.h <<_ACEOF
27248 #define HAVE_FINITE 1
27249 _ACEOF
27252 done
27254 else
27256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27257 $as_echo_n "checking for _finite declaration... " >&6; }
27258 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27259 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27260 $as_echo_n "(cached) " >&6
27261 else
27264 ac_ext=cpp
27265 ac_cpp='$CXXCPP $CPPFLAGS'
27266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27271 /* end confdefs.h. */
27272 #include <math.h>
27273 #ifdef HAVE_IEEEFP_H
27274 #include <ieeefp.h>
27275 #endif
27278 main ()
27280 _finite(0);
27282 return 0;
27284 _ACEOF
27285 if ac_fn_cxx_try_compile "$LINENO"; then :
27286 glibcxx_cv_func__finite_use=yes
27287 else
27288 glibcxx_cv_func__finite_use=no
27290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27291 ac_ext=c
27292 ac_cpp='$CPP $CPPFLAGS'
27293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27302 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27304 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27305 for ac_func in _finite
27306 do :
27307 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27308 if test "x$ac_cv_func__finite" = x""yes; then :
27309 cat >>confdefs.h <<_ACEOF
27310 #define HAVE__FINITE 1
27311 _ACEOF
27314 done
27323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27324 $as_echo_n "checking for sincos declaration... " >&6; }
27325 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27326 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27327 $as_echo_n "(cached) " >&6
27328 else
27331 ac_ext=cpp
27332 ac_cpp='$CXXCPP $CPPFLAGS'
27333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27338 /* end confdefs.h. */
27339 #include <math.h>
27341 main ()
27343 sincos(0, 0, 0);
27345 return 0;
27347 _ACEOF
27348 if ac_fn_cxx_try_compile "$LINENO"; then :
27349 glibcxx_cv_func_sincos_use=yes
27350 else
27351 glibcxx_cv_func_sincos_use=no
27353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27354 ac_ext=c
27355 ac_cpp='$CPP $CPPFLAGS'
27356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27365 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27367 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27368 for ac_func in sincos
27369 do :
27370 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27371 if test "x$ac_cv_func_sincos" = x""yes; then :
27372 cat >>confdefs.h <<_ACEOF
27373 #define HAVE_SINCOS 1
27374 _ACEOF
27377 done
27379 else
27381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27382 $as_echo_n "checking for _sincos declaration... " >&6; }
27383 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27384 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27385 $as_echo_n "(cached) " >&6
27386 else
27389 ac_ext=cpp
27390 ac_cpp='$CXXCPP $CPPFLAGS'
27391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27396 /* end confdefs.h. */
27397 #include <math.h>
27399 main ()
27401 _sincos(0, 0, 0);
27403 return 0;
27405 _ACEOF
27406 if ac_fn_cxx_try_compile "$LINENO"; then :
27407 glibcxx_cv_func__sincos_use=yes
27408 else
27409 glibcxx_cv_func__sincos_use=no
27411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27412 ac_ext=c
27413 ac_cpp='$CPP $CPPFLAGS'
27414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27423 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27425 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27426 for ac_func in _sincos
27427 do :
27428 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27429 if test "x$ac_cv_func__sincos" = x""yes; then :
27430 cat >>confdefs.h <<_ACEOF
27431 #define HAVE__SINCOS 1
27432 _ACEOF
27435 done
27444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27445 $as_echo_n "checking for fpclass declaration... " >&6; }
27446 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27447 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27448 $as_echo_n "(cached) " >&6
27449 else
27452 ac_ext=cpp
27453 ac_cpp='$CXXCPP $CPPFLAGS'
27454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27459 /* end confdefs.h. */
27460 #include <math.h>
27461 #ifdef HAVE_IEEEFP_H
27462 #include <ieeefp.h>
27463 #endif
27466 main ()
27468 fpclass(0);
27470 return 0;
27472 _ACEOF
27473 if ac_fn_cxx_try_compile "$LINENO"; then :
27474 glibcxx_cv_func_fpclass_use=yes
27475 else
27476 glibcxx_cv_func_fpclass_use=no
27478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27479 ac_ext=c
27480 ac_cpp='$CPP $CPPFLAGS'
27481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27490 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27492 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27493 for ac_func in fpclass
27494 do :
27495 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27496 if test "x$ac_cv_func_fpclass" = x""yes; then :
27497 cat >>confdefs.h <<_ACEOF
27498 #define HAVE_FPCLASS 1
27499 _ACEOF
27502 done
27504 else
27506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27507 $as_echo_n "checking for _fpclass declaration... " >&6; }
27508 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27509 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27510 $as_echo_n "(cached) " >&6
27511 else
27514 ac_ext=cpp
27515 ac_cpp='$CXXCPP $CPPFLAGS'
27516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27521 /* end confdefs.h. */
27522 #include <math.h>
27523 #ifdef HAVE_IEEEFP_H
27524 #include <ieeefp.h>
27525 #endif
27528 main ()
27530 _fpclass(0);
27532 return 0;
27534 _ACEOF
27535 if ac_fn_cxx_try_compile "$LINENO"; then :
27536 glibcxx_cv_func__fpclass_use=yes
27537 else
27538 glibcxx_cv_func__fpclass_use=no
27540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27541 ac_ext=c
27542 ac_cpp='$CPP $CPPFLAGS'
27543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27552 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27554 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27555 for ac_func in _fpclass
27556 do :
27557 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27558 if test "x$ac_cv_func__fpclass" = x""yes; then :
27559 cat >>confdefs.h <<_ACEOF
27560 #define HAVE__FPCLASS 1
27561 _ACEOF
27564 done
27573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27574 $as_echo_n "checking for qfpclass declaration... " >&6; }
27575 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27576 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27577 $as_echo_n "(cached) " >&6
27578 else
27581 ac_ext=cpp
27582 ac_cpp='$CXXCPP $CPPFLAGS'
27583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27588 /* end confdefs.h. */
27589 #include <math.h>
27590 #ifdef HAVE_IEEEFP_H
27591 #include <ieeefp.h>
27592 #endif
27595 main ()
27597 qfpclass(0);
27599 return 0;
27601 _ACEOF
27602 if ac_fn_cxx_try_compile "$LINENO"; then :
27603 glibcxx_cv_func_qfpclass_use=yes
27604 else
27605 glibcxx_cv_func_qfpclass_use=no
27607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27608 ac_ext=c
27609 ac_cpp='$CPP $CPPFLAGS'
27610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27619 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27621 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27622 for ac_func in qfpclass
27623 do :
27624 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27625 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27626 cat >>confdefs.h <<_ACEOF
27627 #define HAVE_QFPCLASS 1
27628 _ACEOF
27631 done
27633 else
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27636 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27637 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27638 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27639 $as_echo_n "(cached) " >&6
27640 else
27643 ac_ext=cpp
27644 ac_cpp='$CXXCPP $CPPFLAGS'
27645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27650 /* end confdefs.h. */
27651 #include <math.h>
27652 #ifdef HAVE_IEEEFP_H
27653 #include <ieeefp.h>
27654 #endif
27657 main ()
27659 _qfpclass(0);
27661 return 0;
27663 _ACEOF
27664 if ac_fn_cxx_try_compile "$LINENO"; then :
27665 glibcxx_cv_func__qfpclass_use=yes
27666 else
27667 glibcxx_cv_func__qfpclass_use=no
27669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27670 ac_ext=c
27671 ac_cpp='$CPP $CPPFLAGS'
27672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27681 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27683 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27684 for ac_func in _qfpclass
27685 do :
27686 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27687 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27688 cat >>confdefs.h <<_ACEOF
27689 #define HAVE__QFPCLASS 1
27690 _ACEOF
27693 done
27702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27703 $as_echo_n "checking for hypot declaration... " >&6; }
27704 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27705 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27706 $as_echo_n "(cached) " >&6
27707 else
27710 ac_ext=cpp
27711 ac_cpp='$CXXCPP $CPPFLAGS'
27712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27717 /* end confdefs.h. */
27718 #include <math.h>
27720 main ()
27722 hypot(0, 0);
27724 return 0;
27726 _ACEOF
27727 if ac_fn_cxx_try_compile "$LINENO"; then :
27728 glibcxx_cv_func_hypot_use=yes
27729 else
27730 glibcxx_cv_func_hypot_use=no
27732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27733 ac_ext=c
27734 ac_cpp='$CPP $CPPFLAGS'
27735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27744 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27746 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27747 for ac_func in hypot
27748 do :
27749 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27750 if test "x$ac_cv_func_hypot" = x""yes; then :
27751 cat >>confdefs.h <<_ACEOF
27752 #define HAVE_HYPOT 1
27753 _ACEOF
27756 done
27758 else
27760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27761 $as_echo_n "checking for _hypot declaration... " >&6; }
27762 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27763 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27764 $as_echo_n "(cached) " >&6
27765 else
27768 ac_ext=cpp
27769 ac_cpp='$CXXCPP $CPPFLAGS'
27770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27775 /* end confdefs.h. */
27776 #include <math.h>
27778 main ()
27780 _hypot(0, 0);
27782 return 0;
27784 _ACEOF
27785 if ac_fn_cxx_try_compile "$LINENO"; then :
27786 glibcxx_cv_func__hypot_use=yes
27787 else
27788 glibcxx_cv_func__hypot_use=no
27790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27791 ac_ext=c
27792 ac_cpp='$CPP $CPPFLAGS'
27793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27802 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27804 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27805 for ac_func in _hypot
27806 do :
27807 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27808 if test "x$ac_cv_func__hypot" = x""yes; then :
27809 cat >>confdefs.h <<_ACEOF
27810 #define HAVE__HYPOT 1
27811 _ACEOF
27814 done
27823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27824 $as_echo_n "checking for float trig functions... " >&6; }
27825 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27826 $as_echo_n "(cached) " >&6
27827 else
27830 ac_ext=cpp
27831 ac_cpp='$CXXCPP $CPPFLAGS'
27832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27837 /* end confdefs.h. */
27838 #include <math.h>
27840 main ()
27842 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27844 return 0;
27846 _ACEOF
27847 if ac_fn_cxx_try_compile "$LINENO"; then :
27848 glibcxx_cv_func_float_trig_use=yes
27849 else
27850 glibcxx_cv_func_float_trig_use=no
27852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27853 ac_ext=c
27854 ac_cpp='$CPP $CPPFLAGS'
27855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27862 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27863 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27864 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27865 do :
27866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27868 eval as_val=\$$as_ac_var
27869 if test "x$as_val" = x""yes; then :
27870 cat >>confdefs.h <<_ACEOF
27871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27872 _ACEOF
27875 done
27877 else
27878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27879 $as_echo_n "checking for _float trig functions... " >&6; }
27880 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27881 $as_echo_n "(cached) " >&6
27882 else
27885 ac_ext=cpp
27886 ac_cpp='$CXXCPP $CPPFLAGS'
27887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27892 /* end confdefs.h. */
27893 #include <math.h>
27895 main ()
27897 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27899 return 0;
27901 _ACEOF
27902 if ac_fn_cxx_try_compile "$LINENO"; then :
27903 glibcxx_cv_func__float_trig_use=yes
27904 else
27905 glibcxx_cv_func__float_trig_use=no
27907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27908 ac_ext=c
27909 ac_cpp='$CPP $CPPFLAGS'
27910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27917 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27918 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27919 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27920 do :
27921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27923 eval as_val=\$$as_ac_var
27924 if test "x$as_val" = x""yes; then :
27925 cat >>confdefs.h <<_ACEOF
27926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27927 _ACEOF
27930 done
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27940 $as_echo_n "checking for float round functions... " >&6; }
27941 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27942 $as_echo_n "(cached) " >&6
27943 else
27946 ac_ext=cpp
27947 ac_cpp='$CXXCPP $CPPFLAGS'
27948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27953 /* end confdefs.h. */
27954 #include <math.h>
27956 main ()
27958 ceilf (0); floorf (0);
27960 return 0;
27962 _ACEOF
27963 if ac_fn_cxx_try_compile "$LINENO"; then :
27964 glibcxx_cv_func_float_round_use=yes
27965 else
27966 glibcxx_cv_func_float_round_use=no
27968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27969 ac_ext=c
27970 ac_cpp='$CPP $CPPFLAGS'
27971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27978 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27979 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27980 for ac_func in ceilf floorf
27981 do :
27982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27984 eval as_val=\$$as_ac_var
27985 if test "x$as_val" = x""yes; then :
27986 cat >>confdefs.h <<_ACEOF
27987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27988 _ACEOF
27991 done
27993 else
27994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27995 $as_echo_n "checking for _float round functions... " >&6; }
27996 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27997 $as_echo_n "(cached) " >&6
27998 else
28001 ac_ext=cpp
28002 ac_cpp='$CXXCPP $CPPFLAGS'
28003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28008 /* end confdefs.h. */
28009 #include <math.h>
28011 main ()
28013 _ceilf (0); _floorf (0);
28015 return 0;
28017 _ACEOF
28018 if ac_fn_cxx_try_compile "$LINENO"; then :
28019 glibcxx_cv_func__float_round_use=yes
28020 else
28021 glibcxx_cv_func__float_round_use=no
28023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28024 ac_ext=c
28025 ac_cpp='$CPP $CPPFLAGS'
28026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28033 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28034 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28035 for ac_func in _ceilf _floorf
28036 do :
28037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28039 eval as_val=\$$as_ac_var
28040 if test "x$as_val" = x""yes; then :
28041 cat >>confdefs.h <<_ACEOF
28042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28043 _ACEOF
28046 done
28056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28057 $as_echo_n "checking for expf declaration... " >&6; }
28058 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28059 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28060 $as_echo_n "(cached) " >&6
28061 else
28064 ac_ext=cpp
28065 ac_cpp='$CXXCPP $CPPFLAGS'
28066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28071 /* end confdefs.h. */
28072 #include <math.h>
28073 #ifdef HAVE_IEEEFP_H
28074 #include <ieeefp.h>
28075 #endif
28078 main ()
28080 expf(0);
28082 return 0;
28084 _ACEOF
28085 if ac_fn_cxx_try_compile "$LINENO"; then :
28086 glibcxx_cv_func_expf_use=yes
28087 else
28088 glibcxx_cv_func_expf_use=no
28090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28091 ac_ext=c
28092 ac_cpp='$CPP $CPPFLAGS'
28093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28102 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28104 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28105 for ac_func in expf
28106 do :
28107 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28108 if test "x$ac_cv_func_expf" = x""yes; then :
28109 cat >>confdefs.h <<_ACEOF
28110 #define HAVE_EXPF 1
28111 _ACEOF
28114 done
28116 else
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28119 $as_echo_n "checking for _expf declaration... " >&6; }
28120 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28121 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28122 $as_echo_n "(cached) " >&6
28123 else
28126 ac_ext=cpp
28127 ac_cpp='$CXXCPP $CPPFLAGS'
28128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28133 /* end confdefs.h. */
28134 #include <math.h>
28135 #ifdef HAVE_IEEEFP_H
28136 #include <ieeefp.h>
28137 #endif
28140 main ()
28142 _expf(0);
28144 return 0;
28146 _ACEOF
28147 if ac_fn_cxx_try_compile "$LINENO"; then :
28148 glibcxx_cv_func__expf_use=yes
28149 else
28150 glibcxx_cv_func__expf_use=no
28152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153 ac_ext=c
28154 ac_cpp='$CPP $CPPFLAGS'
28155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28164 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28166 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28167 for ac_func in _expf
28168 do :
28169 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28170 if test "x$ac_cv_func__expf" = x""yes; then :
28171 cat >>confdefs.h <<_ACEOF
28172 #define HAVE__EXPF 1
28173 _ACEOF
28176 done
28185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28186 $as_echo_n "checking for isnanf declaration... " >&6; }
28187 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28188 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28189 $as_echo_n "(cached) " >&6
28190 else
28193 ac_ext=cpp
28194 ac_cpp='$CXXCPP $CPPFLAGS'
28195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28200 /* end confdefs.h. */
28201 #include <math.h>
28202 #ifdef HAVE_IEEEFP_H
28203 #include <ieeefp.h>
28204 #endif
28207 main ()
28209 isnanf(0);
28211 return 0;
28213 _ACEOF
28214 if ac_fn_cxx_try_compile "$LINENO"; then :
28215 glibcxx_cv_func_isnanf_use=yes
28216 else
28217 glibcxx_cv_func_isnanf_use=no
28219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28220 ac_ext=c
28221 ac_cpp='$CPP $CPPFLAGS'
28222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28231 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28233 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28234 for ac_func in isnanf
28235 do :
28236 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28237 if test "x$ac_cv_func_isnanf" = x""yes; then :
28238 cat >>confdefs.h <<_ACEOF
28239 #define HAVE_ISNANF 1
28240 _ACEOF
28243 done
28245 else
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28248 $as_echo_n "checking for _isnanf declaration... " >&6; }
28249 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28250 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28251 $as_echo_n "(cached) " >&6
28252 else
28255 ac_ext=cpp
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28262 /* end confdefs.h. */
28263 #include <math.h>
28264 #ifdef HAVE_IEEEFP_H
28265 #include <ieeefp.h>
28266 #endif
28269 main ()
28271 _isnanf(0);
28273 return 0;
28275 _ACEOF
28276 if ac_fn_cxx_try_compile "$LINENO"; then :
28277 glibcxx_cv_func__isnanf_use=yes
28278 else
28279 glibcxx_cv_func__isnanf_use=no
28281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28282 ac_ext=c
28283 ac_cpp='$CPP $CPPFLAGS'
28284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28293 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28295 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28296 for ac_func in _isnanf
28297 do :
28298 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28299 if test "x$ac_cv_func__isnanf" = x""yes; then :
28300 cat >>confdefs.h <<_ACEOF
28301 #define HAVE__ISNANF 1
28302 _ACEOF
28305 done
28314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28315 $as_echo_n "checking for isinff declaration... " >&6; }
28316 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28317 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28318 $as_echo_n "(cached) " >&6
28319 else
28322 ac_ext=cpp
28323 ac_cpp='$CXXCPP $CPPFLAGS'
28324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28329 /* end confdefs.h. */
28330 #include <math.h>
28331 #ifdef HAVE_IEEEFP_H
28332 #include <ieeefp.h>
28333 #endif
28336 main ()
28338 isinff(0);
28340 return 0;
28342 _ACEOF
28343 if ac_fn_cxx_try_compile "$LINENO"; then :
28344 glibcxx_cv_func_isinff_use=yes
28345 else
28346 glibcxx_cv_func_isinff_use=no
28348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28349 ac_ext=c
28350 ac_cpp='$CPP $CPPFLAGS'
28351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28360 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28362 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28363 for ac_func in isinff
28364 do :
28365 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28366 if test "x$ac_cv_func_isinff" = x""yes; then :
28367 cat >>confdefs.h <<_ACEOF
28368 #define HAVE_ISINFF 1
28369 _ACEOF
28372 done
28374 else
28376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28377 $as_echo_n "checking for _isinff declaration... " >&6; }
28378 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28379 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28380 $as_echo_n "(cached) " >&6
28381 else
28384 ac_ext=cpp
28385 ac_cpp='$CXXCPP $CPPFLAGS'
28386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28391 /* end confdefs.h. */
28392 #include <math.h>
28393 #ifdef HAVE_IEEEFP_H
28394 #include <ieeefp.h>
28395 #endif
28398 main ()
28400 _isinff(0);
28402 return 0;
28404 _ACEOF
28405 if ac_fn_cxx_try_compile "$LINENO"; then :
28406 glibcxx_cv_func__isinff_use=yes
28407 else
28408 glibcxx_cv_func__isinff_use=no
28410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28411 ac_ext=c
28412 ac_cpp='$CPP $CPPFLAGS'
28413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28422 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28424 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28425 for ac_func in _isinff
28426 do :
28427 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28428 if test "x$ac_cv_func__isinff" = x""yes; then :
28429 cat >>confdefs.h <<_ACEOF
28430 #define HAVE__ISINFF 1
28431 _ACEOF
28434 done
28443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28444 $as_echo_n "checking for atan2f declaration... " >&6; }
28445 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28446 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28447 $as_echo_n "(cached) " >&6
28448 else
28451 ac_ext=cpp
28452 ac_cpp='$CXXCPP $CPPFLAGS'
28453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28458 /* end confdefs.h. */
28459 #include <math.h>
28461 main ()
28463 atan2f(0, 0);
28465 return 0;
28467 _ACEOF
28468 if ac_fn_cxx_try_compile "$LINENO"; then :
28469 glibcxx_cv_func_atan2f_use=yes
28470 else
28471 glibcxx_cv_func_atan2f_use=no
28473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28474 ac_ext=c
28475 ac_cpp='$CPP $CPPFLAGS'
28476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28485 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28487 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28488 for ac_func in atan2f
28489 do :
28490 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28491 if test "x$ac_cv_func_atan2f" = x""yes; then :
28492 cat >>confdefs.h <<_ACEOF
28493 #define HAVE_ATAN2F 1
28494 _ACEOF
28497 done
28499 else
28501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28502 $as_echo_n "checking for _atan2f declaration... " >&6; }
28503 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28504 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28505 $as_echo_n "(cached) " >&6
28506 else
28509 ac_ext=cpp
28510 ac_cpp='$CXXCPP $CPPFLAGS'
28511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28516 /* end confdefs.h. */
28517 #include <math.h>
28519 main ()
28521 _atan2f(0, 0);
28523 return 0;
28525 _ACEOF
28526 if ac_fn_cxx_try_compile "$LINENO"; then :
28527 glibcxx_cv_func__atan2f_use=yes
28528 else
28529 glibcxx_cv_func__atan2f_use=no
28531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28532 ac_ext=c
28533 ac_cpp='$CPP $CPPFLAGS'
28534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28543 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28545 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28546 for ac_func in _atan2f
28547 do :
28548 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28549 if test "x$ac_cv_func__atan2f" = x""yes; then :
28550 cat >>confdefs.h <<_ACEOF
28551 #define HAVE__ATAN2F 1
28552 _ACEOF
28555 done
28564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28565 $as_echo_n "checking for fabsf declaration... " >&6; }
28566 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28567 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28568 $as_echo_n "(cached) " >&6
28569 else
28572 ac_ext=cpp
28573 ac_cpp='$CXXCPP $CPPFLAGS'
28574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28579 /* end confdefs.h. */
28580 #include <math.h>
28581 #ifdef HAVE_IEEEFP_H
28582 #include <ieeefp.h>
28583 #endif
28586 main ()
28588 fabsf(0);
28590 return 0;
28592 _ACEOF
28593 if ac_fn_cxx_try_compile "$LINENO"; then :
28594 glibcxx_cv_func_fabsf_use=yes
28595 else
28596 glibcxx_cv_func_fabsf_use=no
28598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28599 ac_ext=c
28600 ac_cpp='$CPP $CPPFLAGS'
28601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28610 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28612 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28613 for ac_func in fabsf
28614 do :
28615 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28616 if test "x$ac_cv_func_fabsf" = x""yes; then :
28617 cat >>confdefs.h <<_ACEOF
28618 #define HAVE_FABSF 1
28619 _ACEOF
28622 done
28624 else
28626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28627 $as_echo_n "checking for _fabsf declaration... " >&6; }
28628 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28629 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28630 $as_echo_n "(cached) " >&6
28631 else
28634 ac_ext=cpp
28635 ac_cpp='$CXXCPP $CPPFLAGS'
28636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28641 /* end confdefs.h. */
28642 #include <math.h>
28643 #ifdef HAVE_IEEEFP_H
28644 #include <ieeefp.h>
28645 #endif
28648 main ()
28650 _fabsf(0);
28652 return 0;
28654 _ACEOF
28655 if ac_fn_cxx_try_compile "$LINENO"; then :
28656 glibcxx_cv_func__fabsf_use=yes
28657 else
28658 glibcxx_cv_func__fabsf_use=no
28660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28661 ac_ext=c
28662 ac_cpp='$CPP $CPPFLAGS'
28663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28672 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28674 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28675 for ac_func in _fabsf
28676 do :
28677 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28678 if test "x$ac_cv_func__fabsf" = x""yes; then :
28679 cat >>confdefs.h <<_ACEOF
28680 #define HAVE__FABSF 1
28681 _ACEOF
28684 done
28693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28694 $as_echo_n "checking for fmodf declaration... " >&6; }
28695 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28696 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28697 $as_echo_n "(cached) " >&6
28698 else
28701 ac_ext=cpp
28702 ac_cpp='$CXXCPP $CPPFLAGS'
28703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28708 /* end confdefs.h. */
28709 #include <math.h>
28711 main ()
28713 fmodf(0, 0);
28715 return 0;
28717 _ACEOF
28718 if ac_fn_cxx_try_compile "$LINENO"; then :
28719 glibcxx_cv_func_fmodf_use=yes
28720 else
28721 glibcxx_cv_func_fmodf_use=no
28723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28724 ac_ext=c
28725 ac_cpp='$CPP $CPPFLAGS'
28726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28735 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28737 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28738 for ac_func in fmodf
28739 do :
28740 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28741 if test "x$ac_cv_func_fmodf" = x""yes; then :
28742 cat >>confdefs.h <<_ACEOF
28743 #define HAVE_FMODF 1
28744 _ACEOF
28747 done
28749 else
28751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28752 $as_echo_n "checking for _fmodf declaration... " >&6; }
28753 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28754 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28755 $as_echo_n "(cached) " >&6
28756 else
28759 ac_ext=cpp
28760 ac_cpp='$CXXCPP $CPPFLAGS'
28761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28766 /* end confdefs.h. */
28767 #include <math.h>
28769 main ()
28771 _fmodf(0, 0);
28773 return 0;
28775 _ACEOF
28776 if ac_fn_cxx_try_compile "$LINENO"; then :
28777 glibcxx_cv_func__fmodf_use=yes
28778 else
28779 glibcxx_cv_func__fmodf_use=no
28781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28782 ac_ext=c
28783 ac_cpp='$CPP $CPPFLAGS'
28784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28793 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28795 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28796 for ac_func in _fmodf
28797 do :
28798 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28799 if test "x$ac_cv_func__fmodf" = x""yes; then :
28800 cat >>confdefs.h <<_ACEOF
28801 #define HAVE__FMODF 1
28802 _ACEOF
28805 done
28814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28815 $as_echo_n "checking for frexpf declaration... " >&6; }
28816 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28817 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28818 $as_echo_n "(cached) " >&6
28819 else
28822 ac_ext=cpp
28823 ac_cpp='$CXXCPP $CPPFLAGS'
28824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28829 /* end confdefs.h. */
28830 #include <math.h>
28832 main ()
28834 frexpf(0, 0);
28836 return 0;
28838 _ACEOF
28839 if ac_fn_cxx_try_compile "$LINENO"; then :
28840 glibcxx_cv_func_frexpf_use=yes
28841 else
28842 glibcxx_cv_func_frexpf_use=no
28844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28845 ac_ext=c
28846 ac_cpp='$CPP $CPPFLAGS'
28847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28856 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28858 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28859 for ac_func in frexpf
28860 do :
28861 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28862 if test "x$ac_cv_func_frexpf" = x""yes; then :
28863 cat >>confdefs.h <<_ACEOF
28864 #define HAVE_FREXPF 1
28865 _ACEOF
28868 done
28870 else
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28873 $as_echo_n "checking for _frexpf declaration... " >&6; }
28874 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28875 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28876 $as_echo_n "(cached) " >&6
28877 else
28880 ac_ext=cpp
28881 ac_cpp='$CXXCPP $CPPFLAGS'
28882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28887 /* end confdefs.h. */
28888 #include <math.h>
28890 main ()
28892 _frexpf(0, 0);
28894 return 0;
28896 _ACEOF
28897 if ac_fn_cxx_try_compile "$LINENO"; then :
28898 glibcxx_cv_func__frexpf_use=yes
28899 else
28900 glibcxx_cv_func__frexpf_use=no
28902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28903 ac_ext=c
28904 ac_cpp='$CPP $CPPFLAGS'
28905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28914 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28916 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28917 for ac_func in _frexpf
28918 do :
28919 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28920 if test "x$ac_cv_func__frexpf" = x""yes; then :
28921 cat >>confdefs.h <<_ACEOF
28922 #define HAVE__FREXPF 1
28923 _ACEOF
28926 done
28935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28936 $as_echo_n "checking for hypotf declaration... " >&6; }
28937 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28938 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28939 $as_echo_n "(cached) " >&6
28940 else
28943 ac_ext=cpp
28944 ac_cpp='$CXXCPP $CPPFLAGS'
28945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28950 /* end confdefs.h. */
28951 #include <math.h>
28953 main ()
28955 hypotf(0, 0);
28957 return 0;
28959 _ACEOF
28960 if ac_fn_cxx_try_compile "$LINENO"; then :
28961 glibcxx_cv_func_hypotf_use=yes
28962 else
28963 glibcxx_cv_func_hypotf_use=no
28965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28966 ac_ext=c
28967 ac_cpp='$CPP $CPPFLAGS'
28968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28977 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28979 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28980 for ac_func in hypotf
28981 do :
28982 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28983 if test "x$ac_cv_func_hypotf" = x""yes; then :
28984 cat >>confdefs.h <<_ACEOF
28985 #define HAVE_HYPOTF 1
28986 _ACEOF
28989 done
28991 else
28993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28994 $as_echo_n "checking for _hypotf declaration... " >&6; }
28995 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28996 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28997 $as_echo_n "(cached) " >&6
28998 else
29001 ac_ext=cpp
29002 ac_cpp='$CXXCPP $CPPFLAGS'
29003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29008 /* end confdefs.h. */
29009 #include <math.h>
29011 main ()
29013 _hypotf(0, 0);
29015 return 0;
29017 _ACEOF
29018 if ac_fn_cxx_try_compile "$LINENO"; then :
29019 glibcxx_cv_func__hypotf_use=yes
29020 else
29021 glibcxx_cv_func__hypotf_use=no
29023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29024 ac_ext=c
29025 ac_cpp='$CPP $CPPFLAGS'
29026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29035 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29037 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29038 for ac_func in _hypotf
29039 do :
29040 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29041 if test "x$ac_cv_func__hypotf" = x""yes; then :
29042 cat >>confdefs.h <<_ACEOF
29043 #define HAVE__HYPOTF 1
29044 _ACEOF
29047 done
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29057 $as_echo_n "checking for ldexpf declaration... " >&6; }
29058 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29059 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29060 $as_echo_n "(cached) " >&6
29061 else
29064 ac_ext=cpp
29065 ac_cpp='$CXXCPP $CPPFLAGS'
29066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29071 /* end confdefs.h. */
29072 #include <math.h>
29074 main ()
29076 ldexpf(0, 0);
29078 return 0;
29080 _ACEOF
29081 if ac_fn_cxx_try_compile "$LINENO"; then :
29082 glibcxx_cv_func_ldexpf_use=yes
29083 else
29084 glibcxx_cv_func_ldexpf_use=no
29086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29087 ac_ext=c
29088 ac_cpp='$CPP $CPPFLAGS'
29089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29098 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29100 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29101 for ac_func in ldexpf
29102 do :
29103 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29104 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29105 cat >>confdefs.h <<_ACEOF
29106 #define HAVE_LDEXPF 1
29107 _ACEOF
29110 done
29112 else
29114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29115 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29116 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29117 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29118 $as_echo_n "(cached) " >&6
29119 else
29122 ac_ext=cpp
29123 ac_cpp='$CXXCPP $CPPFLAGS'
29124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29129 /* end confdefs.h. */
29130 #include <math.h>
29132 main ()
29134 _ldexpf(0, 0);
29136 return 0;
29138 _ACEOF
29139 if ac_fn_cxx_try_compile "$LINENO"; then :
29140 glibcxx_cv_func__ldexpf_use=yes
29141 else
29142 glibcxx_cv_func__ldexpf_use=no
29144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29145 ac_ext=c
29146 ac_cpp='$CPP $CPPFLAGS'
29147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29156 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29158 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29159 for ac_func in _ldexpf
29160 do :
29161 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29162 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29163 cat >>confdefs.h <<_ACEOF
29164 #define HAVE__LDEXPF 1
29165 _ACEOF
29168 done
29177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29178 $as_echo_n "checking for logf declaration... " >&6; }
29179 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29180 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29181 $as_echo_n "(cached) " >&6
29182 else
29185 ac_ext=cpp
29186 ac_cpp='$CXXCPP $CPPFLAGS'
29187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29192 /* end confdefs.h. */
29193 #include <math.h>
29194 #ifdef HAVE_IEEEFP_H
29195 #include <ieeefp.h>
29196 #endif
29199 main ()
29201 logf(0);
29203 return 0;
29205 _ACEOF
29206 if ac_fn_cxx_try_compile "$LINENO"; then :
29207 glibcxx_cv_func_logf_use=yes
29208 else
29209 glibcxx_cv_func_logf_use=no
29211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29212 ac_ext=c
29213 ac_cpp='$CPP $CPPFLAGS'
29214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29223 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29225 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29226 for ac_func in logf
29227 do :
29228 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29229 if test "x$ac_cv_func_logf" = x""yes; then :
29230 cat >>confdefs.h <<_ACEOF
29231 #define HAVE_LOGF 1
29232 _ACEOF
29235 done
29237 else
29239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29240 $as_echo_n "checking for _logf declaration... " >&6; }
29241 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29242 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29243 $as_echo_n "(cached) " >&6
29244 else
29247 ac_ext=cpp
29248 ac_cpp='$CXXCPP $CPPFLAGS'
29249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29254 /* end confdefs.h. */
29255 #include <math.h>
29256 #ifdef HAVE_IEEEFP_H
29257 #include <ieeefp.h>
29258 #endif
29261 main ()
29263 _logf(0);
29265 return 0;
29267 _ACEOF
29268 if ac_fn_cxx_try_compile "$LINENO"; then :
29269 glibcxx_cv_func__logf_use=yes
29270 else
29271 glibcxx_cv_func__logf_use=no
29273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29274 ac_ext=c
29275 ac_cpp='$CPP $CPPFLAGS'
29276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29285 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29287 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29288 for ac_func in _logf
29289 do :
29290 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29291 if test "x$ac_cv_func__logf" = x""yes; then :
29292 cat >>confdefs.h <<_ACEOF
29293 #define HAVE__LOGF 1
29294 _ACEOF
29297 done
29306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29307 $as_echo_n "checking for log10f declaration... " >&6; }
29308 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29309 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29310 $as_echo_n "(cached) " >&6
29311 else
29314 ac_ext=cpp
29315 ac_cpp='$CXXCPP $CPPFLAGS'
29316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29321 /* end confdefs.h. */
29322 #include <math.h>
29323 #ifdef HAVE_IEEEFP_H
29324 #include <ieeefp.h>
29325 #endif
29328 main ()
29330 log10f(0);
29332 return 0;
29334 _ACEOF
29335 if ac_fn_cxx_try_compile "$LINENO"; then :
29336 glibcxx_cv_func_log10f_use=yes
29337 else
29338 glibcxx_cv_func_log10f_use=no
29340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29341 ac_ext=c
29342 ac_cpp='$CPP $CPPFLAGS'
29343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29352 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29354 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29355 for ac_func in log10f
29356 do :
29357 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29358 if test "x$ac_cv_func_log10f" = x""yes; then :
29359 cat >>confdefs.h <<_ACEOF
29360 #define HAVE_LOG10F 1
29361 _ACEOF
29364 done
29366 else
29368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29369 $as_echo_n "checking for _log10f declaration... " >&6; }
29370 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29371 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29372 $as_echo_n "(cached) " >&6
29373 else
29376 ac_ext=cpp
29377 ac_cpp='$CXXCPP $CPPFLAGS'
29378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29383 /* end confdefs.h. */
29384 #include <math.h>
29385 #ifdef HAVE_IEEEFP_H
29386 #include <ieeefp.h>
29387 #endif
29390 main ()
29392 _log10f(0);
29394 return 0;
29396 _ACEOF
29397 if ac_fn_cxx_try_compile "$LINENO"; then :
29398 glibcxx_cv_func__log10f_use=yes
29399 else
29400 glibcxx_cv_func__log10f_use=no
29402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29403 ac_ext=c
29404 ac_cpp='$CPP $CPPFLAGS'
29405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29414 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29416 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29417 for ac_func in _log10f
29418 do :
29419 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29420 if test "x$ac_cv_func__log10f" = x""yes; then :
29421 cat >>confdefs.h <<_ACEOF
29422 #define HAVE__LOG10F 1
29423 _ACEOF
29426 done
29435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29436 $as_echo_n "checking for modff declaration... " >&6; }
29437 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29438 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29439 $as_echo_n "(cached) " >&6
29440 else
29443 ac_ext=cpp
29444 ac_cpp='$CXXCPP $CPPFLAGS'
29445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29450 /* end confdefs.h. */
29451 #include <math.h>
29453 main ()
29455 modff(0, 0);
29457 return 0;
29459 _ACEOF
29460 if ac_fn_cxx_try_compile "$LINENO"; then :
29461 glibcxx_cv_func_modff_use=yes
29462 else
29463 glibcxx_cv_func_modff_use=no
29465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29466 ac_ext=c
29467 ac_cpp='$CPP $CPPFLAGS'
29468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29477 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29479 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29480 for ac_func in modff
29481 do :
29482 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29483 if test "x$ac_cv_func_modff" = x""yes; then :
29484 cat >>confdefs.h <<_ACEOF
29485 #define HAVE_MODFF 1
29486 _ACEOF
29489 done
29491 else
29493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29494 $as_echo_n "checking for _modff declaration... " >&6; }
29495 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29496 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29497 $as_echo_n "(cached) " >&6
29498 else
29501 ac_ext=cpp
29502 ac_cpp='$CXXCPP $CPPFLAGS'
29503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29508 /* end confdefs.h. */
29509 #include <math.h>
29511 main ()
29513 _modff(0, 0);
29515 return 0;
29517 _ACEOF
29518 if ac_fn_cxx_try_compile "$LINENO"; then :
29519 glibcxx_cv_func__modff_use=yes
29520 else
29521 glibcxx_cv_func__modff_use=no
29523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29524 ac_ext=c
29525 ac_cpp='$CPP $CPPFLAGS'
29526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29535 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29537 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29538 for ac_func in _modff
29539 do :
29540 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29541 if test "x$ac_cv_func__modff" = x""yes; then :
29542 cat >>confdefs.h <<_ACEOF
29543 #define HAVE__MODFF 1
29544 _ACEOF
29547 done
29556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29557 $as_echo_n "checking for modf declaration... " >&6; }
29558 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29559 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29560 $as_echo_n "(cached) " >&6
29561 else
29564 ac_ext=cpp
29565 ac_cpp='$CXXCPP $CPPFLAGS'
29566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29571 /* end confdefs.h. */
29572 #include <math.h>
29574 main ()
29576 modf(0, 0);
29578 return 0;
29580 _ACEOF
29581 if ac_fn_cxx_try_compile "$LINENO"; then :
29582 glibcxx_cv_func_modf_use=yes
29583 else
29584 glibcxx_cv_func_modf_use=no
29586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29587 ac_ext=c
29588 ac_cpp='$CPP $CPPFLAGS'
29589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29598 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29600 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29601 for ac_func in modf
29602 do :
29603 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29604 if test "x$ac_cv_func_modf" = x""yes; then :
29605 cat >>confdefs.h <<_ACEOF
29606 #define HAVE_MODF 1
29607 _ACEOF
29610 done
29612 else
29614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29615 $as_echo_n "checking for _modf declaration... " >&6; }
29616 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29617 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29618 $as_echo_n "(cached) " >&6
29619 else
29622 ac_ext=cpp
29623 ac_cpp='$CXXCPP $CPPFLAGS'
29624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29629 /* end confdefs.h. */
29630 #include <math.h>
29632 main ()
29634 _modf(0, 0);
29636 return 0;
29638 _ACEOF
29639 if ac_fn_cxx_try_compile "$LINENO"; then :
29640 glibcxx_cv_func__modf_use=yes
29641 else
29642 glibcxx_cv_func__modf_use=no
29644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29645 ac_ext=c
29646 ac_cpp='$CPP $CPPFLAGS'
29647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29656 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29658 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29659 for ac_func in _modf
29660 do :
29661 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29662 if test "x$ac_cv_func__modf" = x""yes; then :
29663 cat >>confdefs.h <<_ACEOF
29664 #define HAVE__MODF 1
29665 _ACEOF
29668 done
29677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29678 $as_echo_n "checking for powf declaration... " >&6; }
29679 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29680 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29681 $as_echo_n "(cached) " >&6
29682 else
29685 ac_ext=cpp
29686 ac_cpp='$CXXCPP $CPPFLAGS'
29687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29692 /* end confdefs.h. */
29693 #include <math.h>
29695 main ()
29697 powf(0, 0);
29699 return 0;
29701 _ACEOF
29702 if ac_fn_cxx_try_compile "$LINENO"; then :
29703 glibcxx_cv_func_powf_use=yes
29704 else
29705 glibcxx_cv_func_powf_use=no
29707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29708 ac_ext=c
29709 ac_cpp='$CPP $CPPFLAGS'
29710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29719 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29721 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29722 for ac_func in powf
29723 do :
29724 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29725 if test "x$ac_cv_func_powf" = x""yes; then :
29726 cat >>confdefs.h <<_ACEOF
29727 #define HAVE_POWF 1
29728 _ACEOF
29731 done
29733 else
29735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29736 $as_echo_n "checking for _powf declaration... " >&6; }
29737 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29738 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29739 $as_echo_n "(cached) " >&6
29740 else
29743 ac_ext=cpp
29744 ac_cpp='$CXXCPP $CPPFLAGS'
29745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29750 /* end confdefs.h. */
29751 #include <math.h>
29753 main ()
29755 _powf(0, 0);
29757 return 0;
29759 _ACEOF
29760 if ac_fn_cxx_try_compile "$LINENO"; then :
29761 glibcxx_cv_func__powf_use=yes
29762 else
29763 glibcxx_cv_func__powf_use=no
29765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29766 ac_ext=c
29767 ac_cpp='$CPP $CPPFLAGS'
29768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29777 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29779 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29780 for ac_func in _powf
29781 do :
29782 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29783 if test "x$ac_cv_func__powf" = x""yes; then :
29784 cat >>confdefs.h <<_ACEOF
29785 #define HAVE__POWF 1
29786 _ACEOF
29789 done
29798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29799 $as_echo_n "checking for sqrtf declaration... " >&6; }
29800 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29801 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29802 $as_echo_n "(cached) " >&6
29803 else
29806 ac_ext=cpp
29807 ac_cpp='$CXXCPP $CPPFLAGS'
29808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29813 /* end confdefs.h. */
29814 #include <math.h>
29815 #ifdef HAVE_IEEEFP_H
29816 #include <ieeefp.h>
29817 #endif
29820 main ()
29822 sqrtf(0);
29824 return 0;
29826 _ACEOF
29827 if ac_fn_cxx_try_compile "$LINENO"; then :
29828 glibcxx_cv_func_sqrtf_use=yes
29829 else
29830 glibcxx_cv_func_sqrtf_use=no
29832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29833 ac_ext=c
29834 ac_cpp='$CPP $CPPFLAGS'
29835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29844 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29846 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29847 for ac_func in sqrtf
29848 do :
29849 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29850 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29851 cat >>confdefs.h <<_ACEOF
29852 #define HAVE_SQRTF 1
29853 _ACEOF
29856 done
29858 else
29860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29861 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29862 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29863 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29864 $as_echo_n "(cached) " >&6
29865 else
29868 ac_ext=cpp
29869 ac_cpp='$CXXCPP $CPPFLAGS'
29870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29875 /* end confdefs.h. */
29876 #include <math.h>
29877 #ifdef HAVE_IEEEFP_H
29878 #include <ieeefp.h>
29879 #endif
29882 main ()
29884 _sqrtf(0);
29886 return 0;
29888 _ACEOF
29889 if ac_fn_cxx_try_compile "$LINENO"; then :
29890 glibcxx_cv_func__sqrtf_use=yes
29891 else
29892 glibcxx_cv_func__sqrtf_use=no
29894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29895 ac_ext=c
29896 ac_cpp='$CPP $CPPFLAGS'
29897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29906 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29908 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29909 for ac_func in _sqrtf
29910 do :
29911 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29912 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29913 cat >>confdefs.h <<_ACEOF
29914 #define HAVE__SQRTF 1
29915 _ACEOF
29918 done
29927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29928 $as_echo_n "checking for sincosf declaration... " >&6; }
29929 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29930 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29931 $as_echo_n "(cached) " >&6
29932 else
29935 ac_ext=cpp
29936 ac_cpp='$CXXCPP $CPPFLAGS'
29937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29942 /* end confdefs.h. */
29943 #include <math.h>
29945 main ()
29947 sincosf(0, 0, 0);
29949 return 0;
29951 _ACEOF
29952 if ac_fn_cxx_try_compile "$LINENO"; then :
29953 glibcxx_cv_func_sincosf_use=yes
29954 else
29955 glibcxx_cv_func_sincosf_use=no
29957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29958 ac_ext=c
29959 ac_cpp='$CPP $CPPFLAGS'
29960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29969 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29971 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29972 for ac_func in sincosf
29973 do :
29974 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29975 if test "x$ac_cv_func_sincosf" = x""yes; then :
29976 cat >>confdefs.h <<_ACEOF
29977 #define HAVE_SINCOSF 1
29978 _ACEOF
29981 done
29983 else
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29986 $as_echo_n "checking for _sincosf declaration... " >&6; }
29987 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29988 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29989 $as_echo_n "(cached) " >&6
29990 else
29993 ac_ext=cpp
29994 ac_cpp='$CXXCPP $CPPFLAGS'
29995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30000 /* end confdefs.h. */
30001 #include <math.h>
30003 main ()
30005 _sincosf(0, 0, 0);
30007 return 0;
30009 _ACEOF
30010 if ac_fn_cxx_try_compile "$LINENO"; then :
30011 glibcxx_cv_func__sincosf_use=yes
30012 else
30013 glibcxx_cv_func__sincosf_use=no
30015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30016 ac_ext=c
30017 ac_cpp='$CPP $CPPFLAGS'
30018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30027 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30029 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30030 for ac_func in _sincosf
30031 do :
30032 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30033 if test "x$ac_cv_func__sincosf" = x""yes; then :
30034 cat >>confdefs.h <<_ACEOF
30035 #define HAVE__SINCOSF 1
30036 _ACEOF
30039 done
30048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30049 $as_echo_n "checking for finitef declaration... " >&6; }
30050 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30051 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30052 $as_echo_n "(cached) " >&6
30053 else
30056 ac_ext=cpp
30057 ac_cpp='$CXXCPP $CPPFLAGS'
30058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30063 /* end confdefs.h. */
30064 #include <math.h>
30065 #ifdef HAVE_IEEEFP_H
30066 #include <ieeefp.h>
30067 #endif
30070 main ()
30072 finitef(0);
30074 return 0;
30076 _ACEOF
30077 if ac_fn_cxx_try_compile "$LINENO"; then :
30078 glibcxx_cv_func_finitef_use=yes
30079 else
30080 glibcxx_cv_func_finitef_use=no
30082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30083 ac_ext=c
30084 ac_cpp='$CPP $CPPFLAGS'
30085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30094 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30096 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30097 for ac_func in finitef
30098 do :
30099 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30100 if test "x$ac_cv_func_finitef" = x""yes; then :
30101 cat >>confdefs.h <<_ACEOF
30102 #define HAVE_FINITEF 1
30103 _ACEOF
30106 done
30108 else
30110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30111 $as_echo_n "checking for _finitef declaration... " >&6; }
30112 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30113 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30114 $as_echo_n "(cached) " >&6
30115 else
30118 ac_ext=cpp
30119 ac_cpp='$CXXCPP $CPPFLAGS'
30120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30125 /* end confdefs.h. */
30126 #include <math.h>
30127 #ifdef HAVE_IEEEFP_H
30128 #include <ieeefp.h>
30129 #endif
30132 main ()
30134 _finitef(0);
30136 return 0;
30138 _ACEOF
30139 if ac_fn_cxx_try_compile "$LINENO"; then :
30140 glibcxx_cv_func__finitef_use=yes
30141 else
30142 glibcxx_cv_func__finitef_use=no
30144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30145 ac_ext=c
30146 ac_cpp='$CPP $CPPFLAGS'
30147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30156 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30158 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30159 for ac_func in _finitef
30160 do :
30161 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30162 if test "x$ac_cv_func__finitef" = x""yes; then :
30163 cat >>confdefs.h <<_ACEOF
30164 #define HAVE__FINITEF 1
30165 _ACEOF
30168 done
30177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30178 $as_echo_n "checking for long double trig functions... " >&6; }
30179 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30180 $as_echo_n "(cached) " >&6
30181 else
30184 ac_ext=cpp
30185 ac_cpp='$CXXCPP $CPPFLAGS'
30186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30191 /* end confdefs.h. */
30192 #include <math.h>
30194 main ()
30196 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30198 return 0;
30200 _ACEOF
30201 if ac_fn_cxx_try_compile "$LINENO"; then :
30202 glibcxx_cv_func_long_double_trig_use=yes
30203 else
30204 glibcxx_cv_func_long_double_trig_use=no
30206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30207 ac_ext=c
30208 ac_cpp='$CPP $CPPFLAGS'
30209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30216 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30217 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30218 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30219 do :
30220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30222 eval as_val=\$$as_ac_var
30223 if test "x$as_val" = x""yes; then :
30224 cat >>confdefs.h <<_ACEOF
30225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30226 _ACEOF
30229 done
30231 else
30232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30233 $as_echo_n "checking for _long double trig functions... " >&6; }
30234 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30235 $as_echo_n "(cached) " >&6
30236 else
30239 ac_ext=cpp
30240 ac_cpp='$CXXCPP $CPPFLAGS'
30241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30246 /* end confdefs.h. */
30247 #include <math.h>
30249 main ()
30251 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30253 return 0;
30255 _ACEOF
30256 if ac_fn_cxx_try_compile "$LINENO"; then :
30257 glibcxx_cv_func__long_double_trig_use=yes
30258 else
30259 glibcxx_cv_func__long_double_trig_use=no
30261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30262 ac_ext=c
30263 ac_cpp='$CPP $CPPFLAGS'
30264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30271 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30272 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30273 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30274 do :
30275 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30276 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30277 eval as_val=\$$as_ac_var
30278 if test "x$as_val" = x""yes; then :
30279 cat >>confdefs.h <<_ACEOF
30280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30281 _ACEOF
30284 done
30293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30294 $as_echo_n "checking for long double round functions... " >&6; }
30295 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30296 $as_echo_n "(cached) " >&6
30297 else
30300 ac_ext=cpp
30301 ac_cpp='$CXXCPP $CPPFLAGS'
30302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30307 /* end confdefs.h. */
30308 #include <math.h>
30310 main ()
30312 ceill (0); floorl (0);
30314 return 0;
30316 _ACEOF
30317 if ac_fn_cxx_try_compile "$LINENO"; then :
30318 glibcxx_cv_func_long_double_round_use=yes
30319 else
30320 glibcxx_cv_func_long_double_round_use=no
30322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30323 ac_ext=c
30324 ac_cpp='$CPP $CPPFLAGS'
30325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30332 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30333 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30334 for ac_func in ceill floorl
30335 do :
30336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30338 eval as_val=\$$as_ac_var
30339 if test "x$as_val" = x""yes; then :
30340 cat >>confdefs.h <<_ACEOF
30341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30342 _ACEOF
30345 done
30347 else
30348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30349 $as_echo_n "checking for _long double round functions... " >&6; }
30350 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30351 $as_echo_n "(cached) " >&6
30352 else
30355 ac_ext=cpp
30356 ac_cpp='$CXXCPP $CPPFLAGS'
30357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30362 /* end confdefs.h. */
30363 #include <math.h>
30365 main ()
30367 _ceill (0); _floorl (0);
30369 return 0;
30371 _ACEOF
30372 if ac_fn_cxx_try_compile "$LINENO"; then :
30373 glibcxx_cv_func__long_double_round_use=yes
30374 else
30375 glibcxx_cv_func__long_double_round_use=no
30377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30378 ac_ext=c
30379 ac_cpp='$CPP $CPPFLAGS'
30380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30387 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30388 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30389 for ac_func in _ceill _floorl
30390 do :
30391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30393 eval as_val=\$$as_ac_var
30394 if test "x$as_val" = x""yes; then :
30395 cat >>confdefs.h <<_ACEOF
30396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30397 _ACEOF
30400 done
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30411 $as_echo_n "checking for isnanl declaration... " >&6; }
30412 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30413 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30414 $as_echo_n "(cached) " >&6
30415 else
30418 ac_ext=cpp
30419 ac_cpp='$CXXCPP $CPPFLAGS'
30420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30425 /* end confdefs.h. */
30426 #include <math.h>
30427 #ifdef HAVE_IEEEFP_H
30428 #include <ieeefp.h>
30429 #endif
30432 main ()
30434 isnanl(0);
30436 return 0;
30438 _ACEOF
30439 if ac_fn_cxx_try_compile "$LINENO"; then :
30440 glibcxx_cv_func_isnanl_use=yes
30441 else
30442 glibcxx_cv_func_isnanl_use=no
30444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30445 ac_ext=c
30446 ac_cpp='$CPP $CPPFLAGS'
30447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30456 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30458 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30459 for ac_func in isnanl
30460 do :
30461 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30462 if test "x$ac_cv_func_isnanl" = x""yes; then :
30463 cat >>confdefs.h <<_ACEOF
30464 #define HAVE_ISNANL 1
30465 _ACEOF
30468 done
30470 else
30472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30473 $as_echo_n "checking for _isnanl declaration... " >&6; }
30474 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30475 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30476 $as_echo_n "(cached) " >&6
30477 else
30480 ac_ext=cpp
30481 ac_cpp='$CXXCPP $CPPFLAGS'
30482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30487 /* end confdefs.h. */
30488 #include <math.h>
30489 #ifdef HAVE_IEEEFP_H
30490 #include <ieeefp.h>
30491 #endif
30494 main ()
30496 _isnanl(0);
30498 return 0;
30500 _ACEOF
30501 if ac_fn_cxx_try_compile "$LINENO"; then :
30502 glibcxx_cv_func__isnanl_use=yes
30503 else
30504 glibcxx_cv_func__isnanl_use=no
30506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30507 ac_ext=c
30508 ac_cpp='$CPP $CPPFLAGS'
30509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30518 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30520 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30521 for ac_func in _isnanl
30522 do :
30523 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30524 if test "x$ac_cv_func__isnanl" = x""yes; then :
30525 cat >>confdefs.h <<_ACEOF
30526 #define HAVE__ISNANL 1
30527 _ACEOF
30530 done
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30540 $as_echo_n "checking for isinfl declaration... " >&6; }
30541 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30542 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30543 $as_echo_n "(cached) " >&6
30544 else
30547 ac_ext=cpp
30548 ac_cpp='$CXXCPP $CPPFLAGS'
30549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30554 /* end confdefs.h. */
30555 #include <math.h>
30556 #ifdef HAVE_IEEEFP_H
30557 #include <ieeefp.h>
30558 #endif
30561 main ()
30563 isinfl(0);
30565 return 0;
30567 _ACEOF
30568 if ac_fn_cxx_try_compile "$LINENO"; then :
30569 glibcxx_cv_func_isinfl_use=yes
30570 else
30571 glibcxx_cv_func_isinfl_use=no
30573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30574 ac_ext=c
30575 ac_cpp='$CPP $CPPFLAGS'
30576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30585 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30587 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30588 for ac_func in isinfl
30589 do :
30590 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30591 if test "x$ac_cv_func_isinfl" = x""yes; then :
30592 cat >>confdefs.h <<_ACEOF
30593 #define HAVE_ISINFL 1
30594 _ACEOF
30597 done
30599 else
30601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30602 $as_echo_n "checking for _isinfl declaration... " >&6; }
30603 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30604 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30605 $as_echo_n "(cached) " >&6
30606 else
30609 ac_ext=cpp
30610 ac_cpp='$CXXCPP $CPPFLAGS'
30611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30616 /* end confdefs.h. */
30617 #include <math.h>
30618 #ifdef HAVE_IEEEFP_H
30619 #include <ieeefp.h>
30620 #endif
30623 main ()
30625 _isinfl(0);
30627 return 0;
30629 _ACEOF
30630 if ac_fn_cxx_try_compile "$LINENO"; then :
30631 glibcxx_cv_func__isinfl_use=yes
30632 else
30633 glibcxx_cv_func__isinfl_use=no
30635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30636 ac_ext=c
30637 ac_cpp='$CPP $CPPFLAGS'
30638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30647 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30649 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30650 for ac_func in _isinfl
30651 do :
30652 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30653 if test "x$ac_cv_func__isinfl" = x""yes; then :
30654 cat >>confdefs.h <<_ACEOF
30655 #define HAVE__ISINFL 1
30656 _ACEOF
30659 done
30668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30669 $as_echo_n "checking for atan2l declaration... " >&6; }
30670 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30671 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30672 $as_echo_n "(cached) " >&6
30673 else
30676 ac_ext=cpp
30677 ac_cpp='$CXXCPP $CPPFLAGS'
30678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30683 /* end confdefs.h. */
30684 #include <math.h>
30686 main ()
30688 atan2l(0, 0);
30690 return 0;
30692 _ACEOF
30693 if ac_fn_cxx_try_compile "$LINENO"; then :
30694 glibcxx_cv_func_atan2l_use=yes
30695 else
30696 glibcxx_cv_func_atan2l_use=no
30698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30699 ac_ext=c
30700 ac_cpp='$CPP $CPPFLAGS'
30701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30710 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30712 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30713 for ac_func in atan2l
30714 do :
30715 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30716 if test "x$ac_cv_func_atan2l" = x""yes; then :
30717 cat >>confdefs.h <<_ACEOF
30718 #define HAVE_ATAN2L 1
30719 _ACEOF
30722 done
30724 else
30726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30727 $as_echo_n "checking for _atan2l declaration... " >&6; }
30728 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30729 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30730 $as_echo_n "(cached) " >&6
30731 else
30734 ac_ext=cpp
30735 ac_cpp='$CXXCPP $CPPFLAGS'
30736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30741 /* end confdefs.h. */
30742 #include <math.h>
30744 main ()
30746 _atan2l(0, 0);
30748 return 0;
30750 _ACEOF
30751 if ac_fn_cxx_try_compile "$LINENO"; then :
30752 glibcxx_cv_func__atan2l_use=yes
30753 else
30754 glibcxx_cv_func__atan2l_use=no
30756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30757 ac_ext=c
30758 ac_cpp='$CPP $CPPFLAGS'
30759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30768 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30770 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30771 for ac_func in _atan2l
30772 do :
30773 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30774 if test "x$ac_cv_func__atan2l" = x""yes; then :
30775 cat >>confdefs.h <<_ACEOF
30776 #define HAVE__ATAN2L 1
30777 _ACEOF
30780 done
30789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30790 $as_echo_n "checking for expl declaration... " >&6; }
30791 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30792 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30793 $as_echo_n "(cached) " >&6
30794 else
30797 ac_ext=cpp
30798 ac_cpp='$CXXCPP $CPPFLAGS'
30799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30804 /* end confdefs.h. */
30805 #include <math.h>
30806 #ifdef HAVE_IEEEFP_H
30807 #include <ieeefp.h>
30808 #endif
30811 main ()
30813 expl(0);
30815 return 0;
30817 _ACEOF
30818 if ac_fn_cxx_try_compile "$LINENO"; then :
30819 glibcxx_cv_func_expl_use=yes
30820 else
30821 glibcxx_cv_func_expl_use=no
30823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30824 ac_ext=c
30825 ac_cpp='$CPP $CPPFLAGS'
30826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30835 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30837 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30838 for ac_func in expl
30839 do :
30840 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30841 if test "x$ac_cv_func_expl" = x""yes; then :
30842 cat >>confdefs.h <<_ACEOF
30843 #define HAVE_EXPL 1
30844 _ACEOF
30847 done
30849 else
30851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30852 $as_echo_n "checking for _expl declaration... " >&6; }
30853 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30854 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30855 $as_echo_n "(cached) " >&6
30856 else
30859 ac_ext=cpp
30860 ac_cpp='$CXXCPP $CPPFLAGS'
30861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30866 /* end confdefs.h. */
30867 #include <math.h>
30868 #ifdef HAVE_IEEEFP_H
30869 #include <ieeefp.h>
30870 #endif
30873 main ()
30875 _expl(0);
30877 return 0;
30879 _ACEOF
30880 if ac_fn_cxx_try_compile "$LINENO"; then :
30881 glibcxx_cv_func__expl_use=yes
30882 else
30883 glibcxx_cv_func__expl_use=no
30885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30886 ac_ext=c
30887 ac_cpp='$CPP $CPPFLAGS'
30888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30897 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30899 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30900 for ac_func in _expl
30901 do :
30902 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30903 if test "x$ac_cv_func__expl" = x""yes; then :
30904 cat >>confdefs.h <<_ACEOF
30905 #define HAVE__EXPL 1
30906 _ACEOF
30909 done
30918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30919 $as_echo_n "checking for fabsl declaration... " >&6; }
30920 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30921 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30922 $as_echo_n "(cached) " >&6
30923 else
30926 ac_ext=cpp
30927 ac_cpp='$CXXCPP $CPPFLAGS'
30928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30933 /* end confdefs.h. */
30934 #include <math.h>
30935 #ifdef HAVE_IEEEFP_H
30936 #include <ieeefp.h>
30937 #endif
30940 main ()
30942 fabsl(0);
30944 return 0;
30946 _ACEOF
30947 if ac_fn_cxx_try_compile "$LINENO"; then :
30948 glibcxx_cv_func_fabsl_use=yes
30949 else
30950 glibcxx_cv_func_fabsl_use=no
30952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30953 ac_ext=c
30954 ac_cpp='$CPP $CPPFLAGS'
30955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30964 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30966 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30967 for ac_func in fabsl
30968 do :
30969 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30970 if test "x$ac_cv_func_fabsl" = x""yes; then :
30971 cat >>confdefs.h <<_ACEOF
30972 #define HAVE_FABSL 1
30973 _ACEOF
30976 done
30978 else
30980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30981 $as_echo_n "checking for _fabsl declaration... " >&6; }
30982 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30983 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30984 $as_echo_n "(cached) " >&6
30985 else
30988 ac_ext=cpp
30989 ac_cpp='$CXXCPP $CPPFLAGS'
30990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30995 /* end confdefs.h. */
30996 #include <math.h>
30997 #ifdef HAVE_IEEEFP_H
30998 #include <ieeefp.h>
30999 #endif
31002 main ()
31004 _fabsl(0);
31006 return 0;
31008 _ACEOF
31009 if ac_fn_cxx_try_compile "$LINENO"; then :
31010 glibcxx_cv_func__fabsl_use=yes
31011 else
31012 glibcxx_cv_func__fabsl_use=no
31014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31015 ac_ext=c
31016 ac_cpp='$CPP $CPPFLAGS'
31017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31026 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31028 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31029 for ac_func in _fabsl
31030 do :
31031 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31032 if test "x$ac_cv_func__fabsl" = x""yes; then :
31033 cat >>confdefs.h <<_ACEOF
31034 #define HAVE__FABSL 1
31035 _ACEOF
31038 done
31047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31048 $as_echo_n "checking for fmodl declaration... " >&6; }
31049 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31050 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31051 $as_echo_n "(cached) " >&6
31052 else
31055 ac_ext=cpp
31056 ac_cpp='$CXXCPP $CPPFLAGS'
31057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31062 /* end confdefs.h. */
31063 #include <math.h>
31065 main ()
31067 fmodl(0, 0);
31069 return 0;
31071 _ACEOF
31072 if ac_fn_cxx_try_compile "$LINENO"; then :
31073 glibcxx_cv_func_fmodl_use=yes
31074 else
31075 glibcxx_cv_func_fmodl_use=no
31077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31078 ac_ext=c
31079 ac_cpp='$CPP $CPPFLAGS'
31080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31089 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31091 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31092 for ac_func in fmodl
31093 do :
31094 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31095 if test "x$ac_cv_func_fmodl" = x""yes; then :
31096 cat >>confdefs.h <<_ACEOF
31097 #define HAVE_FMODL 1
31098 _ACEOF
31101 done
31103 else
31105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31106 $as_echo_n "checking for _fmodl declaration... " >&6; }
31107 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31108 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31109 $as_echo_n "(cached) " >&6
31110 else
31113 ac_ext=cpp
31114 ac_cpp='$CXXCPP $CPPFLAGS'
31115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31120 /* end confdefs.h. */
31121 #include <math.h>
31123 main ()
31125 _fmodl(0, 0);
31127 return 0;
31129 _ACEOF
31130 if ac_fn_cxx_try_compile "$LINENO"; then :
31131 glibcxx_cv_func__fmodl_use=yes
31132 else
31133 glibcxx_cv_func__fmodl_use=no
31135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31136 ac_ext=c
31137 ac_cpp='$CPP $CPPFLAGS'
31138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31147 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31149 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31150 for ac_func in _fmodl
31151 do :
31152 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31153 if test "x$ac_cv_func__fmodl" = x""yes; then :
31154 cat >>confdefs.h <<_ACEOF
31155 #define HAVE__FMODL 1
31156 _ACEOF
31159 done
31168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31169 $as_echo_n "checking for frexpl declaration... " >&6; }
31170 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31171 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31172 $as_echo_n "(cached) " >&6
31173 else
31176 ac_ext=cpp
31177 ac_cpp='$CXXCPP $CPPFLAGS'
31178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31183 /* end confdefs.h. */
31184 #include <math.h>
31186 main ()
31188 frexpl(0, 0);
31190 return 0;
31192 _ACEOF
31193 if ac_fn_cxx_try_compile "$LINENO"; then :
31194 glibcxx_cv_func_frexpl_use=yes
31195 else
31196 glibcxx_cv_func_frexpl_use=no
31198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31199 ac_ext=c
31200 ac_cpp='$CPP $CPPFLAGS'
31201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31210 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31212 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31213 for ac_func in frexpl
31214 do :
31215 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31216 if test "x$ac_cv_func_frexpl" = x""yes; then :
31217 cat >>confdefs.h <<_ACEOF
31218 #define HAVE_FREXPL 1
31219 _ACEOF
31222 done
31224 else
31226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31227 $as_echo_n "checking for _frexpl declaration... " >&6; }
31228 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31229 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31230 $as_echo_n "(cached) " >&6
31231 else
31234 ac_ext=cpp
31235 ac_cpp='$CXXCPP $CPPFLAGS'
31236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31241 /* end confdefs.h. */
31242 #include <math.h>
31244 main ()
31246 _frexpl(0, 0);
31248 return 0;
31250 _ACEOF
31251 if ac_fn_cxx_try_compile "$LINENO"; then :
31252 glibcxx_cv_func__frexpl_use=yes
31253 else
31254 glibcxx_cv_func__frexpl_use=no
31256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31257 ac_ext=c
31258 ac_cpp='$CPP $CPPFLAGS'
31259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31268 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31270 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31271 for ac_func in _frexpl
31272 do :
31273 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31274 if test "x$ac_cv_func__frexpl" = x""yes; then :
31275 cat >>confdefs.h <<_ACEOF
31276 #define HAVE__FREXPL 1
31277 _ACEOF
31280 done
31289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31290 $as_echo_n "checking for hypotl declaration... " >&6; }
31291 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31292 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31293 $as_echo_n "(cached) " >&6
31294 else
31297 ac_ext=cpp
31298 ac_cpp='$CXXCPP $CPPFLAGS'
31299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31304 /* end confdefs.h. */
31305 #include <math.h>
31307 main ()
31309 hypotl(0, 0);
31311 return 0;
31313 _ACEOF
31314 if ac_fn_cxx_try_compile "$LINENO"; then :
31315 glibcxx_cv_func_hypotl_use=yes
31316 else
31317 glibcxx_cv_func_hypotl_use=no
31319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31320 ac_ext=c
31321 ac_cpp='$CPP $CPPFLAGS'
31322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31331 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31333 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31334 for ac_func in hypotl
31335 do :
31336 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31337 if test "x$ac_cv_func_hypotl" = x""yes; then :
31338 cat >>confdefs.h <<_ACEOF
31339 #define HAVE_HYPOTL 1
31340 _ACEOF
31343 done
31345 else
31347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31348 $as_echo_n "checking for _hypotl declaration... " >&6; }
31349 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31350 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31351 $as_echo_n "(cached) " >&6
31352 else
31355 ac_ext=cpp
31356 ac_cpp='$CXXCPP $CPPFLAGS'
31357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h. */
31363 #include <math.h>
31365 main ()
31367 _hypotl(0, 0);
31369 return 0;
31371 _ACEOF
31372 if ac_fn_cxx_try_compile "$LINENO"; then :
31373 glibcxx_cv_func__hypotl_use=yes
31374 else
31375 glibcxx_cv_func__hypotl_use=no
31377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31378 ac_ext=c
31379 ac_cpp='$CPP $CPPFLAGS'
31380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31389 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31391 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31392 for ac_func in _hypotl
31393 do :
31394 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31395 if test "x$ac_cv_func__hypotl" = x""yes; then :
31396 cat >>confdefs.h <<_ACEOF
31397 #define HAVE__HYPOTL 1
31398 _ACEOF
31401 done
31410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31411 $as_echo_n "checking for ldexpl declaration... " >&6; }
31412 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31413 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31414 $as_echo_n "(cached) " >&6
31415 else
31418 ac_ext=cpp
31419 ac_cpp='$CXXCPP $CPPFLAGS'
31420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31425 /* end confdefs.h. */
31426 #include <math.h>
31428 main ()
31430 ldexpl(0, 0);
31432 return 0;
31434 _ACEOF
31435 if ac_fn_cxx_try_compile "$LINENO"; then :
31436 glibcxx_cv_func_ldexpl_use=yes
31437 else
31438 glibcxx_cv_func_ldexpl_use=no
31440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31441 ac_ext=c
31442 ac_cpp='$CPP $CPPFLAGS'
31443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31452 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31454 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31455 for ac_func in ldexpl
31456 do :
31457 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31458 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31459 cat >>confdefs.h <<_ACEOF
31460 #define HAVE_LDEXPL 1
31461 _ACEOF
31464 done
31466 else
31468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31469 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31470 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31471 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31472 $as_echo_n "(cached) " >&6
31473 else
31476 ac_ext=cpp
31477 ac_cpp='$CXXCPP $CPPFLAGS'
31478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31483 /* end confdefs.h. */
31484 #include <math.h>
31486 main ()
31488 _ldexpl(0, 0);
31490 return 0;
31492 _ACEOF
31493 if ac_fn_cxx_try_compile "$LINENO"; then :
31494 glibcxx_cv_func__ldexpl_use=yes
31495 else
31496 glibcxx_cv_func__ldexpl_use=no
31498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31499 ac_ext=c
31500 ac_cpp='$CPP $CPPFLAGS'
31501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31510 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31512 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31513 for ac_func in _ldexpl
31514 do :
31515 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31516 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31517 cat >>confdefs.h <<_ACEOF
31518 #define HAVE__LDEXPL 1
31519 _ACEOF
31522 done
31531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31532 $as_echo_n "checking for logl declaration... " >&6; }
31533 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31534 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31535 $as_echo_n "(cached) " >&6
31536 else
31539 ac_ext=cpp
31540 ac_cpp='$CXXCPP $CPPFLAGS'
31541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31546 /* end confdefs.h. */
31547 #include <math.h>
31548 #ifdef HAVE_IEEEFP_H
31549 #include <ieeefp.h>
31550 #endif
31553 main ()
31555 logl(0);
31557 return 0;
31559 _ACEOF
31560 if ac_fn_cxx_try_compile "$LINENO"; then :
31561 glibcxx_cv_func_logl_use=yes
31562 else
31563 glibcxx_cv_func_logl_use=no
31565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31566 ac_ext=c
31567 ac_cpp='$CPP $CPPFLAGS'
31568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31577 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31579 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31580 for ac_func in logl
31581 do :
31582 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31583 if test "x$ac_cv_func_logl" = x""yes; then :
31584 cat >>confdefs.h <<_ACEOF
31585 #define HAVE_LOGL 1
31586 _ACEOF
31589 done
31591 else
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31594 $as_echo_n "checking for _logl declaration... " >&6; }
31595 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31596 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31597 $as_echo_n "(cached) " >&6
31598 else
31601 ac_ext=cpp
31602 ac_cpp='$CXXCPP $CPPFLAGS'
31603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31608 /* end confdefs.h. */
31609 #include <math.h>
31610 #ifdef HAVE_IEEEFP_H
31611 #include <ieeefp.h>
31612 #endif
31615 main ()
31617 _logl(0);
31619 return 0;
31621 _ACEOF
31622 if ac_fn_cxx_try_compile "$LINENO"; then :
31623 glibcxx_cv_func__logl_use=yes
31624 else
31625 glibcxx_cv_func__logl_use=no
31627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31628 ac_ext=c
31629 ac_cpp='$CPP $CPPFLAGS'
31630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31639 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31641 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31642 for ac_func in _logl
31643 do :
31644 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31645 if test "x$ac_cv_func__logl" = x""yes; then :
31646 cat >>confdefs.h <<_ACEOF
31647 #define HAVE__LOGL 1
31648 _ACEOF
31651 done
31660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31661 $as_echo_n "checking for log10l declaration... " >&6; }
31662 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31663 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31664 $as_echo_n "(cached) " >&6
31665 else
31668 ac_ext=cpp
31669 ac_cpp='$CXXCPP $CPPFLAGS'
31670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31675 /* end confdefs.h. */
31676 #include <math.h>
31677 #ifdef HAVE_IEEEFP_H
31678 #include <ieeefp.h>
31679 #endif
31682 main ()
31684 log10l(0);
31686 return 0;
31688 _ACEOF
31689 if ac_fn_cxx_try_compile "$LINENO"; then :
31690 glibcxx_cv_func_log10l_use=yes
31691 else
31692 glibcxx_cv_func_log10l_use=no
31694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31695 ac_ext=c
31696 ac_cpp='$CPP $CPPFLAGS'
31697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31706 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31708 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31709 for ac_func in log10l
31710 do :
31711 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31712 if test "x$ac_cv_func_log10l" = x""yes; then :
31713 cat >>confdefs.h <<_ACEOF
31714 #define HAVE_LOG10L 1
31715 _ACEOF
31718 done
31720 else
31722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31723 $as_echo_n "checking for _log10l declaration... " >&6; }
31724 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31725 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31726 $as_echo_n "(cached) " >&6
31727 else
31730 ac_ext=cpp
31731 ac_cpp='$CXXCPP $CPPFLAGS'
31732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31737 /* end confdefs.h. */
31738 #include <math.h>
31739 #ifdef HAVE_IEEEFP_H
31740 #include <ieeefp.h>
31741 #endif
31744 main ()
31746 _log10l(0);
31748 return 0;
31750 _ACEOF
31751 if ac_fn_cxx_try_compile "$LINENO"; then :
31752 glibcxx_cv_func__log10l_use=yes
31753 else
31754 glibcxx_cv_func__log10l_use=no
31756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31757 ac_ext=c
31758 ac_cpp='$CPP $CPPFLAGS'
31759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31768 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31770 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31771 for ac_func in _log10l
31772 do :
31773 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31774 if test "x$ac_cv_func__log10l" = x""yes; then :
31775 cat >>confdefs.h <<_ACEOF
31776 #define HAVE__LOG10L 1
31777 _ACEOF
31780 done
31789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31790 $as_echo_n "checking for modfl declaration... " >&6; }
31791 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31792 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31793 $as_echo_n "(cached) " >&6
31794 else
31797 ac_ext=cpp
31798 ac_cpp='$CXXCPP $CPPFLAGS'
31799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31804 /* end confdefs.h. */
31805 #include <math.h>
31807 main ()
31809 modfl(0, 0);
31811 return 0;
31813 _ACEOF
31814 if ac_fn_cxx_try_compile "$LINENO"; then :
31815 glibcxx_cv_func_modfl_use=yes
31816 else
31817 glibcxx_cv_func_modfl_use=no
31819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31820 ac_ext=c
31821 ac_cpp='$CPP $CPPFLAGS'
31822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31831 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31833 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31834 for ac_func in modfl
31835 do :
31836 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31837 if test "x$ac_cv_func_modfl" = x""yes; then :
31838 cat >>confdefs.h <<_ACEOF
31839 #define HAVE_MODFL 1
31840 _ACEOF
31843 done
31845 else
31847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31848 $as_echo_n "checking for _modfl declaration... " >&6; }
31849 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31850 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31851 $as_echo_n "(cached) " >&6
31852 else
31855 ac_ext=cpp
31856 ac_cpp='$CXXCPP $CPPFLAGS'
31857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31862 /* end confdefs.h. */
31863 #include <math.h>
31865 main ()
31867 _modfl(0, 0);
31869 return 0;
31871 _ACEOF
31872 if ac_fn_cxx_try_compile "$LINENO"; then :
31873 glibcxx_cv_func__modfl_use=yes
31874 else
31875 glibcxx_cv_func__modfl_use=no
31877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31878 ac_ext=c
31879 ac_cpp='$CPP $CPPFLAGS'
31880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31889 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31891 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31892 for ac_func in _modfl
31893 do :
31894 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31895 if test "x$ac_cv_func__modfl" = x""yes; then :
31896 cat >>confdefs.h <<_ACEOF
31897 #define HAVE__MODFL 1
31898 _ACEOF
31901 done
31910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31911 $as_echo_n "checking for powl declaration... " >&6; }
31912 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31913 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31914 $as_echo_n "(cached) " >&6
31915 else
31918 ac_ext=cpp
31919 ac_cpp='$CXXCPP $CPPFLAGS'
31920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31925 /* end confdefs.h. */
31926 #include <math.h>
31928 main ()
31930 powl(0, 0);
31932 return 0;
31934 _ACEOF
31935 if ac_fn_cxx_try_compile "$LINENO"; then :
31936 glibcxx_cv_func_powl_use=yes
31937 else
31938 glibcxx_cv_func_powl_use=no
31940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31941 ac_ext=c
31942 ac_cpp='$CPP $CPPFLAGS'
31943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31952 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31954 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31955 for ac_func in powl
31956 do :
31957 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31958 if test "x$ac_cv_func_powl" = x""yes; then :
31959 cat >>confdefs.h <<_ACEOF
31960 #define HAVE_POWL 1
31961 _ACEOF
31964 done
31966 else
31968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31969 $as_echo_n "checking for _powl declaration... " >&6; }
31970 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31971 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31972 $as_echo_n "(cached) " >&6
31973 else
31976 ac_ext=cpp
31977 ac_cpp='$CXXCPP $CPPFLAGS'
31978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31983 /* end confdefs.h. */
31984 #include <math.h>
31986 main ()
31988 _powl(0, 0);
31990 return 0;
31992 _ACEOF
31993 if ac_fn_cxx_try_compile "$LINENO"; then :
31994 glibcxx_cv_func__powl_use=yes
31995 else
31996 glibcxx_cv_func__powl_use=no
31998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31999 ac_ext=c
32000 ac_cpp='$CPP $CPPFLAGS'
32001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32010 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32012 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32013 for ac_func in _powl
32014 do :
32015 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32016 if test "x$ac_cv_func__powl" = x""yes; then :
32017 cat >>confdefs.h <<_ACEOF
32018 #define HAVE__POWL 1
32019 _ACEOF
32022 done
32031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32032 $as_echo_n "checking for sqrtl declaration... " >&6; }
32033 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32034 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32035 $as_echo_n "(cached) " >&6
32036 else
32039 ac_ext=cpp
32040 ac_cpp='$CXXCPP $CPPFLAGS'
32041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32046 /* end confdefs.h. */
32047 #include <math.h>
32048 #ifdef HAVE_IEEEFP_H
32049 #include <ieeefp.h>
32050 #endif
32053 main ()
32055 sqrtl(0);
32057 return 0;
32059 _ACEOF
32060 if ac_fn_cxx_try_compile "$LINENO"; then :
32061 glibcxx_cv_func_sqrtl_use=yes
32062 else
32063 glibcxx_cv_func_sqrtl_use=no
32065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32066 ac_ext=c
32067 ac_cpp='$CPP $CPPFLAGS'
32068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32077 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32079 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32080 for ac_func in sqrtl
32081 do :
32082 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32083 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32084 cat >>confdefs.h <<_ACEOF
32085 #define HAVE_SQRTL 1
32086 _ACEOF
32089 done
32091 else
32093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32094 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32095 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32096 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32097 $as_echo_n "(cached) " >&6
32098 else
32101 ac_ext=cpp
32102 ac_cpp='$CXXCPP $CPPFLAGS'
32103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32108 /* end confdefs.h. */
32109 #include <math.h>
32110 #ifdef HAVE_IEEEFP_H
32111 #include <ieeefp.h>
32112 #endif
32115 main ()
32117 _sqrtl(0);
32119 return 0;
32121 _ACEOF
32122 if ac_fn_cxx_try_compile "$LINENO"; then :
32123 glibcxx_cv_func__sqrtl_use=yes
32124 else
32125 glibcxx_cv_func__sqrtl_use=no
32127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32128 ac_ext=c
32129 ac_cpp='$CPP $CPPFLAGS'
32130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32139 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32141 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32142 for ac_func in _sqrtl
32143 do :
32144 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32145 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32146 cat >>confdefs.h <<_ACEOF
32147 #define HAVE__SQRTL 1
32148 _ACEOF
32151 done
32160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32161 $as_echo_n "checking for sincosl declaration... " >&6; }
32162 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32163 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32164 $as_echo_n "(cached) " >&6
32165 else
32168 ac_ext=cpp
32169 ac_cpp='$CXXCPP $CPPFLAGS'
32170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32175 /* end confdefs.h. */
32176 #include <math.h>
32178 main ()
32180 sincosl(0, 0, 0);
32182 return 0;
32184 _ACEOF
32185 if ac_fn_cxx_try_compile "$LINENO"; then :
32186 glibcxx_cv_func_sincosl_use=yes
32187 else
32188 glibcxx_cv_func_sincosl_use=no
32190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32191 ac_ext=c
32192 ac_cpp='$CPP $CPPFLAGS'
32193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32202 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32204 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32205 for ac_func in sincosl
32206 do :
32207 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32208 if test "x$ac_cv_func_sincosl" = x""yes; then :
32209 cat >>confdefs.h <<_ACEOF
32210 #define HAVE_SINCOSL 1
32211 _ACEOF
32214 done
32216 else
32218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32219 $as_echo_n "checking for _sincosl declaration... " >&6; }
32220 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32221 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32222 $as_echo_n "(cached) " >&6
32223 else
32226 ac_ext=cpp
32227 ac_cpp='$CXXCPP $CPPFLAGS'
32228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32233 /* end confdefs.h. */
32234 #include <math.h>
32236 main ()
32238 _sincosl(0, 0, 0);
32240 return 0;
32242 _ACEOF
32243 if ac_fn_cxx_try_compile "$LINENO"; then :
32244 glibcxx_cv_func__sincosl_use=yes
32245 else
32246 glibcxx_cv_func__sincosl_use=no
32248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32249 ac_ext=c
32250 ac_cpp='$CPP $CPPFLAGS'
32251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32260 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32262 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32263 for ac_func in _sincosl
32264 do :
32265 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32266 if test "x$ac_cv_func__sincosl" = x""yes; then :
32267 cat >>confdefs.h <<_ACEOF
32268 #define HAVE__SINCOSL 1
32269 _ACEOF
32272 done
32281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32282 $as_echo_n "checking for finitel declaration... " >&6; }
32283 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32284 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32285 $as_echo_n "(cached) " >&6
32286 else
32289 ac_ext=cpp
32290 ac_cpp='$CXXCPP $CPPFLAGS'
32291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32296 /* end confdefs.h. */
32297 #include <math.h>
32298 #ifdef HAVE_IEEEFP_H
32299 #include <ieeefp.h>
32300 #endif
32303 main ()
32305 finitel(0);
32307 return 0;
32309 _ACEOF
32310 if ac_fn_cxx_try_compile "$LINENO"; then :
32311 glibcxx_cv_func_finitel_use=yes
32312 else
32313 glibcxx_cv_func_finitel_use=no
32315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32316 ac_ext=c
32317 ac_cpp='$CPP $CPPFLAGS'
32318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32327 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32329 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32330 for ac_func in finitel
32331 do :
32332 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32333 if test "x$ac_cv_func_finitel" = x""yes; then :
32334 cat >>confdefs.h <<_ACEOF
32335 #define HAVE_FINITEL 1
32336 _ACEOF
32339 done
32341 else
32343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32344 $as_echo_n "checking for _finitel declaration... " >&6; }
32345 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32346 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32347 $as_echo_n "(cached) " >&6
32348 else
32351 ac_ext=cpp
32352 ac_cpp='$CXXCPP $CPPFLAGS'
32353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32358 /* end confdefs.h. */
32359 #include <math.h>
32360 #ifdef HAVE_IEEEFP_H
32361 #include <ieeefp.h>
32362 #endif
32365 main ()
32367 _finitel(0);
32369 return 0;
32371 _ACEOF
32372 if ac_fn_cxx_try_compile "$LINENO"; then :
32373 glibcxx_cv_func__finitel_use=yes
32374 else
32375 glibcxx_cv_func__finitel_use=no
32377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32378 ac_ext=c
32379 ac_cpp='$CPP $CPPFLAGS'
32380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32389 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32391 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32392 for ac_func in _finitel
32393 do :
32394 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32395 if test "x$ac_cv_func__finitel" = x""yes; then :
32396 cat >>confdefs.h <<_ACEOF
32397 #define HAVE__FINITEL 1
32398 _ACEOF
32401 done
32409 LIBS="$ac_save_LIBS"
32410 CXXFLAGS="$ac_save_CXXFLAGS"
32413 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32414 ac_save_CXXFLAGS="$CXXFLAGS"
32415 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32419 $as_echo_n "checking for strtold declaration... " >&6; }
32420 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32421 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32422 $as_echo_n "(cached) " >&6
32423 else
32426 ac_ext=cpp
32427 ac_cpp='$CXXCPP $CPPFLAGS'
32428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32433 /* end confdefs.h. */
32434 #include <stdlib.h>
32436 main ()
32438 strtold(0, 0);
32440 return 0;
32442 _ACEOF
32443 if ac_fn_cxx_try_compile "$LINENO"; then :
32444 glibcxx_cv_func_strtold_use=yes
32445 else
32446 glibcxx_cv_func_strtold_use=no
32448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32449 ac_ext=c
32450 ac_cpp='$CPP $CPPFLAGS'
32451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32460 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32461 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32462 for ac_func in strtold
32463 do :
32464 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32465 if test "x$ac_cv_func_strtold" = x""yes; then :
32466 cat >>confdefs.h <<_ACEOF
32467 #define HAVE_STRTOLD 1
32468 _ACEOF
32471 done
32478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32479 $as_echo_n "checking for strtof declaration... " >&6; }
32480 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32481 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32482 $as_echo_n "(cached) " >&6
32483 else
32486 ac_ext=cpp
32487 ac_cpp='$CXXCPP $CPPFLAGS'
32488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32493 /* end confdefs.h. */
32494 #include <stdlib.h>
32496 main ()
32498 strtof(0, 0);
32500 return 0;
32502 _ACEOF
32503 if ac_fn_cxx_try_compile "$LINENO"; then :
32504 glibcxx_cv_func_strtof_use=yes
32505 else
32506 glibcxx_cv_func_strtof_use=no
32508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32509 ac_ext=c
32510 ac_cpp='$CPP $CPPFLAGS'
32511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32520 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32521 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32522 for ac_func in strtof
32523 do :
32524 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32525 if test "x$ac_cv_func_strtof" = x""yes; then :
32526 cat >>confdefs.h <<_ACEOF
32527 #define HAVE_STRTOF 1
32528 _ACEOF
32531 done
32538 CXXFLAGS="$ac_save_CXXFLAGS"
32541 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32543 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32545 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32547 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32550 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32552 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32554 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32558 *-aix*)
32560 # If we're not using GNU ld, then there's no point in even trying these
32561 # tests. Check for that first. We should have already tested for gld
32562 # by now (in libtool), but require it now just to be safe...
32563 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32564 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32568 # The name set by libtool depends on the version of libtool. Shame on us
32569 # for depending on an impl detail, but c'est la vie. Older versions used
32570 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32571 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32572 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32573 # set (hence we're using an older libtool), then set it.
32574 if test x${with_gnu_ld+set} != xset; then
32575 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32576 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32577 with_gnu_ld=no
32578 else
32579 with_gnu_ld=$ac_cv_prog_gnu_ld
32583 # Start by getting the version number. I think the libtool test already
32584 # does some of this, but throws away the result.
32585 glibcxx_ld_is_gold=no
32586 if test x"$with_gnu_ld" = x"yes"; then
32587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32588 $as_echo_n "checking for ld version... " >&6; }
32590 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32591 glibcxx_ld_is_gold=yes
32593 ldver=`$LD --version 2>/dev/null |
32594 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'`
32596 glibcxx_gnu_ld_version=`echo $ldver | \
32597 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32599 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32602 # Set --gc-sections.
32603 glibcxx_have_gc_sections=no
32604 if test "$glibcxx_ld_is_gold" = "yes"; then
32605 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32606 glibcxx_have_gc_sections=yes
32608 else
32609 glibcxx_gcsections_min_ld=21602
32610 if test x"$with_gnu_ld" = x"yes" &&
32611 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32612 glibcxx_have_gc_sections=yes
32615 if test "$glibcxx_have_gc_sections" = "yes"; then
32616 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32617 # NB: This flag only works reliably after 2.16.1. Configure tests
32618 # for this are difficult, so hard wire a value that should work.
32620 ac_test_CFLAGS="${CFLAGS+set}"
32621 ac_save_CFLAGS="$CFLAGS"
32622 CFLAGS='-Wl,--gc-sections'
32624 # Check for -Wl,--gc-sections
32625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32626 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32627 if test x$gcc_no_link = xyes; then
32628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32631 /* end confdefs.h. */
32632 int one(void) { return 1; }
32633 int two(void) { return 2; }
32636 main ()
32638 two();
32640 return 0;
32642 _ACEOF
32643 if ac_fn_c_try_link "$LINENO"; then :
32644 ac_gcsections=yes
32645 else
32646 ac_gcsections=no
32648 rm -f core conftest.err conftest.$ac_objext \
32649 conftest$ac_exeext conftest.$ac_ext
32650 if test "$ac_gcsections" = "yes"; then
32651 rm -f conftest.c
32652 touch conftest.c
32653 if $CC -c conftest.c; then
32654 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32655 grep "Warning: gc-sections option ignored" > /dev/null; then
32656 ac_gcsections=no
32659 rm -f conftest.c conftest.o conftest
32661 if test "$ac_gcsections" = "yes"; then
32662 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32665 $as_echo "$ac_gcsections" >&6; }
32667 if test "$ac_test_CFLAGS" = set; then
32668 CFLAGS="$ac_save_CFLAGS"
32669 else
32670 # this is the suspicious part
32671 CFLAGS=''
32675 # Set -z,relro.
32676 # Note this is only for shared objects.
32677 ac_ld_relro=no
32678 if test x"$with_gnu_ld" = x"yes"; then
32679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32680 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32681 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32682 if test -n "$cxx_z_relo"; then
32683 OPT_LDFLAGS="-Wl,-z,relro"
32684 ac_ld_relro=yes
32686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32687 $as_echo "$ac_ld_relro" >&6; }
32690 # Set linker optimization flags.
32691 if test x"$with_gnu_ld" = x"yes"; then
32692 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32699 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32700 ac_save_CXXFLAGS="$CXXFLAGS"
32701 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32704 $as_echo_n "checking for sin in -lm... " >&6; }
32705 if test "${ac_cv_lib_m_sin+set}" = set; then :
32706 $as_echo_n "(cached) " >&6
32707 else
32708 ac_check_lib_save_LIBS=$LIBS
32709 LIBS="-lm $LIBS"
32710 if test x$gcc_no_link = xyes; then
32711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32714 /* end confdefs.h. */
32716 /* Override any GCC internal prototype to avoid an error.
32717 Use char because int might match the return type of a GCC
32718 builtin and then its argument prototype would still apply. */
32719 #ifdef __cplusplus
32720 extern "C"
32721 #endif
32722 char sin ();
32724 main ()
32726 return sin ();
32728 return 0;
32730 _ACEOF
32731 if ac_fn_c_try_link "$LINENO"; then :
32732 ac_cv_lib_m_sin=yes
32733 else
32734 ac_cv_lib_m_sin=no
32736 rm -f core conftest.err conftest.$ac_objext \
32737 conftest$ac_exeext conftest.$ac_ext
32738 LIBS=$ac_check_lib_save_LIBS
32740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32741 $as_echo "$ac_cv_lib_m_sin" >&6; }
32742 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32743 libm="-lm"
32746 ac_save_LIBS="$LIBS"
32747 LIBS="$LIBS $libm"
32751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32752 $as_echo_n "checking for isinf declaration... " >&6; }
32753 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32754 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32755 $as_echo_n "(cached) " >&6
32756 else
32759 ac_ext=cpp
32760 ac_cpp='$CXXCPP $CPPFLAGS'
32761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32766 /* end confdefs.h. */
32767 #include <math.h>
32768 #ifdef HAVE_IEEEFP_H
32769 #include <ieeefp.h>
32770 #endif
32773 main ()
32775 isinf(0);
32777 return 0;
32779 _ACEOF
32780 if ac_fn_cxx_try_compile "$LINENO"; then :
32781 glibcxx_cv_func_isinf_use=yes
32782 else
32783 glibcxx_cv_func_isinf_use=no
32785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32786 ac_ext=c
32787 ac_cpp='$CPP $CPPFLAGS'
32788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32797 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32799 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32800 for ac_func in isinf
32801 do :
32802 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32803 if test "x$ac_cv_func_isinf" = x""yes; then :
32804 cat >>confdefs.h <<_ACEOF
32805 #define HAVE_ISINF 1
32806 _ACEOF
32809 done
32811 else
32813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32814 $as_echo_n "checking for _isinf declaration... " >&6; }
32815 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32816 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32817 $as_echo_n "(cached) " >&6
32818 else
32821 ac_ext=cpp
32822 ac_cpp='$CXXCPP $CPPFLAGS'
32823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32828 /* end confdefs.h. */
32829 #include <math.h>
32830 #ifdef HAVE_IEEEFP_H
32831 #include <ieeefp.h>
32832 #endif
32835 main ()
32837 _isinf(0);
32839 return 0;
32841 _ACEOF
32842 if ac_fn_cxx_try_compile "$LINENO"; then :
32843 glibcxx_cv_func__isinf_use=yes
32844 else
32845 glibcxx_cv_func__isinf_use=no
32847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32848 ac_ext=c
32849 ac_cpp='$CPP $CPPFLAGS'
32850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32859 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32861 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32862 for ac_func in _isinf
32863 do :
32864 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32865 if test "x$ac_cv_func__isinf" = x""yes; then :
32866 cat >>confdefs.h <<_ACEOF
32867 #define HAVE__ISINF 1
32868 _ACEOF
32871 done
32880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32881 $as_echo_n "checking for isnan declaration... " >&6; }
32882 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32883 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32884 $as_echo_n "(cached) " >&6
32885 else
32888 ac_ext=cpp
32889 ac_cpp='$CXXCPP $CPPFLAGS'
32890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32895 /* end confdefs.h. */
32896 #include <math.h>
32897 #ifdef HAVE_IEEEFP_H
32898 #include <ieeefp.h>
32899 #endif
32902 main ()
32904 isnan(0);
32906 return 0;
32908 _ACEOF
32909 if ac_fn_cxx_try_compile "$LINENO"; then :
32910 glibcxx_cv_func_isnan_use=yes
32911 else
32912 glibcxx_cv_func_isnan_use=no
32914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32915 ac_ext=c
32916 ac_cpp='$CPP $CPPFLAGS'
32917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32926 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32928 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32929 for ac_func in isnan
32930 do :
32931 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32932 if test "x$ac_cv_func_isnan" = x""yes; then :
32933 cat >>confdefs.h <<_ACEOF
32934 #define HAVE_ISNAN 1
32935 _ACEOF
32938 done
32940 else
32942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32943 $as_echo_n "checking for _isnan declaration... " >&6; }
32944 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32945 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32946 $as_echo_n "(cached) " >&6
32947 else
32950 ac_ext=cpp
32951 ac_cpp='$CXXCPP $CPPFLAGS'
32952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32957 /* end confdefs.h. */
32958 #include <math.h>
32959 #ifdef HAVE_IEEEFP_H
32960 #include <ieeefp.h>
32961 #endif
32964 main ()
32966 _isnan(0);
32968 return 0;
32970 _ACEOF
32971 if ac_fn_cxx_try_compile "$LINENO"; then :
32972 glibcxx_cv_func__isnan_use=yes
32973 else
32974 glibcxx_cv_func__isnan_use=no
32976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32977 ac_ext=c
32978 ac_cpp='$CPP $CPPFLAGS'
32979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32988 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32990 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32991 for ac_func in _isnan
32992 do :
32993 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32994 if test "x$ac_cv_func__isnan" = x""yes; then :
32995 cat >>confdefs.h <<_ACEOF
32996 #define HAVE__ISNAN 1
32997 _ACEOF
33000 done
33009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33010 $as_echo_n "checking for finite declaration... " >&6; }
33011 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33012 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33013 $as_echo_n "(cached) " >&6
33014 else
33017 ac_ext=cpp
33018 ac_cpp='$CXXCPP $CPPFLAGS'
33019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33024 /* end confdefs.h. */
33025 #include <math.h>
33026 #ifdef HAVE_IEEEFP_H
33027 #include <ieeefp.h>
33028 #endif
33031 main ()
33033 finite(0);
33035 return 0;
33037 _ACEOF
33038 if ac_fn_cxx_try_compile "$LINENO"; then :
33039 glibcxx_cv_func_finite_use=yes
33040 else
33041 glibcxx_cv_func_finite_use=no
33043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33044 ac_ext=c
33045 ac_cpp='$CPP $CPPFLAGS'
33046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33055 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33057 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33058 for ac_func in finite
33059 do :
33060 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33061 if test "x$ac_cv_func_finite" = x""yes; then :
33062 cat >>confdefs.h <<_ACEOF
33063 #define HAVE_FINITE 1
33064 _ACEOF
33067 done
33069 else
33071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33072 $as_echo_n "checking for _finite declaration... " >&6; }
33073 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33074 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33075 $as_echo_n "(cached) " >&6
33076 else
33079 ac_ext=cpp
33080 ac_cpp='$CXXCPP $CPPFLAGS'
33081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33086 /* end confdefs.h. */
33087 #include <math.h>
33088 #ifdef HAVE_IEEEFP_H
33089 #include <ieeefp.h>
33090 #endif
33093 main ()
33095 _finite(0);
33097 return 0;
33099 _ACEOF
33100 if ac_fn_cxx_try_compile "$LINENO"; then :
33101 glibcxx_cv_func__finite_use=yes
33102 else
33103 glibcxx_cv_func__finite_use=no
33105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33106 ac_ext=c
33107 ac_cpp='$CPP $CPPFLAGS'
33108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33117 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33119 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33120 for ac_func in _finite
33121 do :
33122 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33123 if test "x$ac_cv_func__finite" = x""yes; then :
33124 cat >>confdefs.h <<_ACEOF
33125 #define HAVE__FINITE 1
33126 _ACEOF
33129 done
33138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33139 $as_echo_n "checking for sincos declaration... " >&6; }
33140 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33141 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33142 $as_echo_n "(cached) " >&6
33143 else
33146 ac_ext=cpp
33147 ac_cpp='$CXXCPP $CPPFLAGS'
33148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33153 /* end confdefs.h. */
33154 #include <math.h>
33156 main ()
33158 sincos(0, 0, 0);
33160 return 0;
33162 _ACEOF
33163 if ac_fn_cxx_try_compile "$LINENO"; then :
33164 glibcxx_cv_func_sincos_use=yes
33165 else
33166 glibcxx_cv_func_sincos_use=no
33168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33169 ac_ext=c
33170 ac_cpp='$CPP $CPPFLAGS'
33171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33180 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33182 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33183 for ac_func in sincos
33184 do :
33185 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33186 if test "x$ac_cv_func_sincos" = x""yes; then :
33187 cat >>confdefs.h <<_ACEOF
33188 #define HAVE_SINCOS 1
33189 _ACEOF
33192 done
33194 else
33196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33197 $as_echo_n "checking for _sincos declaration... " >&6; }
33198 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33199 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33200 $as_echo_n "(cached) " >&6
33201 else
33204 ac_ext=cpp
33205 ac_cpp='$CXXCPP $CPPFLAGS'
33206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33211 /* end confdefs.h. */
33212 #include <math.h>
33214 main ()
33216 _sincos(0, 0, 0);
33218 return 0;
33220 _ACEOF
33221 if ac_fn_cxx_try_compile "$LINENO"; then :
33222 glibcxx_cv_func__sincos_use=yes
33223 else
33224 glibcxx_cv_func__sincos_use=no
33226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33227 ac_ext=c
33228 ac_cpp='$CPP $CPPFLAGS'
33229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33238 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33240 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33241 for ac_func in _sincos
33242 do :
33243 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33244 if test "x$ac_cv_func__sincos" = x""yes; then :
33245 cat >>confdefs.h <<_ACEOF
33246 #define HAVE__SINCOS 1
33247 _ACEOF
33250 done
33259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33260 $as_echo_n "checking for fpclass declaration... " >&6; }
33261 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33262 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33263 $as_echo_n "(cached) " >&6
33264 else
33267 ac_ext=cpp
33268 ac_cpp='$CXXCPP $CPPFLAGS'
33269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33274 /* end confdefs.h. */
33275 #include <math.h>
33276 #ifdef HAVE_IEEEFP_H
33277 #include <ieeefp.h>
33278 #endif
33281 main ()
33283 fpclass(0);
33285 return 0;
33287 _ACEOF
33288 if ac_fn_cxx_try_compile "$LINENO"; then :
33289 glibcxx_cv_func_fpclass_use=yes
33290 else
33291 glibcxx_cv_func_fpclass_use=no
33293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33294 ac_ext=c
33295 ac_cpp='$CPP $CPPFLAGS'
33296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33305 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33307 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33308 for ac_func in fpclass
33309 do :
33310 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33311 if test "x$ac_cv_func_fpclass" = x""yes; then :
33312 cat >>confdefs.h <<_ACEOF
33313 #define HAVE_FPCLASS 1
33314 _ACEOF
33317 done
33319 else
33321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33322 $as_echo_n "checking for _fpclass declaration... " >&6; }
33323 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33324 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33325 $as_echo_n "(cached) " >&6
33326 else
33329 ac_ext=cpp
33330 ac_cpp='$CXXCPP $CPPFLAGS'
33331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33336 /* end confdefs.h. */
33337 #include <math.h>
33338 #ifdef HAVE_IEEEFP_H
33339 #include <ieeefp.h>
33340 #endif
33343 main ()
33345 _fpclass(0);
33347 return 0;
33349 _ACEOF
33350 if ac_fn_cxx_try_compile "$LINENO"; then :
33351 glibcxx_cv_func__fpclass_use=yes
33352 else
33353 glibcxx_cv_func__fpclass_use=no
33355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33356 ac_ext=c
33357 ac_cpp='$CPP $CPPFLAGS'
33358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33367 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33369 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33370 for ac_func in _fpclass
33371 do :
33372 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33373 if test "x$ac_cv_func__fpclass" = x""yes; then :
33374 cat >>confdefs.h <<_ACEOF
33375 #define HAVE__FPCLASS 1
33376 _ACEOF
33379 done
33388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33389 $as_echo_n "checking for qfpclass declaration... " >&6; }
33390 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33391 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33392 $as_echo_n "(cached) " >&6
33393 else
33396 ac_ext=cpp
33397 ac_cpp='$CXXCPP $CPPFLAGS'
33398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33403 /* end confdefs.h. */
33404 #include <math.h>
33405 #ifdef HAVE_IEEEFP_H
33406 #include <ieeefp.h>
33407 #endif
33410 main ()
33412 qfpclass(0);
33414 return 0;
33416 _ACEOF
33417 if ac_fn_cxx_try_compile "$LINENO"; then :
33418 glibcxx_cv_func_qfpclass_use=yes
33419 else
33420 glibcxx_cv_func_qfpclass_use=no
33422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33423 ac_ext=c
33424 ac_cpp='$CPP $CPPFLAGS'
33425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33434 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33436 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33437 for ac_func in qfpclass
33438 do :
33439 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33440 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33441 cat >>confdefs.h <<_ACEOF
33442 #define HAVE_QFPCLASS 1
33443 _ACEOF
33446 done
33448 else
33450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33451 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33452 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33453 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33454 $as_echo_n "(cached) " >&6
33455 else
33458 ac_ext=cpp
33459 ac_cpp='$CXXCPP $CPPFLAGS'
33460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33465 /* end confdefs.h. */
33466 #include <math.h>
33467 #ifdef HAVE_IEEEFP_H
33468 #include <ieeefp.h>
33469 #endif
33472 main ()
33474 _qfpclass(0);
33476 return 0;
33478 _ACEOF
33479 if ac_fn_cxx_try_compile "$LINENO"; then :
33480 glibcxx_cv_func__qfpclass_use=yes
33481 else
33482 glibcxx_cv_func__qfpclass_use=no
33484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33485 ac_ext=c
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33496 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33498 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33499 for ac_func in _qfpclass
33500 do :
33501 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33502 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33503 cat >>confdefs.h <<_ACEOF
33504 #define HAVE__QFPCLASS 1
33505 _ACEOF
33508 done
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33518 $as_echo_n "checking for hypot declaration... " >&6; }
33519 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33520 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33521 $as_echo_n "(cached) " >&6
33522 else
33525 ac_ext=cpp
33526 ac_cpp='$CXXCPP $CPPFLAGS'
33527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33532 /* end confdefs.h. */
33533 #include <math.h>
33535 main ()
33537 hypot(0, 0);
33539 return 0;
33541 _ACEOF
33542 if ac_fn_cxx_try_compile "$LINENO"; then :
33543 glibcxx_cv_func_hypot_use=yes
33544 else
33545 glibcxx_cv_func_hypot_use=no
33547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33548 ac_ext=c
33549 ac_cpp='$CPP $CPPFLAGS'
33550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33559 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33561 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33562 for ac_func in hypot
33563 do :
33564 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33565 if test "x$ac_cv_func_hypot" = x""yes; then :
33566 cat >>confdefs.h <<_ACEOF
33567 #define HAVE_HYPOT 1
33568 _ACEOF
33571 done
33573 else
33575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33576 $as_echo_n "checking for _hypot declaration... " >&6; }
33577 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33578 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33579 $as_echo_n "(cached) " >&6
33580 else
33583 ac_ext=cpp
33584 ac_cpp='$CXXCPP $CPPFLAGS'
33585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33590 /* end confdefs.h. */
33591 #include <math.h>
33593 main ()
33595 _hypot(0, 0);
33597 return 0;
33599 _ACEOF
33600 if ac_fn_cxx_try_compile "$LINENO"; then :
33601 glibcxx_cv_func__hypot_use=yes
33602 else
33603 glibcxx_cv_func__hypot_use=no
33605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33606 ac_ext=c
33607 ac_cpp='$CPP $CPPFLAGS'
33608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33617 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33619 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33620 for ac_func in _hypot
33621 do :
33622 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33623 if test "x$ac_cv_func__hypot" = x""yes; then :
33624 cat >>confdefs.h <<_ACEOF
33625 #define HAVE__HYPOT 1
33626 _ACEOF
33629 done
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33639 $as_echo_n "checking for float trig functions... " >&6; }
33640 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33641 $as_echo_n "(cached) " >&6
33642 else
33645 ac_ext=cpp
33646 ac_cpp='$CXXCPP $CPPFLAGS'
33647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33652 /* end confdefs.h. */
33653 #include <math.h>
33655 main ()
33657 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33659 return 0;
33661 _ACEOF
33662 if ac_fn_cxx_try_compile "$LINENO"; then :
33663 glibcxx_cv_func_float_trig_use=yes
33664 else
33665 glibcxx_cv_func_float_trig_use=no
33667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33668 ac_ext=c
33669 ac_cpp='$CPP $CPPFLAGS'
33670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33677 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33678 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33679 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33680 do :
33681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33683 eval as_val=\$$as_ac_var
33684 if test "x$as_val" = x""yes; then :
33685 cat >>confdefs.h <<_ACEOF
33686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33687 _ACEOF
33690 done
33692 else
33693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33694 $as_echo_n "checking for _float trig functions... " >&6; }
33695 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33696 $as_echo_n "(cached) " >&6
33697 else
33700 ac_ext=cpp
33701 ac_cpp='$CXXCPP $CPPFLAGS'
33702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33707 /* end confdefs.h. */
33708 #include <math.h>
33710 main ()
33712 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33714 return 0;
33716 _ACEOF
33717 if ac_fn_cxx_try_compile "$LINENO"; then :
33718 glibcxx_cv_func__float_trig_use=yes
33719 else
33720 glibcxx_cv_func__float_trig_use=no
33722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33723 ac_ext=c
33724 ac_cpp='$CPP $CPPFLAGS'
33725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33732 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33733 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33734 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33735 do :
33736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33738 eval as_val=\$$as_ac_var
33739 if test "x$as_val" = x""yes; then :
33740 cat >>confdefs.h <<_ACEOF
33741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33742 _ACEOF
33745 done
33754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33755 $as_echo_n "checking for float round functions... " >&6; }
33756 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33757 $as_echo_n "(cached) " >&6
33758 else
33761 ac_ext=cpp
33762 ac_cpp='$CXXCPP $CPPFLAGS'
33763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33768 /* end confdefs.h. */
33769 #include <math.h>
33771 main ()
33773 ceilf (0); floorf (0);
33775 return 0;
33777 _ACEOF
33778 if ac_fn_cxx_try_compile "$LINENO"; then :
33779 glibcxx_cv_func_float_round_use=yes
33780 else
33781 glibcxx_cv_func_float_round_use=no
33783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33784 ac_ext=c
33785 ac_cpp='$CPP $CPPFLAGS'
33786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33793 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33794 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33795 for ac_func in ceilf floorf
33796 do :
33797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33799 eval as_val=\$$as_ac_var
33800 if test "x$as_val" = x""yes; then :
33801 cat >>confdefs.h <<_ACEOF
33802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33803 _ACEOF
33806 done
33808 else
33809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33810 $as_echo_n "checking for _float round functions... " >&6; }
33811 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33812 $as_echo_n "(cached) " >&6
33813 else
33816 ac_ext=cpp
33817 ac_cpp='$CXXCPP $CPPFLAGS'
33818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33823 /* end confdefs.h. */
33824 #include <math.h>
33826 main ()
33828 _ceilf (0); _floorf (0);
33830 return 0;
33832 _ACEOF
33833 if ac_fn_cxx_try_compile "$LINENO"; then :
33834 glibcxx_cv_func__float_round_use=yes
33835 else
33836 glibcxx_cv_func__float_round_use=no
33838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33839 ac_ext=c
33840 ac_cpp='$CPP $CPPFLAGS'
33841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33848 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33849 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33850 for ac_func in _ceilf _floorf
33851 do :
33852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33854 eval as_val=\$$as_ac_var
33855 if test "x$as_val" = x""yes; then :
33856 cat >>confdefs.h <<_ACEOF
33857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33858 _ACEOF
33861 done
33871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33872 $as_echo_n "checking for expf declaration... " >&6; }
33873 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33874 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33875 $as_echo_n "(cached) " >&6
33876 else
33879 ac_ext=cpp
33880 ac_cpp='$CXXCPP $CPPFLAGS'
33881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33886 /* end confdefs.h. */
33887 #include <math.h>
33888 #ifdef HAVE_IEEEFP_H
33889 #include <ieeefp.h>
33890 #endif
33893 main ()
33895 expf(0);
33897 return 0;
33899 _ACEOF
33900 if ac_fn_cxx_try_compile "$LINENO"; then :
33901 glibcxx_cv_func_expf_use=yes
33902 else
33903 glibcxx_cv_func_expf_use=no
33905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33906 ac_ext=c
33907 ac_cpp='$CPP $CPPFLAGS'
33908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33917 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33919 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33920 for ac_func in expf
33921 do :
33922 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33923 if test "x$ac_cv_func_expf" = x""yes; then :
33924 cat >>confdefs.h <<_ACEOF
33925 #define HAVE_EXPF 1
33926 _ACEOF
33929 done
33931 else
33933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33934 $as_echo_n "checking for _expf declaration... " >&6; }
33935 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33936 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33937 $as_echo_n "(cached) " >&6
33938 else
33941 ac_ext=cpp
33942 ac_cpp='$CXXCPP $CPPFLAGS'
33943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33948 /* end confdefs.h. */
33949 #include <math.h>
33950 #ifdef HAVE_IEEEFP_H
33951 #include <ieeefp.h>
33952 #endif
33955 main ()
33957 _expf(0);
33959 return 0;
33961 _ACEOF
33962 if ac_fn_cxx_try_compile "$LINENO"; then :
33963 glibcxx_cv_func__expf_use=yes
33964 else
33965 glibcxx_cv_func__expf_use=no
33967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33968 ac_ext=c
33969 ac_cpp='$CPP $CPPFLAGS'
33970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33979 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33981 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33982 for ac_func in _expf
33983 do :
33984 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33985 if test "x$ac_cv_func__expf" = x""yes; then :
33986 cat >>confdefs.h <<_ACEOF
33987 #define HAVE__EXPF 1
33988 _ACEOF
33991 done
34000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34001 $as_echo_n "checking for isnanf declaration... " >&6; }
34002 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34003 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34004 $as_echo_n "(cached) " >&6
34005 else
34008 ac_ext=cpp
34009 ac_cpp='$CXXCPP $CPPFLAGS'
34010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34015 /* end confdefs.h. */
34016 #include <math.h>
34017 #ifdef HAVE_IEEEFP_H
34018 #include <ieeefp.h>
34019 #endif
34022 main ()
34024 isnanf(0);
34026 return 0;
34028 _ACEOF
34029 if ac_fn_cxx_try_compile "$LINENO"; then :
34030 glibcxx_cv_func_isnanf_use=yes
34031 else
34032 glibcxx_cv_func_isnanf_use=no
34034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34035 ac_ext=c
34036 ac_cpp='$CPP $CPPFLAGS'
34037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34046 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34048 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34049 for ac_func in isnanf
34050 do :
34051 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34052 if test "x$ac_cv_func_isnanf" = x""yes; then :
34053 cat >>confdefs.h <<_ACEOF
34054 #define HAVE_ISNANF 1
34055 _ACEOF
34058 done
34060 else
34062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34063 $as_echo_n "checking for _isnanf declaration... " >&6; }
34064 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34065 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34066 $as_echo_n "(cached) " >&6
34067 else
34070 ac_ext=cpp
34071 ac_cpp='$CXXCPP $CPPFLAGS'
34072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34077 /* end confdefs.h. */
34078 #include <math.h>
34079 #ifdef HAVE_IEEEFP_H
34080 #include <ieeefp.h>
34081 #endif
34084 main ()
34086 _isnanf(0);
34088 return 0;
34090 _ACEOF
34091 if ac_fn_cxx_try_compile "$LINENO"; then :
34092 glibcxx_cv_func__isnanf_use=yes
34093 else
34094 glibcxx_cv_func__isnanf_use=no
34096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34097 ac_ext=c
34098 ac_cpp='$CPP $CPPFLAGS'
34099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34108 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34110 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34111 for ac_func in _isnanf
34112 do :
34113 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34114 if test "x$ac_cv_func__isnanf" = x""yes; then :
34115 cat >>confdefs.h <<_ACEOF
34116 #define HAVE__ISNANF 1
34117 _ACEOF
34120 done
34129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34130 $as_echo_n "checking for isinff declaration... " >&6; }
34131 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34132 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34133 $as_echo_n "(cached) " >&6
34134 else
34137 ac_ext=cpp
34138 ac_cpp='$CXXCPP $CPPFLAGS'
34139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34144 /* end confdefs.h. */
34145 #include <math.h>
34146 #ifdef HAVE_IEEEFP_H
34147 #include <ieeefp.h>
34148 #endif
34151 main ()
34153 isinff(0);
34155 return 0;
34157 _ACEOF
34158 if ac_fn_cxx_try_compile "$LINENO"; then :
34159 glibcxx_cv_func_isinff_use=yes
34160 else
34161 glibcxx_cv_func_isinff_use=no
34163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34164 ac_ext=c
34165 ac_cpp='$CPP $CPPFLAGS'
34166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34175 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34177 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34178 for ac_func in isinff
34179 do :
34180 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34181 if test "x$ac_cv_func_isinff" = x""yes; then :
34182 cat >>confdefs.h <<_ACEOF
34183 #define HAVE_ISINFF 1
34184 _ACEOF
34187 done
34189 else
34191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34192 $as_echo_n "checking for _isinff declaration... " >&6; }
34193 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34194 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34195 $as_echo_n "(cached) " >&6
34196 else
34199 ac_ext=cpp
34200 ac_cpp='$CXXCPP $CPPFLAGS'
34201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34206 /* end confdefs.h. */
34207 #include <math.h>
34208 #ifdef HAVE_IEEEFP_H
34209 #include <ieeefp.h>
34210 #endif
34213 main ()
34215 _isinff(0);
34217 return 0;
34219 _ACEOF
34220 if ac_fn_cxx_try_compile "$LINENO"; then :
34221 glibcxx_cv_func__isinff_use=yes
34222 else
34223 glibcxx_cv_func__isinff_use=no
34225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34226 ac_ext=c
34227 ac_cpp='$CPP $CPPFLAGS'
34228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34237 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34239 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34240 for ac_func in _isinff
34241 do :
34242 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34243 if test "x$ac_cv_func__isinff" = x""yes; then :
34244 cat >>confdefs.h <<_ACEOF
34245 #define HAVE__ISINFF 1
34246 _ACEOF
34249 done
34258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34259 $as_echo_n "checking for atan2f declaration... " >&6; }
34260 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34261 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34262 $as_echo_n "(cached) " >&6
34263 else
34266 ac_ext=cpp
34267 ac_cpp='$CXXCPP $CPPFLAGS'
34268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34273 /* end confdefs.h. */
34274 #include <math.h>
34276 main ()
34278 atan2f(0, 0);
34280 return 0;
34282 _ACEOF
34283 if ac_fn_cxx_try_compile "$LINENO"; then :
34284 glibcxx_cv_func_atan2f_use=yes
34285 else
34286 glibcxx_cv_func_atan2f_use=no
34288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34289 ac_ext=c
34290 ac_cpp='$CPP $CPPFLAGS'
34291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34300 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34302 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34303 for ac_func in atan2f
34304 do :
34305 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34306 if test "x$ac_cv_func_atan2f" = x""yes; then :
34307 cat >>confdefs.h <<_ACEOF
34308 #define HAVE_ATAN2F 1
34309 _ACEOF
34312 done
34314 else
34316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34317 $as_echo_n "checking for _atan2f declaration... " >&6; }
34318 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34319 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34320 $as_echo_n "(cached) " >&6
34321 else
34324 ac_ext=cpp
34325 ac_cpp='$CXXCPP $CPPFLAGS'
34326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34331 /* end confdefs.h. */
34332 #include <math.h>
34334 main ()
34336 _atan2f(0, 0);
34338 return 0;
34340 _ACEOF
34341 if ac_fn_cxx_try_compile "$LINENO"; then :
34342 glibcxx_cv_func__atan2f_use=yes
34343 else
34344 glibcxx_cv_func__atan2f_use=no
34346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34347 ac_ext=c
34348 ac_cpp='$CPP $CPPFLAGS'
34349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34358 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34360 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34361 for ac_func in _atan2f
34362 do :
34363 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34364 if test "x$ac_cv_func__atan2f" = x""yes; then :
34365 cat >>confdefs.h <<_ACEOF
34366 #define HAVE__ATAN2F 1
34367 _ACEOF
34370 done
34379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34380 $as_echo_n "checking for fabsf declaration... " >&6; }
34381 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34382 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34383 $as_echo_n "(cached) " >&6
34384 else
34387 ac_ext=cpp
34388 ac_cpp='$CXXCPP $CPPFLAGS'
34389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34394 /* end confdefs.h. */
34395 #include <math.h>
34396 #ifdef HAVE_IEEEFP_H
34397 #include <ieeefp.h>
34398 #endif
34401 main ()
34403 fabsf(0);
34405 return 0;
34407 _ACEOF
34408 if ac_fn_cxx_try_compile "$LINENO"; then :
34409 glibcxx_cv_func_fabsf_use=yes
34410 else
34411 glibcxx_cv_func_fabsf_use=no
34413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34414 ac_ext=c
34415 ac_cpp='$CPP $CPPFLAGS'
34416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34425 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34427 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34428 for ac_func in fabsf
34429 do :
34430 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34431 if test "x$ac_cv_func_fabsf" = x""yes; then :
34432 cat >>confdefs.h <<_ACEOF
34433 #define HAVE_FABSF 1
34434 _ACEOF
34437 done
34439 else
34441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34442 $as_echo_n "checking for _fabsf declaration... " >&6; }
34443 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34444 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34445 $as_echo_n "(cached) " >&6
34446 else
34449 ac_ext=cpp
34450 ac_cpp='$CXXCPP $CPPFLAGS'
34451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34456 /* end confdefs.h. */
34457 #include <math.h>
34458 #ifdef HAVE_IEEEFP_H
34459 #include <ieeefp.h>
34460 #endif
34463 main ()
34465 _fabsf(0);
34467 return 0;
34469 _ACEOF
34470 if ac_fn_cxx_try_compile "$LINENO"; then :
34471 glibcxx_cv_func__fabsf_use=yes
34472 else
34473 glibcxx_cv_func__fabsf_use=no
34475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34476 ac_ext=c
34477 ac_cpp='$CPP $CPPFLAGS'
34478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34487 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34489 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34490 for ac_func in _fabsf
34491 do :
34492 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34493 if test "x$ac_cv_func__fabsf" = x""yes; then :
34494 cat >>confdefs.h <<_ACEOF
34495 #define HAVE__FABSF 1
34496 _ACEOF
34499 done
34508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34509 $as_echo_n "checking for fmodf declaration... " >&6; }
34510 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34511 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34512 $as_echo_n "(cached) " >&6
34513 else
34516 ac_ext=cpp
34517 ac_cpp='$CXXCPP $CPPFLAGS'
34518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34523 /* end confdefs.h. */
34524 #include <math.h>
34526 main ()
34528 fmodf(0, 0);
34530 return 0;
34532 _ACEOF
34533 if ac_fn_cxx_try_compile "$LINENO"; then :
34534 glibcxx_cv_func_fmodf_use=yes
34535 else
34536 glibcxx_cv_func_fmodf_use=no
34538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34539 ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34550 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34552 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34553 for ac_func in fmodf
34554 do :
34555 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34556 if test "x$ac_cv_func_fmodf" = x""yes; then :
34557 cat >>confdefs.h <<_ACEOF
34558 #define HAVE_FMODF 1
34559 _ACEOF
34562 done
34564 else
34566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34567 $as_echo_n "checking for _fmodf declaration... " >&6; }
34568 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34569 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34570 $as_echo_n "(cached) " >&6
34571 else
34574 ac_ext=cpp
34575 ac_cpp='$CXXCPP $CPPFLAGS'
34576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34581 /* end confdefs.h. */
34582 #include <math.h>
34584 main ()
34586 _fmodf(0, 0);
34588 return 0;
34590 _ACEOF
34591 if ac_fn_cxx_try_compile "$LINENO"; then :
34592 glibcxx_cv_func__fmodf_use=yes
34593 else
34594 glibcxx_cv_func__fmodf_use=no
34596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34597 ac_ext=c
34598 ac_cpp='$CPP $CPPFLAGS'
34599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34608 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34610 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34611 for ac_func in _fmodf
34612 do :
34613 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34614 if test "x$ac_cv_func__fmodf" = x""yes; then :
34615 cat >>confdefs.h <<_ACEOF
34616 #define HAVE__FMODF 1
34617 _ACEOF
34620 done
34629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34630 $as_echo_n "checking for frexpf declaration... " >&6; }
34631 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34632 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34633 $as_echo_n "(cached) " >&6
34634 else
34637 ac_ext=cpp
34638 ac_cpp='$CXXCPP $CPPFLAGS'
34639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34644 /* end confdefs.h. */
34645 #include <math.h>
34647 main ()
34649 frexpf(0, 0);
34651 return 0;
34653 _ACEOF
34654 if ac_fn_cxx_try_compile "$LINENO"; then :
34655 glibcxx_cv_func_frexpf_use=yes
34656 else
34657 glibcxx_cv_func_frexpf_use=no
34659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34660 ac_ext=c
34661 ac_cpp='$CPP $CPPFLAGS'
34662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34671 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34673 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34674 for ac_func in frexpf
34675 do :
34676 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34677 if test "x$ac_cv_func_frexpf" = x""yes; then :
34678 cat >>confdefs.h <<_ACEOF
34679 #define HAVE_FREXPF 1
34680 _ACEOF
34683 done
34685 else
34687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34688 $as_echo_n "checking for _frexpf declaration... " >&6; }
34689 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34690 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34691 $as_echo_n "(cached) " >&6
34692 else
34695 ac_ext=cpp
34696 ac_cpp='$CXXCPP $CPPFLAGS'
34697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34702 /* end confdefs.h. */
34703 #include <math.h>
34705 main ()
34707 _frexpf(0, 0);
34709 return 0;
34711 _ACEOF
34712 if ac_fn_cxx_try_compile "$LINENO"; then :
34713 glibcxx_cv_func__frexpf_use=yes
34714 else
34715 glibcxx_cv_func__frexpf_use=no
34717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34718 ac_ext=c
34719 ac_cpp='$CPP $CPPFLAGS'
34720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34729 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34731 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34732 for ac_func in _frexpf
34733 do :
34734 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34735 if test "x$ac_cv_func__frexpf" = x""yes; then :
34736 cat >>confdefs.h <<_ACEOF
34737 #define HAVE__FREXPF 1
34738 _ACEOF
34741 done
34750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34751 $as_echo_n "checking for hypotf declaration... " >&6; }
34752 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34753 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34754 $as_echo_n "(cached) " >&6
34755 else
34758 ac_ext=cpp
34759 ac_cpp='$CXXCPP $CPPFLAGS'
34760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34765 /* end confdefs.h. */
34766 #include <math.h>
34768 main ()
34770 hypotf(0, 0);
34772 return 0;
34774 _ACEOF
34775 if ac_fn_cxx_try_compile "$LINENO"; then :
34776 glibcxx_cv_func_hypotf_use=yes
34777 else
34778 glibcxx_cv_func_hypotf_use=no
34780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34781 ac_ext=c
34782 ac_cpp='$CPP $CPPFLAGS'
34783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34792 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34794 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34795 for ac_func in hypotf
34796 do :
34797 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34798 if test "x$ac_cv_func_hypotf" = x""yes; then :
34799 cat >>confdefs.h <<_ACEOF
34800 #define HAVE_HYPOTF 1
34801 _ACEOF
34804 done
34806 else
34808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34809 $as_echo_n "checking for _hypotf declaration... " >&6; }
34810 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34811 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34812 $as_echo_n "(cached) " >&6
34813 else
34816 ac_ext=cpp
34817 ac_cpp='$CXXCPP $CPPFLAGS'
34818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34823 /* end confdefs.h. */
34824 #include <math.h>
34826 main ()
34828 _hypotf(0, 0);
34830 return 0;
34832 _ACEOF
34833 if ac_fn_cxx_try_compile "$LINENO"; then :
34834 glibcxx_cv_func__hypotf_use=yes
34835 else
34836 glibcxx_cv_func__hypotf_use=no
34838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34839 ac_ext=c
34840 ac_cpp='$CPP $CPPFLAGS'
34841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34850 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34852 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34853 for ac_func in _hypotf
34854 do :
34855 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34856 if test "x$ac_cv_func__hypotf" = x""yes; then :
34857 cat >>confdefs.h <<_ACEOF
34858 #define HAVE__HYPOTF 1
34859 _ACEOF
34862 done
34871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34872 $as_echo_n "checking for ldexpf declaration... " >&6; }
34873 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34874 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34875 $as_echo_n "(cached) " >&6
34876 else
34879 ac_ext=cpp
34880 ac_cpp='$CXXCPP $CPPFLAGS'
34881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34886 /* end confdefs.h. */
34887 #include <math.h>
34889 main ()
34891 ldexpf(0, 0);
34893 return 0;
34895 _ACEOF
34896 if ac_fn_cxx_try_compile "$LINENO"; then :
34897 glibcxx_cv_func_ldexpf_use=yes
34898 else
34899 glibcxx_cv_func_ldexpf_use=no
34901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34902 ac_ext=c
34903 ac_cpp='$CPP $CPPFLAGS'
34904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34913 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34915 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34916 for ac_func in ldexpf
34917 do :
34918 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34919 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34920 cat >>confdefs.h <<_ACEOF
34921 #define HAVE_LDEXPF 1
34922 _ACEOF
34925 done
34927 else
34929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34930 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34931 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34932 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34933 $as_echo_n "(cached) " >&6
34934 else
34937 ac_ext=cpp
34938 ac_cpp='$CXXCPP $CPPFLAGS'
34939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34944 /* end confdefs.h. */
34945 #include <math.h>
34947 main ()
34949 _ldexpf(0, 0);
34951 return 0;
34953 _ACEOF
34954 if ac_fn_cxx_try_compile "$LINENO"; then :
34955 glibcxx_cv_func__ldexpf_use=yes
34956 else
34957 glibcxx_cv_func__ldexpf_use=no
34959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34960 ac_ext=c
34961 ac_cpp='$CPP $CPPFLAGS'
34962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34971 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34973 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34974 for ac_func in _ldexpf
34975 do :
34976 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34977 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34978 cat >>confdefs.h <<_ACEOF
34979 #define HAVE__LDEXPF 1
34980 _ACEOF
34983 done
34992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34993 $as_echo_n "checking for logf declaration... " >&6; }
34994 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34995 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34996 $as_echo_n "(cached) " >&6
34997 else
35000 ac_ext=cpp
35001 ac_cpp='$CXXCPP $CPPFLAGS'
35002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35007 /* end confdefs.h. */
35008 #include <math.h>
35009 #ifdef HAVE_IEEEFP_H
35010 #include <ieeefp.h>
35011 #endif
35014 main ()
35016 logf(0);
35018 return 0;
35020 _ACEOF
35021 if ac_fn_cxx_try_compile "$LINENO"; then :
35022 glibcxx_cv_func_logf_use=yes
35023 else
35024 glibcxx_cv_func_logf_use=no
35026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35027 ac_ext=c
35028 ac_cpp='$CPP $CPPFLAGS'
35029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35038 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35040 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35041 for ac_func in logf
35042 do :
35043 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35044 if test "x$ac_cv_func_logf" = x""yes; then :
35045 cat >>confdefs.h <<_ACEOF
35046 #define HAVE_LOGF 1
35047 _ACEOF
35050 done
35052 else
35054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35055 $as_echo_n "checking for _logf declaration... " >&6; }
35056 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35057 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35058 $as_echo_n "(cached) " >&6
35059 else
35062 ac_ext=cpp
35063 ac_cpp='$CXXCPP $CPPFLAGS'
35064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35069 /* end confdefs.h. */
35070 #include <math.h>
35071 #ifdef HAVE_IEEEFP_H
35072 #include <ieeefp.h>
35073 #endif
35076 main ()
35078 _logf(0);
35080 return 0;
35082 _ACEOF
35083 if ac_fn_cxx_try_compile "$LINENO"; then :
35084 glibcxx_cv_func__logf_use=yes
35085 else
35086 glibcxx_cv_func__logf_use=no
35088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35089 ac_ext=c
35090 ac_cpp='$CPP $CPPFLAGS'
35091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35100 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35102 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35103 for ac_func in _logf
35104 do :
35105 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35106 if test "x$ac_cv_func__logf" = x""yes; then :
35107 cat >>confdefs.h <<_ACEOF
35108 #define HAVE__LOGF 1
35109 _ACEOF
35112 done
35121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35122 $as_echo_n "checking for log10f declaration... " >&6; }
35123 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35124 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35125 $as_echo_n "(cached) " >&6
35126 else
35129 ac_ext=cpp
35130 ac_cpp='$CXXCPP $CPPFLAGS'
35131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35136 /* end confdefs.h. */
35137 #include <math.h>
35138 #ifdef HAVE_IEEEFP_H
35139 #include <ieeefp.h>
35140 #endif
35143 main ()
35145 log10f(0);
35147 return 0;
35149 _ACEOF
35150 if ac_fn_cxx_try_compile "$LINENO"; then :
35151 glibcxx_cv_func_log10f_use=yes
35152 else
35153 glibcxx_cv_func_log10f_use=no
35155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35156 ac_ext=c
35157 ac_cpp='$CPP $CPPFLAGS'
35158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35167 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35169 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35170 for ac_func in log10f
35171 do :
35172 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35173 if test "x$ac_cv_func_log10f" = x""yes; then :
35174 cat >>confdefs.h <<_ACEOF
35175 #define HAVE_LOG10F 1
35176 _ACEOF
35179 done
35181 else
35183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35184 $as_echo_n "checking for _log10f declaration... " >&6; }
35185 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35186 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35187 $as_echo_n "(cached) " >&6
35188 else
35191 ac_ext=cpp
35192 ac_cpp='$CXXCPP $CPPFLAGS'
35193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35198 /* end confdefs.h. */
35199 #include <math.h>
35200 #ifdef HAVE_IEEEFP_H
35201 #include <ieeefp.h>
35202 #endif
35205 main ()
35207 _log10f(0);
35209 return 0;
35211 _ACEOF
35212 if ac_fn_cxx_try_compile "$LINENO"; then :
35213 glibcxx_cv_func__log10f_use=yes
35214 else
35215 glibcxx_cv_func__log10f_use=no
35217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35218 ac_ext=c
35219 ac_cpp='$CPP $CPPFLAGS'
35220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35229 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35231 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35232 for ac_func in _log10f
35233 do :
35234 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35235 if test "x$ac_cv_func__log10f" = x""yes; then :
35236 cat >>confdefs.h <<_ACEOF
35237 #define HAVE__LOG10F 1
35238 _ACEOF
35241 done
35250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35251 $as_echo_n "checking for modff declaration... " >&6; }
35252 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35253 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35254 $as_echo_n "(cached) " >&6
35255 else
35258 ac_ext=cpp
35259 ac_cpp='$CXXCPP $CPPFLAGS'
35260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35265 /* end confdefs.h. */
35266 #include <math.h>
35268 main ()
35270 modff(0, 0);
35272 return 0;
35274 _ACEOF
35275 if ac_fn_cxx_try_compile "$LINENO"; then :
35276 glibcxx_cv_func_modff_use=yes
35277 else
35278 glibcxx_cv_func_modff_use=no
35280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35281 ac_ext=c
35282 ac_cpp='$CPP $CPPFLAGS'
35283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35292 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35294 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35295 for ac_func in modff
35296 do :
35297 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35298 if test "x$ac_cv_func_modff" = x""yes; then :
35299 cat >>confdefs.h <<_ACEOF
35300 #define HAVE_MODFF 1
35301 _ACEOF
35304 done
35306 else
35308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35309 $as_echo_n "checking for _modff declaration... " >&6; }
35310 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35311 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35312 $as_echo_n "(cached) " >&6
35313 else
35316 ac_ext=cpp
35317 ac_cpp='$CXXCPP $CPPFLAGS'
35318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35323 /* end confdefs.h. */
35324 #include <math.h>
35326 main ()
35328 _modff(0, 0);
35330 return 0;
35332 _ACEOF
35333 if ac_fn_cxx_try_compile "$LINENO"; then :
35334 glibcxx_cv_func__modff_use=yes
35335 else
35336 glibcxx_cv_func__modff_use=no
35338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35339 ac_ext=c
35340 ac_cpp='$CPP $CPPFLAGS'
35341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35350 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35352 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35353 for ac_func in _modff
35354 do :
35355 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35356 if test "x$ac_cv_func__modff" = x""yes; then :
35357 cat >>confdefs.h <<_ACEOF
35358 #define HAVE__MODFF 1
35359 _ACEOF
35362 done
35371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35372 $as_echo_n "checking for modf declaration... " >&6; }
35373 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35374 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35375 $as_echo_n "(cached) " >&6
35376 else
35379 ac_ext=cpp
35380 ac_cpp='$CXXCPP $CPPFLAGS'
35381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35386 /* end confdefs.h. */
35387 #include <math.h>
35389 main ()
35391 modf(0, 0);
35393 return 0;
35395 _ACEOF
35396 if ac_fn_cxx_try_compile "$LINENO"; then :
35397 glibcxx_cv_func_modf_use=yes
35398 else
35399 glibcxx_cv_func_modf_use=no
35401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35402 ac_ext=c
35403 ac_cpp='$CPP $CPPFLAGS'
35404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35413 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35415 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35416 for ac_func in modf
35417 do :
35418 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35419 if test "x$ac_cv_func_modf" = x""yes; then :
35420 cat >>confdefs.h <<_ACEOF
35421 #define HAVE_MODF 1
35422 _ACEOF
35425 done
35427 else
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35430 $as_echo_n "checking for _modf declaration... " >&6; }
35431 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35432 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35433 $as_echo_n "(cached) " >&6
35434 else
35437 ac_ext=cpp
35438 ac_cpp='$CXXCPP $CPPFLAGS'
35439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35444 /* end confdefs.h. */
35445 #include <math.h>
35447 main ()
35449 _modf(0, 0);
35451 return 0;
35453 _ACEOF
35454 if ac_fn_cxx_try_compile "$LINENO"; then :
35455 glibcxx_cv_func__modf_use=yes
35456 else
35457 glibcxx_cv_func__modf_use=no
35459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35460 ac_ext=c
35461 ac_cpp='$CPP $CPPFLAGS'
35462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35471 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35473 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35474 for ac_func in _modf
35475 do :
35476 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35477 if test "x$ac_cv_func__modf" = x""yes; then :
35478 cat >>confdefs.h <<_ACEOF
35479 #define HAVE__MODF 1
35480 _ACEOF
35483 done
35492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35493 $as_echo_n "checking for powf declaration... " >&6; }
35494 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35495 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35496 $as_echo_n "(cached) " >&6
35497 else
35500 ac_ext=cpp
35501 ac_cpp='$CXXCPP $CPPFLAGS'
35502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35507 /* end confdefs.h. */
35508 #include <math.h>
35510 main ()
35512 powf(0, 0);
35514 return 0;
35516 _ACEOF
35517 if ac_fn_cxx_try_compile "$LINENO"; then :
35518 glibcxx_cv_func_powf_use=yes
35519 else
35520 glibcxx_cv_func_powf_use=no
35522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35523 ac_ext=c
35524 ac_cpp='$CPP $CPPFLAGS'
35525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35534 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35536 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35537 for ac_func in powf
35538 do :
35539 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35540 if test "x$ac_cv_func_powf" = x""yes; then :
35541 cat >>confdefs.h <<_ACEOF
35542 #define HAVE_POWF 1
35543 _ACEOF
35546 done
35548 else
35550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35551 $as_echo_n "checking for _powf declaration... " >&6; }
35552 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35553 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35554 $as_echo_n "(cached) " >&6
35555 else
35558 ac_ext=cpp
35559 ac_cpp='$CXXCPP $CPPFLAGS'
35560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35565 /* end confdefs.h. */
35566 #include <math.h>
35568 main ()
35570 _powf(0, 0);
35572 return 0;
35574 _ACEOF
35575 if ac_fn_cxx_try_compile "$LINENO"; then :
35576 glibcxx_cv_func__powf_use=yes
35577 else
35578 glibcxx_cv_func__powf_use=no
35580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35581 ac_ext=c
35582 ac_cpp='$CPP $CPPFLAGS'
35583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35592 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35594 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35595 for ac_func in _powf
35596 do :
35597 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35598 if test "x$ac_cv_func__powf" = x""yes; then :
35599 cat >>confdefs.h <<_ACEOF
35600 #define HAVE__POWF 1
35601 _ACEOF
35604 done
35613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35614 $as_echo_n "checking for sqrtf declaration... " >&6; }
35615 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35616 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35617 $as_echo_n "(cached) " >&6
35618 else
35621 ac_ext=cpp
35622 ac_cpp='$CXXCPP $CPPFLAGS'
35623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35628 /* end confdefs.h. */
35629 #include <math.h>
35630 #ifdef HAVE_IEEEFP_H
35631 #include <ieeefp.h>
35632 #endif
35635 main ()
35637 sqrtf(0);
35639 return 0;
35641 _ACEOF
35642 if ac_fn_cxx_try_compile "$LINENO"; then :
35643 glibcxx_cv_func_sqrtf_use=yes
35644 else
35645 glibcxx_cv_func_sqrtf_use=no
35647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35648 ac_ext=c
35649 ac_cpp='$CPP $CPPFLAGS'
35650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35659 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35661 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35662 for ac_func in sqrtf
35663 do :
35664 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35665 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35666 cat >>confdefs.h <<_ACEOF
35667 #define HAVE_SQRTF 1
35668 _ACEOF
35671 done
35673 else
35675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35676 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35677 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35678 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35679 $as_echo_n "(cached) " >&6
35680 else
35683 ac_ext=cpp
35684 ac_cpp='$CXXCPP $CPPFLAGS'
35685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35690 /* end confdefs.h. */
35691 #include <math.h>
35692 #ifdef HAVE_IEEEFP_H
35693 #include <ieeefp.h>
35694 #endif
35697 main ()
35699 _sqrtf(0);
35701 return 0;
35703 _ACEOF
35704 if ac_fn_cxx_try_compile "$LINENO"; then :
35705 glibcxx_cv_func__sqrtf_use=yes
35706 else
35707 glibcxx_cv_func__sqrtf_use=no
35709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35710 ac_ext=c
35711 ac_cpp='$CPP $CPPFLAGS'
35712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35721 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35723 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35724 for ac_func in _sqrtf
35725 do :
35726 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35727 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35728 cat >>confdefs.h <<_ACEOF
35729 #define HAVE__SQRTF 1
35730 _ACEOF
35733 done
35742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35743 $as_echo_n "checking for sincosf declaration... " >&6; }
35744 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35745 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35746 $as_echo_n "(cached) " >&6
35747 else
35750 ac_ext=cpp
35751 ac_cpp='$CXXCPP $CPPFLAGS'
35752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35757 /* end confdefs.h. */
35758 #include <math.h>
35760 main ()
35762 sincosf(0, 0, 0);
35764 return 0;
35766 _ACEOF
35767 if ac_fn_cxx_try_compile "$LINENO"; then :
35768 glibcxx_cv_func_sincosf_use=yes
35769 else
35770 glibcxx_cv_func_sincosf_use=no
35772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35773 ac_ext=c
35774 ac_cpp='$CPP $CPPFLAGS'
35775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35784 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35786 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35787 for ac_func in sincosf
35788 do :
35789 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35790 if test "x$ac_cv_func_sincosf" = x""yes; then :
35791 cat >>confdefs.h <<_ACEOF
35792 #define HAVE_SINCOSF 1
35793 _ACEOF
35796 done
35798 else
35800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35801 $as_echo_n "checking for _sincosf declaration... " >&6; }
35802 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35803 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35804 $as_echo_n "(cached) " >&6
35805 else
35808 ac_ext=cpp
35809 ac_cpp='$CXXCPP $CPPFLAGS'
35810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35815 /* end confdefs.h. */
35816 #include <math.h>
35818 main ()
35820 _sincosf(0, 0, 0);
35822 return 0;
35824 _ACEOF
35825 if ac_fn_cxx_try_compile "$LINENO"; then :
35826 glibcxx_cv_func__sincosf_use=yes
35827 else
35828 glibcxx_cv_func__sincosf_use=no
35830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35831 ac_ext=c
35832 ac_cpp='$CPP $CPPFLAGS'
35833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35842 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35844 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35845 for ac_func in _sincosf
35846 do :
35847 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35848 if test "x$ac_cv_func__sincosf" = x""yes; then :
35849 cat >>confdefs.h <<_ACEOF
35850 #define HAVE__SINCOSF 1
35851 _ACEOF
35854 done
35863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35864 $as_echo_n "checking for finitef declaration... " >&6; }
35865 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35866 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35867 $as_echo_n "(cached) " >&6
35868 else
35871 ac_ext=cpp
35872 ac_cpp='$CXXCPP $CPPFLAGS'
35873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35878 /* end confdefs.h. */
35879 #include <math.h>
35880 #ifdef HAVE_IEEEFP_H
35881 #include <ieeefp.h>
35882 #endif
35885 main ()
35887 finitef(0);
35889 return 0;
35891 _ACEOF
35892 if ac_fn_cxx_try_compile "$LINENO"; then :
35893 glibcxx_cv_func_finitef_use=yes
35894 else
35895 glibcxx_cv_func_finitef_use=no
35897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35898 ac_ext=c
35899 ac_cpp='$CPP $CPPFLAGS'
35900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35909 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35911 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35912 for ac_func in finitef
35913 do :
35914 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35915 if test "x$ac_cv_func_finitef" = x""yes; then :
35916 cat >>confdefs.h <<_ACEOF
35917 #define HAVE_FINITEF 1
35918 _ACEOF
35921 done
35923 else
35925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35926 $as_echo_n "checking for _finitef declaration... " >&6; }
35927 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35928 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35929 $as_echo_n "(cached) " >&6
35930 else
35933 ac_ext=cpp
35934 ac_cpp='$CXXCPP $CPPFLAGS'
35935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35940 /* end confdefs.h. */
35941 #include <math.h>
35942 #ifdef HAVE_IEEEFP_H
35943 #include <ieeefp.h>
35944 #endif
35947 main ()
35949 _finitef(0);
35951 return 0;
35953 _ACEOF
35954 if ac_fn_cxx_try_compile "$LINENO"; then :
35955 glibcxx_cv_func__finitef_use=yes
35956 else
35957 glibcxx_cv_func__finitef_use=no
35959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35960 ac_ext=c
35961 ac_cpp='$CPP $CPPFLAGS'
35962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35971 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35973 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35974 for ac_func in _finitef
35975 do :
35976 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35977 if test "x$ac_cv_func__finitef" = x""yes; then :
35978 cat >>confdefs.h <<_ACEOF
35979 #define HAVE__FINITEF 1
35980 _ACEOF
35983 done
35992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35993 $as_echo_n "checking for long double trig functions... " >&6; }
35994 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35995 $as_echo_n "(cached) " >&6
35996 else
35999 ac_ext=cpp
36000 ac_cpp='$CXXCPP $CPPFLAGS'
36001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36006 /* end confdefs.h. */
36007 #include <math.h>
36009 main ()
36011 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36013 return 0;
36015 _ACEOF
36016 if ac_fn_cxx_try_compile "$LINENO"; then :
36017 glibcxx_cv_func_long_double_trig_use=yes
36018 else
36019 glibcxx_cv_func_long_double_trig_use=no
36021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36022 ac_ext=c
36023 ac_cpp='$CPP $CPPFLAGS'
36024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36031 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36032 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36033 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36034 do :
36035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36037 eval as_val=\$$as_ac_var
36038 if test "x$as_val" = x""yes; then :
36039 cat >>confdefs.h <<_ACEOF
36040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36041 _ACEOF
36044 done
36046 else
36047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36048 $as_echo_n "checking for _long double trig functions... " >&6; }
36049 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36050 $as_echo_n "(cached) " >&6
36051 else
36054 ac_ext=cpp
36055 ac_cpp='$CXXCPP $CPPFLAGS'
36056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36061 /* end confdefs.h. */
36062 #include <math.h>
36064 main ()
36066 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36068 return 0;
36070 _ACEOF
36071 if ac_fn_cxx_try_compile "$LINENO"; then :
36072 glibcxx_cv_func__long_double_trig_use=yes
36073 else
36074 glibcxx_cv_func__long_double_trig_use=no
36076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36077 ac_ext=c
36078 ac_cpp='$CPP $CPPFLAGS'
36079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36086 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36087 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36088 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36089 do :
36090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36092 eval as_val=\$$as_ac_var
36093 if test "x$as_val" = x""yes; then :
36094 cat >>confdefs.h <<_ACEOF
36095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36096 _ACEOF
36099 done
36108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36109 $as_echo_n "checking for long double round functions... " >&6; }
36110 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36111 $as_echo_n "(cached) " >&6
36112 else
36115 ac_ext=cpp
36116 ac_cpp='$CXXCPP $CPPFLAGS'
36117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36122 /* end confdefs.h. */
36123 #include <math.h>
36125 main ()
36127 ceill (0); floorl (0);
36129 return 0;
36131 _ACEOF
36132 if ac_fn_cxx_try_compile "$LINENO"; then :
36133 glibcxx_cv_func_long_double_round_use=yes
36134 else
36135 glibcxx_cv_func_long_double_round_use=no
36137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36138 ac_ext=c
36139 ac_cpp='$CPP $CPPFLAGS'
36140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36147 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36148 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36149 for ac_func in ceill floorl
36150 do :
36151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36153 eval as_val=\$$as_ac_var
36154 if test "x$as_val" = x""yes; then :
36155 cat >>confdefs.h <<_ACEOF
36156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36157 _ACEOF
36160 done
36162 else
36163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36164 $as_echo_n "checking for _long double round functions... " >&6; }
36165 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36166 $as_echo_n "(cached) " >&6
36167 else
36170 ac_ext=cpp
36171 ac_cpp='$CXXCPP $CPPFLAGS'
36172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36177 /* end confdefs.h. */
36178 #include <math.h>
36180 main ()
36182 _ceill (0); _floorl (0);
36184 return 0;
36186 _ACEOF
36187 if ac_fn_cxx_try_compile "$LINENO"; then :
36188 glibcxx_cv_func__long_double_round_use=yes
36189 else
36190 glibcxx_cv_func__long_double_round_use=no
36192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36193 ac_ext=c
36194 ac_cpp='$CPP $CPPFLAGS'
36195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36202 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36203 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36204 for ac_func in _ceill _floorl
36205 do :
36206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36208 eval as_val=\$$as_ac_var
36209 if test "x$as_val" = x""yes; then :
36210 cat >>confdefs.h <<_ACEOF
36211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36212 _ACEOF
36215 done
36225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36226 $as_echo_n "checking for isnanl declaration... " >&6; }
36227 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36228 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36229 $as_echo_n "(cached) " >&6
36230 else
36233 ac_ext=cpp
36234 ac_cpp='$CXXCPP $CPPFLAGS'
36235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36240 /* end confdefs.h. */
36241 #include <math.h>
36242 #ifdef HAVE_IEEEFP_H
36243 #include <ieeefp.h>
36244 #endif
36247 main ()
36249 isnanl(0);
36251 return 0;
36253 _ACEOF
36254 if ac_fn_cxx_try_compile "$LINENO"; then :
36255 glibcxx_cv_func_isnanl_use=yes
36256 else
36257 glibcxx_cv_func_isnanl_use=no
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36260 ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36271 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36273 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36274 for ac_func in isnanl
36275 do :
36276 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36277 if test "x$ac_cv_func_isnanl" = x""yes; then :
36278 cat >>confdefs.h <<_ACEOF
36279 #define HAVE_ISNANL 1
36280 _ACEOF
36283 done
36285 else
36287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36288 $as_echo_n "checking for _isnanl declaration... " >&6; }
36289 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36290 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36291 $as_echo_n "(cached) " >&6
36292 else
36295 ac_ext=cpp
36296 ac_cpp='$CXXCPP $CPPFLAGS'
36297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36302 /* end confdefs.h. */
36303 #include <math.h>
36304 #ifdef HAVE_IEEEFP_H
36305 #include <ieeefp.h>
36306 #endif
36309 main ()
36311 _isnanl(0);
36313 return 0;
36315 _ACEOF
36316 if ac_fn_cxx_try_compile "$LINENO"; then :
36317 glibcxx_cv_func__isnanl_use=yes
36318 else
36319 glibcxx_cv_func__isnanl_use=no
36321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36322 ac_ext=c
36323 ac_cpp='$CPP $CPPFLAGS'
36324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36333 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36335 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36336 for ac_func in _isnanl
36337 do :
36338 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36339 if test "x$ac_cv_func__isnanl" = x""yes; then :
36340 cat >>confdefs.h <<_ACEOF
36341 #define HAVE__ISNANL 1
36342 _ACEOF
36345 done
36354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36355 $as_echo_n "checking for isinfl declaration... " >&6; }
36356 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36357 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36358 $as_echo_n "(cached) " >&6
36359 else
36362 ac_ext=cpp
36363 ac_cpp='$CXXCPP $CPPFLAGS'
36364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36369 /* end confdefs.h. */
36370 #include <math.h>
36371 #ifdef HAVE_IEEEFP_H
36372 #include <ieeefp.h>
36373 #endif
36376 main ()
36378 isinfl(0);
36380 return 0;
36382 _ACEOF
36383 if ac_fn_cxx_try_compile "$LINENO"; then :
36384 glibcxx_cv_func_isinfl_use=yes
36385 else
36386 glibcxx_cv_func_isinfl_use=no
36388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36389 ac_ext=c
36390 ac_cpp='$CPP $CPPFLAGS'
36391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36400 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36402 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36403 for ac_func in isinfl
36404 do :
36405 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36406 if test "x$ac_cv_func_isinfl" = x""yes; then :
36407 cat >>confdefs.h <<_ACEOF
36408 #define HAVE_ISINFL 1
36409 _ACEOF
36412 done
36414 else
36416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36417 $as_echo_n "checking for _isinfl declaration... " >&6; }
36418 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36419 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36420 $as_echo_n "(cached) " >&6
36421 else
36424 ac_ext=cpp
36425 ac_cpp='$CXXCPP $CPPFLAGS'
36426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36431 /* end confdefs.h. */
36432 #include <math.h>
36433 #ifdef HAVE_IEEEFP_H
36434 #include <ieeefp.h>
36435 #endif
36438 main ()
36440 _isinfl(0);
36442 return 0;
36444 _ACEOF
36445 if ac_fn_cxx_try_compile "$LINENO"; then :
36446 glibcxx_cv_func__isinfl_use=yes
36447 else
36448 glibcxx_cv_func__isinfl_use=no
36450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36451 ac_ext=c
36452 ac_cpp='$CPP $CPPFLAGS'
36453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36462 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36464 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36465 for ac_func in _isinfl
36466 do :
36467 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36468 if test "x$ac_cv_func__isinfl" = x""yes; then :
36469 cat >>confdefs.h <<_ACEOF
36470 #define HAVE__ISINFL 1
36471 _ACEOF
36474 done
36483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36484 $as_echo_n "checking for atan2l declaration... " >&6; }
36485 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36486 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36487 $as_echo_n "(cached) " >&6
36488 else
36491 ac_ext=cpp
36492 ac_cpp='$CXXCPP $CPPFLAGS'
36493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36498 /* end confdefs.h. */
36499 #include <math.h>
36501 main ()
36503 atan2l(0, 0);
36505 return 0;
36507 _ACEOF
36508 if ac_fn_cxx_try_compile "$LINENO"; then :
36509 glibcxx_cv_func_atan2l_use=yes
36510 else
36511 glibcxx_cv_func_atan2l_use=no
36513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36514 ac_ext=c
36515 ac_cpp='$CPP $CPPFLAGS'
36516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36525 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36527 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36528 for ac_func in atan2l
36529 do :
36530 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36531 if test "x$ac_cv_func_atan2l" = x""yes; then :
36532 cat >>confdefs.h <<_ACEOF
36533 #define HAVE_ATAN2L 1
36534 _ACEOF
36537 done
36539 else
36541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36542 $as_echo_n "checking for _atan2l declaration... " >&6; }
36543 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36544 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36545 $as_echo_n "(cached) " >&6
36546 else
36549 ac_ext=cpp
36550 ac_cpp='$CXXCPP $CPPFLAGS'
36551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36556 /* end confdefs.h. */
36557 #include <math.h>
36559 main ()
36561 _atan2l(0, 0);
36563 return 0;
36565 _ACEOF
36566 if ac_fn_cxx_try_compile "$LINENO"; then :
36567 glibcxx_cv_func__atan2l_use=yes
36568 else
36569 glibcxx_cv_func__atan2l_use=no
36571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36572 ac_ext=c
36573 ac_cpp='$CPP $CPPFLAGS'
36574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36583 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36585 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36586 for ac_func in _atan2l
36587 do :
36588 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36589 if test "x$ac_cv_func__atan2l" = x""yes; then :
36590 cat >>confdefs.h <<_ACEOF
36591 #define HAVE__ATAN2L 1
36592 _ACEOF
36595 done
36604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36605 $as_echo_n "checking for expl declaration... " >&6; }
36606 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36607 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36608 $as_echo_n "(cached) " >&6
36609 else
36612 ac_ext=cpp
36613 ac_cpp='$CXXCPP $CPPFLAGS'
36614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36619 /* end confdefs.h. */
36620 #include <math.h>
36621 #ifdef HAVE_IEEEFP_H
36622 #include <ieeefp.h>
36623 #endif
36626 main ()
36628 expl(0);
36630 return 0;
36632 _ACEOF
36633 if ac_fn_cxx_try_compile "$LINENO"; then :
36634 glibcxx_cv_func_expl_use=yes
36635 else
36636 glibcxx_cv_func_expl_use=no
36638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36639 ac_ext=c
36640 ac_cpp='$CPP $CPPFLAGS'
36641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36650 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36652 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36653 for ac_func in expl
36654 do :
36655 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36656 if test "x$ac_cv_func_expl" = x""yes; then :
36657 cat >>confdefs.h <<_ACEOF
36658 #define HAVE_EXPL 1
36659 _ACEOF
36662 done
36664 else
36666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36667 $as_echo_n "checking for _expl declaration... " >&6; }
36668 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36669 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36670 $as_echo_n "(cached) " >&6
36671 else
36674 ac_ext=cpp
36675 ac_cpp='$CXXCPP $CPPFLAGS'
36676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36681 /* end confdefs.h. */
36682 #include <math.h>
36683 #ifdef HAVE_IEEEFP_H
36684 #include <ieeefp.h>
36685 #endif
36688 main ()
36690 _expl(0);
36692 return 0;
36694 _ACEOF
36695 if ac_fn_cxx_try_compile "$LINENO"; then :
36696 glibcxx_cv_func__expl_use=yes
36697 else
36698 glibcxx_cv_func__expl_use=no
36700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36701 ac_ext=c
36702 ac_cpp='$CPP $CPPFLAGS'
36703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36712 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36714 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36715 for ac_func in _expl
36716 do :
36717 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36718 if test "x$ac_cv_func__expl" = x""yes; then :
36719 cat >>confdefs.h <<_ACEOF
36720 #define HAVE__EXPL 1
36721 _ACEOF
36724 done
36733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36734 $as_echo_n "checking for fabsl declaration... " >&6; }
36735 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36736 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36737 $as_echo_n "(cached) " >&6
36738 else
36741 ac_ext=cpp
36742 ac_cpp='$CXXCPP $CPPFLAGS'
36743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36748 /* end confdefs.h. */
36749 #include <math.h>
36750 #ifdef HAVE_IEEEFP_H
36751 #include <ieeefp.h>
36752 #endif
36755 main ()
36757 fabsl(0);
36759 return 0;
36761 _ACEOF
36762 if ac_fn_cxx_try_compile "$LINENO"; then :
36763 glibcxx_cv_func_fabsl_use=yes
36764 else
36765 glibcxx_cv_func_fabsl_use=no
36767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36768 ac_ext=c
36769 ac_cpp='$CPP $CPPFLAGS'
36770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36779 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36781 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36782 for ac_func in fabsl
36783 do :
36784 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36785 if test "x$ac_cv_func_fabsl" = x""yes; then :
36786 cat >>confdefs.h <<_ACEOF
36787 #define HAVE_FABSL 1
36788 _ACEOF
36791 done
36793 else
36795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36796 $as_echo_n "checking for _fabsl declaration... " >&6; }
36797 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36798 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36799 $as_echo_n "(cached) " >&6
36800 else
36803 ac_ext=cpp
36804 ac_cpp='$CXXCPP $CPPFLAGS'
36805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36810 /* end confdefs.h. */
36811 #include <math.h>
36812 #ifdef HAVE_IEEEFP_H
36813 #include <ieeefp.h>
36814 #endif
36817 main ()
36819 _fabsl(0);
36821 return 0;
36823 _ACEOF
36824 if ac_fn_cxx_try_compile "$LINENO"; then :
36825 glibcxx_cv_func__fabsl_use=yes
36826 else
36827 glibcxx_cv_func__fabsl_use=no
36829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36830 ac_ext=c
36831 ac_cpp='$CPP $CPPFLAGS'
36832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36841 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36843 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36844 for ac_func in _fabsl
36845 do :
36846 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36847 if test "x$ac_cv_func__fabsl" = x""yes; then :
36848 cat >>confdefs.h <<_ACEOF
36849 #define HAVE__FABSL 1
36850 _ACEOF
36853 done
36862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36863 $as_echo_n "checking for fmodl declaration... " >&6; }
36864 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36865 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36866 $as_echo_n "(cached) " >&6
36867 else
36870 ac_ext=cpp
36871 ac_cpp='$CXXCPP $CPPFLAGS'
36872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36877 /* end confdefs.h. */
36878 #include <math.h>
36880 main ()
36882 fmodl(0, 0);
36884 return 0;
36886 _ACEOF
36887 if ac_fn_cxx_try_compile "$LINENO"; then :
36888 glibcxx_cv_func_fmodl_use=yes
36889 else
36890 glibcxx_cv_func_fmodl_use=no
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36893 ac_ext=c
36894 ac_cpp='$CPP $CPPFLAGS'
36895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36904 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36906 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36907 for ac_func in fmodl
36908 do :
36909 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36910 if test "x$ac_cv_func_fmodl" = x""yes; then :
36911 cat >>confdefs.h <<_ACEOF
36912 #define HAVE_FMODL 1
36913 _ACEOF
36916 done
36918 else
36920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36921 $as_echo_n "checking for _fmodl declaration... " >&6; }
36922 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36923 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36924 $as_echo_n "(cached) " >&6
36925 else
36928 ac_ext=cpp
36929 ac_cpp='$CXXCPP $CPPFLAGS'
36930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36935 /* end confdefs.h. */
36936 #include <math.h>
36938 main ()
36940 _fmodl(0, 0);
36942 return 0;
36944 _ACEOF
36945 if ac_fn_cxx_try_compile "$LINENO"; then :
36946 glibcxx_cv_func__fmodl_use=yes
36947 else
36948 glibcxx_cv_func__fmodl_use=no
36950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36951 ac_ext=c
36952 ac_cpp='$CPP $CPPFLAGS'
36953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36962 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36964 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36965 for ac_func in _fmodl
36966 do :
36967 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36968 if test "x$ac_cv_func__fmodl" = x""yes; then :
36969 cat >>confdefs.h <<_ACEOF
36970 #define HAVE__FMODL 1
36971 _ACEOF
36974 done
36983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36984 $as_echo_n "checking for frexpl declaration... " >&6; }
36985 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36986 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36987 $as_echo_n "(cached) " >&6
36988 else
36991 ac_ext=cpp
36992 ac_cpp='$CXXCPP $CPPFLAGS'
36993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36998 /* end confdefs.h. */
36999 #include <math.h>
37001 main ()
37003 frexpl(0, 0);
37005 return 0;
37007 _ACEOF
37008 if ac_fn_cxx_try_compile "$LINENO"; then :
37009 glibcxx_cv_func_frexpl_use=yes
37010 else
37011 glibcxx_cv_func_frexpl_use=no
37013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37014 ac_ext=c
37015 ac_cpp='$CPP $CPPFLAGS'
37016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37025 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37027 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37028 for ac_func in frexpl
37029 do :
37030 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37031 if test "x$ac_cv_func_frexpl" = x""yes; then :
37032 cat >>confdefs.h <<_ACEOF
37033 #define HAVE_FREXPL 1
37034 _ACEOF
37037 done
37039 else
37041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37042 $as_echo_n "checking for _frexpl declaration... " >&6; }
37043 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37044 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37045 $as_echo_n "(cached) " >&6
37046 else
37049 ac_ext=cpp
37050 ac_cpp='$CXXCPP $CPPFLAGS'
37051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37056 /* end confdefs.h. */
37057 #include <math.h>
37059 main ()
37061 _frexpl(0, 0);
37063 return 0;
37065 _ACEOF
37066 if ac_fn_cxx_try_compile "$LINENO"; then :
37067 glibcxx_cv_func__frexpl_use=yes
37068 else
37069 glibcxx_cv_func__frexpl_use=no
37071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37072 ac_ext=c
37073 ac_cpp='$CPP $CPPFLAGS'
37074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37083 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37085 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37086 for ac_func in _frexpl
37087 do :
37088 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37089 if test "x$ac_cv_func__frexpl" = x""yes; then :
37090 cat >>confdefs.h <<_ACEOF
37091 #define HAVE__FREXPL 1
37092 _ACEOF
37095 done
37104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37105 $as_echo_n "checking for hypotl declaration... " >&6; }
37106 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37107 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37108 $as_echo_n "(cached) " >&6
37109 else
37112 ac_ext=cpp
37113 ac_cpp='$CXXCPP $CPPFLAGS'
37114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37119 /* end confdefs.h. */
37120 #include <math.h>
37122 main ()
37124 hypotl(0, 0);
37126 return 0;
37128 _ACEOF
37129 if ac_fn_cxx_try_compile "$LINENO"; then :
37130 glibcxx_cv_func_hypotl_use=yes
37131 else
37132 glibcxx_cv_func_hypotl_use=no
37134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37135 ac_ext=c
37136 ac_cpp='$CPP $CPPFLAGS'
37137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37146 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37148 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37149 for ac_func in hypotl
37150 do :
37151 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37152 if test "x$ac_cv_func_hypotl" = x""yes; then :
37153 cat >>confdefs.h <<_ACEOF
37154 #define HAVE_HYPOTL 1
37155 _ACEOF
37158 done
37160 else
37162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37163 $as_echo_n "checking for _hypotl declaration... " >&6; }
37164 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37165 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37166 $as_echo_n "(cached) " >&6
37167 else
37170 ac_ext=cpp
37171 ac_cpp='$CXXCPP $CPPFLAGS'
37172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37177 /* end confdefs.h. */
37178 #include <math.h>
37180 main ()
37182 _hypotl(0, 0);
37184 return 0;
37186 _ACEOF
37187 if ac_fn_cxx_try_compile "$LINENO"; then :
37188 glibcxx_cv_func__hypotl_use=yes
37189 else
37190 glibcxx_cv_func__hypotl_use=no
37192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37193 ac_ext=c
37194 ac_cpp='$CPP $CPPFLAGS'
37195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37204 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37206 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37207 for ac_func in _hypotl
37208 do :
37209 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37210 if test "x$ac_cv_func__hypotl" = x""yes; then :
37211 cat >>confdefs.h <<_ACEOF
37212 #define HAVE__HYPOTL 1
37213 _ACEOF
37216 done
37225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37226 $as_echo_n "checking for ldexpl declaration... " >&6; }
37227 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37228 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37229 $as_echo_n "(cached) " >&6
37230 else
37233 ac_ext=cpp
37234 ac_cpp='$CXXCPP $CPPFLAGS'
37235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37240 /* end confdefs.h. */
37241 #include <math.h>
37243 main ()
37245 ldexpl(0, 0);
37247 return 0;
37249 _ACEOF
37250 if ac_fn_cxx_try_compile "$LINENO"; then :
37251 glibcxx_cv_func_ldexpl_use=yes
37252 else
37253 glibcxx_cv_func_ldexpl_use=no
37255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37256 ac_ext=c
37257 ac_cpp='$CPP $CPPFLAGS'
37258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37267 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37269 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37270 for ac_func in ldexpl
37271 do :
37272 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37273 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37274 cat >>confdefs.h <<_ACEOF
37275 #define HAVE_LDEXPL 1
37276 _ACEOF
37279 done
37281 else
37283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37284 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37285 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37286 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37287 $as_echo_n "(cached) " >&6
37288 else
37291 ac_ext=cpp
37292 ac_cpp='$CXXCPP $CPPFLAGS'
37293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37298 /* end confdefs.h. */
37299 #include <math.h>
37301 main ()
37303 _ldexpl(0, 0);
37305 return 0;
37307 _ACEOF
37308 if ac_fn_cxx_try_compile "$LINENO"; then :
37309 glibcxx_cv_func__ldexpl_use=yes
37310 else
37311 glibcxx_cv_func__ldexpl_use=no
37313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37314 ac_ext=c
37315 ac_cpp='$CPP $CPPFLAGS'
37316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37325 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37327 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37328 for ac_func in _ldexpl
37329 do :
37330 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37331 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37332 cat >>confdefs.h <<_ACEOF
37333 #define HAVE__LDEXPL 1
37334 _ACEOF
37337 done
37346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37347 $as_echo_n "checking for logl declaration... " >&6; }
37348 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37349 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37350 $as_echo_n "(cached) " >&6
37351 else
37354 ac_ext=cpp
37355 ac_cpp='$CXXCPP $CPPFLAGS'
37356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37361 /* end confdefs.h. */
37362 #include <math.h>
37363 #ifdef HAVE_IEEEFP_H
37364 #include <ieeefp.h>
37365 #endif
37368 main ()
37370 logl(0);
37372 return 0;
37374 _ACEOF
37375 if ac_fn_cxx_try_compile "$LINENO"; then :
37376 glibcxx_cv_func_logl_use=yes
37377 else
37378 glibcxx_cv_func_logl_use=no
37380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37381 ac_ext=c
37382 ac_cpp='$CPP $CPPFLAGS'
37383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37392 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37394 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37395 for ac_func in logl
37396 do :
37397 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37398 if test "x$ac_cv_func_logl" = x""yes; then :
37399 cat >>confdefs.h <<_ACEOF
37400 #define HAVE_LOGL 1
37401 _ACEOF
37404 done
37406 else
37408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37409 $as_echo_n "checking for _logl declaration... " >&6; }
37410 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37411 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37412 $as_echo_n "(cached) " >&6
37413 else
37416 ac_ext=cpp
37417 ac_cpp='$CXXCPP $CPPFLAGS'
37418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37423 /* end confdefs.h. */
37424 #include <math.h>
37425 #ifdef HAVE_IEEEFP_H
37426 #include <ieeefp.h>
37427 #endif
37430 main ()
37432 _logl(0);
37434 return 0;
37436 _ACEOF
37437 if ac_fn_cxx_try_compile "$LINENO"; then :
37438 glibcxx_cv_func__logl_use=yes
37439 else
37440 glibcxx_cv_func__logl_use=no
37442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37443 ac_ext=c
37444 ac_cpp='$CPP $CPPFLAGS'
37445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37454 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37456 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37457 for ac_func in _logl
37458 do :
37459 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37460 if test "x$ac_cv_func__logl" = x""yes; then :
37461 cat >>confdefs.h <<_ACEOF
37462 #define HAVE__LOGL 1
37463 _ACEOF
37466 done
37475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37476 $as_echo_n "checking for log10l declaration... " >&6; }
37477 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37478 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37479 $as_echo_n "(cached) " >&6
37480 else
37483 ac_ext=cpp
37484 ac_cpp='$CXXCPP $CPPFLAGS'
37485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37490 /* end confdefs.h. */
37491 #include <math.h>
37492 #ifdef HAVE_IEEEFP_H
37493 #include <ieeefp.h>
37494 #endif
37497 main ()
37499 log10l(0);
37501 return 0;
37503 _ACEOF
37504 if ac_fn_cxx_try_compile "$LINENO"; then :
37505 glibcxx_cv_func_log10l_use=yes
37506 else
37507 glibcxx_cv_func_log10l_use=no
37509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37510 ac_ext=c
37511 ac_cpp='$CPP $CPPFLAGS'
37512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37521 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37523 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37524 for ac_func in log10l
37525 do :
37526 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37527 if test "x$ac_cv_func_log10l" = x""yes; then :
37528 cat >>confdefs.h <<_ACEOF
37529 #define HAVE_LOG10L 1
37530 _ACEOF
37533 done
37535 else
37537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37538 $as_echo_n "checking for _log10l declaration... " >&6; }
37539 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37540 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37541 $as_echo_n "(cached) " >&6
37542 else
37545 ac_ext=cpp
37546 ac_cpp='$CXXCPP $CPPFLAGS'
37547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37552 /* end confdefs.h. */
37553 #include <math.h>
37554 #ifdef HAVE_IEEEFP_H
37555 #include <ieeefp.h>
37556 #endif
37559 main ()
37561 _log10l(0);
37563 return 0;
37565 _ACEOF
37566 if ac_fn_cxx_try_compile "$LINENO"; then :
37567 glibcxx_cv_func__log10l_use=yes
37568 else
37569 glibcxx_cv_func__log10l_use=no
37571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37572 ac_ext=c
37573 ac_cpp='$CPP $CPPFLAGS'
37574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37583 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37585 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37586 for ac_func in _log10l
37587 do :
37588 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37589 if test "x$ac_cv_func__log10l" = x""yes; then :
37590 cat >>confdefs.h <<_ACEOF
37591 #define HAVE__LOG10L 1
37592 _ACEOF
37595 done
37604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37605 $as_echo_n "checking for modfl declaration... " >&6; }
37606 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37607 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37608 $as_echo_n "(cached) " >&6
37609 else
37612 ac_ext=cpp
37613 ac_cpp='$CXXCPP $CPPFLAGS'
37614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37619 /* end confdefs.h. */
37620 #include <math.h>
37622 main ()
37624 modfl(0, 0);
37626 return 0;
37628 _ACEOF
37629 if ac_fn_cxx_try_compile "$LINENO"; then :
37630 glibcxx_cv_func_modfl_use=yes
37631 else
37632 glibcxx_cv_func_modfl_use=no
37634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37635 ac_ext=c
37636 ac_cpp='$CPP $CPPFLAGS'
37637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37646 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37648 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37649 for ac_func in modfl
37650 do :
37651 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37652 if test "x$ac_cv_func_modfl" = x""yes; then :
37653 cat >>confdefs.h <<_ACEOF
37654 #define HAVE_MODFL 1
37655 _ACEOF
37658 done
37660 else
37662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37663 $as_echo_n "checking for _modfl declaration... " >&6; }
37664 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37665 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37666 $as_echo_n "(cached) " >&6
37667 else
37670 ac_ext=cpp
37671 ac_cpp='$CXXCPP $CPPFLAGS'
37672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37677 /* end confdefs.h. */
37678 #include <math.h>
37680 main ()
37682 _modfl(0, 0);
37684 return 0;
37686 _ACEOF
37687 if ac_fn_cxx_try_compile "$LINENO"; then :
37688 glibcxx_cv_func__modfl_use=yes
37689 else
37690 glibcxx_cv_func__modfl_use=no
37692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37693 ac_ext=c
37694 ac_cpp='$CPP $CPPFLAGS'
37695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37704 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37706 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37707 for ac_func in _modfl
37708 do :
37709 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37710 if test "x$ac_cv_func__modfl" = x""yes; then :
37711 cat >>confdefs.h <<_ACEOF
37712 #define HAVE__MODFL 1
37713 _ACEOF
37716 done
37725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37726 $as_echo_n "checking for powl declaration... " >&6; }
37727 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37728 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37729 $as_echo_n "(cached) " >&6
37730 else
37733 ac_ext=cpp
37734 ac_cpp='$CXXCPP $CPPFLAGS'
37735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37740 /* end confdefs.h. */
37741 #include <math.h>
37743 main ()
37745 powl(0, 0);
37747 return 0;
37749 _ACEOF
37750 if ac_fn_cxx_try_compile "$LINENO"; then :
37751 glibcxx_cv_func_powl_use=yes
37752 else
37753 glibcxx_cv_func_powl_use=no
37755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37756 ac_ext=c
37757 ac_cpp='$CPP $CPPFLAGS'
37758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37767 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37769 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37770 for ac_func in powl
37771 do :
37772 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37773 if test "x$ac_cv_func_powl" = x""yes; then :
37774 cat >>confdefs.h <<_ACEOF
37775 #define HAVE_POWL 1
37776 _ACEOF
37779 done
37781 else
37783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37784 $as_echo_n "checking for _powl declaration... " >&6; }
37785 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37786 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37787 $as_echo_n "(cached) " >&6
37788 else
37791 ac_ext=cpp
37792 ac_cpp='$CXXCPP $CPPFLAGS'
37793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37798 /* end confdefs.h. */
37799 #include <math.h>
37801 main ()
37803 _powl(0, 0);
37805 return 0;
37807 _ACEOF
37808 if ac_fn_cxx_try_compile "$LINENO"; then :
37809 glibcxx_cv_func__powl_use=yes
37810 else
37811 glibcxx_cv_func__powl_use=no
37813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37814 ac_ext=c
37815 ac_cpp='$CPP $CPPFLAGS'
37816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37825 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37827 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37828 for ac_func in _powl
37829 do :
37830 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37831 if test "x$ac_cv_func__powl" = x""yes; then :
37832 cat >>confdefs.h <<_ACEOF
37833 #define HAVE__POWL 1
37834 _ACEOF
37837 done
37846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37847 $as_echo_n "checking for sqrtl declaration... " >&6; }
37848 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37849 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37850 $as_echo_n "(cached) " >&6
37851 else
37854 ac_ext=cpp
37855 ac_cpp='$CXXCPP $CPPFLAGS'
37856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37861 /* end confdefs.h. */
37862 #include <math.h>
37863 #ifdef HAVE_IEEEFP_H
37864 #include <ieeefp.h>
37865 #endif
37868 main ()
37870 sqrtl(0);
37872 return 0;
37874 _ACEOF
37875 if ac_fn_cxx_try_compile "$LINENO"; then :
37876 glibcxx_cv_func_sqrtl_use=yes
37877 else
37878 glibcxx_cv_func_sqrtl_use=no
37880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37881 ac_ext=c
37882 ac_cpp='$CPP $CPPFLAGS'
37883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37892 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37894 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37895 for ac_func in sqrtl
37896 do :
37897 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37898 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37899 cat >>confdefs.h <<_ACEOF
37900 #define HAVE_SQRTL 1
37901 _ACEOF
37904 done
37906 else
37908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37909 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37910 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37911 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37912 $as_echo_n "(cached) " >&6
37913 else
37916 ac_ext=cpp
37917 ac_cpp='$CXXCPP $CPPFLAGS'
37918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37923 /* end confdefs.h. */
37924 #include <math.h>
37925 #ifdef HAVE_IEEEFP_H
37926 #include <ieeefp.h>
37927 #endif
37930 main ()
37932 _sqrtl(0);
37934 return 0;
37936 _ACEOF
37937 if ac_fn_cxx_try_compile "$LINENO"; then :
37938 glibcxx_cv_func__sqrtl_use=yes
37939 else
37940 glibcxx_cv_func__sqrtl_use=no
37942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37943 ac_ext=c
37944 ac_cpp='$CPP $CPPFLAGS'
37945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37954 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37956 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37957 for ac_func in _sqrtl
37958 do :
37959 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37960 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37961 cat >>confdefs.h <<_ACEOF
37962 #define HAVE__SQRTL 1
37963 _ACEOF
37966 done
37975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37976 $as_echo_n "checking for sincosl declaration... " >&6; }
37977 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37978 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37979 $as_echo_n "(cached) " >&6
37980 else
37983 ac_ext=cpp
37984 ac_cpp='$CXXCPP $CPPFLAGS'
37985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37990 /* end confdefs.h. */
37991 #include <math.h>
37993 main ()
37995 sincosl(0, 0, 0);
37997 return 0;
37999 _ACEOF
38000 if ac_fn_cxx_try_compile "$LINENO"; then :
38001 glibcxx_cv_func_sincosl_use=yes
38002 else
38003 glibcxx_cv_func_sincosl_use=no
38005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38006 ac_ext=c
38007 ac_cpp='$CPP $CPPFLAGS'
38008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38017 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38019 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38020 for ac_func in sincosl
38021 do :
38022 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38023 if test "x$ac_cv_func_sincosl" = x""yes; then :
38024 cat >>confdefs.h <<_ACEOF
38025 #define HAVE_SINCOSL 1
38026 _ACEOF
38029 done
38031 else
38033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38034 $as_echo_n "checking for _sincosl declaration... " >&6; }
38035 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38036 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38037 $as_echo_n "(cached) " >&6
38038 else
38041 ac_ext=cpp
38042 ac_cpp='$CXXCPP $CPPFLAGS'
38043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38048 /* end confdefs.h. */
38049 #include <math.h>
38051 main ()
38053 _sincosl(0, 0, 0);
38055 return 0;
38057 _ACEOF
38058 if ac_fn_cxx_try_compile "$LINENO"; then :
38059 glibcxx_cv_func__sincosl_use=yes
38060 else
38061 glibcxx_cv_func__sincosl_use=no
38063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38064 ac_ext=c
38065 ac_cpp='$CPP $CPPFLAGS'
38066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38075 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38077 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38078 for ac_func in _sincosl
38079 do :
38080 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38081 if test "x$ac_cv_func__sincosl" = x""yes; then :
38082 cat >>confdefs.h <<_ACEOF
38083 #define HAVE__SINCOSL 1
38084 _ACEOF
38087 done
38096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38097 $as_echo_n "checking for finitel declaration... " >&6; }
38098 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38099 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38100 $as_echo_n "(cached) " >&6
38101 else
38104 ac_ext=cpp
38105 ac_cpp='$CXXCPP $CPPFLAGS'
38106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38111 /* end confdefs.h. */
38112 #include <math.h>
38113 #ifdef HAVE_IEEEFP_H
38114 #include <ieeefp.h>
38115 #endif
38118 main ()
38120 finitel(0);
38122 return 0;
38124 _ACEOF
38125 if ac_fn_cxx_try_compile "$LINENO"; then :
38126 glibcxx_cv_func_finitel_use=yes
38127 else
38128 glibcxx_cv_func_finitel_use=no
38130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38131 ac_ext=c
38132 ac_cpp='$CPP $CPPFLAGS'
38133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38142 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38144 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38145 for ac_func in finitel
38146 do :
38147 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38148 if test "x$ac_cv_func_finitel" = x""yes; then :
38149 cat >>confdefs.h <<_ACEOF
38150 #define HAVE_FINITEL 1
38151 _ACEOF
38154 done
38156 else
38158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38159 $as_echo_n "checking for _finitel declaration... " >&6; }
38160 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38161 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38162 $as_echo_n "(cached) " >&6
38163 else
38166 ac_ext=cpp
38167 ac_cpp='$CXXCPP $CPPFLAGS'
38168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38173 /* end confdefs.h. */
38174 #include <math.h>
38175 #ifdef HAVE_IEEEFP_H
38176 #include <ieeefp.h>
38177 #endif
38180 main ()
38182 _finitel(0);
38184 return 0;
38186 _ACEOF
38187 if ac_fn_cxx_try_compile "$LINENO"; then :
38188 glibcxx_cv_func__finitel_use=yes
38189 else
38190 glibcxx_cv_func__finitel_use=no
38192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38193 ac_ext=c
38194 ac_cpp='$CPP $CPPFLAGS'
38195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38204 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38206 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38207 for ac_func in _finitel
38208 do :
38209 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38210 if test "x$ac_cv_func__finitel" = x""yes; then :
38211 cat >>confdefs.h <<_ACEOF
38212 #define HAVE__FINITEL 1
38213 _ACEOF
38216 done
38224 LIBS="$ac_save_LIBS"
38225 CXXFLAGS="$ac_save_CXXFLAGS"
38228 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38229 ac_save_CXXFLAGS="$CXXFLAGS"
38230 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38234 $as_echo_n "checking for strtold declaration... " >&6; }
38235 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38236 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38237 $as_echo_n "(cached) " >&6
38238 else
38241 ac_ext=cpp
38242 ac_cpp='$CXXCPP $CPPFLAGS'
38243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38248 /* end confdefs.h. */
38249 #include <stdlib.h>
38251 main ()
38253 strtold(0, 0);
38255 return 0;
38257 _ACEOF
38258 if ac_fn_cxx_try_compile "$LINENO"; then :
38259 glibcxx_cv_func_strtold_use=yes
38260 else
38261 glibcxx_cv_func_strtold_use=no
38263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38264 ac_ext=c
38265 ac_cpp='$CPP $CPPFLAGS'
38266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38275 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38276 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38277 for ac_func in strtold
38278 do :
38279 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38280 if test "x$ac_cv_func_strtold" = x""yes; then :
38281 cat >>confdefs.h <<_ACEOF
38282 #define HAVE_STRTOLD 1
38283 _ACEOF
38286 done
38293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38294 $as_echo_n "checking for strtof declaration... " >&6; }
38295 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38296 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38297 $as_echo_n "(cached) " >&6
38298 else
38301 ac_ext=cpp
38302 ac_cpp='$CXXCPP $CPPFLAGS'
38303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38308 /* end confdefs.h. */
38309 #include <stdlib.h>
38311 main ()
38313 strtof(0, 0);
38315 return 0;
38317 _ACEOF
38318 if ac_fn_cxx_try_compile "$LINENO"; then :
38319 glibcxx_cv_func_strtof_use=yes
38320 else
38321 glibcxx_cv_func_strtof_use=no
38323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38324 ac_ext=c
38325 ac_cpp='$CPP $CPPFLAGS'
38326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38335 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38336 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38337 for ac_func in strtof
38338 do :
38339 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38340 if test "x$ac_cv_func_strtof" = x""yes; then :
38341 cat >>confdefs.h <<_ACEOF
38342 #define HAVE_STRTOF 1
38343 _ACEOF
38346 done
38353 CXXFLAGS="$ac_save_CXXFLAGS"
38355 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38357 # We don't yet support AIX's TLS ABI.
38358 #GCC_CHECK_TLS
38364 am_save_CPPFLAGS="$CPPFLAGS"
38366 for element in $INCICONV; do
38367 haveit=
38368 for x in $CPPFLAGS; do
38370 acl_save_prefix="$prefix"
38371 prefix="$acl_final_prefix"
38372 acl_save_exec_prefix="$exec_prefix"
38373 exec_prefix="$acl_final_exec_prefix"
38374 eval x=\"$x\"
38375 exec_prefix="$acl_save_exec_prefix"
38376 prefix="$acl_save_prefix"
38378 if test "X$x" = "X$element"; then
38379 haveit=yes
38380 break
38382 done
38383 if test -z "$haveit"; then
38384 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38386 done
38389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38390 $as_echo_n "checking for iconv... " >&6; }
38391 if test "${am_cv_func_iconv+set}" = set; then :
38392 $as_echo_n "(cached) " >&6
38393 else
38395 am_cv_func_iconv="no, consider installing GNU libiconv"
38396 am_cv_lib_iconv=no
38397 if test x$gcc_no_link = xyes; then
38398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38401 /* end confdefs.h. */
38402 #include <stdlib.h>
38403 #include <iconv.h>
38405 main ()
38407 iconv_t cd = iconv_open("","");
38408 iconv(cd,NULL,NULL,NULL,NULL);
38409 iconv_close(cd);
38411 return 0;
38413 _ACEOF
38414 if ac_fn_c_try_link "$LINENO"; then :
38415 am_cv_func_iconv=yes
38417 rm -f core conftest.err conftest.$ac_objext \
38418 conftest$ac_exeext conftest.$ac_ext
38419 if test "$am_cv_func_iconv" != yes; then
38420 am_save_LIBS="$LIBS"
38421 LIBS="$LIBS $LIBICONV"
38422 if test x$gcc_no_link = xyes; then
38423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38426 /* end confdefs.h. */
38427 #include <stdlib.h>
38428 #include <iconv.h>
38430 main ()
38432 iconv_t cd = iconv_open("","");
38433 iconv(cd,NULL,NULL,NULL,NULL);
38434 iconv_close(cd);
38436 return 0;
38438 _ACEOF
38439 if ac_fn_c_try_link "$LINENO"; then :
38440 am_cv_lib_iconv=yes
38441 am_cv_func_iconv=yes
38443 rm -f core conftest.err conftest.$ac_objext \
38444 conftest$ac_exeext conftest.$ac_ext
38445 LIBS="$am_save_LIBS"
38449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38450 $as_echo "$am_cv_func_iconv" >&6; }
38451 if test "$am_cv_func_iconv" = yes; then
38453 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38456 if test "$am_cv_lib_iconv" = yes; then
38457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38458 $as_echo_n "checking how to link with libiconv... " >&6; }
38459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38460 $as_echo "$LIBICONV" >&6; }
38461 else
38462 CPPFLAGS="$am_save_CPPFLAGS"
38463 LIBICONV=
38464 LTLIBICONV=
38469 if test "$am_cv_func_iconv" = yes; then
38470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38471 $as_echo_n "checking for iconv declaration... " >&6; }
38472 if test "${am_cv_proto_iconv+set}" = set; then :
38473 $as_echo_n "(cached) " >&6
38474 else
38476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38477 /* end confdefs.h. */
38479 #include <stdlib.h>
38480 #include <iconv.h>
38481 extern
38482 #ifdef __cplusplus
38484 #endif
38485 #if defined(__STDC__) || defined(__cplusplus)
38486 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38487 #else
38488 size_t iconv();
38489 #endif
38492 main ()
38496 return 0;
38498 _ACEOF
38499 if ac_fn_c_try_compile "$LINENO"; then :
38500 am_cv_proto_iconv_arg1=""
38501 else
38502 am_cv_proto_iconv_arg1="const"
38504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38505 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);"
38508 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38510 }$am_cv_proto_iconv" >&5
38511 $as_echo "${ac_t:-
38512 }$am_cv_proto_iconv" >&6; }
38514 cat >>confdefs.h <<_ACEOF
38515 #define ICONV_CONST $am_cv_proto_iconv_arg1
38516 _ACEOF
38522 *-darwin*)
38523 # Darwin versions vary, but the linker should work in a cross environment,
38524 # so we just check for all the features here.
38525 # Check for available headers.
38527 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38529 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38530 ac_save_CXXFLAGS="$CXXFLAGS"
38531 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38534 $as_echo_n "checking for sin in -lm... " >&6; }
38535 if test "${ac_cv_lib_m_sin+set}" = set; then :
38536 $as_echo_n "(cached) " >&6
38537 else
38538 ac_check_lib_save_LIBS=$LIBS
38539 LIBS="-lm $LIBS"
38540 if test x$gcc_no_link = xyes; then
38541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38544 /* end confdefs.h. */
38546 /* Override any GCC internal prototype to avoid an error.
38547 Use char because int might match the return type of a GCC
38548 builtin and then its argument prototype would still apply. */
38549 #ifdef __cplusplus
38550 extern "C"
38551 #endif
38552 char sin ();
38554 main ()
38556 return sin ();
38558 return 0;
38560 _ACEOF
38561 if ac_fn_c_try_link "$LINENO"; then :
38562 ac_cv_lib_m_sin=yes
38563 else
38564 ac_cv_lib_m_sin=no
38566 rm -f core conftest.err conftest.$ac_objext \
38567 conftest$ac_exeext conftest.$ac_ext
38568 LIBS=$ac_check_lib_save_LIBS
38570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38571 $as_echo "$ac_cv_lib_m_sin" >&6; }
38572 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38573 libm="-lm"
38576 ac_save_LIBS="$LIBS"
38577 LIBS="$LIBS $libm"
38581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38582 $as_echo_n "checking for isinf declaration... " >&6; }
38583 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38584 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38585 $as_echo_n "(cached) " >&6
38586 else
38589 ac_ext=cpp
38590 ac_cpp='$CXXCPP $CPPFLAGS'
38591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38596 /* end confdefs.h. */
38597 #include <math.h>
38598 #ifdef HAVE_IEEEFP_H
38599 #include <ieeefp.h>
38600 #endif
38603 main ()
38605 isinf(0);
38607 return 0;
38609 _ACEOF
38610 if ac_fn_cxx_try_compile "$LINENO"; then :
38611 glibcxx_cv_func_isinf_use=yes
38612 else
38613 glibcxx_cv_func_isinf_use=no
38615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38616 ac_ext=c
38617 ac_cpp='$CPP $CPPFLAGS'
38618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38627 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38629 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38630 for ac_func in isinf
38631 do :
38632 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38633 if test "x$ac_cv_func_isinf" = x""yes; then :
38634 cat >>confdefs.h <<_ACEOF
38635 #define HAVE_ISINF 1
38636 _ACEOF
38639 done
38641 else
38643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38644 $as_echo_n "checking for _isinf declaration... " >&6; }
38645 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38646 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38647 $as_echo_n "(cached) " >&6
38648 else
38651 ac_ext=cpp
38652 ac_cpp='$CXXCPP $CPPFLAGS'
38653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38658 /* end confdefs.h. */
38659 #include <math.h>
38660 #ifdef HAVE_IEEEFP_H
38661 #include <ieeefp.h>
38662 #endif
38665 main ()
38667 _isinf(0);
38669 return 0;
38671 _ACEOF
38672 if ac_fn_cxx_try_compile "$LINENO"; then :
38673 glibcxx_cv_func__isinf_use=yes
38674 else
38675 glibcxx_cv_func__isinf_use=no
38677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38678 ac_ext=c
38679 ac_cpp='$CPP $CPPFLAGS'
38680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38689 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38691 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38692 for ac_func in _isinf
38693 do :
38694 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38695 if test "x$ac_cv_func__isinf" = x""yes; then :
38696 cat >>confdefs.h <<_ACEOF
38697 #define HAVE__ISINF 1
38698 _ACEOF
38701 done
38710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38711 $as_echo_n "checking for isnan declaration... " >&6; }
38712 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38713 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38714 $as_echo_n "(cached) " >&6
38715 else
38718 ac_ext=cpp
38719 ac_cpp='$CXXCPP $CPPFLAGS'
38720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38725 /* end confdefs.h. */
38726 #include <math.h>
38727 #ifdef HAVE_IEEEFP_H
38728 #include <ieeefp.h>
38729 #endif
38732 main ()
38734 isnan(0);
38736 return 0;
38738 _ACEOF
38739 if ac_fn_cxx_try_compile "$LINENO"; then :
38740 glibcxx_cv_func_isnan_use=yes
38741 else
38742 glibcxx_cv_func_isnan_use=no
38744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38745 ac_ext=c
38746 ac_cpp='$CPP $CPPFLAGS'
38747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38756 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38758 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38759 for ac_func in isnan
38760 do :
38761 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38762 if test "x$ac_cv_func_isnan" = x""yes; then :
38763 cat >>confdefs.h <<_ACEOF
38764 #define HAVE_ISNAN 1
38765 _ACEOF
38768 done
38770 else
38772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38773 $as_echo_n "checking for _isnan declaration... " >&6; }
38774 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38775 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38776 $as_echo_n "(cached) " >&6
38777 else
38780 ac_ext=cpp
38781 ac_cpp='$CXXCPP $CPPFLAGS'
38782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38787 /* end confdefs.h. */
38788 #include <math.h>
38789 #ifdef HAVE_IEEEFP_H
38790 #include <ieeefp.h>
38791 #endif
38794 main ()
38796 _isnan(0);
38798 return 0;
38800 _ACEOF
38801 if ac_fn_cxx_try_compile "$LINENO"; then :
38802 glibcxx_cv_func__isnan_use=yes
38803 else
38804 glibcxx_cv_func__isnan_use=no
38806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38807 ac_ext=c
38808 ac_cpp='$CPP $CPPFLAGS'
38809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38818 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38820 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38821 for ac_func in _isnan
38822 do :
38823 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38824 if test "x$ac_cv_func__isnan" = x""yes; then :
38825 cat >>confdefs.h <<_ACEOF
38826 #define HAVE__ISNAN 1
38827 _ACEOF
38830 done
38839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38840 $as_echo_n "checking for finite declaration... " >&6; }
38841 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38842 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38843 $as_echo_n "(cached) " >&6
38844 else
38847 ac_ext=cpp
38848 ac_cpp='$CXXCPP $CPPFLAGS'
38849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38854 /* end confdefs.h. */
38855 #include <math.h>
38856 #ifdef HAVE_IEEEFP_H
38857 #include <ieeefp.h>
38858 #endif
38861 main ()
38863 finite(0);
38865 return 0;
38867 _ACEOF
38868 if ac_fn_cxx_try_compile "$LINENO"; then :
38869 glibcxx_cv_func_finite_use=yes
38870 else
38871 glibcxx_cv_func_finite_use=no
38873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38874 ac_ext=c
38875 ac_cpp='$CPP $CPPFLAGS'
38876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38885 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38887 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38888 for ac_func in finite
38889 do :
38890 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38891 if test "x$ac_cv_func_finite" = x""yes; then :
38892 cat >>confdefs.h <<_ACEOF
38893 #define HAVE_FINITE 1
38894 _ACEOF
38897 done
38899 else
38901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38902 $as_echo_n "checking for _finite declaration... " >&6; }
38903 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38904 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38905 $as_echo_n "(cached) " >&6
38906 else
38909 ac_ext=cpp
38910 ac_cpp='$CXXCPP $CPPFLAGS'
38911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38916 /* end confdefs.h. */
38917 #include <math.h>
38918 #ifdef HAVE_IEEEFP_H
38919 #include <ieeefp.h>
38920 #endif
38923 main ()
38925 _finite(0);
38927 return 0;
38929 _ACEOF
38930 if ac_fn_cxx_try_compile "$LINENO"; then :
38931 glibcxx_cv_func__finite_use=yes
38932 else
38933 glibcxx_cv_func__finite_use=no
38935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38936 ac_ext=c
38937 ac_cpp='$CPP $CPPFLAGS'
38938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38947 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38949 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38950 for ac_func in _finite
38951 do :
38952 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38953 if test "x$ac_cv_func__finite" = x""yes; then :
38954 cat >>confdefs.h <<_ACEOF
38955 #define HAVE__FINITE 1
38956 _ACEOF
38959 done
38968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38969 $as_echo_n "checking for sincos declaration... " >&6; }
38970 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38971 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38972 $as_echo_n "(cached) " >&6
38973 else
38976 ac_ext=cpp
38977 ac_cpp='$CXXCPP $CPPFLAGS'
38978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38983 /* end confdefs.h. */
38984 #include <math.h>
38986 main ()
38988 sincos(0, 0, 0);
38990 return 0;
38992 _ACEOF
38993 if ac_fn_cxx_try_compile "$LINENO"; then :
38994 glibcxx_cv_func_sincos_use=yes
38995 else
38996 glibcxx_cv_func_sincos_use=no
38998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38999 ac_ext=c
39000 ac_cpp='$CPP $CPPFLAGS'
39001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39010 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39012 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39013 for ac_func in sincos
39014 do :
39015 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39016 if test "x$ac_cv_func_sincos" = x""yes; then :
39017 cat >>confdefs.h <<_ACEOF
39018 #define HAVE_SINCOS 1
39019 _ACEOF
39022 done
39024 else
39026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39027 $as_echo_n "checking for _sincos declaration... " >&6; }
39028 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39029 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39030 $as_echo_n "(cached) " >&6
39031 else
39034 ac_ext=cpp
39035 ac_cpp='$CXXCPP $CPPFLAGS'
39036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39041 /* end confdefs.h. */
39042 #include <math.h>
39044 main ()
39046 _sincos(0, 0, 0);
39048 return 0;
39050 _ACEOF
39051 if ac_fn_cxx_try_compile "$LINENO"; then :
39052 glibcxx_cv_func__sincos_use=yes
39053 else
39054 glibcxx_cv_func__sincos_use=no
39056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39057 ac_ext=c
39058 ac_cpp='$CPP $CPPFLAGS'
39059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39068 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39070 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39071 for ac_func in _sincos
39072 do :
39073 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39074 if test "x$ac_cv_func__sincos" = x""yes; then :
39075 cat >>confdefs.h <<_ACEOF
39076 #define HAVE__SINCOS 1
39077 _ACEOF
39080 done
39089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39090 $as_echo_n "checking for fpclass declaration... " >&6; }
39091 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39092 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39093 $as_echo_n "(cached) " >&6
39094 else
39097 ac_ext=cpp
39098 ac_cpp='$CXXCPP $CPPFLAGS'
39099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39104 /* end confdefs.h. */
39105 #include <math.h>
39106 #ifdef HAVE_IEEEFP_H
39107 #include <ieeefp.h>
39108 #endif
39111 main ()
39113 fpclass(0);
39115 return 0;
39117 _ACEOF
39118 if ac_fn_cxx_try_compile "$LINENO"; then :
39119 glibcxx_cv_func_fpclass_use=yes
39120 else
39121 glibcxx_cv_func_fpclass_use=no
39123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39124 ac_ext=c
39125 ac_cpp='$CPP $CPPFLAGS'
39126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39135 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39137 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39138 for ac_func in fpclass
39139 do :
39140 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39141 if test "x$ac_cv_func_fpclass" = x""yes; then :
39142 cat >>confdefs.h <<_ACEOF
39143 #define HAVE_FPCLASS 1
39144 _ACEOF
39147 done
39149 else
39151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39152 $as_echo_n "checking for _fpclass declaration... " >&6; }
39153 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39154 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39155 $as_echo_n "(cached) " >&6
39156 else
39159 ac_ext=cpp
39160 ac_cpp='$CXXCPP $CPPFLAGS'
39161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39166 /* end confdefs.h. */
39167 #include <math.h>
39168 #ifdef HAVE_IEEEFP_H
39169 #include <ieeefp.h>
39170 #endif
39173 main ()
39175 _fpclass(0);
39177 return 0;
39179 _ACEOF
39180 if ac_fn_cxx_try_compile "$LINENO"; then :
39181 glibcxx_cv_func__fpclass_use=yes
39182 else
39183 glibcxx_cv_func__fpclass_use=no
39185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39186 ac_ext=c
39187 ac_cpp='$CPP $CPPFLAGS'
39188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39197 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39199 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39200 for ac_func in _fpclass
39201 do :
39202 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39203 if test "x$ac_cv_func__fpclass" = x""yes; then :
39204 cat >>confdefs.h <<_ACEOF
39205 #define HAVE__FPCLASS 1
39206 _ACEOF
39209 done
39218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39219 $as_echo_n "checking for qfpclass declaration... " >&6; }
39220 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39221 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39222 $as_echo_n "(cached) " >&6
39223 else
39226 ac_ext=cpp
39227 ac_cpp='$CXXCPP $CPPFLAGS'
39228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39233 /* end confdefs.h. */
39234 #include <math.h>
39235 #ifdef HAVE_IEEEFP_H
39236 #include <ieeefp.h>
39237 #endif
39240 main ()
39242 qfpclass(0);
39244 return 0;
39246 _ACEOF
39247 if ac_fn_cxx_try_compile "$LINENO"; then :
39248 glibcxx_cv_func_qfpclass_use=yes
39249 else
39250 glibcxx_cv_func_qfpclass_use=no
39252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39253 ac_ext=c
39254 ac_cpp='$CPP $CPPFLAGS'
39255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39264 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39266 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39267 for ac_func in qfpclass
39268 do :
39269 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39270 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39271 cat >>confdefs.h <<_ACEOF
39272 #define HAVE_QFPCLASS 1
39273 _ACEOF
39276 done
39278 else
39280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39281 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39282 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39283 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39284 $as_echo_n "(cached) " >&6
39285 else
39288 ac_ext=cpp
39289 ac_cpp='$CXXCPP $CPPFLAGS'
39290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39295 /* end confdefs.h. */
39296 #include <math.h>
39297 #ifdef HAVE_IEEEFP_H
39298 #include <ieeefp.h>
39299 #endif
39302 main ()
39304 _qfpclass(0);
39306 return 0;
39308 _ACEOF
39309 if ac_fn_cxx_try_compile "$LINENO"; then :
39310 glibcxx_cv_func__qfpclass_use=yes
39311 else
39312 glibcxx_cv_func__qfpclass_use=no
39314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39315 ac_ext=c
39316 ac_cpp='$CPP $CPPFLAGS'
39317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39326 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39328 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39329 for ac_func in _qfpclass
39330 do :
39331 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39332 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39333 cat >>confdefs.h <<_ACEOF
39334 #define HAVE__QFPCLASS 1
39335 _ACEOF
39338 done
39347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39348 $as_echo_n "checking for hypot declaration... " >&6; }
39349 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39350 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39351 $as_echo_n "(cached) " >&6
39352 else
39355 ac_ext=cpp
39356 ac_cpp='$CXXCPP $CPPFLAGS'
39357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39362 /* end confdefs.h. */
39363 #include <math.h>
39365 main ()
39367 hypot(0, 0);
39369 return 0;
39371 _ACEOF
39372 if ac_fn_cxx_try_compile "$LINENO"; then :
39373 glibcxx_cv_func_hypot_use=yes
39374 else
39375 glibcxx_cv_func_hypot_use=no
39377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39378 ac_ext=c
39379 ac_cpp='$CPP $CPPFLAGS'
39380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39389 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39391 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39392 for ac_func in hypot
39393 do :
39394 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39395 if test "x$ac_cv_func_hypot" = x""yes; then :
39396 cat >>confdefs.h <<_ACEOF
39397 #define HAVE_HYPOT 1
39398 _ACEOF
39401 done
39403 else
39405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39406 $as_echo_n "checking for _hypot declaration... " >&6; }
39407 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39408 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39409 $as_echo_n "(cached) " >&6
39410 else
39413 ac_ext=cpp
39414 ac_cpp='$CXXCPP $CPPFLAGS'
39415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39420 /* end confdefs.h. */
39421 #include <math.h>
39423 main ()
39425 _hypot(0, 0);
39427 return 0;
39429 _ACEOF
39430 if ac_fn_cxx_try_compile "$LINENO"; then :
39431 glibcxx_cv_func__hypot_use=yes
39432 else
39433 glibcxx_cv_func__hypot_use=no
39435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39436 ac_ext=c
39437 ac_cpp='$CPP $CPPFLAGS'
39438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39447 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39449 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39450 for ac_func in _hypot
39451 do :
39452 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39453 if test "x$ac_cv_func__hypot" = x""yes; then :
39454 cat >>confdefs.h <<_ACEOF
39455 #define HAVE__HYPOT 1
39456 _ACEOF
39459 done
39468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39469 $as_echo_n "checking for float trig functions... " >&6; }
39470 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39471 $as_echo_n "(cached) " >&6
39472 else
39475 ac_ext=cpp
39476 ac_cpp='$CXXCPP $CPPFLAGS'
39477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39482 /* end confdefs.h. */
39483 #include <math.h>
39485 main ()
39487 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39489 return 0;
39491 _ACEOF
39492 if ac_fn_cxx_try_compile "$LINENO"; then :
39493 glibcxx_cv_func_float_trig_use=yes
39494 else
39495 glibcxx_cv_func_float_trig_use=no
39497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39498 ac_ext=c
39499 ac_cpp='$CPP $CPPFLAGS'
39500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39507 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39508 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39509 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39510 do :
39511 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39512 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39513 eval as_val=\$$as_ac_var
39514 if test "x$as_val" = x""yes; then :
39515 cat >>confdefs.h <<_ACEOF
39516 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39517 _ACEOF
39520 done
39522 else
39523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39524 $as_echo_n "checking for _float trig functions... " >&6; }
39525 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39526 $as_echo_n "(cached) " >&6
39527 else
39530 ac_ext=cpp
39531 ac_cpp='$CXXCPP $CPPFLAGS'
39532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39537 /* end confdefs.h. */
39538 #include <math.h>
39540 main ()
39542 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39544 return 0;
39546 _ACEOF
39547 if ac_fn_cxx_try_compile "$LINENO"; then :
39548 glibcxx_cv_func__float_trig_use=yes
39549 else
39550 glibcxx_cv_func__float_trig_use=no
39552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39553 ac_ext=c
39554 ac_cpp='$CPP $CPPFLAGS'
39555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39562 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39563 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39564 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39565 do :
39566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39568 eval as_val=\$$as_ac_var
39569 if test "x$as_val" = x""yes; then :
39570 cat >>confdefs.h <<_ACEOF
39571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39572 _ACEOF
39575 done
39584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39585 $as_echo_n "checking for float round functions... " >&6; }
39586 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39587 $as_echo_n "(cached) " >&6
39588 else
39591 ac_ext=cpp
39592 ac_cpp='$CXXCPP $CPPFLAGS'
39593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39598 /* end confdefs.h. */
39599 #include <math.h>
39601 main ()
39603 ceilf (0); floorf (0);
39605 return 0;
39607 _ACEOF
39608 if ac_fn_cxx_try_compile "$LINENO"; then :
39609 glibcxx_cv_func_float_round_use=yes
39610 else
39611 glibcxx_cv_func_float_round_use=no
39613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39614 ac_ext=c
39615 ac_cpp='$CPP $CPPFLAGS'
39616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39623 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39624 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39625 for ac_func in ceilf floorf
39626 do :
39627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39629 eval as_val=\$$as_ac_var
39630 if test "x$as_val" = x""yes; then :
39631 cat >>confdefs.h <<_ACEOF
39632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39633 _ACEOF
39636 done
39638 else
39639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39640 $as_echo_n "checking for _float round functions... " >&6; }
39641 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39642 $as_echo_n "(cached) " >&6
39643 else
39646 ac_ext=cpp
39647 ac_cpp='$CXXCPP $CPPFLAGS'
39648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39653 /* end confdefs.h. */
39654 #include <math.h>
39656 main ()
39658 _ceilf (0); _floorf (0);
39660 return 0;
39662 _ACEOF
39663 if ac_fn_cxx_try_compile "$LINENO"; then :
39664 glibcxx_cv_func__float_round_use=yes
39665 else
39666 glibcxx_cv_func__float_round_use=no
39668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39669 ac_ext=c
39670 ac_cpp='$CPP $CPPFLAGS'
39671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39678 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39679 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39680 for ac_func in _ceilf _floorf
39681 do :
39682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39684 eval as_val=\$$as_ac_var
39685 if test "x$as_val" = x""yes; then :
39686 cat >>confdefs.h <<_ACEOF
39687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39688 _ACEOF
39691 done
39701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39702 $as_echo_n "checking for expf declaration... " >&6; }
39703 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39704 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39705 $as_echo_n "(cached) " >&6
39706 else
39709 ac_ext=cpp
39710 ac_cpp='$CXXCPP $CPPFLAGS'
39711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39716 /* end confdefs.h. */
39717 #include <math.h>
39718 #ifdef HAVE_IEEEFP_H
39719 #include <ieeefp.h>
39720 #endif
39723 main ()
39725 expf(0);
39727 return 0;
39729 _ACEOF
39730 if ac_fn_cxx_try_compile "$LINENO"; then :
39731 glibcxx_cv_func_expf_use=yes
39732 else
39733 glibcxx_cv_func_expf_use=no
39735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39736 ac_ext=c
39737 ac_cpp='$CPP $CPPFLAGS'
39738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39747 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39749 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39750 for ac_func in expf
39751 do :
39752 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39753 if test "x$ac_cv_func_expf" = x""yes; then :
39754 cat >>confdefs.h <<_ACEOF
39755 #define HAVE_EXPF 1
39756 _ACEOF
39759 done
39761 else
39763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39764 $as_echo_n "checking for _expf declaration... " >&6; }
39765 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39766 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39767 $as_echo_n "(cached) " >&6
39768 else
39771 ac_ext=cpp
39772 ac_cpp='$CXXCPP $CPPFLAGS'
39773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39778 /* end confdefs.h. */
39779 #include <math.h>
39780 #ifdef HAVE_IEEEFP_H
39781 #include <ieeefp.h>
39782 #endif
39785 main ()
39787 _expf(0);
39789 return 0;
39791 _ACEOF
39792 if ac_fn_cxx_try_compile "$LINENO"; then :
39793 glibcxx_cv_func__expf_use=yes
39794 else
39795 glibcxx_cv_func__expf_use=no
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798 ac_ext=c
39799 ac_cpp='$CPP $CPPFLAGS'
39800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39809 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39811 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39812 for ac_func in _expf
39813 do :
39814 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39815 if test "x$ac_cv_func__expf" = x""yes; then :
39816 cat >>confdefs.h <<_ACEOF
39817 #define HAVE__EXPF 1
39818 _ACEOF
39821 done
39830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39831 $as_echo_n "checking for isnanf declaration... " >&6; }
39832 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39833 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39834 $as_echo_n "(cached) " >&6
39835 else
39838 ac_ext=cpp
39839 ac_cpp='$CXXCPP $CPPFLAGS'
39840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39845 /* end confdefs.h. */
39846 #include <math.h>
39847 #ifdef HAVE_IEEEFP_H
39848 #include <ieeefp.h>
39849 #endif
39852 main ()
39854 isnanf(0);
39856 return 0;
39858 _ACEOF
39859 if ac_fn_cxx_try_compile "$LINENO"; then :
39860 glibcxx_cv_func_isnanf_use=yes
39861 else
39862 glibcxx_cv_func_isnanf_use=no
39864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39865 ac_ext=c
39866 ac_cpp='$CPP $CPPFLAGS'
39867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39876 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39878 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39879 for ac_func in isnanf
39880 do :
39881 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39882 if test "x$ac_cv_func_isnanf" = x""yes; then :
39883 cat >>confdefs.h <<_ACEOF
39884 #define HAVE_ISNANF 1
39885 _ACEOF
39888 done
39890 else
39892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39893 $as_echo_n "checking for _isnanf declaration... " >&6; }
39894 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39895 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39896 $as_echo_n "(cached) " >&6
39897 else
39900 ac_ext=cpp
39901 ac_cpp='$CXXCPP $CPPFLAGS'
39902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39907 /* end confdefs.h. */
39908 #include <math.h>
39909 #ifdef HAVE_IEEEFP_H
39910 #include <ieeefp.h>
39911 #endif
39914 main ()
39916 _isnanf(0);
39918 return 0;
39920 _ACEOF
39921 if ac_fn_cxx_try_compile "$LINENO"; then :
39922 glibcxx_cv_func__isnanf_use=yes
39923 else
39924 glibcxx_cv_func__isnanf_use=no
39926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39927 ac_ext=c
39928 ac_cpp='$CPP $CPPFLAGS'
39929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39938 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39940 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39941 for ac_func in _isnanf
39942 do :
39943 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39944 if test "x$ac_cv_func__isnanf" = x""yes; then :
39945 cat >>confdefs.h <<_ACEOF
39946 #define HAVE__ISNANF 1
39947 _ACEOF
39950 done
39959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39960 $as_echo_n "checking for isinff declaration... " >&6; }
39961 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39962 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39963 $as_echo_n "(cached) " >&6
39964 else
39967 ac_ext=cpp
39968 ac_cpp='$CXXCPP $CPPFLAGS'
39969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39974 /* end confdefs.h. */
39975 #include <math.h>
39976 #ifdef HAVE_IEEEFP_H
39977 #include <ieeefp.h>
39978 #endif
39981 main ()
39983 isinff(0);
39985 return 0;
39987 _ACEOF
39988 if ac_fn_cxx_try_compile "$LINENO"; then :
39989 glibcxx_cv_func_isinff_use=yes
39990 else
39991 glibcxx_cv_func_isinff_use=no
39993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39994 ac_ext=c
39995 ac_cpp='$CPP $CPPFLAGS'
39996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40005 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40007 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40008 for ac_func in isinff
40009 do :
40010 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40011 if test "x$ac_cv_func_isinff" = x""yes; then :
40012 cat >>confdefs.h <<_ACEOF
40013 #define HAVE_ISINFF 1
40014 _ACEOF
40017 done
40019 else
40021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40022 $as_echo_n "checking for _isinff declaration... " >&6; }
40023 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40024 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40025 $as_echo_n "(cached) " >&6
40026 else
40029 ac_ext=cpp
40030 ac_cpp='$CXXCPP $CPPFLAGS'
40031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40036 /* end confdefs.h. */
40037 #include <math.h>
40038 #ifdef HAVE_IEEEFP_H
40039 #include <ieeefp.h>
40040 #endif
40043 main ()
40045 _isinff(0);
40047 return 0;
40049 _ACEOF
40050 if ac_fn_cxx_try_compile "$LINENO"; then :
40051 glibcxx_cv_func__isinff_use=yes
40052 else
40053 glibcxx_cv_func__isinff_use=no
40055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40056 ac_ext=c
40057 ac_cpp='$CPP $CPPFLAGS'
40058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40067 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40069 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40070 for ac_func in _isinff
40071 do :
40072 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40073 if test "x$ac_cv_func__isinff" = x""yes; then :
40074 cat >>confdefs.h <<_ACEOF
40075 #define HAVE__ISINFF 1
40076 _ACEOF
40079 done
40088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40089 $as_echo_n "checking for atan2f declaration... " >&6; }
40090 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40091 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40092 $as_echo_n "(cached) " >&6
40093 else
40096 ac_ext=cpp
40097 ac_cpp='$CXXCPP $CPPFLAGS'
40098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40103 /* end confdefs.h. */
40104 #include <math.h>
40106 main ()
40108 atan2f(0, 0);
40110 return 0;
40112 _ACEOF
40113 if ac_fn_cxx_try_compile "$LINENO"; then :
40114 glibcxx_cv_func_atan2f_use=yes
40115 else
40116 glibcxx_cv_func_atan2f_use=no
40118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40119 ac_ext=c
40120 ac_cpp='$CPP $CPPFLAGS'
40121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40130 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40132 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40133 for ac_func in atan2f
40134 do :
40135 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40136 if test "x$ac_cv_func_atan2f" = x""yes; then :
40137 cat >>confdefs.h <<_ACEOF
40138 #define HAVE_ATAN2F 1
40139 _ACEOF
40142 done
40144 else
40146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40147 $as_echo_n "checking for _atan2f declaration... " >&6; }
40148 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40149 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40150 $as_echo_n "(cached) " >&6
40151 else
40154 ac_ext=cpp
40155 ac_cpp='$CXXCPP $CPPFLAGS'
40156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40161 /* end confdefs.h. */
40162 #include <math.h>
40164 main ()
40166 _atan2f(0, 0);
40168 return 0;
40170 _ACEOF
40171 if ac_fn_cxx_try_compile "$LINENO"; then :
40172 glibcxx_cv_func__atan2f_use=yes
40173 else
40174 glibcxx_cv_func__atan2f_use=no
40176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40177 ac_ext=c
40178 ac_cpp='$CPP $CPPFLAGS'
40179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40188 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40190 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40191 for ac_func in _atan2f
40192 do :
40193 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40194 if test "x$ac_cv_func__atan2f" = x""yes; then :
40195 cat >>confdefs.h <<_ACEOF
40196 #define HAVE__ATAN2F 1
40197 _ACEOF
40200 done
40209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40210 $as_echo_n "checking for fabsf declaration... " >&6; }
40211 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40212 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40213 $as_echo_n "(cached) " >&6
40214 else
40217 ac_ext=cpp
40218 ac_cpp='$CXXCPP $CPPFLAGS'
40219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40224 /* end confdefs.h. */
40225 #include <math.h>
40226 #ifdef HAVE_IEEEFP_H
40227 #include <ieeefp.h>
40228 #endif
40231 main ()
40233 fabsf(0);
40235 return 0;
40237 _ACEOF
40238 if ac_fn_cxx_try_compile "$LINENO"; then :
40239 glibcxx_cv_func_fabsf_use=yes
40240 else
40241 glibcxx_cv_func_fabsf_use=no
40243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40244 ac_ext=c
40245 ac_cpp='$CPP $CPPFLAGS'
40246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40255 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40257 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40258 for ac_func in fabsf
40259 do :
40260 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40261 if test "x$ac_cv_func_fabsf" = x""yes; then :
40262 cat >>confdefs.h <<_ACEOF
40263 #define HAVE_FABSF 1
40264 _ACEOF
40267 done
40269 else
40271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40272 $as_echo_n "checking for _fabsf declaration... " >&6; }
40273 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40274 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40275 $as_echo_n "(cached) " >&6
40276 else
40279 ac_ext=cpp
40280 ac_cpp='$CXXCPP $CPPFLAGS'
40281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40286 /* end confdefs.h. */
40287 #include <math.h>
40288 #ifdef HAVE_IEEEFP_H
40289 #include <ieeefp.h>
40290 #endif
40293 main ()
40295 _fabsf(0);
40297 return 0;
40299 _ACEOF
40300 if ac_fn_cxx_try_compile "$LINENO"; then :
40301 glibcxx_cv_func__fabsf_use=yes
40302 else
40303 glibcxx_cv_func__fabsf_use=no
40305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40306 ac_ext=c
40307 ac_cpp='$CPP $CPPFLAGS'
40308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40317 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40319 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40320 for ac_func in _fabsf
40321 do :
40322 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40323 if test "x$ac_cv_func__fabsf" = x""yes; then :
40324 cat >>confdefs.h <<_ACEOF
40325 #define HAVE__FABSF 1
40326 _ACEOF
40329 done
40338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40339 $as_echo_n "checking for fmodf declaration... " >&6; }
40340 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40341 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40342 $as_echo_n "(cached) " >&6
40343 else
40346 ac_ext=cpp
40347 ac_cpp='$CXXCPP $CPPFLAGS'
40348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40353 /* end confdefs.h. */
40354 #include <math.h>
40356 main ()
40358 fmodf(0, 0);
40360 return 0;
40362 _ACEOF
40363 if ac_fn_cxx_try_compile "$LINENO"; then :
40364 glibcxx_cv_func_fmodf_use=yes
40365 else
40366 glibcxx_cv_func_fmodf_use=no
40368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40369 ac_ext=c
40370 ac_cpp='$CPP $CPPFLAGS'
40371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40380 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40382 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40383 for ac_func in fmodf
40384 do :
40385 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40386 if test "x$ac_cv_func_fmodf" = x""yes; then :
40387 cat >>confdefs.h <<_ACEOF
40388 #define HAVE_FMODF 1
40389 _ACEOF
40392 done
40394 else
40396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40397 $as_echo_n "checking for _fmodf declaration... " >&6; }
40398 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40399 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40400 $as_echo_n "(cached) " >&6
40401 else
40404 ac_ext=cpp
40405 ac_cpp='$CXXCPP $CPPFLAGS'
40406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40411 /* end confdefs.h. */
40412 #include <math.h>
40414 main ()
40416 _fmodf(0, 0);
40418 return 0;
40420 _ACEOF
40421 if ac_fn_cxx_try_compile "$LINENO"; then :
40422 glibcxx_cv_func__fmodf_use=yes
40423 else
40424 glibcxx_cv_func__fmodf_use=no
40426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40427 ac_ext=c
40428 ac_cpp='$CPP $CPPFLAGS'
40429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40438 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40440 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40441 for ac_func in _fmodf
40442 do :
40443 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40444 if test "x$ac_cv_func__fmodf" = x""yes; then :
40445 cat >>confdefs.h <<_ACEOF
40446 #define HAVE__FMODF 1
40447 _ACEOF
40450 done
40459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40460 $as_echo_n "checking for frexpf declaration... " >&6; }
40461 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40462 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40463 $as_echo_n "(cached) " >&6
40464 else
40467 ac_ext=cpp
40468 ac_cpp='$CXXCPP $CPPFLAGS'
40469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40474 /* end confdefs.h. */
40475 #include <math.h>
40477 main ()
40479 frexpf(0, 0);
40481 return 0;
40483 _ACEOF
40484 if ac_fn_cxx_try_compile "$LINENO"; then :
40485 glibcxx_cv_func_frexpf_use=yes
40486 else
40487 glibcxx_cv_func_frexpf_use=no
40489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40490 ac_ext=c
40491 ac_cpp='$CPP $CPPFLAGS'
40492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40501 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40503 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40504 for ac_func in frexpf
40505 do :
40506 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40507 if test "x$ac_cv_func_frexpf" = x""yes; then :
40508 cat >>confdefs.h <<_ACEOF
40509 #define HAVE_FREXPF 1
40510 _ACEOF
40513 done
40515 else
40517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40518 $as_echo_n "checking for _frexpf declaration... " >&6; }
40519 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40520 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40521 $as_echo_n "(cached) " >&6
40522 else
40525 ac_ext=cpp
40526 ac_cpp='$CXXCPP $CPPFLAGS'
40527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40532 /* end confdefs.h. */
40533 #include <math.h>
40535 main ()
40537 _frexpf(0, 0);
40539 return 0;
40541 _ACEOF
40542 if ac_fn_cxx_try_compile "$LINENO"; then :
40543 glibcxx_cv_func__frexpf_use=yes
40544 else
40545 glibcxx_cv_func__frexpf_use=no
40547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40548 ac_ext=c
40549 ac_cpp='$CPP $CPPFLAGS'
40550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40559 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40561 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40562 for ac_func in _frexpf
40563 do :
40564 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40565 if test "x$ac_cv_func__frexpf" = x""yes; then :
40566 cat >>confdefs.h <<_ACEOF
40567 #define HAVE__FREXPF 1
40568 _ACEOF
40571 done
40580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40581 $as_echo_n "checking for hypotf declaration... " >&6; }
40582 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40583 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40584 $as_echo_n "(cached) " >&6
40585 else
40588 ac_ext=cpp
40589 ac_cpp='$CXXCPP $CPPFLAGS'
40590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40595 /* end confdefs.h. */
40596 #include <math.h>
40598 main ()
40600 hypotf(0, 0);
40602 return 0;
40604 _ACEOF
40605 if ac_fn_cxx_try_compile "$LINENO"; then :
40606 glibcxx_cv_func_hypotf_use=yes
40607 else
40608 glibcxx_cv_func_hypotf_use=no
40610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40611 ac_ext=c
40612 ac_cpp='$CPP $CPPFLAGS'
40613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40622 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40624 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40625 for ac_func in hypotf
40626 do :
40627 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40628 if test "x$ac_cv_func_hypotf" = x""yes; then :
40629 cat >>confdefs.h <<_ACEOF
40630 #define HAVE_HYPOTF 1
40631 _ACEOF
40634 done
40636 else
40638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40639 $as_echo_n "checking for _hypotf declaration... " >&6; }
40640 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40641 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40642 $as_echo_n "(cached) " >&6
40643 else
40646 ac_ext=cpp
40647 ac_cpp='$CXXCPP $CPPFLAGS'
40648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40653 /* end confdefs.h. */
40654 #include <math.h>
40656 main ()
40658 _hypotf(0, 0);
40660 return 0;
40662 _ACEOF
40663 if ac_fn_cxx_try_compile "$LINENO"; then :
40664 glibcxx_cv_func__hypotf_use=yes
40665 else
40666 glibcxx_cv_func__hypotf_use=no
40668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40669 ac_ext=c
40670 ac_cpp='$CPP $CPPFLAGS'
40671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40680 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40682 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40683 for ac_func in _hypotf
40684 do :
40685 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40686 if test "x$ac_cv_func__hypotf" = x""yes; then :
40687 cat >>confdefs.h <<_ACEOF
40688 #define HAVE__HYPOTF 1
40689 _ACEOF
40692 done
40701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40702 $as_echo_n "checking for ldexpf declaration... " >&6; }
40703 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40704 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40705 $as_echo_n "(cached) " >&6
40706 else
40709 ac_ext=cpp
40710 ac_cpp='$CXXCPP $CPPFLAGS'
40711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40716 /* end confdefs.h. */
40717 #include <math.h>
40719 main ()
40721 ldexpf(0, 0);
40723 return 0;
40725 _ACEOF
40726 if ac_fn_cxx_try_compile "$LINENO"; then :
40727 glibcxx_cv_func_ldexpf_use=yes
40728 else
40729 glibcxx_cv_func_ldexpf_use=no
40731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40732 ac_ext=c
40733 ac_cpp='$CPP $CPPFLAGS'
40734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40743 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40745 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40746 for ac_func in ldexpf
40747 do :
40748 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40749 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40750 cat >>confdefs.h <<_ACEOF
40751 #define HAVE_LDEXPF 1
40752 _ACEOF
40755 done
40757 else
40759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40760 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40761 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40762 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40763 $as_echo_n "(cached) " >&6
40764 else
40767 ac_ext=cpp
40768 ac_cpp='$CXXCPP $CPPFLAGS'
40769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40774 /* end confdefs.h. */
40775 #include <math.h>
40777 main ()
40779 _ldexpf(0, 0);
40781 return 0;
40783 _ACEOF
40784 if ac_fn_cxx_try_compile "$LINENO"; then :
40785 glibcxx_cv_func__ldexpf_use=yes
40786 else
40787 glibcxx_cv_func__ldexpf_use=no
40789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40790 ac_ext=c
40791 ac_cpp='$CPP $CPPFLAGS'
40792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40801 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40803 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40804 for ac_func in _ldexpf
40805 do :
40806 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40807 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40808 cat >>confdefs.h <<_ACEOF
40809 #define HAVE__LDEXPF 1
40810 _ACEOF
40813 done
40822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40823 $as_echo_n "checking for logf declaration... " >&6; }
40824 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40825 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40826 $as_echo_n "(cached) " >&6
40827 else
40830 ac_ext=cpp
40831 ac_cpp='$CXXCPP $CPPFLAGS'
40832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40837 /* end confdefs.h. */
40838 #include <math.h>
40839 #ifdef HAVE_IEEEFP_H
40840 #include <ieeefp.h>
40841 #endif
40844 main ()
40846 logf(0);
40848 return 0;
40850 _ACEOF
40851 if ac_fn_cxx_try_compile "$LINENO"; then :
40852 glibcxx_cv_func_logf_use=yes
40853 else
40854 glibcxx_cv_func_logf_use=no
40856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40857 ac_ext=c
40858 ac_cpp='$CPP $CPPFLAGS'
40859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40868 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40870 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40871 for ac_func in logf
40872 do :
40873 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40874 if test "x$ac_cv_func_logf" = x""yes; then :
40875 cat >>confdefs.h <<_ACEOF
40876 #define HAVE_LOGF 1
40877 _ACEOF
40880 done
40882 else
40884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40885 $as_echo_n "checking for _logf declaration... " >&6; }
40886 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40887 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40888 $as_echo_n "(cached) " >&6
40889 else
40892 ac_ext=cpp
40893 ac_cpp='$CXXCPP $CPPFLAGS'
40894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40899 /* end confdefs.h. */
40900 #include <math.h>
40901 #ifdef HAVE_IEEEFP_H
40902 #include <ieeefp.h>
40903 #endif
40906 main ()
40908 _logf(0);
40910 return 0;
40912 _ACEOF
40913 if ac_fn_cxx_try_compile "$LINENO"; then :
40914 glibcxx_cv_func__logf_use=yes
40915 else
40916 glibcxx_cv_func__logf_use=no
40918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40919 ac_ext=c
40920 ac_cpp='$CPP $CPPFLAGS'
40921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40930 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40932 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40933 for ac_func in _logf
40934 do :
40935 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40936 if test "x$ac_cv_func__logf" = x""yes; then :
40937 cat >>confdefs.h <<_ACEOF
40938 #define HAVE__LOGF 1
40939 _ACEOF
40942 done
40951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40952 $as_echo_n "checking for log10f declaration... " >&6; }
40953 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40954 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40955 $as_echo_n "(cached) " >&6
40956 else
40959 ac_ext=cpp
40960 ac_cpp='$CXXCPP $CPPFLAGS'
40961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40966 /* end confdefs.h. */
40967 #include <math.h>
40968 #ifdef HAVE_IEEEFP_H
40969 #include <ieeefp.h>
40970 #endif
40973 main ()
40975 log10f(0);
40977 return 0;
40979 _ACEOF
40980 if ac_fn_cxx_try_compile "$LINENO"; then :
40981 glibcxx_cv_func_log10f_use=yes
40982 else
40983 glibcxx_cv_func_log10f_use=no
40985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40986 ac_ext=c
40987 ac_cpp='$CPP $CPPFLAGS'
40988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40997 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40999 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41000 for ac_func in log10f
41001 do :
41002 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41003 if test "x$ac_cv_func_log10f" = x""yes; then :
41004 cat >>confdefs.h <<_ACEOF
41005 #define HAVE_LOG10F 1
41006 _ACEOF
41009 done
41011 else
41013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41014 $as_echo_n "checking for _log10f declaration... " >&6; }
41015 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41016 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41017 $as_echo_n "(cached) " >&6
41018 else
41021 ac_ext=cpp
41022 ac_cpp='$CXXCPP $CPPFLAGS'
41023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41028 /* end confdefs.h. */
41029 #include <math.h>
41030 #ifdef HAVE_IEEEFP_H
41031 #include <ieeefp.h>
41032 #endif
41035 main ()
41037 _log10f(0);
41039 return 0;
41041 _ACEOF
41042 if ac_fn_cxx_try_compile "$LINENO"; then :
41043 glibcxx_cv_func__log10f_use=yes
41044 else
41045 glibcxx_cv_func__log10f_use=no
41047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41048 ac_ext=c
41049 ac_cpp='$CPP $CPPFLAGS'
41050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41059 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41061 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41062 for ac_func in _log10f
41063 do :
41064 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41065 if test "x$ac_cv_func__log10f" = x""yes; then :
41066 cat >>confdefs.h <<_ACEOF
41067 #define HAVE__LOG10F 1
41068 _ACEOF
41071 done
41080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41081 $as_echo_n "checking for modff declaration... " >&6; }
41082 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41083 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41084 $as_echo_n "(cached) " >&6
41085 else
41088 ac_ext=cpp
41089 ac_cpp='$CXXCPP $CPPFLAGS'
41090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41095 /* end confdefs.h. */
41096 #include <math.h>
41098 main ()
41100 modff(0, 0);
41102 return 0;
41104 _ACEOF
41105 if ac_fn_cxx_try_compile "$LINENO"; then :
41106 glibcxx_cv_func_modff_use=yes
41107 else
41108 glibcxx_cv_func_modff_use=no
41110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41111 ac_ext=c
41112 ac_cpp='$CPP $CPPFLAGS'
41113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41122 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41124 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41125 for ac_func in modff
41126 do :
41127 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41128 if test "x$ac_cv_func_modff" = x""yes; then :
41129 cat >>confdefs.h <<_ACEOF
41130 #define HAVE_MODFF 1
41131 _ACEOF
41134 done
41136 else
41138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41139 $as_echo_n "checking for _modff declaration... " >&6; }
41140 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41141 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41142 $as_echo_n "(cached) " >&6
41143 else
41146 ac_ext=cpp
41147 ac_cpp='$CXXCPP $CPPFLAGS'
41148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41153 /* end confdefs.h. */
41154 #include <math.h>
41156 main ()
41158 _modff(0, 0);
41160 return 0;
41162 _ACEOF
41163 if ac_fn_cxx_try_compile "$LINENO"; then :
41164 glibcxx_cv_func__modff_use=yes
41165 else
41166 glibcxx_cv_func__modff_use=no
41168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41169 ac_ext=c
41170 ac_cpp='$CPP $CPPFLAGS'
41171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41180 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41182 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41183 for ac_func in _modff
41184 do :
41185 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41186 if test "x$ac_cv_func__modff" = x""yes; then :
41187 cat >>confdefs.h <<_ACEOF
41188 #define HAVE__MODFF 1
41189 _ACEOF
41192 done
41201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41202 $as_echo_n "checking for modf declaration... " >&6; }
41203 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41204 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41205 $as_echo_n "(cached) " >&6
41206 else
41209 ac_ext=cpp
41210 ac_cpp='$CXXCPP $CPPFLAGS'
41211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41216 /* end confdefs.h. */
41217 #include <math.h>
41219 main ()
41221 modf(0, 0);
41223 return 0;
41225 _ACEOF
41226 if ac_fn_cxx_try_compile "$LINENO"; then :
41227 glibcxx_cv_func_modf_use=yes
41228 else
41229 glibcxx_cv_func_modf_use=no
41231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41232 ac_ext=c
41233 ac_cpp='$CPP $CPPFLAGS'
41234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41243 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41245 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41246 for ac_func in modf
41247 do :
41248 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41249 if test "x$ac_cv_func_modf" = x""yes; then :
41250 cat >>confdefs.h <<_ACEOF
41251 #define HAVE_MODF 1
41252 _ACEOF
41255 done
41257 else
41259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41260 $as_echo_n "checking for _modf declaration... " >&6; }
41261 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41262 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41263 $as_echo_n "(cached) " >&6
41264 else
41267 ac_ext=cpp
41268 ac_cpp='$CXXCPP $CPPFLAGS'
41269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41274 /* end confdefs.h. */
41275 #include <math.h>
41277 main ()
41279 _modf(0, 0);
41281 return 0;
41283 _ACEOF
41284 if ac_fn_cxx_try_compile "$LINENO"; then :
41285 glibcxx_cv_func__modf_use=yes
41286 else
41287 glibcxx_cv_func__modf_use=no
41289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41290 ac_ext=c
41291 ac_cpp='$CPP $CPPFLAGS'
41292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41301 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41303 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41304 for ac_func in _modf
41305 do :
41306 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41307 if test "x$ac_cv_func__modf" = x""yes; then :
41308 cat >>confdefs.h <<_ACEOF
41309 #define HAVE__MODF 1
41310 _ACEOF
41313 done
41322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41323 $as_echo_n "checking for powf declaration... " >&6; }
41324 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41325 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41326 $as_echo_n "(cached) " >&6
41327 else
41330 ac_ext=cpp
41331 ac_cpp='$CXXCPP $CPPFLAGS'
41332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41337 /* end confdefs.h. */
41338 #include <math.h>
41340 main ()
41342 powf(0, 0);
41344 return 0;
41346 _ACEOF
41347 if ac_fn_cxx_try_compile "$LINENO"; then :
41348 glibcxx_cv_func_powf_use=yes
41349 else
41350 glibcxx_cv_func_powf_use=no
41352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41353 ac_ext=c
41354 ac_cpp='$CPP $CPPFLAGS'
41355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41364 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41366 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41367 for ac_func in powf
41368 do :
41369 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41370 if test "x$ac_cv_func_powf" = x""yes; then :
41371 cat >>confdefs.h <<_ACEOF
41372 #define HAVE_POWF 1
41373 _ACEOF
41376 done
41378 else
41380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41381 $as_echo_n "checking for _powf declaration... " >&6; }
41382 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41383 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41384 $as_echo_n "(cached) " >&6
41385 else
41388 ac_ext=cpp
41389 ac_cpp='$CXXCPP $CPPFLAGS'
41390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41395 /* end confdefs.h. */
41396 #include <math.h>
41398 main ()
41400 _powf(0, 0);
41402 return 0;
41404 _ACEOF
41405 if ac_fn_cxx_try_compile "$LINENO"; then :
41406 glibcxx_cv_func__powf_use=yes
41407 else
41408 glibcxx_cv_func__powf_use=no
41410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41411 ac_ext=c
41412 ac_cpp='$CPP $CPPFLAGS'
41413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41422 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41424 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41425 for ac_func in _powf
41426 do :
41427 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41428 if test "x$ac_cv_func__powf" = x""yes; then :
41429 cat >>confdefs.h <<_ACEOF
41430 #define HAVE__POWF 1
41431 _ACEOF
41434 done
41443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41444 $as_echo_n "checking for sqrtf declaration... " >&6; }
41445 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41446 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41447 $as_echo_n "(cached) " >&6
41448 else
41451 ac_ext=cpp
41452 ac_cpp='$CXXCPP $CPPFLAGS'
41453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41458 /* end confdefs.h. */
41459 #include <math.h>
41460 #ifdef HAVE_IEEEFP_H
41461 #include <ieeefp.h>
41462 #endif
41465 main ()
41467 sqrtf(0);
41469 return 0;
41471 _ACEOF
41472 if ac_fn_cxx_try_compile "$LINENO"; then :
41473 glibcxx_cv_func_sqrtf_use=yes
41474 else
41475 glibcxx_cv_func_sqrtf_use=no
41477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41478 ac_ext=c
41479 ac_cpp='$CPP $CPPFLAGS'
41480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41489 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41491 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41492 for ac_func in sqrtf
41493 do :
41494 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41495 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41496 cat >>confdefs.h <<_ACEOF
41497 #define HAVE_SQRTF 1
41498 _ACEOF
41501 done
41503 else
41505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41506 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41507 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41508 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41509 $as_echo_n "(cached) " >&6
41510 else
41513 ac_ext=cpp
41514 ac_cpp='$CXXCPP $CPPFLAGS'
41515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41520 /* end confdefs.h. */
41521 #include <math.h>
41522 #ifdef HAVE_IEEEFP_H
41523 #include <ieeefp.h>
41524 #endif
41527 main ()
41529 _sqrtf(0);
41531 return 0;
41533 _ACEOF
41534 if ac_fn_cxx_try_compile "$LINENO"; then :
41535 glibcxx_cv_func__sqrtf_use=yes
41536 else
41537 glibcxx_cv_func__sqrtf_use=no
41539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41540 ac_ext=c
41541 ac_cpp='$CPP $CPPFLAGS'
41542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41551 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41553 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41554 for ac_func in _sqrtf
41555 do :
41556 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41557 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41558 cat >>confdefs.h <<_ACEOF
41559 #define HAVE__SQRTF 1
41560 _ACEOF
41563 done
41572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41573 $as_echo_n "checking for sincosf declaration... " >&6; }
41574 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41575 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41576 $as_echo_n "(cached) " >&6
41577 else
41580 ac_ext=cpp
41581 ac_cpp='$CXXCPP $CPPFLAGS'
41582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41587 /* end confdefs.h. */
41588 #include <math.h>
41590 main ()
41592 sincosf(0, 0, 0);
41594 return 0;
41596 _ACEOF
41597 if ac_fn_cxx_try_compile "$LINENO"; then :
41598 glibcxx_cv_func_sincosf_use=yes
41599 else
41600 glibcxx_cv_func_sincosf_use=no
41602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41603 ac_ext=c
41604 ac_cpp='$CPP $CPPFLAGS'
41605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41614 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41616 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41617 for ac_func in sincosf
41618 do :
41619 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41620 if test "x$ac_cv_func_sincosf" = x""yes; then :
41621 cat >>confdefs.h <<_ACEOF
41622 #define HAVE_SINCOSF 1
41623 _ACEOF
41626 done
41628 else
41630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41631 $as_echo_n "checking for _sincosf declaration... " >&6; }
41632 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41633 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41634 $as_echo_n "(cached) " >&6
41635 else
41638 ac_ext=cpp
41639 ac_cpp='$CXXCPP $CPPFLAGS'
41640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41645 /* end confdefs.h. */
41646 #include <math.h>
41648 main ()
41650 _sincosf(0, 0, 0);
41652 return 0;
41654 _ACEOF
41655 if ac_fn_cxx_try_compile "$LINENO"; then :
41656 glibcxx_cv_func__sincosf_use=yes
41657 else
41658 glibcxx_cv_func__sincosf_use=no
41660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41661 ac_ext=c
41662 ac_cpp='$CPP $CPPFLAGS'
41663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41672 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41674 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41675 for ac_func in _sincosf
41676 do :
41677 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41678 if test "x$ac_cv_func__sincosf" = x""yes; then :
41679 cat >>confdefs.h <<_ACEOF
41680 #define HAVE__SINCOSF 1
41681 _ACEOF
41684 done
41693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41694 $as_echo_n "checking for finitef declaration... " >&6; }
41695 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41696 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41697 $as_echo_n "(cached) " >&6
41698 else
41701 ac_ext=cpp
41702 ac_cpp='$CXXCPP $CPPFLAGS'
41703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41708 /* end confdefs.h. */
41709 #include <math.h>
41710 #ifdef HAVE_IEEEFP_H
41711 #include <ieeefp.h>
41712 #endif
41715 main ()
41717 finitef(0);
41719 return 0;
41721 _ACEOF
41722 if ac_fn_cxx_try_compile "$LINENO"; then :
41723 glibcxx_cv_func_finitef_use=yes
41724 else
41725 glibcxx_cv_func_finitef_use=no
41727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41728 ac_ext=c
41729 ac_cpp='$CPP $CPPFLAGS'
41730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41739 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41741 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41742 for ac_func in finitef
41743 do :
41744 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41745 if test "x$ac_cv_func_finitef" = x""yes; then :
41746 cat >>confdefs.h <<_ACEOF
41747 #define HAVE_FINITEF 1
41748 _ACEOF
41751 done
41753 else
41755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41756 $as_echo_n "checking for _finitef declaration... " >&6; }
41757 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41758 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41759 $as_echo_n "(cached) " >&6
41760 else
41763 ac_ext=cpp
41764 ac_cpp='$CXXCPP $CPPFLAGS'
41765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41770 /* end confdefs.h. */
41771 #include <math.h>
41772 #ifdef HAVE_IEEEFP_H
41773 #include <ieeefp.h>
41774 #endif
41777 main ()
41779 _finitef(0);
41781 return 0;
41783 _ACEOF
41784 if ac_fn_cxx_try_compile "$LINENO"; then :
41785 glibcxx_cv_func__finitef_use=yes
41786 else
41787 glibcxx_cv_func__finitef_use=no
41789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41790 ac_ext=c
41791 ac_cpp='$CPP $CPPFLAGS'
41792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41801 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41803 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41804 for ac_func in _finitef
41805 do :
41806 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41807 if test "x$ac_cv_func__finitef" = x""yes; then :
41808 cat >>confdefs.h <<_ACEOF
41809 #define HAVE__FINITEF 1
41810 _ACEOF
41813 done
41822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41823 $as_echo_n "checking for long double trig functions... " >&6; }
41824 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41825 $as_echo_n "(cached) " >&6
41826 else
41829 ac_ext=cpp
41830 ac_cpp='$CXXCPP $CPPFLAGS'
41831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41836 /* end confdefs.h. */
41837 #include <math.h>
41839 main ()
41841 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41843 return 0;
41845 _ACEOF
41846 if ac_fn_cxx_try_compile "$LINENO"; then :
41847 glibcxx_cv_func_long_double_trig_use=yes
41848 else
41849 glibcxx_cv_func_long_double_trig_use=no
41851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41852 ac_ext=c
41853 ac_cpp='$CPP $CPPFLAGS'
41854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41861 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41862 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41863 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41864 do :
41865 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41866 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41867 eval as_val=\$$as_ac_var
41868 if test "x$as_val" = x""yes; then :
41869 cat >>confdefs.h <<_ACEOF
41870 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41871 _ACEOF
41874 done
41876 else
41877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41878 $as_echo_n "checking for _long double trig functions... " >&6; }
41879 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41880 $as_echo_n "(cached) " >&6
41881 else
41884 ac_ext=cpp
41885 ac_cpp='$CXXCPP $CPPFLAGS'
41886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41891 /* end confdefs.h. */
41892 #include <math.h>
41894 main ()
41896 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41898 return 0;
41900 _ACEOF
41901 if ac_fn_cxx_try_compile "$LINENO"; then :
41902 glibcxx_cv_func__long_double_trig_use=yes
41903 else
41904 glibcxx_cv_func__long_double_trig_use=no
41906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41907 ac_ext=c
41908 ac_cpp='$CPP $CPPFLAGS'
41909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41916 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41917 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41918 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41919 do :
41920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41921 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41922 eval as_val=\$$as_ac_var
41923 if test "x$as_val" = x""yes; then :
41924 cat >>confdefs.h <<_ACEOF
41925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41926 _ACEOF
41929 done
41938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41939 $as_echo_n "checking for long double round functions... " >&6; }
41940 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41941 $as_echo_n "(cached) " >&6
41942 else
41945 ac_ext=cpp
41946 ac_cpp='$CXXCPP $CPPFLAGS'
41947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41952 /* end confdefs.h. */
41953 #include <math.h>
41955 main ()
41957 ceill (0); floorl (0);
41959 return 0;
41961 _ACEOF
41962 if ac_fn_cxx_try_compile "$LINENO"; then :
41963 glibcxx_cv_func_long_double_round_use=yes
41964 else
41965 glibcxx_cv_func_long_double_round_use=no
41967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41968 ac_ext=c
41969 ac_cpp='$CPP $CPPFLAGS'
41970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41977 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41978 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41979 for ac_func in ceill floorl
41980 do :
41981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41983 eval as_val=\$$as_ac_var
41984 if test "x$as_val" = x""yes; then :
41985 cat >>confdefs.h <<_ACEOF
41986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41987 _ACEOF
41990 done
41992 else
41993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41994 $as_echo_n "checking for _long double round functions... " >&6; }
41995 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41996 $as_echo_n "(cached) " >&6
41997 else
42000 ac_ext=cpp
42001 ac_cpp='$CXXCPP $CPPFLAGS'
42002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42007 /* end confdefs.h. */
42008 #include <math.h>
42010 main ()
42012 _ceill (0); _floorl (0);
42014 return 0;
42016 _ACEOF
42017 if ac_fn_cxx_try_compile "$LINENO"; then :
42018 glibcxx_cv_func__long_double_round_use=yes
42019 else
42020 glibcxx_cv_func__long_double_round_use=no
42022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42023 ac_ext=c
42024 ac_cpp='$CPP $CPPFLAGS'
42025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42032 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42033 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42034 for ac_func in _ceill _floorl
42035 do :
42036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42038 eval as_val=\$$as_ac_var
42039 if test "x$as_val" = x""yes; then :
42040 cat >>confdefs.h <<_ACEOF
42041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42042 _ACEOF
42045 done
42055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42056 $as_echo_n "checking for isnanl declaration... " >&6; }
42057 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42058 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42059 $as_echo_n "(cached) " >&6
42060 else
42063 ac_ext=cpp
42064 ac_cpp='$CXXCPP $CPPFLAGS'
42065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42070 /* end confdefs.h. */
42071 #include <math.h>
42072 #ifdef HAVE_IEEEFP_H
42073 #include <ieeefp.h>
42074 #endif
42077 main ()
42079 isnanl(0);
42081 return 0;
42083 _ACEOF
42084 if ac_fn_cxx_try_compile "$LINENO"; then :
42085 glibcxx_cv_func_isnanl_use=yes
42086 else
42087 glibcxx_cv_func_isnanl_use=no
42089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42090 ac_ext=c
42091 ac_cpp='$CPP $CPPFLAGS'
42092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42101 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42103 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42104 for ac_func in isnanl
42105 do :
42106 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42107 if test "x$ac_cv_func_isnanl" = x""yes; then :
42108 cat >>confdefs.h <<_ACEOF
42109 #define HAVE_ISNANL 1
42110 _ACEOF
42113 done
42115 else
42117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42118 $as_echo_n "checking for _isnanl declaration... " >&6; }
42119 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42120 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42121 $as_echo_n "(cached) " >&6
42122 else
42125 ac_ext=cpp
42126 ac_cpp='$CXXCPP $CPPFLAGS'
42127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42132 /* end confdefs.h. */
42133 #include <math.h>
42134 #ifdef HAVE_IEEEFP_H
42135 #include <ieeefp.h>
42136 #endif
42139 main ()
42141 _isnanl(0);
42143 return 0;
42145 _ACEOF
42146 if ac_fn_cxx_try_compile "$LINENO"; then :
42147 glibcxx_cv_func__isnanl_use=yes
42148 else
42149 glibcxx_cv_func__isnanl_use=no
42151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42152 ac_ext=c
42153 ac_cpp='$CPP $CPPFLAGS'
42154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42163 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42165 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42166 for ac_func in _isnanl
42167 do :
42168 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42169 if test "x$ac_cv_func__isnanl" = x""yes; then :
42170 cat >>confdefs.h <<_ACEOF
42171 #define HAVE__ISNANL 1
42172 _ACEOF
42175 done
42184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42185 $as_echo_n "checking for isinfl declaration... " >&6; }
42186 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42187 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42188 $as_echo_n "(cached) " >&6
42189 else
42192 ac_ext=cpp
42193 ac_cpp='$CXXCPP $CPPFLAGS'
42194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199 /* end confdefs.h. */
42200 #include <math.h>
42201 #ifdef HAVE_IEEEFP_H
42202 #include <ieeefp.h>
42203 #endif
42206 main ()
42208 isinfl(0);
42210 return 0;
42212 _ACEOF
42213 if ac_fn_cxx_try_compile "$LINENO"; then :
42214 glibcxx_cv_func_isinfl_use=yes
42215 else
42216 glibcxx_cv_func_isinfl_use=no
42218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42219 ac_ext=c
42220 ac_cpp='$CPP $CPPFLAGS'
42221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42230 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42232 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42233 for ac_func in isinfl
42234 do :
42235 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42236 if test "x$ac_cv_func_isinfl" = x""yes; then :
42237 cat >>confdefs.h <<_ACEOF
42238 #define HAVE_ISINFL 1
42239 _ACEOF
42242 done
42244 else
42246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42247 $as_echo_n "checking for _isinfl declaration... " >&6; }
42248 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42249 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42250 $as_echo_n "(cached) " >&6
42251 else
42254 ac_ext=cpp
42255 ac_cpp='$CXXCPP $CPPFLAGS'
42256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42261 /* end confdefs.h. */
42262 #include <math.h>
42263 #ifdef HAVE_IEEEFP_H
42264 #include <ieeefp.h>
42265 #endif
42268 main ()
42270 _isinfl(0);
42272 return 0;
42274 _ACEOF
42275 if ac_fn_cxx_try_compile "$LINENO"; then :
42276 glibcxx_cv_func__isinfl_use=yes
42277 else
42278 glibcxx_cv_func__isinfl_use=no
42280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42281 ac_ext=c
42282 ac_cpp='$CPP $CPPFLAGS'
42283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42292 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42294 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42295 for ac_func in _isinfl
42296 do :
42297 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42298 if test "x$ac_cv_func__isinfl" = x""yes; then :
42299 cat >>confdefs.h <<_ACEOF
42300 #define HAVE__ISINFL 1
42301 _ACEOF
42304 done
42313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42314 $as_echo_n "checking for atan2l declaration... " >&6; }
42315 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42316 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42317 $as_echo_n "(cached) " >&6
42318 else
42321 ac_ext=cpp
42322 ac_cpp='$CXXCPP $CPPFLAGS'
42323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42328 /* end confdefs.h. */
42329 #include <math.h>
42331 main ()
42333 atan2l(0, 0);
42335 return 0;
42337 _ACEOF
42338 if ac_fn_cxx_try_compile "$LINENO"; then :
42339 glibcxx_cv_func_atan2l_use=yes
42340 else
42341 glibcxx_cv_func_atan2l_use=no
42343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42344 ac_ext=c
42345 ac_cpp='$CPP $CPPFLAGS'
42346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42355 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42357 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42358 for ac_func in atan2l
42359 do :
42360 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42361 if test "x$ac_cv_func_atan2l" = x""yes; then :
42362 cat >>confdefs.h <<_ACEOF
42363 #define HAVE_ATAN2L 1
42364 _ACEOF
42367 done
42369 else
42371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42372 $as_echo_n "checking for _atan2l declaration... " >&6; }
42373 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42374 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42375 $as_echo_n "(cached) " >&6
42376 else
42379 ac_ext=cpp
42380 ac_cpp='$CXXCPP $CPPFLAGS'
42381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42386 /* end confdefs.h. */
42387 #include <math.h>
42389 main ()
42391 _atan2l(0, 0);
42393 return 0;
42395 _ACEOF
42396 if ac_fn_cxx_try_compile "$LINENO"; then :
42397 glibcxx_cv_func__atan2l_use=yes
42398 else
42399 glibcxx_cv_func__atan2l_use=no
42401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42402 ac_ext=c
42403 ac_cpp='$CPP $CPPFLAGS'
42404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42413 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42415 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42416 for ac_func in _atan2l
42417 do :
42418 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42419 if test "x$ac_cv_func__atan2l" = x""yes; then :
42420 cat >>confdefs.h <<_ACEOF
42421 #define HAVE__ATAN2L 1
42422 _ACEOF
42425 done
42434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42435 $as_echo_n "checking for expl declaration... " >&6; }
42436 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42437 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42438 $as_echo_n "(cached) " >&6
42439 else
42442 ac_ext=cpp
42443 ac_cpp='$CXXCPP $CPPFLAGS'
42444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42449 /* end confdefs.h. */
42450 #include <math.h>
42451 #ifdef HAVE_IEEEFP_H
42452 #include <ieeefp.h>
42453 #endif
42456 main ()
42458 expl(0);
42460 return 0;
42462 _ACEOF
42463 if ac_fn_cxx_try_compile "$LINENO"; then :
42464 glibcxx_cv_func_expl_use=yes
42465 else
42466 glibcxx_cv_func_expl_use=no
42468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42469 ac_ext=c
42470 ac_cpp='$CPP $CPPFLAGS'
42471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42480 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42482 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42483 for ac_func in expl
42484 do :
42485 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42486 if test "x$ac_cv_func_expl" = x""yes; then :
42487 cat >>confdefs.h <<_ACEOF
42488 #define HAVE_EXPL 1
42489 _ACEOF
42492 done
42494 else
42496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42497 $as_echo_n "checking for _expl declaration... " >&6; }
42498 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42499 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42500 $as_echo_n "(cached) " >&6
42501 else
42504 ac_ext=cpp
42505 ac_cpp='$CXXCPP $CPPFLAGS'
42506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42511 /* end confdefs.h. */
42512 #include <math.h>
42513 #ifdef HAVE_IEEEFP_H
42514 #include <ieeefp.h>
42515 #endif
42518 main ()
42520 _expl(0);
42522 return 0;
42524 _ACEOF
42525 if ac_fn_cxx_try_compile "$LINENO"; then :
42526 glibcxx_cv_func__expl_use=yes
42527 else
42528 glibcxx_cv_func__expl_use=no
42530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42531 ac_ext=c
42532 ac_cpp='$CPP $CPPFLAGS'
42533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42542 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42544 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42545 for ac_func in _expl
42546 do :
42547 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42548 if test "x$ac_cv_func__expl" = x""yes; then :
42549 cat >>confdefs.h <<_ACEOF
42550 #define HAVE__EXPL 1
42551 _ACEOF
42554 done
42563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42564 $as_echo_n "checking for fabsl declaration... " >&6; }
42565 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42566 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42567 $as_echo_n "(cached) " >&6
42568 else
42571 ac_ext=cpp
42572 ac_cpp='$CXXCPP $CPPFLAGS'
42573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42578 /* end confdefs.h. */
42579 #include <math.h>
42580 #ifdef HAVE_IEEEFP_H
42581 #include <ieeefp.h>
42582 #endif
42585 main ()
42587 fabsl(0);
42589 return 0;
42591 _ACEOF
42592 if ac_fn_cxx_try_compile "$LINENO"; then :
42593 glibcxx_cv_func_fabsl_use=yes
42594 else
42595 glibcxx_cv_func_fabsl_use=no
42597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42598 ac_ext=c
42599 ac_cpp='$CPP $CPPFLAGS'
42600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42609 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42611 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42612 for ac_func in fabsl
42613 do :
42614 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42615 if test "x$ac_cv_func_fabsl" = x""yes; then :
42616 cat >>confdefs.h <<_ACEOF
42617 #define HAVE_FABSL 1
42618 _ACEOF
42621 done
42623 else
42625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42626 $as_echo_n "checking for _fabsl declaration... " >&6; }
42627 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42628 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42629 $as_echo_n "(cached) " >&6
42630 else
42633 ac_ext=cpp
42634 ac_cpp='$CXXCPP $CPPFLAGS'
42635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42640 /* end confdefs.h. */
42641 #include <math.h>
42642 #ifdef HAVE_IEEEFP_H
42643 #include <ieeefp.h>
42644 #endif
42647 main ()
42649 _fabsl(0);
42651 return 0;
42653 _ACEOF
42654 if ac_fn_cxx_try_compile "$LINENO"; then :
42655 glibcxx_cv_func__fabsl_use=yes
42656 else
42657 glibcxx_cv_func__fabsl_use=no
42659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42660 ac_ext=c
42661 ac_cpp='$CPP $CPPFLAGS'
42662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42671 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42673 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42674 for ac_func in _fabsl
42675 do :
42676 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42677 if test "x$ac_cv_func__fabsl" = x""yes; then :
42678 cat >>confdefs.h <<_ACEOF
42679 #define HAVE__FABSL 1
42680 _ACEOF
42683 done
42692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42693 $as_echo_n "checking for fmodl declaration... " >&6; }
42694 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42695 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42696 $as_echo_n "(cached) " >&6
42697 else
42700 ac_ext=cpp
42701 ac_cpp='$CXXCPP $CPPFLAGS'
42702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42707 /* end confdefs.h. */
42708 #include <math.h>
42710 main ()
42712 fmodl(0, 0);
42714 return 0;
42716 _ACEOF
42717 if ac_fn_cxx_try_compile "$LINENO"; then :
42718 glibcxx_cv_func_fmodl_use=yes
42719 else
42720 glibcxx_cv_func_fmodl_use=no
42722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42723 ac_ext=c
42724 ac_cpp='$CPP $CPPFLAGS'
42725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42734 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42736 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42737 for ac_func in fmodl
42738 do :
42739 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42740 if test "x$ac_cv_func_fmodl" = x""yes; then :
42741 cat >>confdefs.h <<_ACEOF
42742 #define HAVE_FMODL 1
42743 _ACEOF
42746 done
42748 else
42750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42751 $as_echo_n "checking for _fmodl declaration... " >&6; }
42752 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42753 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42754 $as_echo_n "(cached) " >&6
42755 else
42758 ac_ext=cpp
42759 ac_cpp='$CXXCPP $CPPFLAGS'
42760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42765 /* end confdefs.h. */
42766 #include <math.h>
42768 main ()
42770 _fmodl(0, 0);
42772 return 0;
42774 _ACEOF
42775 if ac_fn_cxx_try_compile "$LINENO"; then :
42776 glibcxx_cv_func__fmodl_use=yes
42777 else
42778 glibcxx_cv_func__fmodl_use=no
42780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42781 ac_ext=c
42782 ac_cpp='$CPP $CPPFLAGS'
42783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42792 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42794 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42795 for ac_func in _fmodl
42796 do :
42797 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42798 if test "x$ac_cv_func__fmodl" = x""yes; then :
42799 cat >>confdefs.h <<_ACEOF
42800 #define HAVE__FMODL 1
42801 _ACEOF
42804 done
42813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42814 $as_echo_n "checking for frexpl declaration... " >&6; }
42815 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42816 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42817 $as_echo_n "(cached) " >&6
42818 else
42821 ac_ext=cpp
42822 ac_cpp='$CXXCPP $CPPFLAGS'
42823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42828 /* end confdefs.h. */
42829 #include <math.h>
42831 main ()
42833 frexpl(0, 0);
42835 return 0;
42837 _ACEOF
42838 if ac_fn_cxx_try_compile "$LINENO"; then :
42839 glibcxx_cv_func_frexpl_use=yes
42840 else
42841 glibcxx_cv_func_frexpl_use=no
42843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42844 ac_ext=c
42845 ac_cpp='$CPP $CPPFLAGS'
42846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42855 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42857 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42858 for ac_func in frexpl
42859 do :
42860 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42861 if test "x$ac_cv_func_frexpl" = x""yes; then :
42862 cat >>confdefs.h <<_ACEOF
42863 #define HAVE_FREXPL 1
42864 _ACEOF
42867 done
42869 else
42871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42872 $as_echo_n "checking for _frexpl declaration... " >&6; }
42873 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42874 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42875 $as_echo_n "(cached) " >&6
42876 else
42879 ac_ext=cpp
42880 ac_cpp='$CXXCPP $CPPFLAGS'
42881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42886 /* end confdefs.h. */
42887 #include <math.h>
42889 main ()
42891 _frexpl(0, 0);
42893 return 0;
42895 _ACEOF
42896 if ac_fn_cxx_try_compile "$LINENO"; then :
42897 glibcxx_cv_func__frexpl_use=yes
42898 else
42899 glibcxx_cv_func__frexpl_use=no
42901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42902 ac_ext=c
42903 ac_cpp='$CPP $CPPFLAGS'
42904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42913 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42915 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42916 for ac_func in _frexpl
42917 do :
42918 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42919 if test "x$ac_cv_func__frexpl" = x""yes; then :
42920 cat >>confdefs.h <<_ACEOF
42921 #define HAVE__FREXPL 1
42922 _ACEOF
42925 done
42934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42935 $as_echo_n "checking for hypotl declaration... " >&6; }
42936 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42937 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42938 $as_echo_n "(cached) " >&6
42939 else
42942 ac_ext=cpp
42943 ac_cpp='$CXXCPP $CPPFLAGS'
42944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42949 /* end confdefs.h. */
42950 #include <math.h>
42952 main ()
42954 hypotl(0, 0);
42956 return 0;
42958 _ACEOF
42959 if ac_fn_cxx_try_compile "$LINENO"; then :
42960 glibcxx_cv_func_hypotl_use=yes
42961 else
42962 glibcxx_cv_func_hypotl_use=no
42964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42965 ac_ext=c
42966 ac_cpp='$CPP $CPPFLAGS'
42967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42976 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42978 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42979 for ac_func in hypotl
42980 do :
42981 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42982 if test "x$ac_cv_func_hypotl" = x""yes; then :
42983 cat >>confdefs.h <<_ACEOF
42984 #define HAVE_HYPOTL 1
42985 _ACEOF
42988 done
42990 else
42992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42993 $as_echo_n "checking for _hypotl declaration... " >&6; }
42994 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42995 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42996 $as_echo_n "(cached) " >&6
42997 else
43000 ac_ext=cpp
43001 ac_cpp='$CXXCPP $CPPFLAGS'
43002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43007 /* end confdefs.h. */
43008 #include <math.h>
43010 main ()
43012 _hypotl(0, 0);
43014 return 0;
43016 _ACEOF
43017 if ac_fn_cxx_try_compile "$LINENO"; then :
43018 glibcxx_cv_func__hypotl_use=yes
43019 else
43020 glibcxx_cv_func__hypotl_use=no
43022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43023 ac_ext=c
43024 ac_cpp='$CPP $CPPFLAGS'
43025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43034 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43036 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43037 for ac_func in _hypotl
43038 do :
43039 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43040 if test "x$ac_cv_func__hypotl" = x""yes; then :
43041 cat >>confdefs.h <<_ACEOF
43042 #define HAVE__HYPOTL 1
43043 _ACEOF
43046 done
43055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43056 $as_echo_n "checking for ldexpl declaration... " >&6; }
43057 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43058 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43059 $as_echo_n "(cached) " >&6
43060 else
43063 ac_ext=cpp
43064 ac_cpp='$CXXCPP $CPPFLAGS'
43065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43070 /* end confdefs.h. */
43071 #include <math.h>
43073 main ()
43075 ldexpl(0, 0);
43077 return 0;
43079 _ACEOF
43080 if ac_fn_cxx_try_compile "$LINENO"; then :
43081 glibcxx_cv_func_ldexpl_use=yes
43082 else
43083 glibcxx_cv_func_ldexpl_use=no
43085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43086 ac_ext=c
43087 ac_cpp='$CPP $CPPFLAGS'
43088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43097 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43099 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43100 for ac_func in ldexpl
43101 do :
43102 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43103 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43104 cat >>confdefs.h <<_ACEOF
43105 #define HAVE_LDEXPL 1
43106 _ACEOF
43109 done
43111 else
43113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43114 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43115 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43116 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43117 $as_echo_n "(cached) " >&6
43118 else
43121 ac_ext=cpp
43122 ac_cpp='$CXXCPP $CPPFLAGS'
43123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43128 /* end confdefs.h. */
43129 #include <math.h>
43131 main ()
43133 _ldexpl(0, 0);
43135 return 0;
43137 _ACEOF
43138 if ac_fn_cxx_try_compile "$LINENO"; then :
43139 glibcxx_cv_func__ldexpl_use=yes
43140 else
43141 glibcxx_cv_func__ldexpl_use=no
43143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43144 ac_ext=c
43145 ac_cpp='$CPP $CPPFLAGS'
43146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43155 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43157 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43158 for ac_func in _ldexpl
43159 do :
43160 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43161 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43162 cat >>confdefs.h <<_ACEOF
43163 #define HAVE__LDEXPL 1
43164 _ACEOF
43167 done
43176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43177 $as_echo_n "checking for logl declaration... " >&6; }
43178 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43179 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43180 $as_echo_n "(cached) " >&6
43181 else
43184 ac_ext=cpp
43185 ac_cpp='$CXXCPP $CPPFLAGS'
43186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43191 /* end confdefs.h. */
43192 #include <math.h>
43193 #ifdef HAVE_IEEEFP_H
43194 #include <ieeefp.h>
43195 #endif
43198 main ()
43200 logl(0);
43202 return 0;
43204 _ACEOF
43205 if ac_fn_cxx_try_compile "$LINENO"; then :
43206 glibcxx_cv_func_logl_use=yes
43207 else
43208 glibcxx_cv_func_logl_use=no
43210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43211 ac_ext=c
43212 ac_cpp='$CPP $CPPFLAGS'
43213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43222 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43224 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43225 for ac_func in logl
43226 do :
43227 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43228 if test "x$ac_cv_func_logl" = x""yes; then :
43229 cat >>confdefs.h <<_ACEOF
43230 #define HAVE_LOGL 1
43231 _ACEOF
43234 done
43236 else
43238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43239 $as_echo_n "checking for _logl declaration... " >&6; }
43240 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43241 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43242 $as_echo_n "(cached) " >&6
43243 else
43246 ac_ext=cpp
43247 ac_cpp='$CXXCPP $CPPFLAGS'
43248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43253 /* end confdefs.h. */
43254 #include <math.h>
43255 #ifdef HAVE_IEEEFP_H
43256 #include <ieeefp.h>
43257 #endif
43260 main ()
43262 _logl(0);
43264 return 0;
43266 _ACEOF
43267 if ac_fn_cxx_try_compile "$LINENO"; then :
43268 glibcxx_cv_func__logl_use=yes
43269 else
43270 glibcxx_cv_func__logl_use=no
43272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43273 ac_ext=c
43274 ac_cpp='$CPP $CPPFLAGS'
43275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43284 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43286 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43287 for ac_func in _logl
43288 do :
43289 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43290 if test "x$ac_cv_func__logl" = x""yes; then :
43291 cat >>confdefs.h <<_ACEOF
43292 #define HAVE__LOGL 1
43293 _ACEOF
43296 done
43305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43306 $as_echo_n "checking for log10l declaration... " >&6; }
43307 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43308 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43309 $as_echo_n "(cached) " >&6
43310 else
43313 ac_ext=cpp
43314 ac_cpp='$CXXCPP $CPPFLAGS'
43315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43320 /* end confdefs.h. */
43321 #include <math.h>
43322 #ifdef HAVE_IEEEFP_H
43323 #include <ieeefp.h>
43324 #endif
43327 main ()
43329 log10l(0);
43331 return 0;
43333 _ACEOF
43334 if ac_fn_cxx_try_compile "$LINENO"; then :
43335 glibcxx_cv_func_log10l_use=yes
43336 else
43337 glibcxx_cv_func_log10l_use=no
43339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43340 ac_ext=c
43341 ac_cpp='$CPP $CPPFLAGS'
43342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43351 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43353 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43354 for ac_func in log10l
43355 do :
43356 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43357 if test "x$ac_cv_func_log10l" = x""yes; then :
43358 cat >>confdefs.h <<_ACEOF
43359 #define HAVE_LOG10L 1
43360 _ACEOF
43363 done
43365 else
43367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43368 $as_echo_n "checking for _log10l declaration... " >&6; }
43369 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43370 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43371 $as_echo_n "(cached) " >&6
43372 else
43375 ac_ext=cpp
43376 ac_cpp='$CXXCPP $CPPFLAGS'
43377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43382 /* end confdefs.h. */
43383 #include <math.h>
43384 #ifdef HAVE_IEEEFP_H
43385 #include <ieeefp.h>
43386 #endif
43389 main ()
43391 _log10l(0);
43393 return 0;
43395 _ACEOF
43396 if ac_fn_cxx_try_compile "$LINENO"; then :
43397 glibcxx_cv_func__log10l_use=yes
43398 else
43399 glibcxx_cv_func__log10l_use=no
43401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43402 ac_ext=c
43403 ac_cpp='$CPP $CPPFLAGS'
43404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43413 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43415 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43416 for ac_func in _log10l
43417 do :
43418 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43419 if test "x$ac_cv_func__log10l" = x""yes; then :
43420 cat >>confdefs.h <<_ACEOF
43421 #define HAVE__LOG10L 1
43422 _ACEOF
43425 done
43434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43435 $as_echo_n "checking for modfl declaration... " >&6; }
43436 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43437 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43438 $as_echo_n "(cached) " >&6
43439 else
43442 ac_ext=cpp
43443 ac_cpp='$CXXCPP $CPPFLAGS'
43444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43449 /* end confdefs.h. */
43450 #include <math.h>
43452 main ()
43454 modfl(0, 0);
43456 return 0;
43458 _ACEOF
43459 if ac_fn_cxx_try_compile "$LINENO"; then :
43460 glibcxx_cv_func_modfl_use=yes
43461 else
43462 glibcxx_cv_func_modfl_use=no
43464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43465 ac_ext=c
43466 ac_cpp='$CPP $CPPFLAGS'
43467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43476 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43478 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43479 for ac_func in modfl
43480 do :
43481 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43482 if test "x$ac_cv_func_modfl" = x""yes; then :
43483 cat >>confdefs.h <<_ACEOF
43484 #define HAVE_MODFL 1
43485 _ACEOF
43488 done
43490 else
43492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43493 $as_echo_n "checking for _modfl declaration... " >&6; }
43494 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43495 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43496 $as_echo_n "(cached) " >&6
43497 else
43500 ac_ext=cpp
43501 ac_cpp='$CXXCPP $CPPFLAGS'
43502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43507 /* end confdefs.h. */
43508 #include <math.h>
43510 main ()
43512 _modfl(0, 0);
43514 return 0;
43516 _ACEOF
43517 if ac_fn_cxx_try_compile "$LINENO"; then :
43518 glibcxx_cv_func__modfl_use=yes
43519 else
43520 glibcxx_cv_func__modfl_use=no
43522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43523 ac_ext=c
43524 ac_cpp='$CPP $CPPFLAGS'
43525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43534 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43536 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43537 for ac_func in _modfl
43538 do :
43539 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43540 if test "x$ac_cv_func__modfl" = x""yes; then :
43541 cat >>confdefs.h <<_ACEOF
43542 #define HAVE__MODFL 1
43543 _ACEOF
43546 done
43555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43556 $as_echo_n "checking for powl declaration... " >&6; }
43557 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43558 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43559 $as_echo_n "(cached) " >&6
43560 else
43563 ac_ext=cpp
43564 ac_cpp='$CXXCPP $CPPFLAGS'
43565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43570 /* end confdefs.h. */
43571 #include <math.h>
43573 main ()
43575 powl(0, 0);
43577 return 0;
43579 _ACEOF
43580 if ac_fn_cxx_try_compile "$LINENO"; then :
43581 glibcxx_cv_func_powl_use=yes
43582 else
43583 glibcxx_cv_func_powl_use=no
43585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43586 ac_ext=c
43587 ac_cpp='$CPP $CPPFLAGS'
43588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43597 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43599 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43600 for ac_func in powl
43601 do :
43602 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43603 if test "x$ac_cv_func_powl" = x""yes; then :
43604 cat >>confdefs.h <<_ACEOF
43605 #define HAVE_POWL 1
43606 _ACEOF
43609 done
43611 else
43613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43614 $as_echo_n "checking for _powl declaration... " >&6; }
43615 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43616 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43617 $as_echo_n "(cached) " >&6
43618 else
43621 ac_ext=cpp
43622 ac_cpp='$CXXCPP $CPPFLAGS'
43623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43628 /* end confdefs.h. */
43629 #include <math.h>
43631 main ()
43633 _powl(0, 0);
43635 return 0;
43637 _ACEOF
43638 if ac_fn_cxx_try_compile "$LINENO"; then :
43639 glibcxx_cv_func__powl_use=yes
43640 else
43641 glibcxx_cv_func__powl_use=no
43643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43644 ac_ext=c
43645 ac_cpp='$CPP $CPPFLAGS'
43646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43655 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43657 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43658 for ac_func in _powl
43659 do :
43660 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43661 if test "x$ac_cv_func__powl" = x""yes; then :
43662 cat >>confdefs.h <<_ACEOF
43663 #define HAVE__POWL 1
43664 _ACEOF
43667 done
43676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43677 $as_echo_n "checking for sqrtl declaration... " >&6; }
43678 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43679 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43680 $as_echo_n "(cached) " >&6
43681 else
43684 ac_ext=cpp
43685 ac_cpp='$CXXCPP $CPPFLAGS'
43686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43691 /* end confdefs.h. */
43692 #include <math.h>
43693 #ifdef HAVE_IEEEFP_H
43694 #include <ieeefp.h>
43695 #endif
43698 main ()
43700 sqrtl(0);
43702 return 0;
43704 _ACEOF
43705 if ac_fn_cxx_try_compile "$LINENO"; then :
43706 glibcxx_cv_func_sqrtl_use=yes
43707 else
43708 glibcxx_cv_func_sqrtl_use=no
43710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43711 ac_ext=c
43712 ac_cpp='$CPP $CPPFLAGS'
43713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43722 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43724 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43725 for ac_func in sqrtl
43726 do :
43727 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43728 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43729 cat >>confdefs.h <<_ACEOF
43730 #define HAVE_SQRTL 1
43731 _ACEOF
43734 done
43736 else
43738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43739 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43740 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43741 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43742 $as_echo_n "(cached) " >&6
43743 else
43746 ac_ext=cpp
43747 ac_cpp='$CXXCPP $CPPFLAGS'
43748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43753 /* end confdefs.h. */
43754 #include <math.h>
43755 #ifdef HAVE_IEEEFP_H
43756 #include <ieeefp.h>
43757 #endif
43760 main ()
43762 _sqrtl(0);
43764 return 0;
43766 _ACEOF
43767 if ac_fn_cxx_try_compile "$LINENO"; then :
43768 glibcxx_cv_func__sqrtl_use=yes
43769 else
43770 glibcxx_cv_func__sqrtl_use=no
43772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43773 ac_ext=c
43774 ac_cpp='$CPP $CPPFLAGS'
43775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43784 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43786 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43787 for ac_func in _sqrtl
43788 do :
43789 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43790 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43791 cat >>confdefs.h <<_ACEOF
43792 #define HAVE__SQRTL 1
43793 _ACEOF
43796 done
43805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43806 $as_echo_n "checking for sincosl declaration... " >&6; }
43807 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43808 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43809 $as_echo_n "(cached) " >&6
43810 else
43813 ac_ext=cpp
43814 ac_cpp='$CXXCPP $CPPFLAGS'
43815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43820 /* end confdefs.h. */
43821 #include <math.h>
43823 main ()
43825 sincosl(0, 0, 0);
43827 return 0;
43829 _ACEOF
43830 if ac_fn_cxx_try_compile "$LINENO"; then :
43831 glibcxx_cv_func_sincosl_use=yes
43832 else
43833 glibcxx_cv_func_sincosl_use=no
43835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43836 ac_ext=c
43837 ac_cpp='$CPP $CPPFLAGS'
43838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43847 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43849 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43850 for ac_func in sincosl
43851 do :
43852 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43853 if test "x$ac_cv_func_sincosl" = x""yes; then :
43854 cat >>confdefs.h <<_ACEOF
43855 #define HAVE_SINCOSL 1
43856 _ACEOF
43859 done
43861 else
43863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43864 $as_echo_n "checking for _sincosl declaration... " >&6; }
43865 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43866 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43867 $as_echo_n "(cached) " >&6
43868 else
43871 ac_ext=cpp
43872 ac_cpp='$CXXCPP $CPPFLAGS'
43873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43878 /* end confdefs.h. */
43879 #include <math.h>
43881 main ()
43883 _sincosl(0, 0, 0);
43885 return 0;
43887 _ACEOF
43888 if ac_fn_cxx_try_compile "$LINENO"; then :
43889 glibcxx_cv_func__sincosl_use=yes
43890 else
43891 glibcxx_cv_func__sincosl_use=no
43893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43894 ac_ext=c
43895 ac_cpp='$CPP $CPPFLAGS'
43896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43905 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43907 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43908 for ac_func in _sincosl
43909 do :
43910 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43911 if test "x$ac_cv_func__sincosl" = x""yes; then :
43912 cat >>confdefs.h <<_ACEOF
43913 #define HAVE__SINCOSL 1
43914 _ACEOF
43917 done
43926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43927 $as_echo_n "checking for finitel declaration... " >&6; }
43928 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43929 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43930 $as_echo_n "(cached) " >&6
43931 else
43934 ac_ext=cpp
43935 ac_cpp='$CXXCPP $CPPFLAGS'
43936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43941 /* end confdefs.h. */
43942 #include <math.h>
43943 #ifdef HAVE_IEEEFP_H
43944 #include <ieeefp.h>
43945 #endif
43948 main ()
43950 finitel(0);
43952 return 0;
43954 _ACEOF
43955 if ac_fn_cxx_try_compile "$LINENO"; then :
43956 glibcxx_cv_func_finitel_use=yes
43957 else
43958 glibcxx_cv_func_finitel_use=no
43960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43961 ac_ext=c
43962 ac_cpp='$CPP $CPPFLAGS'
43963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43972 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43974 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43975 for ac_func in finitel
43976 do :
43977 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43978 if test "x$ac_cv_func_finitel" = x""yes; then :
43979 cat >>confdefs.h <<_ACEOF
43980 #define HAVE_FINITEL 1
43981 _ACEOF
43984 done
43986 else
43988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43989 $as_echo_n "checking for _finitel declaration... " >&6; }
43990 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43991 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43992 $as_echo_n "(cached) " >&6
43993 else
43996 ac_ext=cpp
43997 ac_cpp='$CXXCPP $CPPFLAGS'
43998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44003 /* end confdefs.h. */
44004 #include <math.h>
44005 #ifdef HAVE_IEEEFP_H
44006 #include <ieeefp.h>
44007 #endif
44010 main ()
44012 _finitel(0);
44014 return 0;
44016 _ACEOF
44017 if ac_fn_cxx_try_compile "$LINENO"; then :
44018 glibcxx_cv_func__finitel_use=yes
44019 else
44020 glibcxx_cv_func__finitel_use=no
44022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44023 ac_ext=c
44024 ac_cpp='$CPP $CPPFLAGS'
44025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44034 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44036 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44037 for ac_func in _finitel
44038 do :
44039 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44040 if test "x$ac_cv_func__finitel" = x""yes; then :
44041 cat >>confdefs.h <<_ACEOF
44042 #define HAVE__FINITEL 1
44043 _ACEOF
44046 done
44054 LIBS="$ac_save_LIBS"
44055 CXXFLAGS="$ac_save_CXXFLAGS"
44058 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44059 ac_save_CXXFLAGS="$CXXFLAGS"
44060 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44064 $as_echo_n "checking for strtold declaration... " >&6; }
44065 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44066 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44067 $as_echo_n "(cached) " >&6
44068 else
44071 ac_ext=cpp
44072 ac_cpp='$CXXCPP $CPPFLAGS'
44073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44078 /* end confdefs.h. */
44079 #include <stdlib.h>
44081 main ()
44083 strtold(0, 0);
44085 return 0;
44087 _ACEOF
44088 if ac_fn_cxx_try_compile "$LINENO"; then :
44089 glibcxx_cv_func_strtold_use=yes
44090 else
44091 glibcxx_cv_func_strtold_use=no
44093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44094 ac_ext=c
44095 ac_cpp='$CPP $CPPFLAGS'
44096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44105 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44106 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44107 for ac_func in strtold
44108 do :
44109 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44110 if test "x$ac_cv_func_strtold" = x""yes; then :
44111 cat >>confdefs.h <<_ACEOF
44112 #define HAVE_STRTOLD 1
44113 _ACEOF
44116 done
44123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44124 $as_echo_n "checking for strtof declaration... " >&6; }
44125 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44126 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44127 $as_echo_n "(cached) " >&6
44128 else
44131 ac_ext=cpp
44132 ac_cpp='$CXXCPP $CPPFLAGS'
44133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44138 /* end confdefs.h. */
44139 #include <stdlib.h>
44141 main ()
44143 strtof(0, 0);
44145 return 0;
44147 _ACEOF
44148 if ac_fn_cxx_try_compile "$LINENO"; then :
44149 glibcxx_cv_func_strtof_use=yes
44150 else
44151 glibcxx_cv_func_strtof_use=no
44153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44154 ac_ext=c
44155 ac_cpp='$CPP $CPPFLAGS'
44156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44165 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44166 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44167 for ac_func in strtof
44168 do :
44169 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44170 if test "x$ac_cv_func_strtof" = x""yes; then :
44171 cat >>confdefs.h <<_ACEOF
44172 #define HAVE_STRTOF 1
44173 _ACEOF
44176 done
44183 CXXFLAGS="$ac_save_CXXFLAGS"
44187 *djgpp)
44188 # GLIBCXX_CHECK_MATH_SUPPORT
44189 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44191 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44193 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44195 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44197 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44201 *-freebsd*)
44202 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44205 # If we're not using GNU ld, then there's no point in even trying these
44206 # tests. Check for that first. We should have already tested for gld
44207 # by now (in libtool), but require it now just to be safe...
44208 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44209 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44213 # The name set by libtool depends on the version of libtool. Shame on us
44214 # for depending on an impl detail, but c'est la vie. Older versions used
44215 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44216 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44217 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44218 # set (hence we're using an older libtool), then set it.
44219 if test x${with_gnu_ld+set} != xset; then
44220 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44221 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44222 with_gnu_ld=no
44223 else
44224 with_gnu_ld=$ac_cv_prog_gnu_ld
44228 # Start by getting the version number. I think the libtool test already
44229 # does some of this, but throws away the result.
44230 glibcxx_ld_is_gold=no
44231 if test x"$with_gnu_ld" = x"yes"; then
44232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44233 $as_echo_n "checking for ld version... " >&6; }
44235 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44236 glibcxx_ld_is_gold=yes
44238 ldver=`$LD --version 2>/dev/null |
44239 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'`
44241 glibcxx_gnu_ld_version=`echo $ldver | \
44242 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44244 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44247 # Set --gc-sections.
44248 glibcxx_have_gc_sections=no
44249 if test "$glibcxx_ld_is_gold" = "yes"; then
44250 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44251 glibcxx_have_gc_sections=yes
44253 else
44254 glibcxx_gcsections_min_ld=21602
44255 if test x"$with_gnu_ld" = x"yes" &&
44256 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44257 glibcxx_have_gc_sections=yes
44260 if test "$glibcxx_have_gc_sections" = "yes"; then
44261 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44262 # NB: This flag only works reliably after 2.16.1. Configure tests
44263 # for this are difficult, so hard wire a value that should work.
44265 ac_test_CFLAGS="${CFLAGS+set}"
44266 ac_save_CFLAGS="$CFLAGS"
44267 CFLAGS='-Wl,--gc-sections'
44269 # Check for -Wl,--gc-sections
44270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44271 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44272 if test x$gcc_no_link = xyes; then
44273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44276 /* end confdefs.h. */
44277 int one(void) { return 1; }
44278 int two(void) { return 2; }
44281 main ()
44283 two();
44285 return 0;
44287 _ACEOF
44288 if ac_fn_c_try_link "$LINENO"; then :
44289 ac_gcsections=yes
44290 else
44291 ac_gcsections=no
44293 rm -f core conftest.err conftest.$ac_objext \
44294 conftest$ac_exeext conftest.$ac_ext
44295 if test "$ac_gcsections" = "yes"; then
44296 rm -f conftest.c
44297 touch conftest.c
44298 if $CC -c conftest.c; then
44299 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44300 grep "Warning: gc-sections option ignored" > /dev/null; then
44301 ac_gcsections=no
44304 rm -f conftest.c conftest.o conftest
44306 if test "$ac_gcsections" = "yes"; then
44307 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44310 $as_echo "$ac_gcsections" >&6; }
44312 if test "$ac_test_CFLAGS" = set; then
44313 CFLAGS="$ac_save_CFLAGS"
44314 else
44315 # this is the suspicious part
44316 CFLAGS=''
44320 # Set -z,relro.
44321 # Note this is only for shared objects.
44322 ac_ld_relro=no
44323 if test x"$with_gnu_ld" = x"yes"; then
44324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44325 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44326 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44327 if test -n "$cxx_z_relo"; then
44328 OPT_LDFLAGS="-Wl,-z,relro"
44329 ac_ld_relro=yes
44331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44332 $as_echo "$ac_ld_relro" >&6; }
44335 # Set linker optimization flags.
44336 if test x"$with_gnu_ld" = x"yes"; then
44337 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44343 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44345 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44347 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44349 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44351 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44353 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44355 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44357 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44359 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44362 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44364 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44366 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44368 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44370 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44372 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44374 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44376 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44378 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44380 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44382 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44384 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44386 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44388 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44390 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44392 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44394 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44396 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44398 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44400 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44402 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44404 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44406 if test x"long_double_math_on_this_cpu" = x"yes"; then
44407 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44409 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44411 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44415 *-hpux*)
44416 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44419 # If we're not using GNU ld, then there's no point in even trying these
44420 # tests. Check for that first. We should have already tested for gld
44421 # by now (in libtool), but require it now just to be safe...
44422 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44423 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44427 # The name set by libtool depends on the version of libtool. Shame on us
44428 # for depending on an impl detail, but c'est la vie. Older versions used
44429 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44430 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44431 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44432 # set (hence we're using an older libtool), then set it.
44433 if test x${with_gnu_ld+set} != xset; then
44434 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44435 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44436 with_gnu_ld=no
44437 else
44438 with_gnu_ld=$ac_cv_prog_gnu_ld
44442 # Start by getting the version number. I think the libtool test already
44443 # does some of this, but throws away the result.
44444 glibcxx_ld_is_gold=no
44445 if test x"$with_gnu_ld" = x"yes"; then
44446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44447 $as_echo_n "checking for ld version... " >&6; }
44449 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44450 glibcxx_ld_is_gold=yes
44452 ldver=`$LD --version 2>/dev/null |
44453 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'`
44455 glibcxx_gnu_ld_version=`echo $ldver | \
44456 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44458 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44461 # Set --gc-sections.
44462 glibcxx_have_gc_sections=no
44463 if test "$glibcxx_ld_is_gold" = "yes"; then
44464 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44465 glibcxx_have_gc_sections=yes
44467 else
44468 glibcxx_gcsections_min_ld=21602
44469 if test x"$with_gnu_ld" = x"yes" &&
44470 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44471 glibcxx_have_gc_sections=yes
44474 if test "$glibcxx_have_gc_sections" = "yes"; then
44475 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44476 # NB: This flag only works reliably after 2.16.1. Configure tests
44477 # for this are difficult, so hard wire a value that should work.
44479 ac_test_CFLAGS="${CFLAGS+set}"
44480 ac_save_CFLAGS="$CFLAGS"
44481 CFLAGS='-Wl,--gc-sections'
44483 # Check for -Wl,--gc-sections
44484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44485 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44486 if test x$gcc_no_link = xyes; then
44487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44490 /* end confdefs.h. */
44491 int one(void) { return 1; }
44492 int two(void) { return 2; }
44495 main ()
44497 two();
44499 return 0;
44501 _ACEOF
44502 if ac_fn_c_try_link "$LINENO"; then :
44503 ac_gcsections=yes
44504 else
44505 ac_gcsections=no
44507 rm -f core conftest.err conftest.$ac_objext \
44508 conftest$ac_exeext conftest.$ac_ext
44509 if test "$ac_gcsections" = "yes"; then
44510 rm -f conftest.c
44511 touch conftest.c
44512 if $CC -c conftest.c; then
44513 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44514 grep "Warning: gc-sections option ignored" > /dev/null; then
44515 ac_gcsections=no
44518 rm -f conftest.c conftest.o conftest
44520 if test "$ac_gcsections" = "yes"; then
44521 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44524 $as_echo "$ac_gcsections" >&6; }
44526 if test "$ac_test_CFLAGS" = set; then
44527 CFLAGS="$ac_save_CFLAGS"
44528 else
44529 # this is the suspicious part
44530 CFLAGS=''
44534 # Set -z,relro.
44535 # Note this is only for shared objects.
44536 ac_ld_relro=no
44537 if test x"$with_gnu_ld" = x"yes"; then
44538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44539 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44540 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44541 if test -n "$cxx_z_relo"; then
44542 OPT_LDFLAGS="-Wl,-z,relro"
44543 ac_ld_relro=yes
44545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44546 $as_echo "$ac_ld_relro" >&6; }
44549 # Set linker optimization flags.
44550 if test x"$with_gnu_ld" = x"yes"; then
44551 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44558 # GLIBCXX_CHECK_MATH_SUPPORT
44559 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44561 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44563 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44565 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44567 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44569 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44571 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44573 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44575 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44577 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44579 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44581 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44583 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44585 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44587 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44589 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44591 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44593 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44595 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44597 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44599 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44602 # GLIBCXX_CHECK_STDLIB_SUPPORT
44603 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44608 # Check whether --enable-tls was given.
44609 if test "${enable_tls+set}" = set; then :
44610 enableval=$enable_tls;
44611 case "$enableval" in
44612 yes|no) ;;
44613 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44614 esac
44616 else
44617 enable_tls=yes
44621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44622 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44623 if test "${gcc_cv_have_tls+set}" = set; then :
44624 $as_echo_n "(cached) " >&6
44625 else
44627 if test "$cross_compiling" = yes; then :
44628 if test x$gcc_no_link = xyes; then
44629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44632 /* end confdefs.h. */
44633 __thread int a; int b; int main() { return a = b; }
44634 _ACEOF
44635 if ac_fn_c_try_link "$LINENO"; then :
44636 chktls_save_LDFLAGS="$LDFLAGS"
44637 case $host in
44638 *-*-linux*)
44639 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44641 esac
44642 chktls_save_CFLAGS="$CFLAGS"
44643 CFLAGS="-fPIC $CFLAGS"
44644 if test x$gcc_no_link = xyes; then
44645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44648 /* end confdefs.h. */
44649 int f() { return 0; }
44650 _ACEOF
44651 if ac_fn_c_try_link "$LINENO"; then :
44652 if test x$gcc_no_link = xyes; then
44653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44656 /* end confdefs.h. */
44657 __thread int a; int b; int f() { return a = b; }
44658 _ACEOF
44659 if ac_fn_c_try_link "$LINENO"; then :
44660 gcc_cv_have_tls=yes
44661 else
44662 gcc_cv_have_tls=no
44664 rm -f core conftest.err conftest.$ac_objext \
44665 conftest$ac_exeext conftest.$ac_ext
44666 else
44667 gcc_cv_have_tls=yes
44669 rm -f core conftest.err conftest.$ac_objext \
44670 conftest$ac_exeext conftest.$ac_ext
44671 CFLAGS="$chktls_save_CFLAGS"
44672 LDFLAGS="$chktls_save_LDFLAGS"
44673 else
44674 gcc_cv_have_tls=no
44676 rm -f core conftest.err conftest.$ac_objext \
44677 conftest$ac_exeext conftest.$ac_ext
44680 else
44681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44682 /* end confdefs.h. */
44683 __thread int a; int b; int main() { return a = b; }
44684 _ACEOF
44685 if ac_fn_c_try_run "$LINENO"; then :
44686 chktls_save_LDFLAGS="$LDFLAGS"
44687 LDFLAGS="-static $LDFLAGS"
44688 if test x$gcc_no_link = xyes; then
44689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44692 /* end confdefs.h. */
44693 int main() { return 0; }
44694 _ACEOF
44695 if ac_fn_c_try_link "$LINENO"; then :
44696 if test "$cross_compiling" = yes; then :
44697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44699 as_fn_error "cannot run test program while cross compiling
44700 See \`config.log' for more details." "$LINENO" 5; }
44701 else
44702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44703 /* end confdefs.h. */
44704 __thread int a; int b; int main() { return a = b; }
44705 _ACEOF
44706 if ac_fn_c_try_run "$LINENO"; then :
44707 gcc_cv_have_tls=yes
44708 else
44709 gcc_cv_have_tls=no
44711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44712 conftest.$ac_objext conftest.beam conftest.$ac_ext
44715 else
44716 gcc_cv_have_tls=yes
44718 rm -f core conftest.err conftest.$ac_objext \
44719 conftest$ac_exeext conftest.$ac_ext
44720 LDFLAGS="$chktls_save_LDFLAGS"
44721 if test $gcc_cv_have_tls = yes; then
44722 chktls_save_CFLAGS="$CFLAGS"
44723 thread_CFLAGS=failed
44724 for flag in '' '-pthread' '-lpthread'; do
44725 CFLAGS="$flag $chktls_save_CFLAGS"
44726 if test x$gcc_no_link = xyes; then
44727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44730 /* end confdefs.h. */
44731 #include <pthread.h>
44732 void *g(void *d) { return NULL; }
44734 main ()
44736 pthread_t t; pthread_create(&t,NULL,g,NULL);
44738 return 0;
44740 _ACEOF
44741 if ac_fn_c_try_link "$LINENO"; then :
44742 thread_CFLAGS="$flag"
44744 rm -f core conftest.err conftest.$ac_objext \
44745 conftest$ac_exeext conftest.$ac_ext
44746 if test "X$thread_CFLAGS" != Xfailed; then
44747 break
44749 done
44750 CFLAGS="$chktls_save_CFLAGS"
44751 if test "X$thread_CFLAGS" != Xfailed; then
44752 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44753 if test "$cross_compiling" = yes; then :
44754 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44756 as_fn_error "cannot run test program while cross compiling
44757 See \`config.log' for more details." "$LINENO" 5; }
44758 else
44759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44760 /* end confdefs.h. */
44761 #include <pthread.h>
44762 __thread int a;
44763 static int *volatile a_in_other_thread;
44764 static void *
44765 thread_func (void *arg)
44767 a_in_other_thread = &a;
44768 return (void *)0;
44771 main ()
44773 pthread_t thread;
44774 void *thread_retval;
44775 int *volatile a_in_main_thread;
44776 a_in_main_thread = &a;
44777 if (pthread_create (&thread, (pthread_attr_t *)0,
44778 thread_func, (void *)0))
44779 return 0;
44780 if (pthread_join (thread, &thread_retval))
44781 return 0;
44782 return (a_in_other_thread == a_in_main_thread);
44784 return 0;
44786 _ACEOF
44787 if ac_fn_c_try_run "$LINENO"; then :
44788 gcc_cv_have_tls=yes
44789 else
44790 gcc_cv_have_tls=no
44792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44793 conftest.$ac_objext conftest.beam conftest.$ac_ext
44796 CFLAGS="$chktls_save_CFLAGS"
44799 else
44800 gcc_cv_have_tls=no
44802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44803 conftest.$ac_objext conftest.beam conftest.$ac_ext
44807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44808 $as_echo "$gcc_cv_have_tls" >&6; }
44809 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44811 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44814 case "$target" in
44815 *-hpux10*)
44816 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44818 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44820 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44822 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44824 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44827 esac
44829 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44831 # All these tests are for C++; save the language and the compiler flags.
44832 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44833 # found in GLIBCXX_CONFIGURE.
44835 ac_ext=cpp
44836 ac_cpp='$CXXCPP $CPPFLAGS'
44837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44841 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44842 ac_save_CXXFLAGS="$CXXFLAGS"
44844 # Check for maintainer-mode bits.
44845 if test x"$USE_MAINTAINER_MODE" = xno; then
44846 WERROR=''
44847 else
44848 WERROR='-Werror'
44851 # Check for -ffunction-sections -fdata-sections
44852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44853 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44854 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44856 /* end confdefs.h. */
44857 int foo; void bar() { };
44859 main ()
44863 return 0;
44865 _ACEOF
44866 if ac_fn_cxx_try_compile "$LINENO"; then :
44867 ac_fdsections=yes
44868 else
44869 ac_fdsections=no
44871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44872 if test "$ac_test_CXXFLAGS" = set; then
44873 CXXFLAGS="$ac_save_CXXFLAGS"
44874 else
44875 # this is the suspicious part
44876 CXXFLAGS=''
44878 if test x"$ac_fdsections" = x"yes"; then
44879 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44882 $as_echo "$ac_fdsections" >&6; }
44884 ac_ext=c
44885 ac_cpp='$CPP $CPPFLAGS'
44886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44894 # If we're not using GNU ld, then there's no point in even trying these
44895 # tests. Check for that first. We should have already tested for gld
44896 # by now (in libtool), but require it now just to be safe...
44897 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44898 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44902 # The name set by libtool depends on the version of libtool. Shame on us
44903 # for depending on an impl detail, but c'est la vie. Older versions used
44904 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44905 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44906 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44907 # set (hence we're using an older libtool), then set it.
44908 if test x${with_gnu_ld+set} != xset; then
44909 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44910 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44911 with_gnu_ld=no
44912 else
44913 with_gnu_ld=$ac_cv_prog_gnu_ld
44917 # Start by getting the version number. I think the libtool test already
44918 # does some of this, but throws away the result.
44919 glibcxx_ld_is_gold=no
44920 if test x"$with_gnu_ld" = x"yes"; then
44921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44922 $as_echo_n "checking for ld version... " >&6; }
44924 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44925 glibcxx_ld_is_gold=yes
44927 ldver=`$LD --version 2>/dev/null |
44928 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'`
44930 glibcxx_gnu_ld_version=`echo $ldver | \
44931 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44933 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44936 # Set --gc-sections.
44937 glibcxx_have_gc_sections=no
44938 if test "$glibcxx_ld_is_gold" = "yes"; then
44939 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44940 glibcxx_have_gc_sections=yes
44942 else
44943 glibcxx_gcsections_min_ld=21602
44944 if test x"$with_gnu_ld" = x"yes" &&
44945 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44946 glibcxx_have_gc_sections=yes
44949 if test "$glibcxx_have_gc_sections" = "yes"; then
44950 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44951 # NB: This flag only works reliably after 2.16.1. Configure tests
44952 # for this are difficult, so hard wire a value that should work.
44954 ac_test_CFLAGS="${CFLAGS+set}"
44955 ac_save_CFLAGS="$CFLAGS"
44956 CFLAGS='-Wl,--gc-sections'
44958 # Check for -Wl,--gc-sections
44959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44960 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44961 if test x$gcc_no_link = xyes; then
44962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44965 /* end confdefs.h. */
44966 int one(void) { return 1; }
44967 int two(void) { return 2; }
44970 main ()
44972 two();
44974 return 0;
44976 _ACEOF
44977 if ac_fn_c_try_link "$LINENO"; then :
44978 ac_gcsections=yes
44979 else
44980 ac_gcsections=no
44982 rm -f core conftest.err conftest.$ac_objext \
44983 conftest$ac_exeext conftest.$ac_ext
44984 if test "$ac_gcsections" = "yes"; then
44985 rm -f conftest.c
44986 touch conftest.c
44987 if $CC -c conftest.c; then
44988 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44989 grep "Warning: gc-sections option ignored" > /dev/null; then
44990 ac_gcsections=no
44993 rm -f conftest.c conftest.o conftest
44995 if test "$ac_gcsections" = "yes"; then
44996 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44999 $as_echo "$ac_gcsections" >&6; }
45001 if test "$ac_test_CFLAGS" = set; then
45002 CFLAGS="$ac_save_CFLAGS"
45003 else
45004 # this is the suspicious part
45005 CFLAGS=''
45009 # Set -z,relro.
45010 # Note this is only for shared objects.
45011 ac_ld_relro=no
45012 if test x"$with_gnu_ld" = x"yes"; then
45013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45014 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45015 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45016 if test -n "$cxx_z_relo"; then
45017 OPT_LDFLAGS="-Wl,-z,relro"
45018 ac_ld_relro=yes
45020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45021 $as_echo "$ac_ld_relro" >&6; }
45024 # Set linker optimization flags.
45025 if test x"$with_gnu_ld" = x"yes"; then
45026 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45033 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45034 ac_save_CXXFLAGS="$CXXFLAGS"
45035 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45038 $as_echo_n "checking for sin in -lm... " >&6; }
45039 if test "${ac_cv_lib_m_sin+set}" = set; then :
45040 $as_echo_n "(cached) " >&6
45041 else
45042 ac_check_lib_save_LIBS=$LIBS
45043 LIBS="-lm $LIBS"
45044 if test x$gcc_no_link = xyes; then
45045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45048 /* end confdefs.h. */
45050 /* Override any GCC internal prototype to avoid an error.
45051 Use char because int might match the return type of a GCC
45052 builtin and then its argument prototype would still apply. */
45053 #ifdef __cplusplus
45054 extern "C"
45055 #endif
45056 char sin ();
45058 main ()
45060 return sin ();
45062 return 0;
45064 _ACEOF
45065 if ac_fn_c_try_link "$LINENO"; then :
45066 ac_cv_lib_m_sin=yes
45067 else
45068 ac_cv_lib_m_sin=no
45070 rm -f core conftest.err conftest.$ac_objext \
45071 conftest$ac_exeext conftest.$ac_ext
45072 LIBS=$ac_check_lib_save_LIBS
45074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45075 $as_echo "$ac_cv_lib_m_sin" >&6; }
45076 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45077 libm="-lm"
45080 ac_save_LIBS="$LIBS"
45081 LIBS="$LIBS $libm"
45085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45086 $as_echo_n "checking for isinf declaration... " >&6; }
45087 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45088 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45089 $as_echo_n "(cached) " >&6
45090 else
45093 ac_ext=cpp
45094 ac_cpp='$CXXCPP $CPPFLAGS'
45095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45100 /* end confdefs.h. */
45101 #include <math.h>
45102 #ifdef HAVE_IEEEFP_H
45103 #include <ieeefp.h>
45104 #endif
45107 main ()
45109 isinf(0);
45111 return 0;
45113 _ACEOF
45114 if ac_fn_cxx_try_compile "$LINENO"; then :
45115 glibcxx_cv_func_isinf_use=yes
45116 else
45117 glibcxx_cv_func_isinf_use=no
45119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45120 ac_ext=c
45121 ac_cpp='$CPP $CPPFLAGS'
45122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45131 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45133 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45134 for ac_func in isinf
45135 do :
45136 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45137 if test "x$ac_cv_func_isinf" = x""yes; then :
45138 cat >>confdefs.h <<_ACEOF
45139 #define HAVE_ISINF 1
45140 _ACEOF
45143 done
45145 else
45147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45148 $as_echo_n "checking for _isinf declaration... " >&6; }
45149 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45150 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45151 $as_echo_n "(cached) " >&6
45152 else
45155 ac_ext=cpp
45156 ac_cpp='$CXXCPP $CPPFLAGS'
45157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45162 /* end confdefs.h. */
45163 #include <math.h>
45164 #ifdef HAVE_IEEEFP_H
45165 #include <ieeefp.h>
45166 #endif
45169 main ()
45171 _isinf(0);
45173 return 0;
45175 _ACEOF
45176 if ac_fn_cxx_try_compile "$LINENO"; then :
45177 glibcxx_cv_func__isinf_use=yes
45178 else
45179 glibcxx_cv_func__isinf_use=no
45181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45182 ac_ext=c
45183 ac_cpp='$CPP $CPPFLAGS'
45184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45193 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45195 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45196 for ac_func in _isinf
45197 do :
45198 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45199 if test "x$ac_cv_func__isinf" = x""yes; then :
45200 cat >>confdefs.h <<_ACEOF
45201 #define HAVE__ISINF 1
45202 _ACEOF
45205 done
45214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45215 $as_echo_n "checking for isnan declaration... " >&6; }
45216 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45217 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45218 $as_echo_n "(cached) " >&6
45219 else
45222 ac_ext=cpp
45223 ac_cpp='$CXXCPP $CPPFLAGS'
45224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45229 /* end confdefs.h. */
45230 #include <math.h>
45231 #ifdef HAVE_IEEEFP_H
45232 #include <ieeefp.h>
45233 #endif
45236 main ()
45238 isnan(0);
45240 return 0;
45242 _ACEOF
45243 if ac_fn_cxx_try_compile "$LINENO"; then :
45244 glibcxx_cv_func_isnan_use=yes
45245 else
45246 glibcxx_cv_func_isnan_use=no
45248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45249 ac_ext=c
45250 ac_cpp='$CPP $CPPFLAGS'
45251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45260 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45262 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45263 for ac_func in isnan
45264 do :
45265 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45266 if test "x$ac_cv_func_isnan" = x""yes; then :
45267 cat >>confdefs.h <<_ACEOF
45268 #define HAVE_ISNAN 1
45269 _ACEOF
45272 done
45274 else
45276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45277 $as_echo_n "checking for _isnan declaration... " >&6; }
45278 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45279 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45280 $as_echo_n "(cached) " >&6
45281 else
45284 ac_ext=cpp
45285 ac_cpp='$CXXCPP $CPPFLAGS'
45286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45291 /* end confdefs.h. */
45292 #include <math.h>
45293 #ifdef HAVE_IEEEFP_H
45294 #include <ieeefp.h>
45295 #endif
45298 main ()
45300 _isnan(0);
45302 return 0;
45304 _ACEOF
45305 if ac_fn_cxx_try_compile "$LINENO"; then :
45306 glibcxx_cv_func__isnan_use=yes
45307 else
45308 glibcxx_cv_func__isnan_use=no
45310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45311 ac_ext=c
45312 ac_cpp='$CPP $CPPFLAGS'
45313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45322 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45324 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45325 for ac_func in _isnan
45326 do :
45327 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45328 if test "x$ac_cv_func__isnan" = x""yes; then :
45329 cat >>confdefs.h <<_ACEOF
45330 #define HAVE__ISNAN 1
45331 _ACEOF
45334 done
45343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45344 $as_echo_n "checking for finite declaration... " >&6; }
45345 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45346 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45347 $as_echo_n "(cached) " >&6
45348 else
45351 ac_ext=cpp
45352 ac_cpp='$CXXCPP $CPPFLAGS'
45353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45358 /* end confdefs.h. */
45359 #include <math.h>
45360 #ifdef HAVE_IEEEFP_H
45361 #include <ieeefp.h>
45362 #endif
45365 main ()
45367 finite(0);
45369 return 0;
45371 _ACEOF
45372 if ac_fn_cxx_try_compile "$LINENO"; then :
45373 glibcxx_cv_func_finite_use=yes
45374 else
45375 glibcxx_cv_func_finite_use=no
45377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45378 ac_ext=c
45379 ac_cpp='$CPP $CPPFLAGS'
45380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45389 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45391 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45392 for ac_func in finite
45393 do :
45394 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45395 if test "x$ac_cv_func_finite" = x""yes; then :
45396 cat >>confdefs.h <<_ACEOF
45397 #define HAVE_FINITE 1
45398 _ACEOF
45401 done
45403 else
45405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45406 $as_echo_n "checking for _finite declaration... " >&6; }
45407 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45408 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45409 $as_echo_n "(cached) " >&6
45410 else
45413 ac_ext=cpp
45414 ac_cpp='$CXXCPP $CPPFLAGS'
45415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45420 /* end confdefs.h. */
45421 #include <math.h>
45422 #ifdef HAVE_IEEEFP_H
45423 #include <ieeefp.h>
45424 #endif
45427 main ()
45429 _finite(0);
45431 return 0;
45433 _ACEOF
45434 if ac_fn_cxx_try_compile "$LINENO"; then :
45435 glibcxx_cv_func__finite_use=yes
45436 else
45437 glibcxx_cv_func__finite_use=no
45439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45440 ac_ext=c
45441 ac_cpp='$CPP $CPPFLAGS'
45442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45451 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45453 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45454 for ac_func in _finite
45455 do :
45456 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45457 if test "x$ac_cv_func__finite" = x""yes; then :
45458 cat >>confdefs.h <<_ACEOF
45459 #define HAVE__FINITE 1
45460 _ACEOF
45463 done
45472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45473 $as_echo_n "checking for sincos declaration... " >&6; }
45474 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45475 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45476 $as_echo_n "(cached) " >&6
45477 else
45480 ac_ext=cpp
45481 ac_cpp='$CXXCPP $CPPFLAGS'
45482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45487 /* end confdefs.h. */
45488 #include <math.h>
45490 main ()
45492 sincos(0, 0, 0);
45494 return 0;
45496 _ACEOF
45497 if ac_fn_cxx_try_compile "$LINENO"; then :
45498 glibcxx_cv_func_sincos_use=yes
45499 else
45500 glibcxx_cv_func_sincos_use=no
45502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45503 ac_ext=c
45504 ac_cpp='$CPP $CPPFLAGS'
45505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45514 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45516 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45517 for ac_func in sincos
45518 do :
45519 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45520 if test "x$ac_cv_func_sincos" = x""yes; then :
45521 cat >>confdefs.h <<_ACEOF
45522 #define HAVE_SINCOS 1
45523 _ACEOF
45526 done
45528 else
45530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45531 $as_echo_n "checking for _sincos declaration... " >&6; }
45532 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45533 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45534 $as_echo_n "(cached) " >&6
45535 else
45538 ac_ext=cpp
45539 ac_cpp='$CXXCPP $CPPFLAGS'
45540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45545 /* end confdefs.h. */
45546 #include <math.h>
45548 main ()
45550 _sincos(0, 0, 0);
45552 return 0;
45554 _ACEOF
45555 if ac_fn_cxx_try_compile "$LINENO"; then :
45556 glibcxx_cv_func__sincos_use=yes
45557 else
45558 glibcxx_cv_func__sincos_use=no
45560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45561 ac_ext=c
45562 ac_cpp='$CPP $CPPFLAGS'
45563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45572 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45574 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45575 for ac_func in _sincos
45576 do :
45577 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45578 if test "x$ac_cv_func__sincos" = x""yes; then :
45579 cat >>confdefs.h <<_ACEOF
45580 #define HAVE__SINCOS 1
45581 _ACEOF
45584 done
45593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45594 $as_echo_n "checking for fpclass declaration... " >&6; }
45595 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45596 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45597 $as_echo_n "(cached) " >&6
45598 else
45601 ac_ext=cpp
45602 ac_cpp='$CXXCPP $CPPFLAGS'
45603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45608 /* end confdefs.h. */
45609 #include <math.h>
45610 #ifdef HAVE_IEEEFP_H
45611 #include <ieeefp.h>
45612 #endif
45615 main ()
45617 fpclass(0);
45619 return 0;
45621 _ACEOF
45622 if ac_fn_cxx_try_compile "$LINENO"; then :
45623 glibcxx_cv_func_fpclass_use=yes
45624 else
45625 glibcxx_cv_func_fpclass_use=no
45627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45628 ac_ext=c
45629 ac_cpp='$CPP $CPPFLAGS'
45630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45639 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45641 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45642 for ac_func in fpclass
45643 do :
45644 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45645 if test "x$ac_cv_func_fpclass" = x""yes; then :
45646 cat >>confdefs.h <<_ACEOF
45647 #define HAVE_FPCLASS 1
45648 _ACEOF
45651 done
45653 else
45655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45656 $as_echo_n "checking for _fpclass declaration... " >&6; }
45657 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45658 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45659 $as_echo_n "(cached) " >&6
45660 else
45663 ac_ext=cpp
45664 ac_cpp='$CXXCPP $CPPFLAGS'
45665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45670 /* end confdefs.h. */
45671 #include <math.h>
45672 #ifdef HAVE_IEEEFP_H
45673 #include <ieeefp.h>
45674 #endif
45677 main ()
45679 _fpclass(0);
45681 return 0;
45683 _ACEOF
45684 if ac_fn_cxx_try_compile "$LINENO"; then :
45685 glibcxx_cv_func__fpclass_use=yes
45686 else
45687 glibcxx_cv_func__fpclass_use=no
45689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45690 ac_ext=c
45691 ac_cpp='$CPP $CPPFLAGS'
45692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45701 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45703 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45704 for ac_func in _fpclass
45705 do :
45706 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45707 if test "x$ac_cv_func__fpclass" = x""yes; then :
45708 cat >>confdefs.h <<_ACEOF
45709 #define HAVE__FPCLASS 1
45710 _ACEOF
45713 done
45722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45723 $as_echo_n "checking for qfpclass declaration... " >&6; }
45724 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45725 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45726 $as_echo_n "(cached) " >&6
45727 else
45730 ac_ext=cpp
45731 ac_cpp='$CXXCPP $CPPFLAGS'
45732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45737 /* end confdefs.h. */
45738 #include <math.h>
45739 #ifdef HAVE_IEEEFP_H
45740 #include <ieeefp.h>
45741 #endif
45744 main ()
45746 qfpclass(0);
45748 return 0;
45750 _ACEOF
45751 if ac_fn_cxx_try_compile "$LINENO"; then :
45752 glibcxx_cv_func_qfpclass_use=yes
45753 else
45754 glibcxx_cv_func_qfpclass_use=no
45756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45757 ac_ext=c
45758 ac_cpp='$CPP $CPPFLAGS'
45759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45768 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45770 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45771 for ac_func in qfpclass
45772 do :
45773 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45774 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45775 cat >>confdefs.h <<_ACEOF
45776 #define HAVE_QFPCLASS 1
45777 _ACEOF
45780 done
45782 else
45784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45785 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45786 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45787 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45788 $as_echo_n "(cached) " >&6
45789 else
45792 ac_ext=cpp
45793 ac_cpp='$CXXCPP $CPPFLAGS'
45794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45799 /* end confdefs.h. */
45800 #include <math.h>
45801 #ifdef HAVE_IEEEFP_H
45802 #include <ieeefp.h>
45803 #endif
45806 main ()
45808 _qfpclass(0);
45810 return 0;
45812 _ACEOF
45813 if ac_fn_cxx_try_compile "$LINENO"; then :
45814 glibcxx_cv_func__qfpclass_use=yes
45815 else
45816 glibcxx_cv_func__qfpclass_use=no
45818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45819 ac_ext=c
45820 ac_cpp='$CPP $CPPFLAGS'
45821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45830 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45832 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45833 for ac_func in _qfpclass
45834 do :
45835 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45836 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45837 cat >>confdefs.h <<_ACEOF
45838 #define HAVE__QFPCLASS 1
45839 _ACEOF
45842 done
45851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45852 $as_echo_n "checking for hypot declaration... " >&6; }
45853 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45854 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45855 $as_echo_n "(cached) " >&6
45856 else
45859 ac_ext=cpp
45860 ac_cpp='$CXXCPP $CPPFLAGS'
45861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45866 /* end confdefs.h. */
45867 #include <math.h>
45869 main ()
45871 hypot(0, 0);
45873 return 0;
45875 _ACEOF
45876 if ac_fn_cxx_try_compile "$LINENO"; then :
45877 glibcxx_cv_func_hypot_use=yes
45878 else
45879 glibcxx_cv_func_hypot_use=no
45881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45882 ac_ext=c
45883 ac_cpp='$CPP $CPPFLAGS'
45884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45893 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45895 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45896 for ac_func in hypot
45897 do :
45898 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45899 if test "x$ac_cv_func_hypot" = x""yes; then :
45900 cat >>confdefs.h <<_ACEOF
45901 #define HAVE_HYPOT 1
45902 _ACEOF
45905 done
45907 else
45909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45910 $as_echo_n "checking for _hypot declaration... " >&6; }
45911 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45912 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45913 $as_echo_n "(cached) " >&6
45914 else
45917 ac_ext=cpp
45918 ac_cpp='$CXXCPP $CPPFLAGS'
45919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45924 /* end confdefs.h. */
45925 #include <math.h>
45927 main ()
45929 _hypot(0, 0);
45931 return 0;
45933 _ACEOF
45934 if ac_fn_cxx_try_compile "$LINENO"; then :
45935 glibcxx_cv_func__hypot_use=yes
45936 else
45937 glibcxx_cv_func__hypot_use=no
45939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45940 ac_ext=c
45941 ac_cpp='$CPP $CPPFLAGS'
45942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45951 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45953 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45954 for ac_func in _hypot
45955 do :
45956 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45957 if test "x$ac_cv_func__hypot" = x""yes; then :
45958 cat >>confdefs.h <<_ACEOF
45959 #define HAVE__HYPOT 1
45960 _ACEOF
45963 done
45972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45973 $as_echo_n "checking for float trig functions... " >&6; }
45974 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45975 $as_echo_n "(cached) " >&6
45976 else
45979 ac_ext=cpp
45980 ac_cpp='$CXXCPP $CPPFLAGS'
45981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45986 /* end confdefs.h. */
45987 #include <math.h>
45989 main ()
45991 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45993 return 0;
45995 _ACEOF
45996 if ac_fn_cxx_try_compile "$LINENO"; then :
45997 glibcxx_cv_func_float_trig_use=yes
45998 else
45999 glibcxx_cv_func_float_trig_use=no
46001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46002 ac_ext=c
46003 ac_cpp='$CPP $CPPFLAGS'
46004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46011 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46012 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46013 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46014 do :
46015 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46016 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46017 eval as_val=\$$as_ac_var
46018 if test "x$as_val" = x""yes; then :
46019 cat >>confdefs.h <<_ACEOF
46020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46021 _ACEOF
46024 done
46026 else
46027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46028 $as_echo_n "checking for _float trig functions... " >&6; }
46029 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46030 $as_echo_n "(cached) " >&6
46031 else
46034 ac_ext=cpp
46035 ac_cpp='$CXXCPP $CPPFLAGS'
46036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46041 /* end confdefs.h. */
46042 #include <math.h>
46044 main ()
46046 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46048 return 0;
46050 _ACEOF
46051 if ac_fn_cxx_try_compile "$LINENO"; then :
46052 glibcxx_cv_func__float_trig_use=yes
46053 else
46054 glibcxx_cv_func__float_trig_use=no
46056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46057 ac_ext=c
46058 ac_cpp='$CPP $CPPFLAGS'
46059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46066 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46067 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46068 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46069 do :
46070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46072 eval as_val=\$$as_ac_var
46073 if test "x$as_val" = x""yes; then :
46074 cat >>confdefs.h <<_ACEOF
46075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46076 _ACEOF
46079 done
46088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46089 $as_echo_n "checking for float round functions... " >&6; }
46090 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46091 $as_echo_n "(cached) " >&6
46092 else
46095 ac_ext=cpp
46096 ac_cpp='$CXXCPP $CPPFLAGS'
46097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46102 /* end confdefs.h. */
46103 #include <math.h>
46105 main ()
46107 ceilf (0); floorf (0);
46109 return 0;
46111 _ACEOF
46112 if ac_fn_cxx_try_compile "$LINENO"; then :
46113 glibcxx_cv_func_float_round_use=yes
46114 else
46115 glibcxx_cv_func_float_round_use=no
46117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46118 ac_ext=c
46119 ac_cpp='$CPP $CPPFLAGS'
46120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46127 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46128 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46129 for ac_func in ceilf floorf
46130 do :
46131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46133 eval as_val=\$$as_ac_var
46134 if test "x$as_val" = x""yes; then :
46135 cat >>confdefs.h <<_ACEOF
46136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46137 _ACEOF
46140 done
46142 else
46143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46144 $as_echo_n "checking for _float round functions... " >&6; }
46145 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46146 $as_echo_n "(cached) " >&6
46147 else
46150 ac_ext=cpp
46151 ac_cpp='$CXXCPP $CPPFLAGS'
46152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46157 /* end confdefs.h. */
46158 #include <math.h>
46160 main ()
46162 _ceilf (0); _floorf (0);
46164 return 0;
46166 _ACEOF
46167 if ac_fn_cxx_try_compile "$LINENO"; then :
46168 glibcxx_cv_func__float_round_use=yes
46169 else
46170 glibcxx_cv_func__float_round_use=no
46172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46173 ac_ext=c
46174 ac_cpp='$CPP $CPPFLAGS'
46175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46182 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46183 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46184 for ac_func in _ceilf _floorf
46185 do :
46186 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46187 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46188 eval as_val=\$$as_ac_var
46189 if test "x$as_val" = x""yes; then :
46190 cat >>confdefs.h <<_ACEOF
46191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46192 _ACEOF
46195 done
46205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46206 $as_echo_n "checking for expf declaration... " >&6; }
46207 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46208 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46209 $as_echo_n "(cached) " >&6
46210 else
46213 ac_ext=cpp
46214 ac_cpp='$CXXCPP $CPPFLAGS'
46215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46220 /* end confdefs.h. */
46221 #include <math.h>
46222 #ifdef HAVE_IEEEFP_H
46223 #include <ieeefp.h>
46224 #endif
46227 main ()
46229 expf(0);
46231 return 0;
46233 _ACEOF
46234 if ac_fn_cxx_try_compile "$LINENO"; then :
46235 glibcxx_cv_func_expf_use=yes
46236 else
46237 glibcxx_cv_func_expf_use=no
46239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46240 ac_ext=c
46241 ac_cpp='$CPP $CPPFLAGS'
46242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46251 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46253 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46254 for ac_func in expf
46255 do :
46256 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46257 if test "x$ac_cv_func_expf" = x""yes; then :
46258 cat >>confdefs.h <<_ACEOF
46259 #define HAVE_EXPF 1
46260 _ACEOF
46263 done
46265 else
46267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46268 $as_echo_n "checking for _expf declaration... " >&6; }
46269 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46270 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46271 $as_echo_n "(cached) " >&6
46272 else
46275 ac_ext=cpp
46276 ac_cpp='$CXXCPP $CPPFLAGS'
46277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46282 /* end confdefs.h. */
46283 #include <math.h>
46284 #ifdef HAVE_IEEEFP_H
46285 #include <ieeefp.h>
46286 #endif
46289 main ()
46291 _expf(0);
46293 return 0;
46295 _ACEOF
46296 if ac_fn_cxx_try_compile "$LINENO"; then :
46297 glibcxx_cv_func__expf_use=yes
46298 else
46299 glibcxx_cv_func__expf_use=no
46301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46302 ac_ext=c
46303 ac_cpp='$CPP $CPPFLAGS'
46304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46313 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46315 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46316 for ac_func in _expf
46317 do :
46318 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46319 if test "x$ac_cv_func__expf" = x""yes; then :
46320 cat >>confdefs.h <<_ACEOF
46321 #define HAVE__EXPF 1
46322 _ACEOF
46325 done
46334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46335 $as_echo_n "checking for isnanf declaration... " >&6; }
46336 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46337 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46338 $as_echo_n "(cached) " >&6
46339 else
46342 ac_ext=cpp
46343 ac_cpp='$CXXCPP $CPPFLAGS'
46344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46349 /* end confdefs.h. */
46350 #include <math.h>
46351 #ifdef HAVE_IEEEFP_H
46352 #include <ieeefp.h>
46353 #endif
46356 main ()
46358 isnanf(0);
46360 return 0;
46362 _ACEOF
46363 if ac_fn_cxx_try_compile "$LINENO"; then :
46364 glibcxx_cv_func_isnanf_use=yes
46365 else
46366 glibcxx_cv_func_isnanf_use=no
46368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46369 ac_ext=c
46370 ac_cpp='$CPP $CPPFLAGS'
46371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46380 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46382 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46383 for ac_func in isnanf
46384 do :
46385 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46386 if test "x$ac_cv_func_isnanf" = x""yes; then :
46387 cat >>confdefs.h <<_ACEOF
46388 #define HAVE_ISNANF 1
46389 _ACEOF
46392 done
46394 else
46396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46397 $as_echo_n "checking for _isnanf declaration... " >&6; }
46398 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46399 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46400 $as_echo_n "(cached) " >&6
46401 else
46404 ac_ext=cpp
46405 ac_cpp='$CXXCPP $CPPFLAGS'
46406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46411 /* end confdefs.h. */
46412 #include <math.h>
46413 #ifdef HAVE_IEEEFP_H
46414 #include <ieeefp.h>
46415 #endif
46418 main ()
46420 _isnanf(0);
46422 return 0;
46424 _ACEOF
46425 if ac_fn_cxx_try_compile "$LINENO"; then :
46426 glibcxx_cv_func__isnanf_use=yes
46427 else
46428 glibcxx_cv_func__isnanf_use=no
46430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46431 ac_ext=c
46432 ac_cpp='$CPP $CPPFLAGS'
46433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46442 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46444 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46445 for ac_func in _isnanf
46446 do :
46447 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46448 if test "x$ac_cv_func__isnanf" = x""yes; then :
46449 cat >>confdefs.h <<_ACEOF
46450 #define HAVE__ISNANF 1
46451 _ACEOF
46454 done
46463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46464 $as_echo_n "checking for isinff declaration... " >&6; }
46465 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46466 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46467 $as_echo_n "(cached) " >&6
46468 else
46471 ac_ext=cpp
46472 ac_cpp='$CXXCPP $CPPFLAGS'
46473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46478 /* end confdefs.h. */
46479 #include <math.h>
46480 #ifdef HAVE_IEEEFP_H
46481 #include <ieeefp.h>
46482 #endif
46485 main ()
46487 isinff(0);
46489 return 0;
46491 _ACEOF
46492 if ac_fn_cxx_try_compile "$LINENO"; then :
46493 glibcxx_cv_func_isinff_use=yes
46494 else
46495 glibcxx_cv_func_isinff_use=no
46497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46498 ac_ext=c
46499 ac_cpp='$CPP $CPPFLAGS'
46500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46509 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46511 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46512 for ac_func in isinff
46513 do :
46514 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46515 if test "x$ac_cv_func_isinff" = x""yes; then :
46516 cat >>confdefs.h <<_ACEOF
46517 #define HAVE_ISINFF 1
46518 _ACEOF
46521 done
46523 else
46525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46526 $as_echo_n "checking for _isinff declaration... " >&6; }
46527 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46528 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46529 $as_echo_n "(cached) " >&6
46530 else
46533 ac_ext=cpp
46534 ac_cpp='$CXXCPP $CPPFLAGS'
46535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46540 /* end confdefs.h. */
46541 #include <math.h>
46542 #ifdef HAVE_IEEEFP_H
46543 #include <ieeefp.h>
46544 #endif
46547 main ()
46549 _isinff(0);
46551 return 0;
46553 _ACEOF
46554 if ac_fn_cxx_try_compile "$LINENO"; then :
46555 glibcxx_cv_func__isinff_use=yes
46556 else
46557 glibcxx_cv_func__isinff_use=no
46559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46560 ac_ext=c
46561 ac_cpp='$CPP $CPPFLAGS'
46562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46571 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46573 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46574 for ac_func in _isinff
46575 do :
46576 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46577 if test "x$ac_cv_func__isinff" = x""yes; then :
46578 cat >>confdefs.h <<_ACEOF
46579 #define HAVE__ISINFF 1
46580 _ACEOF
46583 done
46592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46593 $as_echo_n "checking for atan2f declaration... " >&6; }
46594 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46595 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46596 $as_echo_n "(cached) " >&6
46597 else
46600 ac_ext=cpp
46601 ac_cpp='$CXXCPP $CPPFLAGS'
46602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46607 /* end confdefs.h. */
46608 #include <math.h>
46610 main ()
46612 atan2f(0, 0);
46614 return 0;
46616 _ACEOF
46617 if ac_fn_cxx_try_compile "$LINENO"; then :
46618 glibcxx_cv_func_atan2f_use=yes
46619 else
46620 glibcxx_cv_func_atan2f_use=no
46622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46623 ac_ext=c
46624 ac_cpp='$CPP $CPPFLAGS'
46625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46634 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46636 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46637 for ac_func in atan2f
46638 do :
46639 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46640 if test "x$ac_cv_func_atan2f" = x""yes; then :
46641 cat >>confdefs.h <<_ACEOF
46642 #define HAVE_ATAN2F 1
46643 _ACEOF
46646 done
46648 else
46650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46651 $as_echo_n "checking for _atan2f declaration... " >&6; }
46652 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46653 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46654 $as_echo_n "(cached) " >&6
46655 else
46658 ac_ext=cpp
46659 ac_cpp='$CXXCPP $CPPFLAGS'
46660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46665 /* end confdefs.h. */
46666 #include <math.h>
46668 main ()
46670 _atan2f(0, 0);
46672 return 0;
46674 _ACEOF
46675 if ac_fn_cxx_try_compile "$LINENO"; then :
46676 glibcxx_cv_func__atan2f_use=yes
46677 else
46678 glibcxx_cv_func__atan2f_use=no
46680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46681 ac_ext=c
46682 ac_cpp='$CPP $CPPFLAGS'
46683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46692 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46694 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46695 for ac_func in _atan2f
46696 do :
46697 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46698 if test "x$ac_cv_func__atan2f" = x""yes; then :
46699 cat >>confdefs.h <<_ACEOF
46700 #define HAVE__ATAN2F 1
46701 _ACEOF
46704 done
46713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46714 $as_echo_n "checking for fabsf declaration... " >&6; }
46715 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46716 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46717 $as_echo_n "(cached) " >&6
46718 else
46721 ac_ext=cpp
46722 ac_cpp='$CXXCPP $CPPFLAGS'
46723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46728 /* end confdefs.h. */
46729 #include <math.h>
46730 #ifdef HAVE_IEEEFP_H
46731 #include <ieeefp.h>
46732 #endif
46735 main ()
46737 fabsf(0);
46739 return 0;
46741 _ACEOF
46742 if ac_fn_cxx_try_compile "$LINENO"; then :
46743 glibcxx_cv_func_fabsf_use=yes
46744 else
46745 glibcxx_cv_func_fabsf_use=no
46747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46748 ac_ext=c
46749 ac_cpp='$CPP $CPPFLAGS'
46750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46759 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46761 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46762 for ac_func in fabsf
46763 do :
46764 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46765 if test "x$ac_cv_func_fabsf" = x""yes; then :
46766 cat >>confdefs.h <<_ACEOF
46767 #define HAVE_FABSF 1
46768 _ACEOF
46771 done
46773 else
46775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46776 $as_echo_n "checking for _fabsf declaration... " >&6; }
46777 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46778 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46779 $as_echo_n "(cached) " >&6
46780 else
46783 ac_ext=cpp
46784 ac_cpp='$CXXCPP $CPPFLAGS'
46785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46790 /* end confdefs.h. */
46791 #include <math.h>
46792 #ifdef HAVE_IEEEFP_H
46793 #include <ieeefp.h>
46794 #endif
46797 main ()
46799 _fabsf(0);
46801 return 0;
46803 _ACEOF
46804 if ac_fn_cxx_try_compile "$LINENO"; then :
46805 glibcxx_cv_func__fabsf_use=yes
46806 else
46807 glibcxx_cv_func__fabsf_use=no
46809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46810 ac_ext=c
46811 ac_cpp='$CPP $CPPFLAGS'
46812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46821 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46823 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46824 for ac_func in _fabsf
46825 do :
46826 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46827 if test "x$ac_cv_func__fabsf" = x""yes; then :
46828 cat >>confdefs.h <<_ACEOF
46829 #define HAVE__FABSF 1
46830 _ACEOF
46833 done
46842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46843 $as_echo_n "checking for fmodf declaration... " >&6; }
46844 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46845 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46846 $as_echo_n "(cached) " >&6
46847 else
46850 ac_ext=cpp
46851 ac_cpp='$CXXCPP $CPPFLAGS'
46852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46857 /* end confdefs.h. */
46858 #include <math.h>
46860 main ()
46862 fmodf(0, 0);
46864 return 0;
46866 _ACEOF
46867 if ac_fn_cxx_try_compile "$LINENO"; then :
46868 glibcxx_cv_func_fmodf_use=yes
46869 else
46870 glibcxx_cv_func_fmodf_use=no
46872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46873 ac_ext=c
46874 ac_cpp='$CPP $CPPFLAGS'
46875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46884 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46886 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46887 for ac_func in fmodf
46888 do :
46889 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46890 if test "x$ac_cv_func_fmodf" = x""yes; then :
46891 cat >>confdefs.h <<_ACEOF
46892 #define HAVE_FMODF 1
46893 _ACEOF
46896 done
46898 else
46900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46901 $as_echo_n "checking for _fmodf declaration... " >&6; }
46902 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46903 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46904 $as_echo_n "(cached) " >&6
46905 else
46908 ac_ext=cpp
46909 ac_cpp='$CXXCPP $CPPFLAGS'
46910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46915 /* end confdefs.h. */
46916 #include <math.h>
46918 main ()
46920 _fmodf(0, 0);
46922 return 0;
46924 _ACEOF
46925 if ac_fn_cxx_try_compile "$LINENO"; then :
46926 glibcxx_cv_func__fmodf_use=yes
46927 else
46928 glibcxx_cv_func__fmodf_use=no
46930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46931 ac_ext=c
46932 ac_cpp='$CPP $CPPFLAGS'
46933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46942 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46944 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46945 for ac_func in _fmodf
46946 do :
46947 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46948 if test "x$ac_cv_func__fmodf" = x""yes; then :
46949 cat >>confdefs.h <<_ACEOF
46950 #define HAVE__FMODF 1
46951 _ACEOF
46954 done
46963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46964 $as_echo_n "checking for frexpf declaration... " >&6; }
46965 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46966 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46967 $as_echo_n "(cached) " >&6
46968 else
46971 ac_ext=cpp
46972 ac_cpp='$CXXCPP $CPPFLAGS'
46973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46978 /* end confdefs.h. */
46979 #include <math.h>
46981 main ()
46983 frexpf(0, 0);
46985 return 0;
46987 _ACEOF
46988 if ac_fn_cxx_try_compile "$LINENO"; then :
46989 glibcxx_cv_func_frexpf_use=yes
46990 else
46991 glibcxx_cv_func_frexpf_use=no
46993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46994 ac_ext=c
46995 ac_cpp='$CPP $CPPFLAGS'
46996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47005 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47007 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47008 for ac_func in frexpf
47009 do :
47010 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47011 if test "x$ac_cv_func_frexpf" = x""yes; then :
47012 cat >>confdefs.h <<_ACEOF
47013 #define HAVE_FREXPF 1
47014 _ACEOF
47017 done
47019 else
47021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47022 $as_echo_n "checking for _frexpf declaration... " >&6; }
47023 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47024 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47025 $as_echo_n "(cached) " >&6
47026 else
47029 ac_ext=cpp
47030 ac_cpp='$CXXCPP $CPPFLAGS'
47031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47036 /* end confdefs.h. */
47037 #include <math.h>
47039 main ()
47041 _frexpf(0, 0);
47043 return 0;
47045 _ACEOF
47046 if ac_fn_cxx_try_compile "$LINENO"; then :
47047 glibcxx_cv_func__frexpf_use=yes
47048 else
47049 glibcxx_cv_func__frexpf_use=no
47051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47052 ac_ext=c
47053 ac_cpp='$CPP $CPPFLAGS'
47054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47063 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47065 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47066 for ac_func in _frexpf
47067 do :
47068 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47069 if test "x$ac_cv_func__frexpf" = x""yes; then :
47070 cat >>confdefs.h <<_ACEOF
47071 #define HAVE__FREXPF 1
47072 _ACEOF
47075 done
47084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47085 $as_echo_n "checking for hypotf declaration... " >&6; }
47086 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47087 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47088 $as_echo_n "(cached) " >&6
47089 else
47092 ac_ext=cpp
47093 ac_cpp='$CXXCPP $CPPFLAGS'
47094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47099 /* end confdefs.h. */
47100 #include <math.h>
47102 main ()
47104 hypotf(0, 0);
47106 return 0;
47108 _ACEOF
47109 if ac_fn_cxx_try_compile "$LINENO"; then :
47110 glibcxx_cv_func_hypotf_use=yes
47111 else
47112 glibcxx_cv_func_hypotf_use=no
47114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47115 ac_ext=c
47116 ac_cpp='$CPP $CPPFLAGS'
47117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47126 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47128 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47129 for ac_func in hypotf
47130 do :
47131 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47132 if test "x$ac_cv_func_hypotf" = x""yes; then :
47133 cat >>confdefs.h <<_ACEOF
47134 #define HAVE_HYPOTF 1
47135 _ACEOF
47138 done
47140 else
47142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47143 $as_echo_n "checking for _hypotf declaration... " >&6; }
47144 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47145 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47146 $as_echo_n "(cached) " >&6
47147 else
47150 ac_ext=cpp
47151 ac_cpp='$CXXCPP $CPPFLAGS'
47152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47157 /* end confdefs.h. */
47158 #include <math.h>
47160 main ()
47162 _hypotf(0, 0);
47164 return 0;
47166 _ACEOF
47167 if ac_fn_cxx_try_compile "$LINENO"; then :
47168 glibcxx_cv_func__hypotf_use=yes
47169 else
47170 glibcxx_cv_func__hypotf_use=no
47172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47173 ac_ext=c
47174 ac_cpp='$CPP $CPPFLAGS'
47175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47184 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47186 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47187 for ac_func in _hypotf
47188 do :
47189 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47190 if test "x$ac_cv_func__hypotf" = x""yes; then :
47191 cat >>confdefs.h <<_ACEOF
47192 #define HAVE__HYPOTF 1
47193 _ACEOF
47196 done
47205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47206 $as_echo_n "checking for ldexpf declaration... " >&6; }
47207 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47208 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47209 $as_echo_n "(cached) " >&6
47210 else
47213 ac_ext=cpp
47214 ac_cpp='$CXXCPP $CPPFLAGS'
47215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47220 /* end confdefs.h. */
47221 #include <math.h>
47223 main ()
47225 ldexpf(0, 0);
47227 return 0;
47229 _ACEOF
47230 if ac_fn_cxx_try_compile "$LINENO"; then :
47231 glibcxx_cv_func_ldexpf_use=yes
47232 else
47233 glibcxx_cv_func_ldexpf_use=no
47235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47236 ac_ext=c
47237 ac_cpp='$CPP $CPPFLAGS'
47238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47247 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47249 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47250 for ac_func in ldexpf
47251 do :
47252 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47253 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47254 cat >>confdefs.h <<_ACEOF
47255 #define HAVE_LDEXPF 1
47256 _ACEOF
47259 done
47261 else
47263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47264 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47265 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47266 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47267 $as_echo_n "(cached) " >&6
47268 else
47271 ac_ext=cpp
47272 ac_cpp='$CXXCPP $CPPFLAGS'
47273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47278 /* end confdefs.h. */
47279 #include <math.h>
47281 main ()
47283 _ldexpf(0, 0);
47285 return 0;
47287 _ACEOF
47288 if ac_fn_cxx_try_compile "$LINENO"; then :
47289 glibcxx_cv_func__ldexpf_use=yes
47290 else
47291 glibcxx_cv_func__ldexpf_use=no
47293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47294 ac_ext=c
47295 ac_cpp='$CPP $CPPFLAGS'
47296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47305 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47307 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47308 for ac_func in _ldexpf
47309 do :
47310 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47311 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47312 cat >>confdefs.h <<_ACEOF
47313 #define HAVE__LDEXPF 1
47314 _ACEOF
47317 done
47326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47327 $as_echo_n "checking for logf declaration... " >&6; }
47328 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47329 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47330 $as_echo_n "(cached) " >&6
47331 else
47334 ac_ext=cpp
47335 ac_cpp='$CXXCPP $CPPFLAGS'
47336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47341 /* end confdefs.h. */
47342 #include <math.h>
47343 #ifdef HAVE_IEEEFP_H
47344 #include <ieeefp.h>
47345 #endif
47348 main ()
47350 logf(0);
47352 return 0;
47354 _ACEOF
47355 if ac_fn_cxx_try_compile "$LINENO"; then :
47356 glibcxx_cv_func_logf_use=yes
47357 else
47358 glibcxx_cv_func_logf_use=no
47360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47361 ac_ext=c
47362 ac_cpp='$CPP $CPPFLAGS'
47363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47372 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47374 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47375 for ac_func in logf
47376 do :
47377 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47378 if test "x$ac_cv_func_logf" = x""yes; then :
47379 cat >>confdefs.h <<_ACEOF
47380 #define HAVE_LOGF 1
47381 _ACEOF
47384 done
47386 else
47388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47389 $as_echo_n "checking for _logf declaration... " >&6; }
47390 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47391 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47392 $as_echo_n "(cached) " >&6
47393 else
47396 ac_ext=cpp
47397 ac_cpp='$CXXCPP $CPPFLAGS'
47398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47403 /* end confdefs.h. */
47404 #include <math.h>
47405 #ifdef HAVE_IEEEFP_H
47406 #include <ieeefp.h>
47407 #endif
47410 main ()
47412 _logf(0);
47414 return 0;
47416 _ACEOF
47417 if ac_fn_cxx_try_compile "$LINENO"; then :
47418 glibcxx_cv_func__logf_use=yes
47419 else
47420 glibcxx_cv_func__logf_use=no
47422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47423 ac_ext=c
47424 ac_cpp='$CPP $CPPFLAGS'
47425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47434 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47436 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47437 for ac_func in _logf
47438 do :
47439 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47440 if test "x$ac_cv_func__logf" = x""yes; then :
47441 cat >>confdefs.h <<_ACEOF
47442 #define HAVE__LOGF 1
47443 _ACEOF
47446 done
47455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47456 $as_echo_n "checking for log10f declaration... " >&6; }
47457 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47458 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47459 $as_echo_n "(cached) " >&6
47460 else
47463 ac_ext=cpp
47464 ac_cpp='$CXXCPP $CPPFLAGS'
47465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47470 /* end confdefs.h. */
47471 #include <math.h>
47472 #ifdef HAVE_IEEEFP_H
47473 #include <ieeefp.h>
47474 #endif
47477 main ()
47479 log10f(0);
47481 return 0;
47483 _ACEOF
47484 if ac_fn_cxx_try_compile "$LINENO"; then :
47485 glibcxx_cv_func_log10f_use=yes
47486 else
47487 glibcxx_cv_func_log10f_use=no
47489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47490 ac_ext=c
47491 ac_cpp='$CPP $CPPFLAGS'
47492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47501 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47503 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47504 for ac_func in log10f
47505 do :
47506 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47507 if test "x$ac_cv_func_log10f" = x""yes; then :
47508 cat >>confdefs.h <<_ACEOF
47509 #define HAVE_LOG10F 1
47510 _ACEOF
47513 done
47515 else
47517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47518 $as_echo_n "checking for _log10f declaration... " >&6; }
47519 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47520 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47521 $as_echo_n "(cached) " >&6
47522 else
47525 ac_ext=cpp
47526 ac_cpp='$CXXCPP $CPPFLAGS'
47527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47532 /* end confdefs.h. */
47533 #include <math.h>
47534 #ifdef HAVE_IEEEFP_H
47535 #include <ieeefp.h>
47536 #endif
47539 main ()
47541 _log10f(0);
47543 return 0;
47545 _ACEOF
47546 if ac_fn_cxx_try_compile "$LINENO"; then :
47547 glibcxx_cv_func__log10f_use=yes
47548 else
47549 glibcxx_cv_func__log10f_use=no
47551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47552 ac_ext=c
47553 ac_cpp='$CPP $CPPFLAGS'
47554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47563 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47565 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47566 for ac_func in _log10f
47567 do :
47568 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47569 if test "x$ac_cv_func__log10f" = x""yes; then :
47570 cat >>confdefs.h <<_ACEOF
47571 #define HAVE__LOG10F 1
47572 _ACEOF
47575 done
47584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47585 $as_echo_n "checking for modff declaration... " >&6; }
47586 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47587 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47588 $as_echo_n "(cached) " >&6
47589 else
47592 ac_ext=cpp
47593 ac_cpp='$CXXCPP $CPPFLAGS'
47594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47599 /* end confdefs.h. */
47600 #include <math.h>
47602 main ()
47604 modff(0, 0);
47606 return 0;
47608 _ACEOF
47609 if ac_fn_cxx_try_compile "$LINENO"; then :
47610 glibcxx_cv_func_modff_use=yes
47611 else
47612 glibcxx_cv_func_modff_use=no
47614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47615 ac_ext=c
47616 ac_cpp='$CPP $CPPFLAGS'
47617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47626 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47628 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47629 for ac_func in modff
47630 do :
47631 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47632 if test "x$ac_cv_func_modff" = x""yes; then :
47633 cat >>confdefs.h <<_ACEOF
47634 #define HAVE_MODFF 1
47635 _ACEOF
47638 done
47640 else
47642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47643 $as_echo_n "checking for _modff declaration... " >&6; }
47644 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47645 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47646 $as_echo_n "(cached) " >&6
47647 else
47650 ac_ext=cpp
47651 ac_cpp='$CXXCPP $CPPFLAGS'
47652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47657 /* end confdefs.h. */
47658 #include <math.h>
47660 main ()
47662 _modff(0, 0);
47664 return 0;
47666 _ACEOF
47667 if ac_fn_cxx_try_compile "$LINENO"; then :
47668 glibcxx_cv_func__modff_use=yes
47669 else
47670 glibcxx_cv_func__modff_use=no
47672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47673 ac_ext=c
47674 ac_cpp='$CPP $CPPFLAGS'
47675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47684 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47686 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47687 for ac_func in _modff
47688 do :
47689 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47690 if test "x$ac_cv_func__modff" = x""yes; then :
47691 cat >>confdefs.h <<_ACEOF
47692 #define HAVE__MODFF 1
47693 _ACEOF
47696 done
47705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47706 $as_echo_n "checking for modf declaration... " >&6; }
47707 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47708 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47709 $as_echo_n "(cached) " >&6
47710 else
47713 ac_ext=cpp
47714 ac_cpp='$CXXCPP $CPPFLAGS'
47715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47720 /* end confdefs.h. */
47721 #include <math.h>
47723 main ()
47725 modf(0, 0);
47727 return 0;
47729 _ACEOF
47730 if ac_fn_cxx_try_compile "$LINENO"; then :
47731 glibcxx_cv_func_modf_use=yes
47732 else
47733 glibcxx_cv_func_modf_use=no
47735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47736 ac_ext=c
47737 ac_cpp='$CPP $CPPFLAGS'
47738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47747 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47749 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47750 for ac_func in modf
47751 do :
47752 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47753 if test "x$ac_cv_func_modf" = x""yes; then :
47754 cat >>confdefs.h <<_ACEOF
47755 #define HAVE_MODF 1
47756 _ACEOF
47759 done
47761 else
47763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47764 $as_echo_n "checking for _modf declaration... " >&6; }
47765 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47766 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47767 $as_echo_n "(cached) " >&6
47768 else
47771 ac_ext=cpp
47772 ac_cpp='$CXXCPP $CPPFLAGS'
47773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47778 /* end confdefs.h. */
47779 #include <math.h>
47781 main ()
47783 _modf(0, 0);
47785 return 0;
47787 _ACEOF
47788 if ac_fn_cxx_try_compile "$LINENO"; then :
47789 glibcxx_cv_func__modf_use=yes
47790 else
47791 glibcxx_cv_func__modf_use=no
47793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47794 ac_ext=c
47795 ac_cpp='$CPP $CPPFLAGS'
47796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47805 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47807 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47808 for ac_func in _modf
47809 do :
47810 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47811 if test "x$ac_cv_func__modf" = x""yes; then :
47812 cat >>confdefs.h <<_ACEOF
47813 #define HAVE__MODF 1
47814 _ACEOF
47817 done
47826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47827 $as_echo_n "checking for powf declaration... " >&6; }
47828 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47829 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47830 $as_echo_n "(cached) " >&6
47831 else
47834 ac_ext=cpp
47835 ac_cpp='$CXXCPP $CPPFLAGS'
47836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47841 /* end confdefs.h. */
47842 #include <math.h>
47844 main ()
47846 powf(0, 0);
47848 return 0;
47850 _ACEOF
47851 if ac_fn_cxx_try_compile "$LINENO"; then :
47852 glibcxx_cv_func_powf_use=yes
47853 else
47854 glibcxx_cv_func_powf_use=no
47856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47857 ac_ext=c
47858 ac_cpp='$CPP $CPPFLAGS'
47859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47868 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47870 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47871 for ac_func in powf
47872 do :
47873 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47874 if test "x$ac_cv_func_powf" = x""yes; then :
47875 cat >>confdefs.h <<_ACEOF
47876 #define HAVE_POWF 1
47877 _ACEOF
47880 done
47882 else
47884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47885 $as_echo_n "checking for _powf declaration... " >&6; }
47886 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47887 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47888 $as_echo_n "(cached) " >&6
47889 else
47892 ac_ext=cpp
47893 ac_cpp='$CXXCPP $CPPFLAGS'
47894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47899 /* end confdefs.h. */
47900 #include <math.h>
47902 main ()
47904 _powf(0, 0);
47906 return 0;
47908 _ACEOF
47909 if ac_fn_cxx_try_compile "$LINENO"; then :
47910 glibcxx_cv_func__powf_use=yes
47911 else
47912 glibcxx_cv_func__powf_use=no
47914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47915 ac_ext=c
47916 ac_cpp='$CPP $CPPFLAGS'
47917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47926 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47928 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47929 for ac_func in _powf
47930 do :
47931 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47932 if test "x$ac_cv_func__powf" = x""yes; then :
47933 cat >>confdefs.h <<_ACEOF
47934 #define HAVE__POWF 1
47935 _ACEOF
47938 done
47947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47948 $as_echo_n "checking for sqrtf declaration... " >&6; }
47949 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47950 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47951 $as_echo_n "(cached) " >&6
47952 else
47955 ac_ext=cpp
47956 ac_cpp='$CXXCPP $CPPFLAGS'
47957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47962 /* end confdefs.h. */
47963 #include <math.h>
47964 #ifdef HAVE_IEEEFP_H
47965 #include <ieeefp.h>
47966 #endif
47969 main ()
47971 sqrtf(0);
47973 return 0;
47975 _ACEOF
47976 if ac_fn_cxx_try_compile "$LINENO"; then :
47977 glibcxx_cv_func_sqrtf_use=yes
47978 else
47979 glibcxx_cv_func_sqrtf_use=no
47981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47982 ac_ext=c
47983 ac_cpp='$CPP $CPPFLAGS'
47984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47993 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47995 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47996 for ac_func in sqrtf
47997 do :
47998 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47999 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48000 cat >>confdefs.h <<_ACEOF
48001 #define HAVE_SQRTF 1
48002 _ACEOF
48005 done
48007 else
48009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48010 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48011 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48012 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48013 $as_echo_n "(cached) " >&6
48014 else
48017 ac_ext=cpp
48018 ac_cpp='$CXXCPP $CPPFLAGS'
48019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48024 /* end confdefs.h. */
48025 #include <math.h>
48026 #ifdef HAVE_IEEEFP_H
48027 #include <ieeefp.h>
48028 #endif
48031 main ()
48033 _sqrtf(0);
48035 return 0;
48037 _ACEOF
48038 if ac_fn_cxx_try_compile "$LINENO"; then :
48039 glibcxx_cv_func__sqrtf_use=yes
48040 else
48041 glibcxx_cv_func__sqrtf_use=no
48043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48044 ac_ext=c
48045 ac_cpp='$CPP $CPPFLAGS'
48046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48055 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48057 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48058 for ac_func in _sqrtf
48059 do :
48060 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48061 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48062 cat >>confdefs.h <<_ACEOF
48063 #define HAVE__SQRTF 1
48064 _ACEOF
48067 done
48076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48077 $as_echo_n "checking for sincosf declaration... " >&6; }
48078 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48079 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48080 $as_echo_n "(cached) " >&6
48081 else
48084 ac_ext=cpp
48085 ac_cpp='$CXXCPP $CPPFLAGS'
48086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48091 /* end confdefs.h. */
48092 #include <math.h>
48094 main ()
48096 sincosf(0, 0, 0);
48098 return 0;
48100 _ACEOF
48101 if ac_fn_cxx_try_compile "$LINENO"; then :
48102 glibcxx_cv_func_sincosf_use=yes
48103 else
48104 glibcxx_cv_func_sincosf_use=no
48106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48107 ac_ext=c
48108 ac_cpp='$CPP $CPPFLAGS'
48109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48118 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48120 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48121 for ac_func in sincosf
48122 do :
48123 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48124 if test "x$ac_cv_func_sincosf" = x""yes; then :
48125 cat >>confdefs.h <<_ACEOF
48126 #define HAVE_SINCOSF 1
48127 _ACEOF
48130 done
48132 else
48134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48135 $as_echo_n "checking for _sincosf declaration... " >&6; }
48136 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48137 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48138 $as_echo_n "(cached) " >&6
48139 else
48142 ac_ext=cpp
48143 ac_cpp='$CXXCPP $CPPFLAGS'
48144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48149 /* end confdefs.h. */
48150 #include <math.h>
48152 main ()
48154 _sincosf(0, 0, 0);
48156 return 0;
48158 _ACEOF
48159 if ac_fn_cxx_try_compile "$LINENO"; then :
48160 glibcxx_cv_func__sincosf_use=yes
48161 else
48162 glibcxx_cv_func__sincosf_use=no
48164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48165 ac_ext=c
48166 ac_cpp='$CPP $CPPFLAGS'
48167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48176 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48178 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48179 for ac_func in _sincosf
48180 do :
48181 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48182 if test "x$ac_cv_func__sincosf" = x""yes; then :
48183 cat >>confdefs.h <<_ACEOF
48184 #define HAVE__SINCOSF 1
48185 _ACEOF
48188 done
48197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48198 $as_echo_n "checking for finitef declaration... " >&6; }
48199 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48200 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48201 $as_echo_n "(cached) " >&6
48202 else
48205 ac_ext=cpp
48206 ac_cpp='$CXXCPP $CPPFLAGS'
48207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48212 /* end confdefs.h. */
48213 #include <math.h>
48214 #ifdef HAVE_IEEEFP_H
48215 #include <ieeefp.h>
48216 #endif
48219 main ()
48221 finitef(0);
48223 return 0;
48225 _ACEOF
48226 if ac_fn_cxx_try_compile "$LINENO"; then :
48227 glibcxx_cv_func_finitef_use=yes
48228 else
48229 glibcxx_cv_func_finitef_use=no
48231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48232 ac_ext=c
48233 ac_cpp='$CPP $CPPFLAGS'
48234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48243 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48245 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48246 for ac_func in finitef
48247 do :
48248 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48249 if test "x$ac_cv_func_finitef" = x""yes; then :
48250 cat >>confdefs.h <<_ACEOF
48251 #define HAVE_FINITEF 1
48252 _ACEOF
48255 done
48257 else
48259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48260 $as_echo_n "checking for _finitef declaration... " >&6; }
48261 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48262 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48263 $as_echo_n "(cached) " >&6
48264 else
48267 ac_ext=cpp
48268 ac_cpp='$CXXCPP $CPPFLAGS'
48269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48274 /* end confdefs.h. */
48275 #include <math.h>
48276 #ifdef HAVE_IEEEFP_H
48277 #include <ieeefp.h>
48278 #endif
48281 main ()
48283 _finitef(0);
48285 return 0;
48287 _ACEOF
48288 if ac_fn_cxx_try_compile "$LINENO"; then :
48289 glibcxx_cv_func__finitef_use=yes
48290 else
48291 glibcxx_cv_func__finitef_use=no
48293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48294 ac_ext=c
48295 ac_cpp='$CPP $CPPFLAGS'
48296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48305 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48307 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48308 for ac_func in _finitef
48309 do :
48310 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48311 if test "x$ac_cv_func__finitef" = x""yes; then :
48312 cat >>confdefs.h <<_ACEOF
48313 #define HAVE__FINITEF 1
48314 _ACEOF
48317 done
48326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48327 $as_echo_n "checking for long double trig functions... " >&6; }
48328 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48329 $as_echo_n "(cached) " >&6
48330 else
48333 ac_ext=cpp
48334 ac_cpp='$CXXCPP $CPPFLAGS'
48335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48340 /* end confdefs.h. */
48341 #include <math.h>
48343 main ()
48345 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48347 return 0;
48349 _ACEOF
48350 if ac_fn_cxx_try_compile "$LINENO"; then :
48351 glibcxx_cv_func_long_double_trig_use=yes
48352 else
48353 glibcxx_cv_func_long_double_trig_use=no
48355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48356 ac_ext=c
48357 ac_cpp='$CPP $CPPFLAGS'
48358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48365 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48366 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48367 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48368 do :
48369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48371 eval as_val=\$$as_ac_var
48372 if test "x$as_val" = x""yes; then :
48373 cat >>confdefs.h <<_ACEOF
48374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48375 _ACEOF
48378 done
48380 else
48381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48382 $as_echo_n "checking for _long double trig functions... " >&6; }
48383 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48384 $as_echo_n "(cached) " >&6
48385 else
48388 ac_ext=cpp
48389 ac_cpp='$CXXCPP $CPPFLAGS'
48390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48395 /* end confdefs.h. */
48396 #include <math.h>
48398 main ()
48400 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48402 return 0;
48404 _ACEOF
48405 if ac_fn_cxx_try_compile "$LINENO"; then :
48406 glibcxx_cv_func__long_double_trig_use=yes
48407 else
48408 glibcxx_cv_func__long_double_trig_use=no
48410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48411 ac_ext=c
48412 ac_cpp='$CPP $CPPFLAGS'
48413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48420 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48421 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48422 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48423 do :
48424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48426 eval as_val=\$$as_ac_var
48427 if test "x$as_val" = x""yes; then :
48428 cat >>confdefs.h <<_ACEOF
48429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48430 _ACEOF
48433 done
48442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48443 $as_echo_n "checking for long double round functions... " >&6; }
48444 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48445 $as_echo_n "(cached) " >&6
48446 else
48449 ac_ext=cpp
48450 ac_cpp='$CXXCPP $CPPFLAGS'
48451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48456 /* end confdefs.h. */
48457 #include <math.h>
48459 main ()
48461 ceill (0); floorl (0);
48463 return 0;
48465 _ACEOF
48466 if ac_fn_cxx_try_compile "$LINENO"; then :
48467 glibcxx_cv_func_long_double_round_use=yes
48468 else
48469 glibcxx_cv_func_long_double_round_use=no
48471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48472 ac_ext=c
48473 ac_cpp='$CPP $CPPFLAGS'
48474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48481 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48482 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48483 for ac_func in ceill floorl
48484 do :
48485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48487 eval as_val=\$$as_ac_var
48488 if test "x$as_val" = x""yes; then :
48489 cat >>confdefs.h <<_ACEOF
48490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48491 _ACEOF
48494 done
48496 else
48497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48498 $as_echo_n "checking for _long double round functions... " >&6; }
48499 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48500 $as_echo_n "(cached) " >&6
48501 else
48504 ac_ext=cpp
48505 ac_cpp='$CXXCPP $CPPFLAGS'
48506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48511 /* end confdefs.h. */
48512 #include <math.h>
48514 main ()
48516 _ceill (0); _floorl (0);
48518 return 0;
48520 _ACEOF
48521 if ac_fn_cxx_try_compile "$LINENO"; then :
48522 glibcxx_cv_func__long_double_round_use=yes
48523 else
48524 glibcxx_cv_func__long_double_round_use=no
48526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48527 ac_ext=c
48528 ac_cpp='$CPP $CPPFLAGS'
48529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48536 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48537 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48538 for ac_func in _ceill _floorl
48539 do :
48540 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48541 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48542 eval as_val=\$$as_ac_var
48543 if test "x$as_val" = x""yes; then :
48544 cat >>confdefs.h <<_ACEOF
48545 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48546 _ACEOF
48549 done
48559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48560 $as_echo_n "checking for isnanl declaration... " >&6; }
48561 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48562 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48563 $as_echo_n "(cached) " >&6
48564 else
48567 ac_ext=cpp
48568 ac_cpp='$CXXCPP $CPPFLAGS'
48569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48574 /* end confdefs.h. */
48575 #include <math.h>
48576 #ifdef HAVE_IEEEFP_H
48577 #include <ieeefp.h>
48578 #endif
48581 main ()
48583 isnanl(0);
48585 return 0;
48587 _ACEOF
48588 if ac_fn_cxx_try_compile "$LINENO"; then :
48589 glibcxx_cv_func_isnanl_use=yes
48590 else
48591 glibcxx_cv_func_isnanl_use=no
48593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48594 ac_ext=c
48595 ac_cpp='$CPP $CPPFLAGS'
48596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48605 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48607 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48608 for ac_func in isnanl
48609 do :
48610 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48611 if test "x$ac_cv_func_isnanl" = x""yes; then :
48612 cat >>confdefs.h <<_ACEOF
48613 #define HAVE_ISNANL 1
48614 _ACEOF
48617 done
48619 else
48621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48622 $as_echo_n "checking for _isnanl declaration... " >&6; }
48623 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48624 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48625 $as_echo_n "(cached) " >&6
48626 else
48629 ac_ext=cpp
48630 ac_cpp='$CXXCPP $CPPFLAGS'
48631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48636 /* end confdefs.h. */
48637 #include <math.h>
48638 #ifdef HAVE_IEEEFP_H
48639 #include <ieeefp.h>
48640 #endif
48643 main ()
48645 _isnanl(0);
48647 return 0;
48649 _ACEOF
48650 if ac_fn_cxx_try_compile "$LINENO"; then :
48651 glibcxx_cv_func__isnanl_use=yes
48652 else
48653 glibcxx_cv_func__isnanl_use=no
48655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48656 ac_ext=c
48657 ac_cpp='$CPP $CPPFLAGS'
48658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48667 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48669 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48670 for ac_func in _isnanl
48671 do :
48672 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48673 if test "x$ac_cv_func__isnanl" = x""yes; then :
48674 cat >>confdefs.h <<_ACEOF
48675 #define HAVE__ISNANL 1
48676 _ACEOF
48679 done
48688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48689 $as_echo_n "checking for isinfl declaration... " >&6; }
48690 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48691 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48692 $as_echo_n "(cached) " >&6
48693 else
48696 ac_ext=cpp
48697 ac_cpp='$CXXCPP $CPPFLAGS'
48698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48703 /* end confdefs.h. */
48704 #include <math.h>
48705 #ifdef HAVE_IEEEFP_H
48706 #include <ieeefp.h>
48707 #endif
48710 main ()
48712 isinfl(0);
48714 return 0;
48716 _ACEOF
48717 if ac_fn_cxx_try_compile "$LINENO"; then :
48718 glibcxx_cv_func_isinfl_use=yes
48719 else
48720 glibcxx_cv_func_isinfl_use=no
48722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48723 ac_ext=c
48724 ac_cpp='$CPP $CPPFLAGS'
48725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48734 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48736 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48737 for ac_func in isinfl
48738 do :
48739 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48740 if test "x$ac_cv_func_isinfl" = x""yes; then :
48741 cat >>confdefs.h <<_ACEOF
48742 #define HAVE_ISINFL 1
48743 _ACEOF
48746 done
48748 else
48750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48751 $as_echo_n "checking for _isinfl declaration... " >&6; }
48752 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48753 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48754 $as_echo_n "(cached) " >&6
48755 else
48758 ac_ext=cpp
48759 ac_cpp='$CXXCPP $CPPFLAGS'
48760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48765 /* end confdefs.h. */
48766 #include <math.h>
48767 #ifdef HAVE_IEEEFP_H
48768 #include <ieeefp.h>
48769 #endif
48772 main ()
48774 _isinfl(0);
48776 return 0;
48778 _ACEOF
48779 if ac_fn_cxx_try_compile "$LINENO"; then :
48780 glibcxx_cv_func__isinfl_use=yes
48781 else
48782 glibcxx_cv_func__isinfl_use=no
48784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48785 ac_ext=c
48786 ac_cpp='$CPP $CPPFLAGS'
48787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48796 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48798 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48799 for ac_func in _isinfl
48800 do :
48801 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48802 if test "x$ac_cv_func__isinfl" = x""yes; then :
48803 cat >>confdefs.h <<_ACEOF
48804 #define HAVE__ISINFL 1
48805 _ACEOF
48808 done
48817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48818 $as_echo_n "checking for atan2l declaration... " >&6; }
48819 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48820 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48821 $as_echo_n "(cached) " >&6
48822 else
48825 ac_ext=cpp
48826 ac_cpp='$CXXCPP $CPPFLAGS'
48827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48832 /* end confdefs.h. */
48833 #include <math.h>
48835 main ()
48837 atan2l(0, 0);
48839 return 0;
48841 _ACEOF
48842 if ac_fn_cxx_try_compile "$LINENO"; then :
48843 glibcxx_cv_func_atan2l_use=yes
48844 else
48845 glibcxx_cv_func_atan2l_use=no
48847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48848 ac_ext=c
48849 ac_cpp='$CPP $CPPFLAGS'
48850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48859 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48861 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48862 for ac_func in atan2l
48863 do :
48864 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48865 if test "x$ac_cv_func_atan2l" = x""yes; then :
48866 cat >>confdefs.h <<_ACEOF
48867 #define HAVE_ATAN2L 1
48868 _ACEOF
48871 done
48873 else
48875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48876 $as_echo_n "checking for _atan2l declaration... " >&6; }
48877 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48878 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48879 $as_echo_n "(cached) " >&6
48880 else
48883 ac_ext=cpp
48884 ac_cpp='$CXXCPP $CPPFLAGS'
48885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48890 /* end confdefs.h. */
48891 #include <math.h>
48893 main ()
48895 _atan2l(0, 0);
48897 return 0;
48899 _ACEOF
48900 if ac_fn_cxx_try_compile "$LINENO"; then :
48901 glibcxx_cv_func__atan2l_use=yes
48902 else
48903 glibcxx_cv_func__atan2l_use=no
48905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48906 ac_ext=c
48907 ac_cpp='$CPP $CPPFLAGS'
48908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48917 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48919 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48920 for ac_func in _atan2l
48921 do :
48922 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48923 if test "x$ac_cv_func__atan2l" = x""yes; then :
48924 cat >>confdefs.h <<_ACEOF
48925 #define HAVE__ATAN2L 1
48926 _ACEOF
48929 done
48938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48939 $as_echo_n "checking for expl declaration... " >&6; }
48940 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48941 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48942 $as_echo_n "(cached) " >&6
48943 else
48946 ac_ext=cpp
48947 ac_cpp='$CXXCPP $CPPFLAGS'
48948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48953 /* end confdefs.h. */
48954 #include <math.h>
48955 #ifdef HAVE_IEEEFP_H
48956 #include <ieeefp.h>
48957 #endif
48960 main ()
48962 expl(0);
48964 return 0;
48966 _ACEOF
48967 if ac_fn_cxx_try_compile "$LINENO"; then :
48968 glibcxx_cv_func_expl_use=yes
48969 else
48970 glibcxx_cv_func_expl_use=no
48972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48973 ac_ext=c
48974 ac_cpp='$CPP $CPPFLAGS'
48975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48984 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48986 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48987 for ac_func in expl
48988 do :
48989 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48990 if test "x$ac_cv_func_expl" = x""yes; then :
48991 cat >>confdefs.h <<_ACEOF
48992 #define HAVE_EXPL 1
48993 _ACEOF
48996 done
48998 else
49000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49001 $as_echo_n "checking for _expl declaration... " >&6; }
49002 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49003 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49004 $as_echo_n "(cached) " >&6
49005 else
49008 ac_ext=cpp
49009 ac_cpp='$CXXCPP $CPPFLAGS'
49010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49015 /* end confdefs.h. */
49016 #include <math.h>
49017 #ifdef HAVE_IEEEFP_H
49018 #include <ieeefp.h>
49019 #endif
49022 main ()
49024 _expl(0);
49026 return 0;
49028 _ACEOF
49029 if ac_fn_cxx_try_compile "$LINENO"; then :
49030 glibcxx_cv_func__expl_use=yes
49031 else
49032 glibcxx_cv_func__expl_use=no
49034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49035 ac_ext=c
49036 ac_cpp='$CPP $CPPFLAGS'
49037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49046 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49048 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49049 for ac_func in _expl
49050 do :
49051 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49052 if test "x$ac_cv_func__expl" = x""yes; then :
49053 cat >>confdefs.h <<_ACEOF
49054 #define HAVE__EXPL 1
49055 _ACEOF
49058 done
49067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49068 $as_echo_n "checking for fabsl declaration... " >&6; }
49069 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49070 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49071 $as_echo_n "(cached) " >&6
49072 else
49075 ac_ext=cpp
49076 ac_cpp='$CXXCPP $CPPFLAGS'
49077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49082 /* end confdefs.h. */
49083 #include <math.h>
49084 #ifdef HAVE_IEEEFP_H
49085 #include <ieeefp.h>
49086 #endif
49089 main ()
49091 fabsl(0);
49093 return 0;
49095 _ACEOF
49096 if ac_fn_cxx_try_compile "$LINENO"; then :
49097 glibcxx_cv_func_fabsl_use=yes
49098 else
49099 glibcxx_cv_func_fabsl_use=no
49101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49102 ac_ext=c
49103 ac_cpp='$CPP $CPPFLAGS'
49104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49113 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49115 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49116 for ac_func in fabsl
49117 do :
49118 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49119 if test "x$ac_cv_func_fabsl" = x""yes; then :
49120 cat >>confdefs.h <<_ACEOF
49121 #define HAVE_FABSL 1
49122 _ACEOF
49125 done
49127 else
49129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49130 $as_echo_n "checking for _fabsl declaration... " >&6; }
49131 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49132 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49133 $as_echo_n "(cached) " >&6
49134 else
49137 ac_ext=cpp
49138 ac_cpp='$CXXCPP $CPPFLAGS'
49139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49144 /* end confdefs.h. */
49145 #include <math.h>
49146 #ifdef HAVE_IEEEFP_H
49147 #include <ieeefp.h>
49148 #endif
49151 main ()
49153 _fabsl(0);
49155 return 0;
49157 _ACEOF
49158 if ac_fn_cxx_try_compile "$LINENO"; then :
49159 glibcxx_cv_func__fabsl_use=yes
49160 else
49161 glibcxx_cv_func__fabsl_use=no
49163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49164 ac_ext=c
49165 ac_cpp='$CPP $CPPFLAGS'
49166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49175 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49177 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49178 for ac_func in _fabsl
49179 do :
49180 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49181 if test "x$ac_cv_func__fabsl" = x""yes; then :
49182 cat >>confdefs.h <<_ACEOF
49183 #define HAVE__FABSL 1
49184 _ACEOF
49187 done
49196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49197 $as_echo_n "checking for fmodl declaration... " >&6; }
49198 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49199 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49200 $as_echo_n "(cached) " >&6
49201 else
49204 ac_ext=cpp
49205 ac_cpp='$CXXCPP $CPPFLAGS'
49206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49211 /* end confdefs.h. */
49212 #include <math.h>
49214 main ()
49216 fmodl(0, 0);
49218 return 0;
49220 _ACEOF
49221 if ac_fn_cxx_try_compile "$LINENO"; then :
49222 glibcxx_cv_func_fmodl_use=yes
49223 else
49224 glibcxx_cv_func_fmodl_use=no
49226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49227 ac_ext=c
49228 ac_cpp='$CPP $CPPFLAGS'
49229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49238 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49240 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49241 for ac_func in fmodl
49242 do :
49243 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49244 if test "x$ac_cv_func_fmodl" = x""yes; then :
49245 cat >>confdefs.h <<_ACEOF
49246 #define HAVE_FMODL 1
49247 _ACEOF
49250 done
49252 else
49254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49255 $as_echo_n "checking for _fmodl declaration... " >&6; }
49256 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49257 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49258 $as_echo_n "(cached) " >&6
49259 else
49262 ac_ext=cpp
49263 ac_cpp='$CXXCPP $CPPFLAGS'
49264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49269 /* end confdefs.h. */
49270 #include <math.h>
49272 main ()
49274 _fmodl(0, 0);
49276 return 0;
49278 _ACEOF
49279 if ac_fn_cxx_try_compile "$LINENO"; then :
49280 glibcxx_cv_func__fmodl_use=yes
49281 else
49282 glibcxx_cv_func__fmodl_use=no
49284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49285 ac_ext=c
49286 ac_cpp='$CPP $CPPFLAGS'
49287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49296 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49298 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49299 for ac_func in _fmodl
49300 do :
49301 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49302 if test "x$ac_cv_func__fmodl" = x""yes; then :
49303 cat >>confdefs.h <<_ACEOF
49304 #define HAVE__FMODL 1
49305 _ACEOF
49308 done
49317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49318 $as_echo_n "checking for frexpl declaration... " >&6; }
49319 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49320 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49321 $as_echo_n "(cached) " >&6
49322 else
49325 ac_ext=cpp
49326 ac_cpp='$CXXCPP $CPPFLAGS'
49327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49332 /* end confdefs.h. */
49333 #include <math.h>
49335 main ()
49337 frexpl(0, 0);
49339 return 0;
49341 _ACEOF
49342 if ac_fn_cxx_try_compile "$LINENO"; then :
49343 glibcxx_cv_func_frexpl_use=yes
49344 else
49345 glibcxx_cv_func_frexpl_use=no
49347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49348 ac_ext=c
49349 ac_cpp='$CPP $CPPFLAGS'
49350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49359 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49361 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49362 for ac_func in frexpl
49363 do :
49364 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49365 if test "x$ac_cv_func_frexpl" = x""yes; then :
49366 cat >>confdefs.h <<_ACEOF
49367 #define HAVE_FREXPL 1
49368 _ACEOF
49371 done
49373 else
49375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49376 $as_echo_n "checking for _frexpl declaration... " >&6; }
49377 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49378 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49379 $as_echo_n "(cached) " >&6
49380 else
49383 ac_ext=cpp
49384 ac_cpp='$CXXCPP $CPPFLAGS'
49385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49390 /* end confdefs.h. */
49391 #include <math.h>
49393 main ()
49395 _frexpl(0, 0);
49397 return 0;
49399 _ACEOF
49400 if ac_fn_cxx_try_compile "$LINENO"; then :
49401 glibcxx_cv_func__frexpl_use=yes
49402 else
49403 glibcxx_cv_func__frexpl_use=no
49405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49406 ac_ext=c
49407 ac_cpp='$CPP $CPPFLAGS'
49408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49417 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49419 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49420 for ac_func in _frexpl
49421 do :
49422 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49423 if test "x$ac_cv_func__frexpl" = x""yes; then :
49424 cat >>confdefs.h <<_ACEOF
49425 #define HAVE__FREXPL 1
49426 _ACEOF
49429 done
49438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49439 $as_echo_n "checking for hypotl declaration... " >&6; }
49440 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49441 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49442 $as_echo_n "(cached) " >&6
49443 else
49446 ac_ext=cpp
49447 ac_cpp='$CXXCPP $CPPFLAGS'
49448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49453 /* end confdefs.h. */
49454 #include <math.h>
49456 main ()
49458 hypotl(0, 0);
49460 return 0;
49462 _ACEOF
49463 if ac_fn_cxx_try_compile "$LINENO"; then :
49464 glibcxx_cv_func_hypotl_use=yes
49465 else
49466 glibcxx_cv_func_hypotl_use=no
49468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49469 ac_ext=c
49470 ac_cpp='$CPP $CPPFLAGS'
49471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49480 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49482 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49483 for ac_func in hypotl
49484 do :
49485 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49486 if test "x$ac_cv_func_hypotl" = x""yes; then :
49487 cat >>confdefs.h <<_ACEOF
49488 #define HAVE_HYPOTL 1
49489 _ACEOF
49492 done
49494 else
49496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49497 $as_echo_n "checking for _hypotl declaration... " >&6; }
49498 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49499 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49500 $as_echo_n "(cached) " >&6
49501 else
49504 ac_ext=cpp
49505 ac_cpp='$CXXCPP $CPPFLAGS'
49506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49511 /* end confdefs.h. */
49512 #include <math.h>
49514 main ()
49516 _hypotl(0, 0);
49518 return 0;
49520 _ACEOF
49521 if ac_fn_cxx_try_compile "$LINENO"; then :
49522 glibcxx_cv_func__hypotl_use=yes
49523 else
49524 glibcxx_cv_func__hypotl_use=no
49526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49527 ac_ext=c
49528 ac_cpp='$CPP $CPPFLAGS'
49529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49538 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49540 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49541 for ac_func in _hypotl
49542 do :
49543 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49544 if test "x$ac_cv_func__hypotl" = x""yes; then :
49545 cat >>confdefs.h <<_ACEOF
49546 #define HAVE__HYPOTL 1
49547 _ACEOF
49550 done
49559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49560 $as_echo_n "checking for ldexpl declaration... " >&6; }
49561 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49562 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49563 $as_echo_n "(cached) " >&6
49564 else
49567 ac_ext=cpp
49568 ac_cpp='$CXXCPP $CPPFLAGS'
49569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49574 /* end confdefs.h. */
49575 #include <math.h>
49577 main ()
49579 ldexpl(0, 0);
49581 return 0;
49583 _ACEOF
49584 if ac_fn_cxx_try_compile "$LINENO"; then :
49585 glibcxx_cv_func_ldexpl_use=yes
49586 else
49587 glibcxx_cv_func_ldexpl_use=no
49589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49590 ac_ext=c
49591 ac_cpp='$CPP $CPPFLAGS'
49592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49601 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49603 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49604 for ac_func in ldexpl
49605 do :
49606 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49607 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49608 cat >>confdefs.h <<_ACEOF
49609 #define HAVE_LDEXPL 1
49610 _ACEOF
49613 done
49615 else
49617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49618 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49619 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49620 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49621 $as_echo_n "(cached) " >&6
49622 else
49625 ac_ext=cpp
49626 ac_cpp='$CXXCPP $CPPFLAGS'
49627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49632 /* end confdefs.h. */
49633 #include <math.h>
49635 main ()
49637 _ldexpl(0, 0);
49639 return 0;
49641 _ACEOF
49642 if ac_fn_cxx_try_compile "$LINENO"; then :
49643 glibcxx_cv_func__ldexpl_use=yes
49644 else
49645 glibcxx_cv_func__ldexpl_use=no
49647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49648 ac_ext=c
49649 ac_cpp='$CPP $CPPFLAGS'
49650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49659 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49661 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49662 for ac_func in _ldexpl
49663 do :
49664 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49665 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49666 cat >>confdefs.h <<_ACEOF
49667 #define HAVE__LDEXPL 1
49668 _ACEOF
49671 done
49680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49681 $as_echo_n "checking for logl declaration... " >&6; }
49682 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49683 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49684 $as_echo_n "(cached) " >&6
49685 else
49688 ac_ext=cpp
49689 ac_cpp='$CXXCPP $CPPFLAGS'
49690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49695 /* end confdefs.h. */
49696 #include <math.h>
49697 #ifdef HAVE_IEEEFP_H
49698 #include <ieeefp.h>
49699 #endif
49702 main ()
49704 logl(0);
49706 return 0;
49708 _ACEOF
49709 if ac_fn_cxx_try_compile "$LINENO"; then :
49710 glibcxx_cv_func_logl_use=yes
49711 else
49712 glibcxx_cv_func_logl_use=no
49714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49715 ac_ext=c
49716 ac_cpp='$CPP $CPPFLAGS'
49717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49726 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49728 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49729 for ac_func in logl
49730 do :
49731 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49732 if test "x$ac_cv_func_logl" = x""yes; then :
49733 cat >>confdefs.h <<_ACEOF
49734 #define HAVE_LOGL 1
49735 _ACEOF
49738 done
49740 else
49742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49743 $as_echo_n "checking for _logl declaration... " >&6; }
49744 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49745 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49746 $as_echo_n "(cached) " >&6
49747 else
49750 ac_ext=cpp
49751 ac_cpp='$CXXCPP $CPPFLAGS'
49752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49757 /* end confdefs.h. */
49758 #include <math.h>
49759 #ifdef HAVE_IEEEFP_H
49760 #include <ieeefp.h>
49761 #endif
49764 main ()
49766 _logl(0);
49768 return 0;
49770 _ACEOF
49771 if ac_fn_cxx_try_compile "$LINENO"; then :
49772 glibcxx_cv_func__logl_use=yes
49773 else
49774 glibcxx_cv_func__logl_use=no
49776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49777 ac_ext=c
49778 ac_cpp='$CPP $CPPFLAGS'
49779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49788 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49790 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49791 for ac_func in _logl
49792 do :
49793 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49794 if test "x$ac_cv_func__logl" = x""yes; then :
49795 cat >>confdefs.h <<_ACEOF
49796 #define HAVE__LOGL 1
49797 _ACEOF
49800 done
49809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49810 $as_echo_n "checking for log10l declaration... " >&6; }
49811 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49812 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49813 $as_echo_n "(cached) " >&6
49814 else
49817 ac_ext=cpp
49818 ac_cpp='$CXXCPP $CPPFLAGS'
49819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49824 /* end confdefs.h. */
49825 #include <math.h>
49826 #ifdef HAVE_IEEEFP_H
49827 #include <ieeefp.h>
49828 #endif
49831 main ()
49833 log10l(0);
49835 return 0;
49837 _ACEOF
49838 if ac_fn_cxx_try_compile "$LINENO"; then :
49839 glibcxx_cv_func_log10l_use=yes
49840 else
49841 glibcxx_cv_func_log10l_use=no
49843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49844 ac_ext=c
49845 ac_cpp='$CPP $CPPFLAGS'
49846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49855 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49857 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49858 for ac_func in log10l
49859 do :
49860 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49861 if test "x$ac_cv_func_log10l" = x""yes; then :
49862 cat >>confdefs.h <<_ACEOF
49863 #define HAVE_LOG10L 1
49864 _ACEOF
49867 done
49869 else
49871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49872 $as_echo_n "checking for _log10l declaration... " >&6; }
49873 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49874 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49875 $as_echo_n "(cached) " >&6
49876 else
49879 ac_ext=cpp
49880 ac_cpp='$CXXCPP $CPPFLAGS'
49881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49886 /* end confdefs.h. */
49887 #include <math.h>
49888 #ifdef HAVE_IEEEFP_H
49889 #include <ieeefp.h>
49890 #endif
49893 main ()
49895 _log10l(0);
49897 return 0;
49899 _ACEOF
49900 if ac_fn_cxx_try_compile "$LINENO"; then :
49901 glibcxx_cv_func__log10l_use=yes
49902 else
49903 glibcxx_cv_func__log10l_use=no
49905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49906 ac_ext=c
49907 ac_cpp='$CPP $CPPFLAGS'
49908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49917 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49919 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49920 for ac_func in _log10l
49921 do :
49922 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49923 if test "x$ac_cv_func__log10l" = x""yes; then :
49924 cat >>confdefs.h <<_ACEOF
49925 #define HAVE__LOG10L 1
49926 _ACEOF
49929 done
49938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49939 $as_echo_n "checking for modfl declaration... " >&6; }
49940 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49941 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49942 $as_echo_n "(cached) " >&6
49943 else
49946 ac_ext=cpp
49947 ac_cpp='$CXXCPP $CPPFLAGS'
49948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49953 /* end confdefs.h. */
49954 #include <math.h>
49956 main ()
49958 modfl(0, 0);
49960 return 0;
49962 _ACEOF
49963 if ac_fn_cxx_try_compile "$LINENO"; then :
49964 glibcxx_cv_func_modfl_use=yes
49965 else
49966 glibcxx_cv_func_modfl_use=no
49968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49969 ac_ext=c
49970 ac_cpp='$CPP $CPPFLAGS'
49971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49980 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49982 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49983 for ac_func in modfl
49984 do :
49985 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49986 if test "x$ac_cv_func_modfl" = x""yes; then :
49987 cat >>confdefs.h <<_ACEOF
49988 #define HAVE_MODFL 1
49989 _ACEOF
49992 done
49994 else
49996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49997 $as_echo_n "checking for _modfl declaration... " >&6; }
49998 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49999 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50000 $as_echo_n "(cached) " >&6
50001 else
50004 ac_ext=cpp
50005 ac_cpp='$CXXCPP $CPPFLAGS'
50006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50011 /* end confdefs.h. */
50012 #include <math.h>
50014 main ()
50016 _modfl(0, 0);
50018 return 0;
50020 _ACEOF
50021 if ac_fn_cxx_try_compile "$LINENO"; then :
50022 glibcxx_cv_func__modfl_use=yes
50023 else
50024 glibcxx_cv_func__modfl_use=no
50026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50027 ac_ext=c
50028 ac_cpp='$CPP $CPPFLAGS'
50029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50038 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50040 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50041 for ac_func in _modfl
50042 do :
50043 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50044 if test "x$ac_cv_func__modfl" = x""yes; then :
50045 cat >>confdefs.h <<_ACEOF
50046 #define HAVE__MODFL 1
50047 _ACEOF
50050 done
50059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50060 $as_echo_n "checking for powl declaration... " >&6; }
50061 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50062 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50063 $as_echo_n "(cached) " >&6
50064 else
50067 ac_ext=cpp
50068 ac_cpp='$CXXCPP $CPPFLAGS'
50069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50074 /* end confdefs.h. */
50075 #include <math.h>
50077 main ()
50079 powl(0, 0);
50081 return 0;
50083 _ACEOF
50084 if ac_fn_cxx_try_compile "$LINENO"; then :
50085 glibcxx_cv_func_powl_use=yes
50086 else
50087 glibcxx_cv_func_powl_use=no
50089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50090 ac_ext=c
50091 ac_cpp='$CPP $CPPFLAGS'
50092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50101 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50103 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50104 for ac_func in powl
50105 do :
50106 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50107 if test "x$ac_cv_func_powl" = x""yes; then :
50108 cat >>confdefs.h <<_ACEOF
50109 #define HAVE_POWL 1
50110 _ACEOF
50113 done
50115 else
50117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50118 $as_echo_n "checking for _powl declaration... " >&6; }
50119 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50120 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50121 $as_echo_n "(cached) " >&6
50122 else
50125 ac_ext=cpp
50126 ac_cpp='$CXXCPP $CPPFLAGS'
50127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50132 /* end confdefs.h. */
50133 #include <math.h>
50135 main ()
50137 _powl(0, 0);
50139 return 0;
50141 _ACEOF
50142 if ac_fn_cxx_try_compile "$LINENO"; then :
50143 glibcxx_cv_func__powl_use=yes
50144 else
50145 glibcxx_cv_func__powl_use=no
50147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50148 ac_ext=c
50149 ac_cpp='$CPP $CPPFLAGS'
50150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50159 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50161 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50162 for ac_func in _powl
50163 do :
50164 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50165 if test "x$ac_cv_func__powl" = x""yes; then :
50166 cat >>confdefs.h <<_ACEOF
50167 #define HAVE__POWL 1
50168 _ACEOF
50171 done
50180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50181 $as_echo_n "checking for sqrtl declaration... " >&6; }
50182 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50183 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50184 $as_echo_n "(cached) " >&6
50185 else
50188 ac_ext=cpp
50189 ac_cpp='$CXXCPP $CPPFLAGS'
50190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50195 /* end confdefs.h. */
50196 #include <math.h>
50197 #ifdef HAVE_IEEEFP_H
50198 #include <ieeefp.h>
50199 #endif
50202 main ()
50204 sqrtl(0);
50206 return 0;
50208 _ACEOF
50209 if ac_fn_cxx_try_compile "$LINENO"; then :
50210 glibcxx_cv_func_sqrtl_use=yes
50211 else
50212 glibcxx_cv_func_sqrtl_use=no
50214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50215 ac_ext=c
50216 ac_cpp='$CPP $CPPFLAGS'
50217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50226 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50228 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50229 for ac_func in sqrtl
50230 do :
50231 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50232 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50233 cat >>confdefs.h <<_ACEOF
50234 #define HAVE_SQRTL 1
50235 _ACEOF
50238 done
50240 else
50242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50243 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50244 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50245 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50246 $as_echo_n "(cached) " >&6
50247 else
50250 ac_ext=cpp
50251 ac_cpp='$CXXCPP $CPPFLAGS'
50252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50257 /* end confdefs.h. */
50258 #include <math.h>
50259 #ifdef HAVE_IEEEFP_H
50260 #include <ieeefp.h>
50261 #endif
50264 main ()
50266 _sqrtl(0);
50268 return 0;
50270 _ACEOF
50271 if ac_fn_cxx_try_compile "$LINENO"; then :
50272 glibcxx_cv_func__sqrtl_use=yes
50273 else
50274 glibcxx_cv_func__sqrtl_use=no
50276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50277 ac_ext=c
50278 ac_cpp='$CPP $CPPFLAGS'
50279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50288 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50290 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50291 for ac_func in _sqrtl
50292 do :
50293 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50294 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50295 cat >>confdefs.h <<_ACEOF
50296 #define HAVE__SQRTL 1
50297 _ACEOF
50300 done
50309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50310 $as_echo_n "checking for sincosl declaration... " >&6; }
50311 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50312 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50313 $as_echo_n "(cached) " >&6
50314 else
50317 ac_ext=cpp
50318 ac_cpp='$CXXCPP $CPPFLAGS'
50319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50324 /* end confdefs.h. */
50325 #include <math.h>
50327 main ()
50329 sincosl(0, 0, 0);
50331 return 0;
50333 _ACEOF
50334 if ac_fn_cxx_try_compile "$LINENO"; then :
50335 glibcxx_cv_func_sincosl_use=yes
50336 else
50337 glibcxx_cv_func_sincosl_use=no
50339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50340 ac_ext=c
50341 ac_cpp='$CPP $CPPFLAGS'
50342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50351 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50353 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50354 for ac_func in sincosl
50355 do :
50356 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50357 if test "x$ac_cv_func_sincosl" = x""yes; then :
50358 cat >>confdefs.h <<_ACEOF
50359 #define HAVE_SINCOSL 1
50360 _ACEOF
50363 done
50365 else
50367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50368 $as_echo_n "checking for _sincosl declaration... " >&6; }
50369 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50370 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50371 $as_echo_n "(cached) " >&6
50372 else
50375 ac_ext=cpp
50376 ac_cpp='$CXXCPP $CPPFLAGS'
50377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50382 /* end confdefs.h. */
50383 #include <math.h>
50385 main ()
50387 _sincosl(0, 0, 0);
50389 return 0;
50391 _ACEOF
50392 if ac_fn_cxx_try_compile "$LINENO"; then :
50393 glibcxx_cv_func__sincosl_use=yes
50394 else
50395 glibcxx_cv_func__sincosl_use=no
50397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50398 ac_ext=c
50399 ac_cpp='$CPP $CPPFLAGS'
50400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50409 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50411 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50412 for ac_func in _sincosl
50413 do :
50414 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50415 if test "x$ac_cv_func__sincosl" = x""yes; then :
50416 cat >>confdefs.h <<_ACEOF
50417 #define HAVE__SINCOSL 1
50418 _ACEOF
50421 done
50430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50431 $as_echo_n "checking for finitel declaration... " >&6; }
50432 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50433 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50434 $as_echo_n "(cached) " >&6
50435 else
50438 ac_ext=cpp
50439 ac_cpp='$CXXCPP $CPPFLAGS'
50440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50445 /* end confdefs.h. */
50446 #include <math.h>
50447 #ifdef HAVE_IEEEFP_H
50448 #include <ieeefp.h>
50449 #endif
50452 main ()
50454 finitel(0);
50456 return 0;
50458 _ACEOF
50459 if ac_fn_cxx_try_compile "$LINENO"; then :
50460 glibcxx_cv_func_finitel_use=yes
50461 else
50462 glibcxx_cv_func_finitel_use=no
50464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50465 ac_ext=c
50466 ac_cpp='$CPP $CPPFLAGS'
50467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50476 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50478 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50479 for ac_func in finitel
50480 do :
50481 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50482 if test "x$ac_cv_func_finitel" = x""yes; then :
50483 cat >>confdefs.h <<_ACEOF
50484 #define HAVE_FINITEL 1
50485 _ACEOF
50488 done
50490 else
50492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50493 $as_echo_n "checking for _finitel declaration... " >&6; }
50494 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50495 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50496 $as_echo_n "(cached) " >&6
50497 else
50500 ac_ext=cpp
50501 ac_cpp='$CXXCPP $CPPFLAGS'
50502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50507 /* end confdefs.h. */
50508 #include <math.h>
50509 #ifdef HAVE_IEEEFP_H
50510 #include <ieeefp.h>
50511 #endif
50514 main ()
50516 _finitel(0);
50518 return 0;
50520 _ACEOF
50521 if ac_fn_cxx_try_compile "$LINENO"; then :
50522 glibcxx_cv_func__finitel_use=yes
50523 else
50524 glibcxx_cv_func__finitel_use=no
50526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50527 ac_ext=c
50528 ac_cpp='$CPP $CPPFLAGS'
50529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50538 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50540 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50541 for ac_func in _finitel
50542 do :
50543 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50544 if test "x$ac_cv_func__finitel" = x""yes; then :
50545 cat >>confdefs.h <<_ACEOF
50546 #define HAVE__FINITEL 1
50547 _ACEOF
50550 done
50558 LIBS="$ac_save_LIBS"
50559 CXXFLAGS="$ac_save_CXXFLAGS"
50562 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50563 ac_save_CXXFLAGS="$CXXFLAGS"
50564 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50568 $as_echo_n "checking for strtold declaration... " >&6; }
50569 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50570 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50571 $as_echo_n "(cached) " >&6
50572 else
50575 ac_ext=cpp
50576 ac_cpp='$CXXCPP $CPPFLAGS'
50577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50582 /* end confdefs.h. */
50583 #include <stdlib.h>
50585 main ()
50587 strtold(0, 0);
50589 return 0;
50591 _ACEOF
50592 if ac_fn_cxx_try_compile "$LINENO"; then :
50593 glibcxx_cv_func_strtold_use=yes
50594 else
50595 glibcxx_cv_func_strtold_use=no
50597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50598 ac_ext=c
50599 ac_cpp='$CPP $CPPFLAGS'
50600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50609 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50610 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50611 for ac_func in strtold
50612 do :
50613 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50614 if test "x$ac_cv_func_strtold" = x""yes; then :
50615 cat >>confdefs.h <<_ACEOF
50616 #define HAVE_STRTOLD 1
50617 _ACEOF
50620 done
50627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50628 $as_echo_n "checking for strtof declaration... " >&6; }
50629 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50630 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50631 $as_echo_n "(cached) " >&6
50632 else
50635 ac_ext=cpp
50636 ac_cpp='$CXXCPP $CPPFLAGS'
50637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50642 /* end confdefs.h. */
50643 #include <stdlib.h>
50645 main ()
50647 strtof(0, 0);
50649 return 0;
50651 _ACEOF
50652 if ac_fn_cxx_try_compile "$LINENO"; then :
50653 glibcxx_cv_func_strtof_use=yes
50654 else
50655 glibcxx_cv_func_strtof_use=no
50657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50658 ac_ext=c
50659 ac_cpp='$CPP $CPPFLAGS'
50660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50669 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50670 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50671 for ac_func in strtof
50672 do :
50673 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50674 if test "x$ac_cv_func_strtof" = x""yes; then :
50675 cat >>confdefs.h <<_ACEOF
50676 #define HAVE_STRTOF 1
50677 _ACEOF
50680 done
50687 CXXFLAGS="$ac_save_CXXFLAGS"
50689 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50693 # Check whether --enable-tls was given.
50694 if test "${enable_tls+set}" = set; then :
50695 enableval=$enable_tls;
50696 case "$enableval" in
50697 yes|no) ;;
50698 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50699 esac
50701 else
50702 enable_tls=yes
50706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50707 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50708 if test "${gcc_cv_have_tls+set}" = set; then :
50709 $as_echo_n "(cached) " >&6
50710 else
50712 if test "$cross_compiling" = yes; then :
50713 if test x$gcc_no_link = xyes; then
50714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50717 /* end confdefs.h. */
50718 __thread int a; int b; int main() { return a = b; }
50719 _ACEOF
50720 if ac_fn_c_try_link "$LINENO"; then :
50721 chktls_save_LDFLAGS="$LDFLAGS"
50722 case $host in
50723 *-*-linux*)
50724 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50726 esac
50727 chktls_save_CFLAGS="$CFLAGS"
50728 CFLAGS="-fPIC $CFLAGS"
50729 if test x$gcc_no_link = xyes; then
50730 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50733 /* end confdefs.h. */
50734 int f() { return 0; }
50735 _ACEOF
50736 if ac_fn_c_try_link "$LINENO"; then :
50737 if test x$gcc_no_link = xyes; then
50738 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50741 /* end confdefs.h. */
50742 __thread int a; int b; int f() { return a = b; }
50743 _ACEOF
50744 if ac_fn_c_try_link "$LINENO"; then :
50745 gcc_cv_have_tls=yes
50746 else
50747 gcc_cv_have_tls=no
50749 rm -f core conftest.err conftest.$ac_objext \
50750 conftest$ac_exeext conftest.$ac_ext
50751 else
50752 gcc_cv_have_tls=yes
50754 rm -f core conftest.err conftest.$ac_objext \
50755 conftest$ac_exeext conftest.$ac_ext
50756 CFLAGS="$chktls_save_CFLAGS"
50757 LDFLAGS="$chktls_save_LDFLAGS"
50758 else
50759 gcc_cv_have_tls=no
50761 rm -f core conftest.err conftest.$ac_objext \
50762 conftest$ac_exeext conftest.$ac_ext
50765 else
50766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50767 /* end confdefs.h. */
50768 __thread int a; int b; int main() { return a = b; }
50769 _ACEOF
50770 if ac_fn_c_try_run "$LINENO"; then :
50771 chktls_save_LDFLAGS="$LDFLAGS"
50772 LDFLAGS="-static $LDFLAGS"
50773 if test x$gcc_no_link = xyes; then
50774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50777 /* end confdefs.h. */
50778 int main() { return 0; }
50779 _ACEOF
50780 if ac_fn_c_try_link "$LINENO"; then :
50781 if test "$cross_compiling" = yes; then :
50782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50784 as_fn_error "cannot run test program while cross compiling
50785 See \`config.log' for more details." "$LINENO" 5; }
50786 else
50787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50788 /* end confdefs.h. */
50789 __thread int a; int b; int main() { return a = b; }
50790 _ACEOF
50791 if ac_fn_c_try_run "$LINENO"; then :
50792 gcc_cv_have_tls=yes
50793 else
50794 gcc_cv_have_tls=no
50796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50797 conftest.$ac_objext conftest.beam conftest.$ac_ext
50800 else
50801 gcc_cv_have_tls=yes
50803 rm -f core conftest.err conftest.$ac_objext \
50804 conftest$ac_exeext conftest.$ac_ext
50805 LDFLAGS="$chktls_save_LDFLAGS"
50806 if test $gcc_cv_have_tls = yes; then
50807 chktls_save_CFLAGS="$CFLAGS"
50808 thread_CFLAGS=failed
50809 for flag in '' '-pthread' '-lpthread'; do
50810 CFLAGS="$flag $chktls_save_CFLAGS"
50811 if test x$gcc_no_link = xyes; then
50812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50815 /* end confdefs.h. */
50816 #include <pthread.h>
50817 void *g(void *d) { return NULL; }
50819 main ()
50821 pthread_t t; pthread_create(&t,NULL,g,NULL);
50823 return 0;
50825 _ACEOF
50826 if ac_fn_c_try_link "$LINENO"; then :
50827 thread_CFLAGS="$flag"
50829 rm -f core conftest.err conftest.$ac_objext \
50830 conftest$ac_exeext conftest.$ac_ext
50831 if test "X$thread_CFLAGS" != Xfailed; then
50832 break
50834 done
50835 CFLAGS="$chktls_save_CFLAGS"
50836 if test "X$thread_CFLAGS" != Xfailed; then
50837 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50838 if test "$cross_compiling" = yes; then :
50839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50841 as_fn_error "cannot run test program while cross compiling
50842 See \`config.log' for more details." "$LINENO" 5; }
50843 else
50844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50845 /* end confdefs.h. */
50846 #include <pthread.h>
50847 __thread int a;
50848 static int *volatile a_in_other_thread;
50849 static void *
50850 thread_func (void *arg)
50852 a_in_other_thread = &a;
50853 return (void *)0;
50856 main ()
50858 pthread_t thread;
50859 void *thread_retval;
50860 int *volatile a_in_main_thread;
50861 a_in_main_thread = &a;
50862 if (pthread_create (&thread, (pthread_attr_t *)0,
50863 thread_func, (void *)0))
50864 return 0;
50865 if (pthread_join (thread, &thread_retval))
50866 return 0;
50867 return (a_in_other_thread == a_in_main_thread);
50869 return 0;
50871 _ACEOF
50872 if ac_fn_c_try_run "$LINENO"; then :
50873 gcc_cv_have_tls=yes
50874 else
50875 gcc_cv_have_tls=no
50877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50878 conftest.$ac_objext conftest.beam conftest.$ac_ext
50881 CFLAGS="$chktls_save_CFLAGS"
50884 else
50885 gcc_cv_have_tls=no
50887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50888 conftest.$ac_objext conftest.beam conftest.$ac_ext
50892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50893 $as_echo "$gcc_cv_have_tls" >&6; }
50894 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50896 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50904 am_save_CPPFLAGS="$CPPFLAGS"
50906 for element in $INCICONV; do
50907 haveit=
50908 for x in $CPPFLAGS; do
50910 acl_save_prefix="$prefix"
50911 prefix="$acl_final_prefix"
50912 acl_save_exec_prefix="$exec_prefix"
50913 exec_prefix="$acl_final_exec_prefix"
50914 eval x=\"$x\"
50915 exec_prefix="$acl_save_exec_prefix"
50916 prefix="$acl_save_prefix"
50918 if test "X$x" = "X$element"; then
50919 haveit=yes
50920 break
50922 done
50923 if test -z "$haveit"; then
50924 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50926 done
50929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50930 $as_echo_n "checking for iconv... " >&6; }
50931 if test "${am_cv_func_iconv+set}" = set; then :
50932 $as_echo_n "(cached) " >&6
50933 else
50935 am_cv_func_iconv="no, consider installing GNU libiconv"
50936 am_cv_lib_iconv=no
50937 if test x$gcc_no_link = xyes; then
50938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50941 /* end confdefs.h. */
50942 #include <stdlib.h>
50943 #include <iconv.h>
50945 main ()
50947 iconv_t cd = iconv_open("","");
50948 iconv(cd,NULL,NULL,NULL,NULL);
50949 iconv_close(cd);
50951 return 0;
50953 _ACEOF
50954 if ac_fn_c_try_link "$LINENO"; then :
50955 am_cv_func_iconv=yes
50957 rm -f core conftest.err conftest.$ac_objext \
50958 conftest$ac_exeext conftest.$ac_ext
50959 if test "$am_cv_func_iconv" != yes; then
50960 am_save_LIBS="$LIBS"
50961 LIBS="$LIBS $LIBICONV"
50962 if test x$gcc_no_link = xyes; then
50963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50966 /* end confdefs.h. */
50967 #include <stdlib.h>
50968 #include <iconv.h>
50970 main ()
50972 iconv_t cd = iconv_open("","");
50973 iconv(cd,NULL,NULL,NULL,NULL);
50974 iconv_close(cd);
50976 return 0;
50978 _ACEOF
50979 if ac_fn_c_try_link "$LINENO"; then :
50980 am_cv_lib_iconv=yes
50981 am_cv_func_iconv=yes
50983 rm -f core conftest.err conftest.$ac_objext \
50984 conftest$ac_exeext conftest.$ac_ext
50985 LIBS="$am_save_LIBS"
50989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50990 $as_echo "$am_cv_func_iconv" >&6; }
50991 if test "$am_cv_func_iconv" = yes; then
50993 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50996 if test "$am_cv_lib_iconv" = yes; then
50997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50998 $as_echo_n "checking how to link with libiconv... " >&6; }
50999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51000 $as_echo "$LIBICONV" >&6; }
51001 else
51002 CPPFLAGS="$am_save_CPPFLAGS"
51003 LIBICONV=
51004 LTLIBICONV=
51009 if test "$am_cv_func_iconv" = yes; then
51010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51011 $as_echo_n "checking for iconv declaration... " >&6; }
51012 if test "${am_cv_proto_iconv+set}" = set; then :
51013 $as_echo_n "(cached) " >&6
51014 else
51016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51017 /* end confdefs.h. */
51019 #include <stdlib.h>
51020 #include <iconv.h>
51021 extern
51022 #ifdef __cplusplus
51024 #endif
51025 #if defined(__STDC__) || defined(__cplusplus)
51026 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51027 #else
51028 size_t iconv();
51029 #endif
51032 main ()
51036 return 0;
51038 _ACEOF
51039 if ac_fn_c_try_compile "$LINENO"; then :
51040 am_cv_proto_iconv_arg1=""
51041 else
51042 am_cv_proto_iconv_arg1="const"
51044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51045 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);"
51048 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51050 }$am_cv_proto_iconv" >&5
51051 $as_echo "${ac_t:-
51052 }$am_cv_proto_iconv" >&6; }
51054 cat >>confdefs.h <<_ACEOF
51055 #define ICONV_CONST $am_cv_proto_iconv_arg1
51056 _ACEOF
51061 *-mingw32*)
51063 # If we're not using GNU ld, then there's no point in even trying these
51064 # tests. Check for that first. We should have already tested for gld
51065 # by now (in libtool), but require it now just to be safe...
51066 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51067 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51071 # The name set by libtool depends on the version of libtool. Shame on us
51072 # for depending on an impl detail, but c'est la vie. Older versions used
51073 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51074 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51075 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51076 # set (hence we're using an older libtool), then set it.
51077 if test x${with_gnu_ld+set} != xset; then
51078 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51079 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51080 with_gnu_ld=no
51081 else
51082 with_gnu_ld=$ac_cv_prog_gnu_ld
51086 # Start by getting the version number. I think the libtool test already
51087 # does some of this, but throws away the result.
51088 glibcxx_ld_is_gold=no
51089 if test x"$with_gnu_ld" = x"yes"; then
51090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51091 $as_echo_n "checking for ld version... " >&6; }
51093 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51094 glibcxx_ld_is_gold=yes
51096 ldver=`$LD --version 2>/dev/null |
51097 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'`
51099 glibcxx_gnu_ld_version=`echo $ldver | \
51100 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51102 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51105 # Set --gc-sections.
51106 glibcxx_have_gc_sections=no
51107 if test "$glibcxx_ld_is_gold" = "yes"; then
51108 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51109 glibcxx_have_gc_sections=yes
51111 else
51112 glibcxx_gcsections_min_ld=21602
51113 if test x"$with_gnu_ld" = x"yes" &&
51114 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51115 glibcxx_have_gc_sections=yes
51118 if test "$glibcxx_have_gc_sections" = "yes"; then
51119 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51120 # NB: This flag only works reliably after 2.16.1. Configure tests
51121 # for this are difficult, so hard wire a value that should work.
51123 ac_test_CFLAGS="${CFLAGS+set}"
51124 ac_save_CFLAGS="$CFLAGS"
51125 CFLAGS='-Wl,--gc-sections'
51127 # Check for -Wl,--gc-sections
51128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51129 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51130 if test x$gcc_no_link = xyes; then
51131 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51134 /* end confdefs.h. */
51135 int one(void) { return 1; }
51136 int two(void) { return 2; }
51139 main ()
51141 two();
51143 return 0;
51145 _ACEOF
51146 if ac_fn_c_try_link "$LINENO"; then :
51147 ac_gcsections=yes
51148 else
51149 ac_gcsections=no
51151 rm -f core conftest.err conftest.$ac_objext \
51152 conftest$ac_exeext conftest.$ac_ext
51153 if test "$ac_gcsections" = "yes"; then
51154 rm -f conftest.c
51155 touch conftest.c
51156 if $CC -c conftest.c; then
51157 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51158 grep "Warning: gc-sections option ignored" > /dev/null; then
51159 ac_gcsections=no
51162 rm -f conftest.c conftest.o conftest
51164 if test "$ac_gcsections" = "yes"; then
51165 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51168 $as_echo "$ac_gcsections" >&6; }
51170 if test "$ac_test_CFLAGS" = set; then
51171 CFLAGS="$ac_save_CFLAGS"
51172 else
51173 # this is the suspicious part
51174 CFLAGS=''
51178 # Set -z,relro.
51179 # Note this is only for shared objects.
51180 ac_ld_relro=no
51181 if test x"$with_gnu_ld" = x"yes"; then
51182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51183 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51184 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51185 if test -n "$cxx_z_relo"; then
51186 OPT_LDFLAGS="-Wl,-z,relro"
51187 ac_ld_relro=yes
51189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51190 $as_echo "$ac_ld_relro" >&6; }
51193 # Set linker optimization flags.
51194 if test x"$with_gnu_ld" = x"yes"; then
51195 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51202 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51203 ac_save_CXXFLAGS="$CXXFLAGS"
51204 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51207 $as_echo_n "checking for sin in -lm... " >&6; }
51208 if test "${ac_cv_lib_m_sin+set}" = set; then :
51209 $as_echo_n "(cached) " >&6
51210 else
51211 ac_check_lib_save_LIBS=$LIBS
51212 LIBS="-lm $LIBS"
51213 if test x$gcc_no_link = xyes; then
51214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51217 /* end confdefs.h. */
51219 /* Override any GCC internal prototype to avoid an error.
51220 Use char because int might match the return type of a GCC
51221 builtin and then its argument prototype would still apply. */
51222 #ifdef __cplusplus
51223 extern "C"
51224 #endif
51225 char sin ();
51227 main ()
51229 return sin ();
51231 return 0;
51233 _ACEOF
51234 if ac_fn_c_try_link "$LINENO"; then :
51235 ac_cv_lib_m_sin=yes
51236 else
51237 ac_cv_lib_m_sin=no
51239 rm -f core conftest.err conftest.$ac_objext \
51240 conftest$ac_exeext conftest.$ac_ext
51241 LIBS=$ac_check_lib_save_LIBS
51243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51244 $as_echo "$ac_cv_lib_m_sin" >&6; }
51245 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51246 libm="-lm"
51249 ac_save_LIBS="$LIBS"
51250 LIBS="$LIBS $libm"
51254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51255 $as_echo_n "checking for isinf declaration... " >&6; }
51256 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51257 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51258 $as_echo_n "(cached) " >&6
51259 else
51262 ac_ext=cpp
51263 ac_cpp='$CXXCPP $CPPFLAGS'
51264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51269 /* end confdefs.h. */
51270 #include <math.h>
51271 #ifdef HAVE_IEEEFP_H
51272 #include <ieeefp.h>
51273 #endif
51276 main ()
51278 isinf(0);
51280 return 0;
51282 _ACEOF
51283 if ac_fn_cxx_try_compile "$LINENO"; then :
51284 glibcxx_cv_func_isinf_use=yes
51285 else
51286 glibcxx_cv_func_isinf_use=no
51288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51289 ac_ext=c
51290 ac_cpp='$CPP $CPPFLAGS'
51291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51300 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51302 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51303 for ac_func in isinf
51304 do :
51305 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51306 if test "x$ac_cv_func_isinf" = x""yes; then :
51307 cat >>confdefs.h <<_ACEOF
51308 #define HAVE_ISINF 1
51309 _ACEOF
51312 done
51314 else
51316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51317 $as_echo_n "checking for _isinf declaration... " >&6; }
51318 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51319 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51320 $as_echo_n "(cached) " >&6
51321 else
51324 ac_ext=cpp
51325 ac_cpp='$CXXCPP $CPPFLAGS'
51326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51331 /* end confdefs.h. */
51332 #include <math.h>
51333 #ifdef HAVE_IEEEFP_H
51334 #include <ieeefp.h>
51335 #endif
51338 main ()
51340 _isinf(0);
51342 return 0;
51344 _ACEOF
51345 if ac_fn_cxx_try_compile "$LINENO"; then :
51346 glibcxx_cv_func__isinf_use=yes
51347 else
51348 glibcxx_cv_func__isinf_use=no
51350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51351 ac_ext=c
51352 ac_cpp='$CPP $CPPFLAGS'
51353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51362 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51364 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51365 for ac_func in _isinf
51366 do :
51367 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51368 if test "x$ac_cv_func__isinf" = x""yes; then :
51369 cat >>confdefs.h <<_ACEOF
51370 #define HAVE__ISINF 1
51371 _ACEOF
51374 done
51383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51384 $as_echo_n "checking for isnan declaration... " >&6; }
51385 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51386 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51387 $as_echo_n "(cached) " >&6
51388 else
51391 ac_ext=cpp
51392 ac_cpp='$CXXCPP $CPPFLAGS'
51393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51398 /* end confdefs.h. */
51399 #include <math.h>
51400 #ifdef HAVE_IEEEFP_H
51401 #include <ieeefp.h>
51402 #endif
51405 main ()
51407 isnan(0);
51409 return 0;
51411 _ACEOF
51412 if ac_fn_cxx_try_compile "$LINENO"; then :
51413 glibcxx_cv_func_isnan_use=yes
51414 else
51415 glibcxx_cv_func_isnan_use=no
51417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51418 ac_ext=c
51419 ac_cpp='$CPP $CPPFLAGS'
51420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51429 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51431 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51432 for ac_func in isnan
51433 do :
51434 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51435 if test "x$ac_cv_func_isnan" = x""yes; then :
51436 cat >>confdefs.h <<_ACEOF
51437 #define HAVE_ISNAN 1
51438 _ACEOF
51441 done
51443 else
51445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51446 $as_echo_n "checking for _isnan declaration... " >&6; }
51447 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51448 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51449 $as_echo_n "(cached) " >&6
51450 else
51453 ac_ext=cpp
51454 ac_cpp='$CXXCPP $CPPFLAGS'
51455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51460 /* end confdefs.h. */
51461 #include <math.h>
51462 #ifdef HAVE_IEEEFP_H
51463 #include <ieeefp.h>
51464 #endif
51467 main ()
51469 _isnan(0);
51471 return 0;
51473 _ACEOF
51474 if ac_fn_cxx_try_compile "$LINENO"; then :
51475 glibcxx_cv_func__isnan_use=yes
51476 else
51477 glibcxx_cv_func__isnan_use=no
51479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51480 ac_ext=c
51481 ac_cpp='$CPP $CPPFLAGS'
51482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51491 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51493 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51494 for ac_func in _isnan
51495 do :
51496 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51497 if test "x$ac_cv_func__isnan" = x""yes; then :
51498 cat >>confdefs.h <<_ACEOF
51499 #define HAVE__ISNAN 1
51500 _ACEOF
51503 done
51512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51513 $as_echo_n "checking for finite declaration... " >&6; }
51514 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51515 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51516 $as_echo_n "(cached) " >&6
51517 else
51520 ac_ext=cpp
51521 ac_cpp='$CXXCPP $CPPFLAGS'
51522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51527 /* end confdefs.h. */
51528 #include <math.h>
51529 #ifdef HAVE_IEEEFP_H
51530 #include <ieeefp.h>
51531 #endif
51534 main ()
51536 finite(0);
51538 return 0;
51540 _ACEOF
51541 if ac_fn_cxx_try_compile "$LINENO"; then :
51542 glibcxx_cv_func_finite_use=yes
51543 else
51544 glibcxx_cv_func_finite_use=no
51546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51547 ac_ext=c
51548 ac_cpp='$CPP $CPPFLAGS'
51549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51558 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51560 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51561 for ac_func in finite
51562 do :
51563 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51564 if test "x$ac_cv_func_finite" = x""yes; then :
51565 cat >>confdefs.h <<_ACEOF
51566 #define HAVE_FINITE 1
51567 _ACEOF
51570 done
51572 else
51574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51575 $as_echo_n "checking for _finite declaration... " >&6; }
51576 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51577 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51578 $as_echo_n "(cached) " >&6
51579 else
51582 ac_ext=cpp
51583 ac_cpp='$CXXCPP $CPPFLAGS'
51584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51589 /* end confdefs.h. */
51590 #include <math.h>
51591 #ifdef HAVE_IEEEFP_H
51592 #include <ieeefp.h>
51593 #endif
51596 main ()
51598 _finite(0);
51600 return 0;
51602 _ACEOF
51603 if ac_fn_cxx_try_compile "$LINENO"; then :
51604 glibcxx_cv_func__finite_use=yes
51605 else
51606 glibcxx_cv_func__finite_use=no
51608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51609 ac_ext=c
51610 ac_cpp='$CPP $CPPFLAGS'
51611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51620 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51622 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51623 for ac_func in _finite
51624 do :
51625 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51626 if test "x$ac_cv_func__finite" = x""yes; then :
51627 cat >>confdefs.h <<_ACEOF
51628 #define HAVE__FINITE 1
51629 _ACEOF
51632 done
51641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51642 $as_echo_n "checking for sincos declaration... " >&6; }
51643 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51644 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51645 $as_echo_n "(cached) " >&6
51646 else
51649 ac_ext=cpp
51650 ac_cpp='$CXXCPP $CPPFLAGS'
51651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51656 /* end confdefs.h. */
51657 #include <math.h>
51659 main ()
51661 sincos(0, 0, 0);
51663 return 0;
51665 _ACEOF
51666 if ac_fn_cxx_try_compile "$LINENO"; then :
51667 glibcxx_cv_func_sincos_use=yes
51668 else
51669 glibcxx_cv_func_sincos_use=no
51671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51672 ac_ext=c
51673 ac_cpp='$CPP $CPPFLAGS'
51674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51683 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51685 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51686 for ac_func in sincos
51687 do :
51688 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51689 if test "x$ac_cv_func_sincos" = x""yes; then :
51690 cat >>confdefs.h <<_ACEOF
51691 #define HAVE_SINCOS 1
51692 _ACEOF
51695 done
51697 else
51699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51700 $as_echo_n "checking for _sincos declaration... " >&6; }
51701 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51702 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51703 $as_echo_n "(cached) " >&6
51704 else
51707 ac_ext=cpp
51708 ac_cpp='$CXXCPP $CPPFLAGS'
51709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51714 /* end confdefs.h. */
51715 #include <math.h>
51717 main ()
51719 _sincos(0, 0, 0);
51721 return 0;
51723 _ACEOF
51724 if ac_fn_cxx_try_compile "$LINENO"; then :
51725 glibcxx_cv_func__sincos_use=yes
51726 else
51727 glibcxx_cv_func__sincos_use=no
51729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51730 ac_ext=c
51731 ac_cpp='$CPP $CPPFLAGS'
51732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51741 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51743 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51744 for ac_func in _sincos
51745 do :
51746 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51747 if test "x$ac_cv_func__sincos" = x""yes; then :
51748 cat >>confdefs.h <<_ACEOF
51749 #define HAVE__SINCOS 1
51750 _ACEOF
51753 done
51762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51763 $as_echo_n "checking for fpclass declaration... " >&6; }
51764 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51765 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51766 $as_echo_n "(cached) " >&6
51767 else
51770 ac_ext=cpp
51771 ac_cpp='$CXXCPP $CPPFLAGS'
51772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51777 /* end confdefs.h. */
51778 #include <math.h>
51779 #ifdef HAVE_IEEEFP_H
51780 #include <ieeefp.h>
51781 #endif
51784 main ()
51786 fpclass(0);
51788 return 0;
51790 _ACEOF
51791 if ac_fn_cxx_try_compile "$LINENO"; then :
51792 glibcxx_cv_func_fpclass_use=yes
51793 else
51794 glibcxx_cv_func_fpclass_use=no
51796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51797 ac_ext=c
51798 ac_cpp='$CPP $CPPFLAGS'
51799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51808 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51810 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51811 for ac_func in fpclass
51812 do :
51813 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51814 if test "x$ac_cv_func_fpclass" = x""yes; then :
51815 cat >>confdefs.h <<_ACEOF
51816 #define HAVE_FPCLASS 1
51817 _ACEOF
51820 done
51822 else
51824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51825 $as_echo_n "checking for _fpclass declaration... " >&6; }
51826 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51827 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51828 $as_echo_n "(cached) " >&6
51829 else
51832 ac_ext=cpp
51833 ac_cpp='$CXXCPP $CPPFLAGS'
51834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51839 /* end confdefs.h. */
51840 #include <math.h>
51841 #ifdef HAVE_IEEEFP_H
51842 #include <ieeefp.h>
51843 #endif
51846 main ()
51848 _fpclass(0);
51850 return 0;
51852 _ACEOF
51853 if ac_fn_cxx_try_compile "$LINENO"; then :
51854 glibcxx_cv_func__fpclass_use=yes
51855 else
51856 glibcxx_cv_func__fpclass_use=no
51858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51859 ac_ext=c
51860 ac_cpp='$CPP $CPPFLAGS'
51861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51870 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51872 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51873 for ac_func in _fpclass
51874 do :
51875 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51876 if test "x$ac_cv_func__fpclass" = x""yes; then :
51877 cat >>confdefs.h <<_ACEOF
51878 #define HAVE__FPCLASS 1
51879 _ACEOF
51882 done
51891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51892 $as_echo_n "checking for qfpclass declaration... " >&6; }
51893 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51894 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51895 $as_echo_n "(cached) " >&6
51896 else
51899 ac_ext=cpp
51900 ac_cpp='$CXXCPP $CPPFLAGS'
51901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51906 /* end confdefs.h. */
51907 #include <math.h>
51908 #ifdef HAVE_IEEEFP_H
51909 #include <ieeefp.h>
51910 #endif
51913 main ()
51915 qfpclass(0);
51917 return 0;
51919 _ACEOF
51920 if ac_fn_cxx_try_compile "$LINENO"; then :
51921 glibcxx_cv_func_qfpclass_use=yes
51922 else
51923 glibcxx_cv_func_qfpclass_use=no
51925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51926 ac_ext=c
51927 ac_cpp='$CPP $CPPFLAGS'
51928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51937 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51939 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51940 for ac_func in qfpclass
51941 do :
51942 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51943 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51944 cat >>confdefs.h <<_ACEOF
51945 #define HAVE_QFPCLASS 1
51946 _ACEOF
51949 done
51951 else
51953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51954 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51955 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51956 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51957 $as_echo_n "(cached) " >&6
51958 else
51961 ac_ext=cpp
51962 ac_cpp='$CXXCPP $CPPFLAGS'
51963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51968 /* end confdefs.h. */
51969 #include <math.h>
51970 #ifdef HAVE_IEEEFP_H
51971 #include <ieeefp.h>
51972 #endif
51975 main ()
51977 _qfpclass(0);
51979 return 0;
51981 _ACEOF
51982 if ac_fn_cxx_try_compile "$LINENO"; then :
51983 glibcxx_cv_func__qfpclass_use=yes
51984 else
51985 glibcxx_cv_func__qfpclass_use=no
51987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51988 ac_ext=c
51989 ac_cpp='$CPP $CPPFLAGS'
51990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51999 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52001 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52002 for ac_func in _qfpclass
52003 do :
52004 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52005 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52006 cat >>confdefs.h <<_ACEOF
52007 #define HAVE__QFPCLASS 1
52008 _ACEOF
52011 done
52020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52021 $as_echo_n "checking for hypot declaration... " >&6; }
52022 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52023 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52024 $as_echo_n "(cached) " >&6
52025 else
52028 ac_ext=cpp
52029 ac_cpp='$CXXCPP $CPPFLAGS'
52030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52035 /* end confdefs.h. */
52036 #include <math.h>
52038 main ()
52040 hypot(0, 0);
52042 return 0;
52044 _ACEOF
52045 if ac_fn_cxx_try_compile "$LINENO"; then :
52046 glibcxx_cv_func_hypot_use=yes
52047 else
52048 glibcxx_cv_func_hypot_use=no
52050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52051 ac_ext=c
52052 ac_cpp='$CPP $CPPFLAGS'
52053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52062 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52064 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52065 for ac_func in hypot
52066 do :
52067 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52068 if test "x$ac_cv_func_hypot" = x""yes; then :
52069 cat >>confdefs.h <<_ACEOF
52070 #define HAVE_HYPOT 1
52071 _ACEOF
52074 done
52076 else
52078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52079 $as_echo_n "checking for _hypot declaration... " >&6; }
52080 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52081 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52082 $as_echo_n "(cached) " >&6
52083 else
52086 ac_ext=cpp
52087 ac_cpp='$CXXCPP $CPPFLAGS'
52088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52093 /* end confdefs.h. */
52094 #include <math.h>
52096 main ()
52098 _hypot(0, 0);
52100 return 0;
52102 _ACEOF
52103 if ac_fn_cxx_try_compile "$LINENO"; then :
52104 glibcxx_cv_func__hypot_use=yes
52105 else
52106 glibcxx_cv_func__hypot_use=no
52108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52109 ac_ext=c
52110 ac_cpp='$CPP $CPPFLAGS'
52111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52120 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52122 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52123 for ac_func in _hypot
52124 do :
52125 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52126 if test "x$ac_cv_func__hypot" = x""yes; then :
52127 cat >>confdefs.h <<_ACEOF
52128 #define HAVE__HYPOT 1
52129 _ACEOF
52132 done
52141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52142 $as_echo_n "checking for float trig functions... " >&6; }
52143 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52144 $as_echo_n "(cached) " >&6
52145 else
52148 ac_ext=cpp
52149 ac_cpp='$CXXCPP $CPPFLAGS'
52150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52155 /* end confdefs.h. */
52156 #include <math.h>
52158 main ()
52160 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52162 return 0;
52164 _ACEOF
52165 if ac_fn_cxx_try_compile "$LINENO"; then :
52166 glibcxx_cv_func_float_trig_use=yes
52167 else
52168 glibcxx_cv_func_float_trig_use=no
52170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52171 ac_ext=c
52172 ac_cpp='$CPP $CPPFLAGS'
52173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52180 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52181 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52182 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52183 do :
52184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52186 eval as_val=\$$as_ac_var
52187 if test "x$as_val" = x""yes; then :
52188 cat >>confdefs.h <<_ACEOF
52189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52190 _ACEOF
52193 done
52195 else
52196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52197 $as_echo_n "checking for _float trig functions... " >&6; }
52198 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52199 $as_echo_n "(cached) " >&6
52200 else
52203 ac_ext=cpp
52204 ac_cpp='$CXXCPP $CPPFLAGS'
52205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52210 /* end confdefs.h. */
52211 #include <math.h>
52213 main ()
52215 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52217 return 0;
52219 _ACEOF
52220 if ac_fn_cxx_try_compile "$LINENO"; then :
52221 glibcxx_cv_func__float_trig_use=yes
52222 else
52223 glibcxx_cv_func__float_trig_use=no
52225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52226 ac_ext=c
52227 ac_cpp='$CPP $CPPFLAGS'
52228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52235 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52236 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52237 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52238 do :
52239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52241 eval as_val=\$$as_ac_var
52242 if test "x$as_val" = x""yes; then :
52243 cat >>confdefs.h <<_ACEOF
52244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52245 _ACEOF
52248 done
52257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52258 $as_echo_n "checking for float round functions... " >&6; }
52259 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52260 $as_echo_n "(cached) " >&6
52261 else
52264 ac_ext=cpp
52265 ac_cpp='$CXXCPP $CPPFLAGS'
52266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52271 /* end confdefs.h. */
52272 #include <math.h>
52274 main ()
52276 ceilf (0); floorf (0);
52278 return 0;
52280 _ACEOF
52281 if ac_fn_cxx_try_compile "$LINENO"; then :
52282 glibcxx_cv_func_float_round_use=yes
52283 else
52284 glibcxx_cv_func_float_round_use=no
52286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52287 ac_ext=c
52288 ac_cpp='$CPP $CPPFLAGS'
52289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52296 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52297 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52298 for ac_func in ceilf floorf
52299 do :
52300 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52302 eval as_val=\$$as_ac_var
52303 if test "x$as_val" = x""yes; then :
52304 cat >>confdefs.h <<_ACEOF
52305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52306 _ACEOF
52309 done
52311 else
52312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52313 $as_echo_n "checking for _float round functions... " >&6; }
52314 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52315 $as_echo_n "(cached) " >&6
52316 else
52319 ac_ext=cpp
52320 ac_cpp='$CXXCPP $CPPFLAGS'
52321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52326 /* end confdefs.h. */
52327 #include <math.h>
52329 main ()
52331 _ceilf (0); _floorf (0);
52333 return 0;
52335 _ACEOF
52336 if ac_fn_cxx_try_compile "$LINENO"; then :
52337 glibcxx_cv_func__float_round_use=yes
52338 else
52339 glibcxx_cv_func__float_round_use=no
52341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52342 ac_ext=c
52343 ac_cpp='$CPP $CPPFLAGS'
52344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52351 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52352 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52353 for ac_func in _ceilf _floorf
52354 do :
52355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52357 eval as_val=\$$as_ac_var
52358 if test "x$as_val" = x""yes; then :
52359 cat >>confdefs.h <<_ACEOF
52360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52361 _ACEOF
52364 done
52374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52375 $as_echo_n "checking for expf declaration... " >&6; }
52376 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52377 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52378 $as_echo_n "(cached) " >&6
52379 else
52382 ac_ext=cpp
52383 ac_cpp='$CXXCPP $CPPFLAGS'
52384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52389 /* end confdefs.h. */
52390 #include <math.h>
52391 #ifdef HAVE_IEEEFP_H
52392 #include <ieeefp.h>
52393 #endif
52396 main ()
52398 expf(0);
52400 return 0;
52402 _ACEOF
52403 if ac_fn_cxx_try_compile "$LINENO"; then :
52404 glibcxx_cv_func_expf_use=yes
52405 else
52406 glibcxx_cv_func_expf_use=no
52408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52409 ac_ext=c
52410 ac_cpp='$CPP $CPPFLAGS'
52411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52420 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52422 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52423 for ac_func in expf
52424 do :
52425 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52426 if test "x$ac_cv_func_expf" = x""yes; then :
52427 cat >>confdefs.h <<_ACEOF
52428 #define HAVE_EXPF 1
52429 _ACEOF
52432 done
52434 else
52436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52437 $as_echo_n "checking for _expf declaration... " >&6; }
52438 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52439 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52440 $as_echo_n "(cached) " >&6
52441 else
52444 ac_ext=cpp
52445 ac_cpp='$CXXCPP $CPPFLAGS'
52446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52451 /* end confdefs.h. */
52452 #include <math.h>
52453 #ifdef HAVE_IEEEFP_H
52454 #include <ieeefp.h>
52455 #endif
52458 main ()
52460 _expf(0);
52462 return 0;
52464 _ACEOF
52465 if ac_fn_cxx_try_compile "$LINENO"; then :
52466 glibcxx_cv_func__expf_use=yes
52467 else
52468 glibcxx_cv_func__expf_use=no
52470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52471 ac_ext=c
52472 ac_cpp='$CPP $CPPFLAGS'
52473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52482 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52484 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52485 for ac_func in _expf
52486 do :
52487 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52488 if test "x$ac_cv_func__expf" = x""yes; then :
52489 cat >>confdefs.h <<_ACEOF
52490 #define HAVE__EXPF 1
52491 _ACEOF
52494 done
52503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52504 $as_echo_n "checking for isnanf declaration... " >&6; }
52505 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52506 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52507 $as_echo_n "(cached) " >&6
52508 else
52511 ac_ext=cpp
52512 ac_cpp='$CXXCPP $CPPFLAGS'
52513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52518 /* end confdefs.h. */
52519 #include <math.h>
52520 #ifdef HAVE_IEEEFP_H
52521 #include <ieeefp.h>
52522 #endif
52525 main ()
52527 isnanf(0);
52529 return 0;
52531 _ACEOF
52532 if ac_fn_cxx_try_compile "$LINENO"; then :
52533 glibcxx_cv_func_isnanf_use=yes
52534 else
52535 glibcxx_cv_func_isnanf_use=no
52537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52538 ac_ext=c
52539 ac_cpp='$CPP $CPPFLAGS'
52540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52549 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52551 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52552 for ac_func in isnanf
52553 do :
52554 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52555 if test "x$ac_cv_func_isnanf" = x""yes; then :
52556 cat >>confdefs.h <<_ACEOF
52557 #define HAVE_ISNANF 1
52558 _ACEOF
52561 done
52563 else
52565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52566 $as_echo_n "checking for _isnanf declaration... " >&6; }
52567 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52568 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52569 $as_echo_n "(cached) " >&6
52570 else
52573 ac_ext=cpp
52574 ac_cpp='$CXXCPP $CPPFLAGS'
52575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52580 /* end confdefs.h. */
52581 #include <math.h>
52582 #ifdef HAVE_IEEEFP_H
52583 #include <ieeefp.h>
52584 #endif
52587 main ()
52589 _isnanf(0);
52591 return 0;
52593 _ACEOF
52594 if ac_fn_cxx_try_compile "$LINENO"; then :
52595 glibcxx_cv_func__isnanf_use=yes
52596 else
52597 glibcxx_cv_func__isnanf_use=no
52599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52600 ac_ext=c
52601 ac_cpp='$CPP $CPPFLAGS'
52602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52611 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52613 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52614 for ac_func in _isnanf
52615 do :
52616 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52617 if test "x$ac_cv_func__isnanf" = x""yes; then :
52618 cat >>confdefs.h <<_ACEOF
52619 #define HAVE__ISNANF 1
52620 _ACEOF
52623 done
52632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52633 $as_echo_n "checking for isinff declaration... " >&6; }
52634 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52635 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52636 $as_echo_n "(cached) " >&6
52637 else
52640 ac_ext=cpp
52641 ac_cpp='$CXXCPP $CPPFLAGS'
52642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52647 /* end confdefs.h. */
52648 #include <math.h>
52649 #ifdef HAVE_IEEEFP_H
52650 #include <ieeefp.h>
52651 #endif
52654 main ()
52656 isinff(0);
52658 return 0;
52660 _ACEOF
52661 if ac_fn_cxx_try_compile "$LINENO"; then :
52662 glibcxx_cv_func_isinff_use=yes
52663 else
52664 glibcxx_cv_func_isinff_use=no
52666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52667 ac_ext=c
52668 ac_cpp='$CPP $CPPFLAGS'
52669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52678 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52680 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52681 for ac_func in isinff
52682 do :
52683 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52684 if test "x$ac_cv_func_isinff" = x""yes; then :
52685 cat >>confdefs.h <<_ACEOF
52686 #define HAVE_ISINFF 1
52687 _ACEOF
52690 done
52692 else
52694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52695 $as_echo_n "checking for _isinff declaration... " >&6; }
52696 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52697 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52698 $as_echo_n "(cached) " >&6
52699 else
52702 ac_ext=cpp
52703 ac_cpp='$CXXCPP $CPPFLAGS'
52704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52709 /* end confdefs.h. */
52710 #include <math.h>
52711 #ifdef HAVE_IEEEFP_H
52712 #include <ieeefp.h>
52713 #endif
52716 main ()
52718 _isinff(0);
52720 return 0;
52722 _ACEOF
52723 if ac_fn_cxx_try_compile "$LINENO"; then :
52724 glibcxx_cv_func__isinff_use=yes
52725 else
52726 glibcxx_cv_func__isinff_use=no
52728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52729 ac_ext=c
52730 ac_cpp='$CPP $CPPFLAGS'
52731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52740 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52742 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52743 for ac_func in _isinff
52744 do :
52745 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52746 if test "x$ac_cv_func__isinff" = x""yes; then :
52747 cat >>confdefs.h <<_ACEOF
52748 #define HAVE__ISINFF 1
52749 _ACEOF
52752 done
52761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52762 $as_echo_n "checking for atan2f declaration... " >&6; }
52763 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52764 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52765 $as_echo_n "(cached) " >&6
52766 else
52769 ac_ext=cpp
52770 ac_cpp='$CXXCPP $CPPFLAGS'
52771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52776 /* end confdefs.h. */
52777 #include <math.h>
52779 main ()
52781 atan2f(0, 0);
52783 return 0;
52785 _ACEOF
52786 if ac_fn_cxx_try_compile "$LINENO"; then :
52787 glibcxx_cv_func_atan2f_use=yes
52788 else
52789 glibcxx_cv_func_atan2f_use=no
52791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52792 ac_ext=c
52793 ac_cpp='$CPP $CPPFLAGS'
52794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52803 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52805 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52806 for ac_func in atan2f
52807 do :
52808 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52809 if test "x$ac_cv_func_atan2f" = x""yes; then :
52810 cat >>confdefs.h <<_ACEOF
52811 #define HAVE_ATAN2F 1
52812 _ACEOF
52815 done
52817 else
52819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52820 $as_echo_n "checking for _atan2f declaration... " >&6; }
52821 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52822 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52823 $as_echo_n "(cached) " >&6
52824 else
52827 ac_ext=cpp
52828 ac_cpp='$CXXCPP $CPPFLAGS'
52829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52834 /* end confdefs.h. */
52835 #include <math.h>
52837 main ()
52839 _atan2f(0, 0);
52841 return 0;
52843 _ACEOF
52844 if ac_fn_cxx_try_compile "$LINENO"; then :
52845 glibcxx_cv_func__atan2f_use=yes
52846 else
52847 glibcxx_cv_func__atan2f_use=no
52849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52850 ac_ext=c
52851 ac_cpp='$CPP $CPPFLAGS'
52852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52861 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52863 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52864 for ac_func in _atan2f
52865 do :
52866 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52867 if test "x$ac_cv_func__atan2f" = x""yes; then :
52868 cat >>confdefs.h <<_ACEOF
52869 #define HAVE__ATAN2F 1
52870 _ACEOF
52873 done
52882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52883 $as_echo_n "checking for fabsf declaration... " >&6; }
52884 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52885 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52886 $as_echo_n "(cached) " >&6
52887 else
52890 ac_ext=cpp
52891 ac_cpp='$CXXCPP $CPPFLAGS'
52892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52897 /* end confdefs.h. */
52898 #include <math.h>
52899 #ifdef HAVE_IEEEFP_H
52900 #include <ieeefp.h>
52901 #endif
52904 main ()
52906 fabsf(0);
52908 return 0;
52910 _ACEOF
52911 if ac_fn_cxx_try_compile "$LINENO"; then :
52912 glibcxx_cv_func_fabsf_use=yes
52913 else
52914 glibcxx_cv_func_fabsf_use=no
52916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52917 ac_ext=c
52918 ac_cpp='$CPP $CPPFLAGS'
52919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52928 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52930 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52931 for ac_func in fabsf
52932 do :
52933 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52934 if test "x$ac_cv_func_fabsf" = x""yes; then :
52935 cat >>confdefs.h <<_ACEOF
52936 #define HAVE_FABSF 1
52937 _ACEOF
52940 done
52942 else
52944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52945 $as_echo_n "checking for _fabsf declaration... " >&6; }
52946 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52947 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52948 $as_echo_n "(cached) " >&6
52949 else
52952 ac_ext=cpp
52953 ac_cpp='$CXXCPP $CPPFLAGS'
52954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52959 /* end confdefs.h. */
52960 #include <math.h>
52961 #ifdef HAVE_IEEEFP_H
52962 #include <ieeefp.h>
52963 #endif
52966 main ()
52968 _fabsf(0);
52970 return 0;
52972 _ACEOF
52973 if ac_fn_cxx_try_compile "$LINENO"; then :
52974 glibcxx_cv_func__fabsf_use=yes
52975 else
52976 glibcxx_cv_func__fabsf_use=no
52978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52979 ac_ext=c
52980 ac_cpp='$CPP $CPPFLAGS'
52981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52990 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52992 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52993 for ac_func in _fabsf
52994 do :
52995 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52996 if test "x$ac_cv_func__fabsf" = x""yes; then :
52997 cat >>confdefs.h <<_ACEOF
52998 #define HAVE__FABSF 1
52999 _ACEOF
53002 done
53011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53012 $as_echo_n "checking for fmodf declaration... " >&6; }
53013 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53014 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53015 $as_echo_n "(cached) " >&6
53016 else
53019 ac_ext=cpp
53020 ac_cpp='$CXXCPP $CPPFLAGS'
53021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53026 /* end confdefs.h. */
53027 #include <math.h>
53029 main ()
53031 fmodf(0, 0);
53033 return 0;
53035 _ACEOF
53036 if ac_fn_cxx_try_compile "$LINENO"; then :
53037 glibcxx_cv_func_fmodf_use=yes
53038 else
53039 glibcxx_cv_func_fmodf_use=no
53041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53042 ac_ext=c
53043 ac_cpp='$CPP $CPPFLAGS'
53044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53053 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53055 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53056 for ac_func in fmodf
53057 do :
53058 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53059 if test "x$ac_cv_func_fmodf" = x""yes; then :
53060 cat >>confdefs.h <<_ACEOF
53061 #define HAVE_FMODF 1
53062 _ACEOF
53065 done
53067 else
53069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53070 $as_echo_n "checking for _fmodf declaration... " >&6; }
53071 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53072 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53073 $as_echo_n "(cached) " >&6
53074 else
53077 ac_ext=cpp
53078 ac_cpp='$CXXCPP $CPPFLAGS'
53079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53084 /* end confdefs.h. */
53085 #include <math.h>
53087 main ()
53089 _fmodf(0, 0);
53091 return 0;
53093 _ACEOF
53094 if ac_fn_cxx_try_compile "$LINENO"; then :
53095 glibcxx_cv_func__fmodf_use=yes
53096 else
53097 glibcxx_cv_func__fmodf_use=no
53099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53100 ac_ext=c
53101 ac_cpp='$CPP $CPPFLAGS'
53102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53111 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53113 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53114 for ac_func in _fmodf
53115 do :
53116 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53117 if test "x$ac_cv_func__fmodf" = x""yes; then :
53118 cat >>confdefs.h <<_ACEOF
53119 #define HAVE__FMODF 1
53120 _ACEOF
53123 done
53132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53133 $as_echo_n "checking for frexpf declaration... " >&6; }
53134 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53135 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53136 $as_echo_n "(cached) " >&6
53137 else
53140 ac_ext=cpp
53141 ac_cpp='$CXXCPP $CPPFLAGS'
53142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53147 /* end confdefs.h. */
53148 #include <math.h>
53150 main ()
53152 frexpf(0, 0);
53154 return 0;
53156 _ACEOF
53157 if ac_fn_cxx_try_compile "$LINENO"; then :
53158 glibcxx_cv_func_frexpf_use=yes
53159 else
53160 glibcxx_cv_func_frexpf_use=no
53162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53163 ac_ext=c
53164 ac_cpp='$CPP $CPPFLAGS'
53165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53174 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53176 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53177 for ac_func in frexpf
53178 do :
53179 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53180 if test "x$ac_cv_func_frexpf" = x""yes; then :
53181 cat >>confdefs.h <<_ACEOF
53182 #define HAVE_FREXPF 1
53183 _ACEOF
53186 done
53188 else
53190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53191 $as_echo_n "checking for _frexpf declaration... " >&6; }
53192 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53193 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53194 $as_echo_n "(cached) " >&6
53195 else
53198 ac_ext=cpp
53199 ac_cpp='$CXXCPP $CPPFLAGS'
53200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53205 /* end confdefs.h. */
53206 #include <math.h>
53208 main ()
53210 _frexpf(0, 0);
53212 return 0;
53214 _ACEOF
53215 if ac_fn_cxx_try_compile "$LINENO"; then :
53216 glibcxx_cv_func__frexpf_use=yes
53217 else
53218 glibcxx_cv_func__frexpf_use=no
53220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53221 ac_ext=c
53222 ac_cpp='$CPP $CPPFLAGS'
53223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53232 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53234 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53235 for ac_func in _frexpf
53236 do :
53237 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53238 if test "x$ac_cv_func__frexpf" = x""yes; then :
53239 cat >>confdefs.h <<_ACEOF
53240 #define HAVE__FREXPF 1
53241 _ACEOF
53244 done
53253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53254 $as_echo_n "checking for hypotf declaration... " >&6; }
53255 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53256 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53257 $as_echo_n "(cached) " >&6
53258 else
53261 ac_ext=cpp
53262 ac_cpp='$CXXCPP $CPPFLAGS'
53263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53268 /* end confdefs.h. */
53269 #include <math.h>
53271 main ()
53273 hypotf(0, 0);
53275 return 0;
53277 _ACEOF
53278 if ac_fn_cxx_try_compile "$LINENO"; then :
53279 glibcxx_cv_func_hypotf_use=yes
53280 else
53281 glibcxx_cv_func_hypotf_use=no
53283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53284 ac_ext=c
53285 ac_cpp='$CPP $CPPFLAGS'
53286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53295 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53297 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53298 for ac_func in hypotf
53299 do :
53300 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53301 if test "x$ac_cv_func_hypotf" = x""yes; then :
53302 cat >>confdefs.h <<_ACEOF
53303 #define HAVE_HYPOTF 1
53304 _ACEOF
53307 done
53309 else
53311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53312 $as_echo_n "checking for _hypotf declaration... " >&6; }
53313 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53314 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53315 $as_echo_n "(cached) " >&6
53316 else
53319 ac_ext=cpp
53320 ac_cpp='$CXXCPP $CPPFLAGS'
53321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53326 /* end confdefs.h. */
53327 #include <math.h>
53329 main ()
53331 _hypotf(0, 0);
53333 return 0;
53335 _ACEOF
53336 if ac_fn_cxx_try_compile "$LINENO"; then :
53337 glibcxx_cv_func__hypotf_use=yes
53338 else
53339 glibcxx_cv_func__hypotf_use=no
53341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53342 ac_ext=c
53343 ac_cpp='$CPP $CPPFLAGS'
53344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53353 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53355 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53356 for ac_func in _hypotf
53357 do :
53358 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53359 if test "x$ac_cv_func__hypotf" = x""yes; then :
53360 cat >>confdefs.h <<_ACEOF
53361 #define HAVE__HYPOTF 1
53362 _ACEOF
53365 done
53374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53375 $as_echo_n "checking for ldexpf declaration... " >&6; }
53376 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53377 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53378 $as_echo_n "(cached) " >&6
53379 else
53382 ac_ext=cpp
53383 ac_cpp='$CXXCPP $CPPFLAGS'
53384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53389 /* end confdefs.h. */
53390 #include <math.h>
53392 main ()
53394 ldexpf(0, 0);
53396 return 0;
53398 _ACEOF
53399 if ac_fn_cxx_try_compile "$LINENO"; then :
53400 glibcxx_cv_func_ldexpf_use=yes
53401 else
53402 glibcxx_cv_func_ldexpf_use=no
53404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53405 ac_ext=c
53406 ac_cpp='$CPP $CPPFLAGS'
53407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53416 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53418 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53419 for ac_func in ldexpf
53420 do :
53421 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53422 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53423 cat >>confdefs.h <<_ACEOF
53424 #define HAVE_LDEXPF 1
53425 _ACEOF
53428 done
53430 else
53432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53433 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53434 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53435 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53436 $as_echo_n "(cached) " >&6
53437 else
53440 ac_ext=cpp
53441 ac_cpp='$CXXCPP $CPPFLAGS'
53442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53447 /* end confdefs.h. */
53448 #include <math.h>
53450 main ()
53452 _ldexpf(0, 0);
53454 return 0;
53456 _ACEOF
53457 if ac_fn_cxx_try_compile "$LINENO"; then :
53458 glibcxx_cv_func__ldexpf_use=yes
53459 else
53460 glibcxx_cv_func__ldexpf_use=no
53462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53463 ac_ext=c
53464 ac_cpp='$CPP $CPPFLAGS'
53465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53474 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53476 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53477 for ac_func in _ldexpf
53478 do :
53479 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53480 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53481 cat >>confdefs.h <<_ACEOF
53482 #define HAVE__LDEXPF 1
53483 _ACEOF
53486 done
53495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53496 $as_echo_n "checking for logf declaration... " >&6; }
53497 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53498 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53499 $as_echo_n "(cached) " >&6
53500 else
53503 ac_ext=cpp
53504 ac_cpp='$CXXCPP $CPPFLAGS'
53505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53510 /* end confdefs.h. */
53511 #include <math.h>
53512 #ifdef HAVE_IEEEFP_H
53513 #include <ieeefp.h>
53514 #endif
53517 main ()
53519 logf(0);
53521 return 0;
53523 _ACEOF
53524 if ac_fn_cxx_try_compile "$LINENO"; then :
53525 glibcxx_cv_func_logf_use=yes
53526 else
53527 glibcxx_cv_func_logf_use=no
53529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53530 ac_ext=c
53531 ac_cpp='$CPP $CPPFLAGS'
53532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53541 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53543 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53544 for ac_func in logf
53545 do :
53546 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53547 if test "x$ac_cv_func_logf" = x""yes; then :
53548 cat >>confdefs.h <<_ACEOF
53549 #define HAVE_LOGF 1
53550 _ACEOF
53553 done
53555 else
53557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53558 $as_echo_n "checking for _logf declaration... " >&6; }
53559 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53560 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53561 $as_echo_n "(cached) " >&6
53562 else
53565 ac_ext=cpp
53566 ac_cpp='$CXXCPP $CPPFLAGS'
53567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53572 /* end confdefs.h. */
53573 #include <math.h>
53574 #ifdef HAVE_IEEEFP_H
53575 #include <ieeefp.h>
53576 #endif
53579 main ()
53581 _logf(0);
53583 return 0;
53585 _ACEOF
53586 if ac_fn_cxx_try_compile "$LINENO"; then :
53587 glibcxx_cv_func__logf_use=yes
53588 else
53589 glibcxx_cv_func__logf_use=no
53591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53592 ac_ext=c
53593 ac_cpp='$CPP $CPPFLAGS'
53594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53603 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53605 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53606 for ac_func in _logf
53607 do :
53608 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53609 if test "x$ac_cv_func__logf" = x""yes; then :
53610 cat >>confdefs.h <<_ACEOF
53611 #define HAVE__LOGF 1
53612 _ACEOF
53615 done
53624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53625 $as_echo_n "checking for log10f declaration... " >&6; }
53626 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53627 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53628 $as_echo_n "(cached) " >&6
53629 else
53632 ac_ext=cpp
53633 ac_cpp='$CXXCPP $CPPFLAGS'
53634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53639 /* end confdefs.h. */
53640 #include <math.h>
53641 #ifdef HAVE_IEEEFP_H
53642 #include <ieeefp.h>
53643 #endif
53646 main ()
53648 log10f(0);
53650 return 0;
53652 _ACEOF
53653 if ac_fn_cxx_try_compile "$LINENO"; then :
53654 glibcxx_cv_func_log10f_use=yes
53655 else
53656 glibcxx_cv_func_log10f_use=no
53658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53659 ac_ext=c
53660 ac_cpp='$CPP $CPPFLAGS'
53661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53670 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53672 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53673 for ac_func in log10f
53674 do :
53675 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53676 if test "x$ac_cv_func_log10f" = x""yes; then :
53677 cat >>confdefs.h <<_ACEOF
53678 #define HAVE_LOG10F 1
53679 _ACEOF
53682 done
53684 else
53686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53687 $as_echo_n "checking for _log10f declaration... " >&6; }
53688 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53689 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53690 $as_echo_n "(cached) " >&6
53691 else
53694 ac_ext=cpp
53695 ac_cpp='$CXXCPP $CPPFLAGS'
53696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53701 /* end confdefs.h. */
53702 #include <math.h>
53703 #ifdef HAVE_IEEEFP_H
53704 #include <ieeefp.h>
53705 #endif
53708 main ()
53710 _log10f(0);
53712 return 0;
53714 _ACEOF
53715 if ac_fn_cxx_try_compile "$LINENO"; then :
53716 glibcxx_cv_func__log10f_use=yes
53717 else
53718 glibcxx_cv_func__log10f_use=no
53720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53721 ac_ext=c
53722 ac_cpp='$CPP $CPPFLAGS'
53723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53732 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53734 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53735 for ac_func in _log10f
53736 do :
53737 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53738 if test "x$ac_cv_func__log10f" = x""yes; then :
53739 cat >>confdefs.h <<_ACEOF
53740 #define HAVE__LOG10F 1
53741 _ACEOF
53744 done
53753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53754 $as_echo_n "checking for modff declaration... " >&6; }
53755 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53756 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53757 $as_echo_n "(cached) " >&6
53758 else
53761 ac_ext=cpp
53762 ac_cpp='$CXXCPP $CPPFLAGS'
53763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53768 /* end confdefs.h. */
53769 #include <math.h>
53771 main ()
53773 modff(0, 0);
53775 return 0;
53777 _ACEOF
53778 if ac_fn_cxx_try_compile "$LINENO"; then :
53779 glibcxx_cv_func_modff_use=yes
53780 else
53781 glibcxx_cv_func_modff_use=no
53783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53784 ac_ext=c
53785 ac_cpp='$CPP $CPPFLAGS'
53786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53795 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53797 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53798 for ac_func in modff
53799 do :
53800 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53801 if test "x$ac_cv_func_modff" = x""yes; then :
53802 cat >>confdefs.h <<_ACEOF
53803 #define HAVE_MODFF 1
53804 _ACEOF
53807 done
53809 else
53811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53812 $as_echo_n "checking for _modff declaration... " >&6; }
53813 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53814 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53815 $as_echo_n "(cached) " >&6
53816 else
53819 ac_ext=cpp
53820 ac_cpp='$CXXCPP $CPPFLAGS'
53821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53826 /* end confdefs.h. */
53827 #include <math.h>
53829 main ()
53831 _modff(0, 0);
53833 return 0;
53835 _ACEOF
53836 if ac_fn_cxx_try_compile "$LINENO"; then :
53837 glibcxx_cv_func__modff_use=yes
53838 else
53839 glibcxx_cv_func__modff_use=no
53841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53842 ac_ext=c
53843 ac_cpp='$CPP $CPPFLAGS'
53844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53853 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53855 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53856 for ac_func in _modff
53857 do :
53858 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53859 if test "x$ac_cv_func__modff" = x""yes; then :
53860 cat >>confdefs.h <<_ACEOF
53861 #define HAVE__MODFF 1
53862 _ACEOF
53865 done
53874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53875 $as_echo_n "checking for modf declaration... " >&6; }
53876 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53877 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53878 $as_echo_n "(cached) " >&6
53879 else
53882 ac_ext=cpp
53883 ac_cpp='$CXXCPP $CPPFLAGS'
53884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53889 /* end confdefs.h. */
53890 #include <math.h>
53892 main ()
53894 modf(0, 0);
53896 return 0;
53898 _ACEOF
53899 if ac_fn_cxx_try_compile "$LINENO"; then :
53900 glibcxx_cv_func_modf_use=yes
53901 else
53902 glibcxx_cv_func_modf_use=no
53904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53905 ac_ext=c
53906 ac_cpp='$CPP $CPPFLAGS'
53907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53916 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53918 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53919 for ac_func in modf
53920 do :
53921 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53922 if test "x$ac_cv_func_modf" = x""yes; then :
53923 cat >>confdefs.h <<_ACEOF
53924 #define HAVE_MODF 1
53925 _ACEOF
53928 done
53930 else
53932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53933 $as_echo_n "checking for _modf declaration... " >&6; }
53934 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53935 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53936 $as_echo_n "(cached) " >&6
53937 else
53940 ac_ext=cpp
53941 ac_cpp='$CXXCPP $CPPFLAGS'
53942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53947 /* end confdefs.h. */
53948 #include <math.h>
53950 main ()
53952 _modf(0, 0);
53954 return 0;
53956 _ACEOF
53957 if ac_fn_cxx_try_compile "$LINENO"; then :
53958 glibcxx_cv_func__modf_use=yes
53959 else
53960 glibcxx_cv_func__modf_use=no
53962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53963 ac_ext=c
53964 ac_cpp='$CPP $CPPFLAGS'
53965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53974 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53976 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53977 for ac_func in _modf
53978 do :
53979 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53980 if test "x$ac_cv_func__modf" = x""yes; then :
53981 cat >>confdefs.h <<_ACEOF
53982 #define HAVE__MODF 1
53983 _ACEOF
53986 done
53995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53996 $as_echo_n "checking for powf declaration... " >&6; }
53997 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53998 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53999 $as_echo_n "(cached) " >&6
54000 else
54003 ac_ext=cpp
54004 ac_cpp='$CXXCPP $CPPFLAGS'
54005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54010 /* end confdefs.h. */
54011 #include <math.h>
54013 main ()
54015 powf(0, 0);
54017 return 0;
54019 _ACEOF
54020 if ac_fn_cxx_try_compile "$LINENO"; then :
54021 glibcxx_cv_func_powf_use=yes
54022 else
54023 glibcxx_cv_func_powf_use=no
54025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54026 ac_ext=c
54027 ac_cpp='$CPP $CPPFLAGS'
54028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54037 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54039 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54040 for ac_func in powf
54041 do :
54042 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54043 if test "x$ac_cv_func_powf" = x""yes; then :
54044 cat >>confdefs.h <<_ACEOF
54045 #define HAVE_POWF 1
54046 _ACEOF
54049 done
54051 else
54053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54054 $as_echo_n "checking for _powf declaration... " >&6; }
54055 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54056 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54057 $as_echo_n "(cached) " >&6
54058 else
54061 ac_ext=cpp
54062 ac_cpp='$CXXCPP $CPPFLAGS'
54063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54068 /* end confdefs.h. */
54069 #include <math.h>
54071 main ()
54073 _powf(0, 0);
54075 return 0;
54077 _ACEOF
54078 if ac_fn_cxx_try_compile "$LINENO"; then :
54079 glibcxx_cv_func__powf_use=yes
54080 else
54081 glibcxx_cv_func__powf_use=no
54083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54084 ac_ext=c
54085 ac_cpp='$CPP $CPPFLAGS'
54086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54095 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54097 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54098 for ac_func in _powf
54099 do :
54100 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54101 if test "x$ac_cv_func__powf" = x""yes; then :
54102 cat >>confdefs.h <<_ACEOF
54103 #define HAVE__POWF 1
54104 _ACEOF
54107 done
54116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54117 $as_echo_n "checking for sqrtf declaration... " >&6; }
54118 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54119 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54120 $as_echo_n "(cached) " >&6
54121 else
54124 ac_ext=cpp
54125 ac_cpp='$CXXCPP $CPPFLAGS'
54126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54131 /* end confdefs.h. */
54132 #include <math.h>
54133 #ifdef HAVE_IEEEFP_H
54134 #include <ieeefp.h>
54135 #endif
54138 main ()
54140 sqrtf(0);
54142 return 0;
54144 _ACEOF
54145 if ac_fn_cxx_try_compile "$LINENO"; then :
54146 glibcxx_cv_func_sqrtf_use=yes
54147 else
54148 glibcxx_cv_func_sqrtf_use=no
54150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54151 ac_ext=c
54152 ac_cpp='$CPP $CPPFLAGS'
54153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54162 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54164 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54165 for ac_func in sqrtf
54166 do :
54167 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54168 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54169 cat >>confdefs.h <<_ACEOF
54170 #define HAVE_SQRTF 1
54171 _ACEOF
54174 done
54176 else
54178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54179 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54180 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54181 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54182 $as_echo_n "(cached) " >&6
54183 else
54186 ac_ext=cpp
54187 ac_cpp='$CXXCPP $CPPFLAGS'
54188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54193 /* end confdefs.h. */
54194 #include <math.h>
54195 #ifdef HAVE_IEEEFP_H
54196 #include <ieeefp.h>
54197 #endif
54200 main ()
54202 _sqrtf(0);
54204 return 0;
54206 _ACEOF
54207 if ac_fn_cxx_try_compile "$LINENO"; then :
54208 glibcxx_cv_func__sqrtf_use=yes
54209 else
54210 glibcxx_cv_func__sqrtf_use=no
54212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54213 ac_ext=c
54214 ac_cpp='$CPP $CPPFLAGS'
54215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54224 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54226 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54227 for ac_func in _sqrtf
54228 do :
54229 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54230 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54231 cat >>confdefs.h <<_ACEOF
54232 #define HAVE__SQRTF 1
54233 _ACEOF
54236 done
54245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54246 $as_echo_n "checking for sincosf declaration... " >&6; }
54247 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54248 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54249 $as_echo_n "(cached) " >&6
54250 else
54253 ac_ext=cpp
54254 ac_cpp='$CXXCPP $CPPFLAGS'
54255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54260 /* end confdefs.h. */
54261 #include <math.h>
54263 main ()
54265 sincosf(0, 0, 0);
54267 return 0;
54269 _ACEOF
54270 if ac_fn_cxx_try_compile "$LINENO"; then :
54271 glibcxx_cv_func_sincosf_use=yes
54272 else
54273 glibcxx_cv_func_sincosf_use=no
54275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54276 ac_ext=c
54277 ac_cpp='$CPP $CPPFLAGS'
54278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54287 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54289 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54290 for ac_func in sincosf
54291 do :
54292 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54293 if test "x$ac_cv_func_sincosf" = x""yes; then :
54294 cat >>confdefs.h <<_ACEOF
54295 #define HAVE_SINCOSF 1
54296 _ACEOF
54299 done
54301 else
54303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54304 $as_echo_n "checking for _sincosf declaration... " >&6; }
54305 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54306 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54307 $as_echo_n "(cached) " >&6
54308 else
54311 ac_ext=cpp
54312 ac_cpp='$CXXCPP $CPPFLAGS'
54313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54318 /* end confdefs.h. */
54319 #include <math.h>
54321 main ()
54323 _sincosf(0, 0, 0);
54325 return 0;
54327 _ACEOF
54328 if ac_fn_cxx_try_compile "$LINENO"; then :
54329 glibcxx_cv_func__sincosf_use=yes
54330 else
54331 glibcxx_cv_func__sincosf_use=no
54333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54334 ac_ext=c
54335 ac_cpp='$CPP $CPPFLAGS'
54336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54345 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54347 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54348 for ac_func in _sincosf
54349 do :
54350 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54351 if test "x$ac_cv_func__sincosf" = x""yes; then :
54352 cat >>confdefs.h <<_ACEOF
54353 #define HAVE__SINCOSF 1
54354 _ACEOF
54357 done
54366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54367 $as_echo_n "checking for finitef declaration... " >&6; }
54368 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54369 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54370 $as_echo_n "(cached) " >&6
54371 else
54374 ac_ext=cpp
54375 ac_cpp='$CXXCPP $CPPFLAGS'
54376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54381 /* end confdefs.h. */
54382 #include <math.h>
54383 #ifdef HAVE_IEEEFP_H
54384 #include <ieeefp.h>
54385 #endif
54388 main ()
54390 finitef(0);
54392 return 0;
54394 _ACEOF
54395 if ac_fn_cxx_try_compile "$LINENO"; then :
54396 glibcxx_cv_func_finitef_use=yes
54397 else
54398 glibcxx_cv_func_finitef_use=no
54400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54401 ac_ext=c
54402 ac_cpp='$CPP $CPPFLAGS'
54403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54412 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54414 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54415 for ac_func in finitef
54416 do :
54417 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54418 if test "x$ac_cv_func_finitef" = x""yes; then :
54419 cat >>confdefs.h <<_ACEOF
54420 #define HAVE_FINITEF 1
54421 _ACEOF
54424 done
54426 else
54428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54429 $as_echo_n "checking for _finitef declaration... " >&6; }
54430 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54431 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54432 $as_echo_n "(cached) " >&6
54433 else
54436 ac_ext=cpp
54437 ac_cpp='$CXXCPP $CPPFLAGS'
54438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54443 /* end confdefs.h. */
54444 #include <math.h>
54445 #ifdef HAVE_IEEEFP_H
54446 #include <ieeefp.h>
54447 #endif
54450 main ()
54452 _finitef(0);
54454 return 0;
54456 _ACEOF
54457 if ac_fn_cxx_try_compile "$LINENO"; then :
54458 glibcxx_cv_func__finitef_use=yes
54459 else
54460 glibcxx_cv_func__finitef_use=no
54462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54463 ac_ext=c
54464 ac_cpp='$CPP $CPPFLAGS'
54465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54474 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54476 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54477 for ac_func in _finitef
54478 do :
54479 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54480 if test "x$ac_cv_func__finitef" = x""yes; then :
54481 cat >>confdefs.h <<_ACEOF
54482 #define HAVE__FINITEF 1
54483 _ACEOF
54486 done
54495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54496 $as_echo_n "checking for long double trig functions... " >&6; }
54497 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54498 $as_echo_n "(cached) " >&6
54499 else
54502 ac_ext=cpp
54503 ac_cpp='$CXXCPP $CPPFLAGS'
54504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54509 /* end confdefs.h. */
54510 #include <math.h>
54512 main ()
54514 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54516 return 0;
54518 _ACEOF
54519 if ac_fn_cxx_try_compile "$LINENO"; then :
54520 glibcxx_cv_func_long_double_trig_use=yes
54521 else
54522 glibcxx_cv_func_long_double_trig_use=no
54524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54525 ac_ext=c
54526 ac_cpp='$CPP $CPPFLAGS'
54527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54534 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54535 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54536 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54537 do :
54538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54540 eval as_val=\$$as_ac_var
54541 if test "x$as_val" = x""yes; then :
54542 cat >>confdefs.h <<_ACEOF
54543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54544 _ACEOF
54547 done
54549 else
54550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54551 $as_echo_n "checking for _long double trig functions... " >&6; }
54552 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54553 $as_echo_n "(cached) " >&6
54554 else
54557 ac_ext=cpp
54558 ac_cpp='$CXXCPP $CPPFLAGS'
54559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54564 /* end confdefs.h. */
54565 #include <math.h>
54567 main ()
54569 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54571 return 0;
54573 _ACEOF
54574 if ac_fn_cxx_try_compile "$LINENO"; then :
54575 glibcxx_cv_func__long_double_trig_use=yes
54576 else
54577 glibcxx_cv_func__long_double_trig_use=no
54579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54580 ac_ext=c
54581 ac_cpp='$CPP $CPPFLAGS'
54582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54589 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54590 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54591 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54592 do :
54593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54595 eval as_val=\$$as_ac_var
54596 if test "x$as_val" = x""yes; then :
54597 cat >>confdefs.h <<_ACEOF
54598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54599 _ACEOF
54602 done
54611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54612 $as_echo_n "checking for long double round functions... " >&6; }
54613 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54614 $as_echo_n "(cached) " >&6
54615 else
54618 ac_ext=cpp
54619 ac_cpp='$CXXCPP $CPPFLAGS'
54620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54625 /* end confdefs.h. */
54626 #include <math.h>
54628 main ()
54630 ceill (0); floorl (0);
54632 return 0;
54634 _ACEOF
54635 if ac_fn_cxx_try_compile "$LINENO"; then :
54636 glibcxx_cv_func_long_double_round_use=yes
54637 else
54638 glibcxx_cv_func_long_double_round_use=no
54640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54641 ac_ext=c
54642 ac_cpp='$CPP $CPPFLAGS'
54643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54650 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54651 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54652 for ac_func in ceill floorl
54653 do :
54654 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54655 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54656 eval as_val=\$$as_ac_var
54657 if test "x$as_val" = x""yes; then :
54658 cat >>confdefs.h <<_ACEOF
54659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54660 _ACEOF
54663 done
54665 else
54666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54667 $as_echo_n "checking for _long double round functions... " >&6; }
54668 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54669 $as_echo_n "(cached) " >&6
54670 else
54673 ac_ext=cpp
54674 ac_cpp='$CXXCPP $CPPFLAGS'
54675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54680 /* end confdefs.h. */
54681 #include <math.h>
54683 main ()
54685 _ceill (0); _floorl (0);
54687 return 0;
54689 _ACEOF
54690 if ac_fn_cxx_try_compile "$LINENO"; then :
54691 glibcxx_cv_func__long_double_round_use=yes
54692 else
54693 glibcxx_cv_func__long_double_round_use=no
54695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54696 ac_ext=c
54697 ac_cpp='$CPP $CPPFLAGS'
54698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54705 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54706 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54707 for ac_func in _ceill _floorl
54708 do :
54709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54711 eval as_val=\$$as_ac_var
54712 if test "x$as_val" = x""yes; then :
54713 cat >>confdefs.h <<_ACEOF
54714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54715 _ACEOF
54718 done
54728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54729 $as_echo_n "checking for isnanl declaration... " >&6; }
54730 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54731 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54732 $as_echo_n "(cached) " >&6
54733 else
54736 ac_ext=cpp
54737 ac_cpp='$CXXCPP $CPPFLAGS'
54738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54743 /* end confdefs.h. */
54744 #include <math.h>
54745 #ifdef HAVE_IEEEFP_H
54746 #include <ieeefp.h>
54747 #endif
54750 main ()
54752 isnanl(0);
54754 return 0;
54756 _ACEOF
54757 if ac_fn_cxx_try_compile "$LINENO"; then :
54758 glibcxx_cv_func_isnanl_use=yes
54759 else
54760 glibcxx_cv_func_isnanl_use=no
54762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54763 ac_ext=c
54764 ac_cpp='$CPP $CPPFLAGS'
54765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54774 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54776 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54777 for ac_func in isnanl
54778 do :
54779 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54780 if test "x$ac_cv_func_isnanl" = x""yes; then :
54781 cat >>confdefs.h <<_ACEOF
54782 #define HAVE_ISNANL 1
54783 _ACEOF
54786 done
54788 else
54790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54791 $as_echo_n "checking for _isnanl declaration... " >&6; }
54792 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54793 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54794 $as_echo_n "(cached) " >&6
54795 else
54798 ac_ext=cpp
54799 ac_cpp='$CXXCPP $CPPFLAGS'
54800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54805 /* end confdefs.h. */
54806 #include <math.h>
54807 #ifdef HAVE_IEEEFP_H
54808 #include <ieeefp.h>
54809 #endif
54812 main ()
54814 _isnanl(0);
54816 return 0;
54818 _ACEOF
54819 if ac_fn_cxx_try_compile "$LINENO"; then :
54820 glibcxx_cv_func__isnanl_use=yes
54821 else
54822 glibcxx_cv_func__isnanl_use=no
54824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54825 ac_ext=c
54826 ac_cpp='$CPP $CPPFLAGS'
54827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54836 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54838 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54839 for ac_func in _isnanl
54840 do :
54841 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54842 if test "x$ac_cv_func__isnanl" = x""yes; then :
54843 cat >>confdefs.h <<_ACEOF
54844 #define HAVE__ISNANL 1
54845 _ACEOF
54848 done
54857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54858 $as_echo_n "checking for isinfl declaration... " >&6; }
54859 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54860 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54861 $as_echo_n "(cached) " >&6
54862 else
54865 ac_ext=cpp
54866 ac_cpp='$CXXCPP $CPPFLAGS'
54867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54872 /* end confdefs.h. */
54873 #include <math.h>
54874 #ifdef HAVE_IEEEFP_H
54875 #include <ieeefp.h>
54876 #endif
54879 main ()
54881 isinfl(0);
54883 return 0;
54885 _ACEOF
54886 if ac_fn_cxx_try_compile "$LINENO"; then :
54887 glibcxx_cv_func_isinfl_use=yes
54888 else
54889 glibcxx_cv_func_isinfl_use=no
54891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54892 ac_ext=c
54893 ac_cpp='$CPP $CPPFLAGS'
54894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54903 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54905 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54906 for ac_func in isinfl
54907 do :
54908 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54909 if test "x$ac_cv_func_isinfl" = x""yes; then :
54910 cat >>confdefs.h <<_ACEOF
54911 #define HAVE_ISINFL 1
54912 _ACEOF
54915 done
54917 else
54919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54920 $as_echo_n "checking for _isinfl declaration... " >&6; }
54921 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54922 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54923 $as_echo_n "(cached) " >&6
54924 else
54927 ac_ext=cpp
54928 ac_cpp='$CXXCPP $CPPFLAGS'
54929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54934 /* end confdefs.h. */
54935 #include <math.h>
54936 #ifdef HAVE_IEEEFP_H
54937 #include <ieeefp.h>
54938 #endif
54941 main ()
54943 _isinfl(0);
54945 return 0;
54947 _ACEOF
54948 if ac_fn_cxx_try_compile "$LINENO"; then :
54949 glibcxx_cv_func__isinfl_use=yes
54950 else
54951 glibcxx_cv_func__isinfl_use=no
54953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54954 ac_ext=c
54955 ac_cpp='$CPP $CPPFLAGS'
54956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54965 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54967 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54968 for ac_func in _isinfl
54969 do :
54970 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54971 if test "x$ac_cv_func__isinfl" = x""yes; then :
54972 cat >>confdefs.h <<_ACEOF
54973 #define HAVE__ISINFL 1
54974 _ACEOF
54977 done
54986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54987 $as_echo_n "checking for atan2l declaration... " >&6; }
54988 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54989 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54990 $as_echo_n "(cached) " >&6
54991 else
54994 ac_ext=cpp
54995 ac_cpp='$CXXCPP $CPPFLAGS'
54996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55001 /* end confdefs.h. */
55002 #include <math.h>
55004 main ()
55006 atan2l(0, 0);
55008 return 0;
55010 _ACEOF
55011 if ac_fn_cxx_try_compile "$LINENO"; then :
55012 glibcxx_cv_func_atan2l_use=yes
55013 else
55014 glibcxx_cv_func_atan2l_use=no
55016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55017 ac_ext=c
55018 ac_cpp='$CPP $CPPFLAGS'
55019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55028 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55030 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55031 for ac_func in atan2l
55032 do :
55033 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55034 if test "x$ac_cv_func_atan2l" = x""yes; then :
55035 cat >>confdefs.h <<_ACEOF
55036 #define HAVE_ATAN2L 1
55037 _ACEOF
55040 done
55042 else
55044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55045 $as_echo_n "checking for _atan2l declaration... " >&6; }
55046 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55047 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55048 $as_echo_n "(cached) " >&6
55049 else
55052 ac_ext=cpp
55053 ac_cpp='$CXXCPP $CPPFLAGS'
55054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55059 /* end confdefs.h. */
55060 #include <math.h>
55062 main ()
55064 _atan2l(0, 0);
55066 return 0;
55068 _ACEOF
55069 if ac_fn_cxx_try_compile "$LINENO"; then :
55070 glibcxx_cv_func__atan2l_use=yes
55071 else
55072 glibcxx_cv_func__atan2l_use=no
55074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55075 ac_ext=c
55076 ac_cpp='$CPP $CPPFLAGS'
55077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55086 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55088 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55089 for ac_func in _atan2l
55090 do :
55091 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55092 if test "x$ac_cv_func__atan2l" = x""yes; then :
55093 cat >>confdefs.h <<_ACEOF
55094 #define HAVE__ATAN2L 1
55095 _ACEOF
55098 done
55107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55108 $as_echo_n "checking for expl declaration... " >&6; }
55109 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55110 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55111 $as_echo_n "(cached) " >&6
55112 else
55115 ac_ext=cpp
55116 ac_cpp='$CXXCPP $CPPFLAGS'
55117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55122 /* end confdefs.h. */
55123 #include <math.h>
55124 #ifdef HAVE_IEEEFP_H
55125 #include <ieeefp.h>
55126 #endif
55129 main ()
55131 expl(0);
55133 return 0;
55135 _ACEOF
55136 if ac_fn_cxx_try_compile "$LINENO"; then :
55137 glibcxx_cv_func_expl_use=yes
55138 else
55139 glibcxx_cv_func_expl_use=no
55141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55142 ac_ext=c
55143 ac_cpp='$CPP $CPPFLAGS'
55144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55153 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55155 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55156 for ac_func in expl
55157 do :
55158 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55159 if test "x$ac_cv_func_expl" = x""yes; then :
55160 cat >>confdefs.h <<_ACEOF
55161 #define HAVE_EXPL 1
55162 _ACEOF
55165 done
55167 else
55169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55170 $as_echo_n "checking for _expl declaration... " >&6; }
55171 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55172 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55173 $as_echo_n "(cached) " >&6
55174 else
55177 ac_ext=cpp
55178 ac_cpp='$CXXCPP $CPPFLAGS'
55179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55184 /* end confdefs.h. */
55185 #include <math.h>
55186 #ifdef HAVE_IEEEFP_H
55187 #include <ieeefp.h>
55188 #endif
55191 main ()
55193 _expl(0);
55195 return 0;
55197 _ACEOF
55198 if ac_fn_cxx_try_compile "$LINENO"; then :
55199 glibcxx_cv_func__expl_use=yes
55200 else
55201 glibcxx_cv_func__expl_use=no
55203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55204 ac_ext=c
55205 ac_cpp='$CPP $CPPFLAGS'
55206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55215 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55217 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55218 for ac_func in _expl
55219 do :
55220 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55221 if test "x$ac_cv_func__expl" = x""yes; then :
55222 cat >>confdefs.h <<_ACEOF
55223 #define HAVE__EXPL 1
55224 _ACEOF
55227 done
55236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55237 $as_echo_n "checking for fabsl declaration... " >&6; }
55238 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55239 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55240 $as_echo_n "(cached) " >&6
55241 else
55244 ac_ext=cpp
55245 ac_cpp='$CXXCPP $CPPFLAGS'
55246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55251 /* end confdefs.h. */
55252 #include <math.h>
55253 #ifdef HAVE_IEEEFP_H
55254 #include <ieeefp.h>
55255 #endif
55258 main ()
55260 fabsl(0);
55262 return 0;
55264 _ACEOF
55265 if ac_fn_cxx_try_compile "$LINENO"; then :
55266 glibcxx_cv_func_fabsl_use=yes
55267 else
55268 glibcxx_cv_func_fabsl_use=no
55270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55271 ac_ext=c
55272 ac_cpp='$CPP $CPPFLAGS'
55273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55282 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55284 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55285 for ac_func in fabsl
55286 do :
55287 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55288 if test "x$ac_cv_func_fabsl" = x""yes; then :
55289 cat >>confdefs.h <<_ACEOF
55290 #define HAVE_FABSL 1
55291 _ACEOF
55294 done
55296 else
55298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55299 $as_echo_n "checking for _fabsl declaration... " >&6; }
55300 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55301 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55302 $as_echo_n "(cached) " >&6
55303 else
55306 ac_ext=cpp
55307 ac_cpp='$CXXCPP $CPPFLAGS'
55308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55313 /* end confdefs.h. */
55314 #include <math.h>
55315 #ifdef HAVE_IEEEFP_H
55316 #include <ieeefp.h>
55317 #endif
55320 main ()
55322 _fabsl(0);
55324 return 0;
55326 _ACEOF
55327 if ac_fn_cxx_try_compile "$LINENO"; then :
55328 glibcxx_cv_func__fabsl_use=yes
55329 else
55330 glibcxx_cv_func__fabsl_use=no
55332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55333 ac_ext=c
55334 ac_cpp='$CPP $CPPFLAGS'
55335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55344 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55346 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55347 for ac_func in _fabsl
55348 do :
55349 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55350 if test "x$ac_cv_func__fabsl" = x""yes; then :
55351 cat >>confdefs.h <<_ACEOF
55352 #define HAVE__FABSL 1
55353 _ACEOF
55356 done
55365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55366 $as_echo_n "checking for fmodl declaration... " >&6; }
55367 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55368 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55369 $as_echo_n "(cached) " >&6
55370 else
55373 ac_ext=cpp
55374 ac_cpp='$CXXCPP $CPPFLAGS'
55375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55380 /* end confdefs.h. */
55381 #include <math.h>
55383 main ()
55385 fmodl(0, 0);
55387 return 0;
55389 _ACEOF
55390 if ac_fn_cxx_try_compile "$LINENO"; then :
55391 glibcxx_cv_func_fmodl_use=yes
55392 else
55393 glibcxx_cv_func_fmodl_use=no
55395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55396 ac_ext=c
55397 ac_cpp='$CPP $CPPFLAGS'
55398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55407 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55409 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55410 for ac_func in fmodl
55411 do :
55412 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55413 if test "x$ac_cv_func_fmodl" = x""yes; then :
55414 cat >>confdefs.h <<_ACEOF
55415 #define HAVE_FMODL 1
55416 _ACEOF
55419 done
55421 else
55423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55424 $as_echo_n "checking for _fmodl declaration... " >&6; }
55425 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55426 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55427 $as_echo_n "(cached) " >&6
55428 else
55431 ac_ext=cpp
55432 ac_cpp='$CXXCPP $CPPFLAGS'
55433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55438 /* end confdefs.h. */
55439 #include <math.h>
55441 main ()
55443 _fmodl(0, 0);
55445 return 0;
55447 _ACEOF
55448 if ac_fn_cxx_try_compile "$LINENO"; then :
55449 glibcxx_cv_func__fmodl_use=yes
55450 else
55451 glibcxx_cv_func__fmodl_use=no
55453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55454 ac_ext=c
55455 ac_cpp='$CPP $CPPFLAGS'
55456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55465 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55467 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55468 for ac_func in _fmodl
55469 do :
55470 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55471 if test "x$ac_cv_func__fmodl" = x""yes; then :
55472 cat >>confdefs.h <<_ACEOF
55473 #define HAVE__FMODL 1
55474 _ACEOF
55477 done
55486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55487 $as_echo_n "checking for frexpl declaration... " >&6; }
55488 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55489 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55490 $as_echo_n "(cached) " >&6
55491 else
55494 ac_ext=cpp
55495 ac_cpp='$CXXCPP $CPPFLAGS'
55496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55501 /* end confdefs.h. */
55502 #include <math.h>
55504 main ()
55506 frexpl(0, 0);
55508 return 0;
55510 _ACEOF
55511 if ac_fn_cxx_try_compile "$LINENO"; then :
55512 glibcxx_cv_func_frexpl_use=yes
55513 else
55514 glibcxx_cv_func_frexpl_use=no
55516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55517 ac_ext=c
55518 ac_cpp='$CPP $CPPFLAGS'
55519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55528 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55530 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55531 for ac_func in frexpl
55532 do :
55533 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55534 if test "x$ac_cv_func_frexpl" = x""yes; then :
55535 cat >>confdefs.h <<_ACEOF
55536 #define HAVE_FREXPL 1
55537 _ACEOF
55540 done
55542 else
55544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55545 $as_echo_n "checking for _frexpl declaration... " >&6; }
55546 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55547 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55548 $as_echo_n "(cached) " >&6
55549 else
55552 ac_ext=cpp
55553 ac_cpp='$CXXCPP $CPPFLAGS'
55554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55559 /* end confdefs.h. */
55560 #include <math.h>
55562 main ()
55564 _frexpl(0, 0);
55566 return 0;
55568 _ACEOF
55569 if ac_fn_cxx_try_compile "$LINENO"; then :
55570 glibcxx_cv_func__frexpl_use=yes
55571 else
55572 glibcxx_cv_func__frexpl_use=no
55574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55575 ac_ext=c
55576 ac_cpp='$CPP $CPPFLAGS'
55577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55586 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55588 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55589 for ac_func in _frexpl
55590 do :
55591 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55592 if test "x$ac_cv_func__frexpl" = x""yes; then :
55593 cat >>confdefs.h <<_ACEOF
55594 #define HAVE__FREXPL 1
55595 _ACEOF
55598 done
55607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55608 $as_echo_n "checking for hypotl declaration... " >&6; }
55609 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55610 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55611 $as_echo_n "(cached) " >&6
55612 else
55615 ac_ext=cpp
55616 ac_cpp='$CXXCPP $CPPFLAGS'
55617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55622 /* end confdefs.h. */
55623 #include <math.h>
55625 main ()
55627 hypotl(0, 0);
55629 return 0;
55631 _ACEOF
55632 if ac_fn_cxx_try_compile "$LINENO"; then :
55633 glibcxx_cv_func_hypotl_use=yes
55634 else
55635 glibcxx_cv_func_hypotl_use=no
55637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55638 ac_ext=c
55639 ac_cpp='$CPP $CPPFLAGS'
55640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55649 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55651 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55652 for ac_func in hypotl
55653 do :
55654 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55655 if test "x$ac_cv_func_hypotl" = x""yes; then :
55656 cat >>confdefs.h <<_ACEOF
55657 #define HAVE_HYPOTL 1
55658 _ACEOF
55661 done
55663 else
55665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55666 $as_echo_n "checking for _hypotl declaration... " >&6; }
55667 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55668 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55669 $as_echo_n "(cached) " >&6
55670 else
55673 ac_ext=cpp
55674 ac_cpp='$CXXCPP $CPPFLAGS'
55675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55680 /* end confdefs.h. */
55681 #include <math.h>
55683 main ()
55685 _hypotl(0, 0);
55687 return 0;
55689 _ACEOF
55690 if ac_fn_cxx_try_compile "$LINENO"; then :
55691 glibcxx_cv_func__hypotl_use=yes
55692 else
55693 glibcxx_cv_func__hypotl_use=no
55695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55696 ac_ext=c
55697 ac_cpp='$CPP $CPPFLAGS'
55698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55707 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55709 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55710 for ac_func in _hypotl
55711 do :
55712 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55713 if test "x$ac_cv_func__hypotl" = x""yes; then :
55714 cat >>confdefs.h <<_ACEOF
55715 #define HAVE__HYPOTL 1
55716 _ACEOF
55719 done
55728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55729 $as_echo_n "checking for ldexpl declaration... " >&6; }
55730 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55731 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55732 $as_echo_n "(cached) " >&6
55733 else
55736 ac_ext=cpp
55737 ac_cpp='$CXXCPP $CPPFLAGS'
55738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55743 /* end confdefs.h. */
55744 #include <math.h>
55746 main ()
55748 ldexpl(0, 0);
55750 return 0;
55752 _ACEOF
55753 if ac_fn_cxx_try_compile "$LINENO"; then :
55754 glibcxx_cv_func_ldexpl_use=yes
55755 else
55756 glibcxx_cv_func_ldexpl_use=no
55758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55759 ac_ext=c
55760 ac_cpp='$CPP $CPPFLAGS'
55761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55770 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55772 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55773 for ac_func in ldexpl
55774 do :
55775 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55776 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55777 cat >>confdefs.h <<_ACEOF
55778 #define HAVE_LDEXPL 1
55779 _ACEOF
55782 done
55784 else
55786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55787 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55788 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55789 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55790 $as_echo_n "(cached) " >&6
55791 else
55794 ac_ext=cpp
55795 ac_cpp='$CXXCPP $CPPFLAGS'
55796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55801 /* end confdefs.h. */
55802 #include <math.h>
55804 main ()
55806 _ldexpl(0, 0);
55808 return 0;
55810 _ACEOF
55811 if ac_fn_cxx_try_compile "$LINENO"; then :
55812 glibcxx_cv_func__ldexpl_use=yes
55813 else
55814 glibcxx_cv_func__ldexpl_use=no
55816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55817 ac_ext=c
55818 ac_cpp='$CPP $CPPFLAGS'
55819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55828 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55830 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55831 for ac_func in _ldexpl
55832 do :
55833 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55834 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55835 cat >>confdefs.h <<_ACEOF
55836 #define HAVE__LDEXPL 1
55837 _ACEOF
55840 done
55849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55850 $as_echo_n "checking for logl declaration... " >&6; }
55851 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55852 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55853 $as_echo_n "(cached) " >&6
55854 else
55857 ac_ext=cpp
55858 ac_cpp='$CXXCPP $CPPFLAGS'
55859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55864 /* end confdefs.h. */
55865 #include <math.h>
55866 #ifdef HAVE_IEEEFP_H
55867 #include <ieeefp.h>
55868 #endif
55871 main ()
55873 logl(0);
55875 return 0;
55877 _ACEOF
55878 if ac_fn_cxx_try_compile "$LINENO"; then :
55879 glibcxx_cv_func_logl_use=yes
55880 else
55881 glibcxx_cv_func_logl_use=no
55883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55884 ac_ext=c
55885 ac_cpp='$CPP $CPPFLAGS'
55886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55895 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55897 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55898 for ac_func in logl
55899 do :
55900 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55901 if test "x$ac_cv_func_logl" = x""yes; then :
55902 cat >>confdefs.h <<_ACEOF
55903 #define HAVE_LOGL 1
55904 _ACEOF
55907 done
55909 else
55911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55912 $as_echo_n "checking for _logl declaration... " >&6; }
55913 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55914 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55915 $as_echo_n "(cached) " >&6
55916 else
55919 ac_ext=cpp
55920 ac_cpp='$CXXCPP $CPPFLAGS'
55921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55926 /* end confdefs.h. */
55927 #include <math.h>
55928 #ifdef HAVE_IEEEFP_H
55929 #include <ieeefp.h>
55930 #endif
55933 main ()
55935 _logl(0);
55937 return 0;
55939 _ACEOF
55940 if ac_fn_cxx_try_compile "$LINENO"; then :
55941 glibcxx_cv_func__logl_use=yes
55942 else
55943 glibcxx_cv_func__logl_use=no
55945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55946 ac_ext=c
55947 ac_cpp='$CPP $CPPFLAGS'
55948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55957 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55959 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55960 for ac_func in _logl
55961 do :
55962 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55963 if test "x$ac_cv_func__logl" = x""yes; then :
55964 cat >>confdefs.h <<_ACEOF
55965 #define HAVE__LOGL 1
55966 _ACEOF
55969 done
55978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55979 $as_echo_n "checking for log10l declaration... " >&6; }
55980 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55981 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55982 $as_echo_n "(cached) " >&6
55983 else
55986 ac_ext=cpp
55987 ac_cpp='$CXXCPP $CPPFLAGS'
55988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55993 /* end confdefs.h. */
55994 #include <math.h>
55995 #ifdef HAVE_IEEEFP_H
55996 #include <ieeefp.h>
55997 #endif
56000 main ()
56002 log10l(0);
56004 return 0;
56006 _ACEOF
56007 if ac_fn_cxx_try_compile "$LINENO"; then :
56008 glibcxx_cv_func_log10l_use=yes
56009 else
56010 glibcxx_cv_func_log10l_use=no
56012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56013 ac_ext=c
56014 ac_cpp='$CPP $CPPFLAGS'
56015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56024 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56026 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56027 for ac_func in log10l
56028 do :
56029 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56030 if test "x$ac_cv_func_log10l" = x""yes; then :
56031 cat >>confdefs.h <<_ACEOF
56032 #define HAVE_LOG10L 1
56033 _ACEOF
56036 done
56038 else
56040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56041 $as_echo_n "checking for _log10l declaration... " >&6; }
56042 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56043 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56044 $as_echo_n "(cached) " >&6
56045 else
56048 ac_ext=cpp
56049 ac_cpp='$CXXCPP $CPPFLAGS'
56050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56055 /* end confdefs.h. */
56056 #include <math.h>
56057 #ifdef HAVE_IEEEFP_H
56058 #include <ieeefp.h>
56059 #endif
56062 main ()
56064 _log10l(0);
56066 return 0;
56068 _ACEOF
56069 if ac_fn_cxx_try_compile "$LINENO"; then :
56070 glibcxx_cv_func__log10l_use=yes
56071 else
56072 glibcxx_cv_func__log10l_use=no
56074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56075 ac_ext=c
56076 ac_cpp='$CPP $CPPFLAGS'
56077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56086 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56088 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56089 for ac_func in _log10l
56090 do :
56091 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56092 if test "x$ac_cv_func__log10l" = x""yes; then :
56093 cat >>confdefs.h <<_ACEOF
56094 #define HAVE__LOG10L 1
56095 _ACEOF
56098 done
56107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56108 $as_echo_n "checking for modfl declaration... " >&6; }
56109 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56110 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56111 $as_echo_n "(cached) " >&6
56112 else
56115 ac_ext=cpp
56116 ac_cpp='$CXXCPP $CPPFLAGS'
56117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56122 /* end confdefs.h. */
56123 #include <math.h>
56125 main ()
56127 modfl(0, 0);
56129 return 0;
56131 _ACEOF
56132 if ac_fn_cxx_try_compile "$LINENO"; then :
56133 glibcxx_cv_func_modfl_use=yes
56134 else
56135 glibcxx_cv_func_modfl_use=no
56137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56138 ac_ext=c
56139 ac_cpp='$CPP $CPPFLAGS'
56140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56149 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56151 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56152 for ac_func in modfl
56153 do :
56154 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56155 if test "x$ac_cv_func_modfl" = x""yes; then :
56156 cat >>confdefs.h <<_ACEOF
56157 #define HAVE_MODFL 1
56158 _ACEOF
56161 done
56163 else
56165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56166 $as_echo_n "checking for _modfl declaration... " >&6; }
56167 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56168 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56169 $as_echo_n "(cached) " >&6
56170 else
56173 ac_ext=cpp
56174 ac_cpp='$CXXCPP $CPPFLAGS'
56175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56180 /* end confdefs.h. */
56181 #include <math.h>
56183 main ()
56185 _modfl(0, 0);
56187 return 0;
56189 _ACEOF
56190 if ac_fn_cxx_try_compile "$LINENO"; then :
56191 glibcxx_cv_func__modfl_use=yes
56192 else
56193 glibcxx_cv_func__modfl_use=no
56195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56196 ac_ext=c
56197 ac_cpp='$CPP $CPPFLAGS'
56198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56207 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56209 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56210 for ac_func in _modfl
56211 do :
56212 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56213 if test "x$ac_cv_func__modfl" = x""yes; then :
56214 cat >>confdefs.h <<_ACEOF
56215 #define HAVE__MODFL 1
56216 _ACEOF
56219 done
56228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56229 $as_echo_n "checking for powl declaration... " >&6; }
56230 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56231 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56232 $as_echo_n "(cached) " >&6
56233 else
56236 ac_ext=cpp
56237 ac_cpp='$CXXCPP $CPPFLAGS'
56238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56243 /* end confdefs.h. */
56244 #include <math.h>
56246 main ()
56248 powl(0, 0);
56250 return 0;
56252 _ACEOF
56253 if ac_fn_cxx_try_compile "$LINENO"; then :
56254 glibcxx_cv_func_powl_use=yes
56255 else
56256 glibcxx_cv_func_powl_use=no
56258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56259 ac_ext=c
56260 ac_cpp='$CPP $CPPFLAGS'
56261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56270 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56272 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56273 for ac_func in powl
56274 do :
56275 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56276 if test "x$ac_cv_func_powl" = x""yes; then :
56277 cat >>confdefs.h <<_ACEOF
56278 #define HAVE_POWL 1
56279 _ACEOF
56282 done
56284 else
56286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56287 $as_echo_n "checking for _powl declaration... " >&6; }
56288 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56289 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56290 $as_echo_n "(cached) " >&6
56291 else
56294 ac_ext=cpp
56295 ac_cpp='$CXXCPP $CPPFLAGS'
56296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56301 /* end confdefs.h. */
56302 #include <math.h>
56304 main ()
56306 _powl(0, 0);
56308 return 0;
56310 _ACEOF
56311 if ac_fn_cxx_try_compile "$LINENO"; then :
56312 glibcxx_cv_func__powl_use=yes
56313 else
56314 glibcxx_cv_func__powl_use=no
56316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56317 ac_ext=c
56318 ac_cpp='$CPP $CPPFLAGS'
56319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56328 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56330 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56331 for ac_func in _powl
56332 do :
56333 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56334 if test "x$ac_cv_func__powl" = x""yes; then :
56335 cat >>confdefs.h <<_ACEOF
56336 #define HAVE__POWL 1
56337 _ACEOF
56340 done
56349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56350 $as_echo_n "checking for sqrtl declaration... " >&6; }
56351 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56352 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56353 $as_echo_n "(cached) " >&6
56354 else
56357 ac_ext=cpp
56358 ac_cpp='$CXXCPP $CPPFLAGS'
56359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56364 /* end confdefs.h. */
56365 #include <math.h>
56366 #ifdef HAVE_IEEEFP_H
56367 #include <ieeefp.h>
56368 #endif
56371 main ()
56373 sqrtl(0);
56375 return 0;
56377 _ACEOF
56378 if ac_fn_cxx_try_compile "$LINENO"; then :
56379 glibcxx_cv_func_sqrtl_use=yes
56380 else
56381 glibcxx_cv_func_sqrtl_use=no
56383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56384 ac_ext=c
56385 ac_cpp='$CPP $CPPFLAGS'
56386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56395 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56397 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56398 for ac_func in sqrtl
56399 do :
56400 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56401 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56402 cat >>confdefs.h <<_ACEOF
56403 #define HAVE_SQRTL 1
56404 _ACEOF
56407 done
56409 else
56411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56412 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56413 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56414 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56415 $as_echo_n "(cached) " >&6
56416 else
56419 ac_ext=cpp
56420 ac_cpp='$CXXCPP $CPPFLAGS'
56421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56426 /* end confdefs.h. */
56427 #include <math.h>
56428 #ifdef HAVE_IEEEFP_H
56429 #include <ieeefp.h>
56430 #endif
56433 main ()
56435 _sqrtl(0);
56437 return 0;
56439 _ACEOF
56440 if ac_fn_cxx_try_compile "$LINENO"; then :
56441 glibcxx_cv_func__sqrtl_use=yes
56442 else
56443 glibcxx_cv_func__sqrtl_use=no
56445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56446 ac_ext=c
56447 ac_cpp='$CPP $CPPFLAGS'
56448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56457 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56459 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56460 for ac_func in _sqrtl
56461 do :
56462 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56463 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56464 cat >>confdefs.h <<_ACEOF
56465 #define HAVE__SQRTL 1
56466 _ACEOF
56469 done
56478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56479 $as_echo_n "checking for sincosl declaration... " >&6; }
56480 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56481 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56482 $as_echo_n "(cached) " >&6
56483 else
56486 ac_ext=cpp
56487 ac_cpp='$CXXCPP $CPPFLAGS'
56488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56493 /* end confdefs.h. */
56494 #include <math.h>
56496 main ()
56498 sincosl(0, 0, 0);
56500 return 0;
56502 _ACEOF
56503 if ac_fn_cxx_try_compile "$LINENO"; then :
56504 glibcxx_cv_func_sincosl_use=yes
56505 else
56506 glibcxx_cv_func_sincosl_use=no
56508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56509 ac_ext=c
56510 ac_cpp='$CPP $CPPFLAGS'
56511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56520 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56522 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56523 for ac_func in sincosl
56524 do :
56525 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56526 if test "x$ac_cv_func_sincosl" = x""yes; then :
56527 cat >>confdefs.h <<_ACEOF
56528 #define HAVE_SINCOSL 1
56529 _ACEOF
56532 done
56534 else
56536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56537 $as_echo_n "checking for _sincosl declaration... " >&6; }
56538 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56539 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56540 $as_echo_n "(cached) " >&6
56541 else
56544 ac_ext=cpp
56545 ac_cpp='$CXXCPP $CPPFLAGS'
56546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56551 /* end confdefs.h. */
56552 #include <math.h>
56554 main ()
56556 _sincosl(0, 0, 0);
56558 return 0;
56560 _ACEOF
56561 if ac_fn_cxx_try_compile "$LINENO"; then :
56562 glibcxx_cv_func__sincosl_use=yes
56563 else
56564 glibcxx_cv_func__sincosl_use=no
56566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56567 ac_ext=c
56568 ac_cpp='$CPP $CPPFLAGS'
56569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56578 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56580 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56581 for ac_func in _sincosl
56582 do :
56583 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56584 if test "x$ac_cv_func__sincosl" = x""yes; then :
56585 cat >>confdefs.h <<_ACEOF
56586 #define HAVE__SINCOSL 1
56587 _ACEOF
56590 done
56599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56600 $as_echo_n "checking for finitel declaration... " >&6; }
56601 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56602 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56603 $as_echo_n "(cached) " >&6
56604 else
56607 ac_ext=cpp
56608 ac_cpp='$CXXCPP $CPPFLAGS'
56609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56614 /* end confdefs.h. */
56615 #include <math.h>
56616 #ifdef HAVE_IEEEFP_H
56617 #include <ieeefp.h>
56618 #endif
56621 main ()
56623 finitel(0);
56625 return 0;
56627 _ACEOF
56628 if ac_fn_cxx_try_compile "$LINENO"; then :
56629 glibcxx_cv_func_finitel_use=yes
56630 else
56631 glibcxx_cv_func_finitel_use=no
56633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56634 ac_ext=c
56635 ac_cpp='$CPP $CPPFLAGS'
56636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56645 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56647 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56648 for ac_func in finitel
56649 do :
56650 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56651 if test "x$ac_cv_func_finitel" = x""yes; then :
56652 cat >>confdefs.h <<_ACEOF
56653 #define HAVE_FINITEL 1
56654 _ACEOF
56657 done
56659 else
56661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56662 $as_echo_n "checking for _finitel declaration... " >&6; }
56663 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56664 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56665 $as_echo_n "(cached) " >&6
56666 else
56669 ac_ext=cpp
56670 ac_cpp='$CXXCPP $CPPFLAGS'
56671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56676 /* end confdefs.h. */
56677 #include <math.h>
56678 #ifdef HAVE_IEEEFP_H
56679 #include <ieeefp.h>
56680 #endif
56683 main ()
56685 _finitel(0);
56687 return 0;
56689 _ACEOF
56690 if ac_fn_cxx_try_compile "$LINENO"; then :
56691 glibcxx_cv_func__finitel_use=yes
56692 else
56693 glibcxx_cv_func__finitel_use=no
56695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56696 ac_ext=c
56697 ac_cpp='$CPP $CPPFLAGS'
56698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56707 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56709 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56710 for ac_func in _finitel
56711 do :
56712 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56713 if test "x$ac_cv_func__finitel" = x""yes; then :
56714 cat >>confdefs.h <<_ACEOF
56715 #define HAVE__FINITEL 1
56716 _ACEOF
56719 done
56727 LIBS="$ac_save_LIBS"
56728 CXXFLAGS="$ac_save_CXXFLAGS"
56731 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56732 ac_save_CXXFLAGS="$CXXFLAGS"
56733 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56737 $as_echo_n "checking for strtold declaration... " >&6; }
56738 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56739 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56740 $as_echo_n "(cached) " >&6
56741 else
56744 ac_ext=cpp
56745 ac_cpp='$CXXCPP $CPPFLAGS'
56746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56751 /* end confdefs.h. */
56752 #include <stdlib.h>
56754 main ()
56756 strtold(0, 0);
56758 return 0;
56760 _ACEOF
56761 if ac_fn_cxx_try_compile "$LINENO"; then :
56762 glibcxx_cv_func_strtold_use=yes
56763 else
56764 glibcxx_cv_func_strtold_use=no
56766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56767 ac_ext=c
56768 ac_cpp='$CPP $CPPFLAGS'
56769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56778 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56779 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56780 for ac_func in strtold
56781 do :
56782 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56783 if test "x$ac_cv_func_strtold" = x""yes; then :
56784 cat >>confdefs.h <<_ACEOF
56785 #define HAVE_STRTOLD 1
56786 _ACEOF
56789 done
56796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56797 $as_echo_n "checking for strtof declaration... " >&6; }
56798 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56799 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56800 $as_echo_n "(cached) " >&6
56801 else
56804 ac_ext=cpp
56805 ac_cpp='$CXXCPP $CPPFLAGS'
56806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56811 /* end confdefs.h. */
56812 #include <stdlib.h>
56814 main ()
56816 strtof(0, 0);
56818 return 0;
56820 _ACEOF
56821 if ac_fn_cxx_try_compile "$LINENO"; then :
56822 glibcxx_cv_func_strtof_use=yes
56823 else
56824 glibcxx_cv_func_strtof_use=no
56826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56827 ac_ext=c
56828 ac_cpp='$CPP $CPPFLAGS'
56829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56838 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56839 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56840 for ac_func in strtof
56841 do :
56842 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56843 if test "x$ac_cv_func_strtof" = x""yes; then :
56844 cat >>confdefs.h <<_ACEOF
56845 #define HAVE_STRTOF 1
56846 _ACEOF
56849 done
56856 CXXFLAGS="$ac_save_CXXFLAGS"
56859 *-netbsd*)
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_FINITEF 1" >>confdefs.h
57003 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57005 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57007 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57009 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57011 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57013 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57015 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57017 if test x"long_double_math_on_this_cpu" = x"yes"; then
57018 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57020 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57022 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57026 *-netware)
57027 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57030 # If we're not using GNU ld, then there's no point in even trying these
57031 # tests. Check for that first. We should have already tested for gld
57032 # by now (in libtool), but require it now just to be safe...
57033 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57034 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57038 # The name set by libtool depends on the version of libtool. Shame on us
57039 # for depending on an impl detail, but c'est la vie. Older versions used
57040 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57041 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57042 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57043 # set (hence we're using an older libtool), then set it.
57044 if test x${with_gnu_ld+set} != xset; then
57045 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57046 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57047 with_gnu_ld=no
57048 else
57049 with_gnu_ld=$ac_cv_prog_gnu_ld
57053 # Start by getting the version number. I think the libtool test already
57054 # does some of this, but throws away the result.
57055 glibcxx_ld_is_gold=no
57056 if test x"$with_gnu_ld" = x"yes"; then
57057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57058 $as_echo_n "checking for ld version... " >&6; }
57060 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57061 glibcxx_ld_is_gold=yes
57063 ldver=`$LD --version 2>/dev/null |
57064 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'`
57066 glibcxx_gnu_ld_version=`echo $ldver | \
57067 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57069 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57072 # Set --gc-sections.
57073 glibcxx_have_gc_sections=no
57074 if test "$glibcxx_ld_is_gold" = "yes"; then
57075 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57076 glibcxx_have_gc_sections=yes
57078 else
57079 glibcxx_gcsections_min_ld=21602
57080 if test x"$with_gnu_ld" = x"yes" &&
57081 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57082 glibcxx_have_gc_sections=yes
57085 if test "$glibcxx_have_gc_sections" = "yes"; then
57086 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57087 # NB: This flag only works reliably after 2.16.1. Configure tests
57088 # for this are difficult, so hard wire a value that should work.
57090 ac_test_CFLAGS="${CFLAGS+set}"
57091 ac_save_CFLAGS="$CFLAGS"
57092 CFLAGS='-Wl,--gc-sections'
57094 # Check for -Wl,--gc-sections
57095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57096 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57097 if test x$gcc_no_link = xyes; then
57098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57101 /* end confdefs.h. */
57102 int one(void) { return 1; }
57103 int two(void) { return 2; }
57106 main ()
57108 two();
57110 return 0;
57112 _ACEOF
57113 if ac_fn_c_try_link "$LINENO"; then :
57114 ac_gcsections=yes
57115 else
57116 ac_gcsections=no
57118 rm -f core conftest.err conftest.$ac_objext \
57119 conftest$ac_exeext conftest.$ac_ext
57120 if test "$ac_gcsections" = "yes"; then
57121 rm -f conftest.c
57122 touch conftest.c
57123 if $CC -c conftest.c; then
57124 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57125 grep "Warning: gc-sections option ignored" > /dev/null; then
57126 ac_gcsections=no
57129 rm -f conftest.c conftest.o conftest
57131 if test "$ac_gcsections" = "yes"; then
57132 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57135 $as_echo "$ac_gcsections" >&6; }
57137 if test "$ac_test_CFLAGS" = set; then
57138 CFLAGS="$ac_save_CFLAGS"
57139 else
57140 # this is the suspicious part
57141 CFLAGS=''
57145 # Set -z,relro.
57146 # Note this is only for shared objects.
57147 ac_ld_relro=no
57148 if test x"$with_gnu_ld" = x"yes"; then
57149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57150 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57151 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57152 if test -n "$cxx_z_relo"; then
57153 OPT_LDFLAGS="-Wl,-z,relro"
57154 ac_ld_relro=yes
57156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57157 $as_echo "$ac_ld_relro" >&6; }
57160 # Set linker optimization flags.
57161 if test x"$with_gnu_ld" = x"yes"; then
57162 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57168 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57170 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57172 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57175 *-qnx6.1* | *-qnx6.2*)
57176 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57179 # If we're not using GNU ld, then there's no point in even trying these
57180 # tests. Check for that first. We should have already tested for gld
57181 # by now (in libtool), but require it now just to be safe...
57182 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57183 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57187 # The name set by libtool depends on the version of libtool. Shame on us
57188 # for depending on an impl detail, but c'est la vie. Older versions used
57189 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57190 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57191 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57192 # set (hence we're using an older libtool), then set it.
57193 if test x${with_gnu_ld+set} != xset; then
57194 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57195 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57196 with_gnu_ld=no
57197 else
57198 with_gnu_ld=$ac_cv_prog_gnu_ld
57202 # Start by getting the version number. I think the libtool test already
57203 # does some of this, but throws away the result.
57204 glibcxx_ld_is_gold=no
57205 if test x"$with_gnu_ld" = x"yes"; then
57206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57207 $as_echo_n "checking for ld version... " >&6; }
57209 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57210 glibcxx_ld_is_gold=yes
57212 ldver=`$LD --version 2>/dev/null |
57213 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'`
57215 glibcxx_gnu_ld_version=`echo $ldver | \
57216 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57218 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57221 # Set --gc-sections.
57222 glibcxx_have_gc_sections=no
57223 if test "$glibcxx_ld_is_gold" = "yes"; then
57224 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57225 glibcxx_have_gc_sections=yes
57227 else
57228 glibcxx_gcsections_min_ld=21602
57229 if test x"$with_gnu_ld" = x"yes" &&
57230 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57231 glibcxx_have_gc_sections=yes
57234 if test "$glibcxx_have_gc_sections" = "yes"; then
57235 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57236 # NB: This flag only works reliably after 2.16.1. Configure tests
57237 # for this are difficult, so hard wire a value that should work.
57239 ac_test_CFLAGS="${CFLAGS+set}"
57240 ac_save_CFLAGS="$CFLAGS"
57241 CFLAGS='-Wl,--gc-sections'
57243 # Check for -Wl,--gc-sections
57244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57245 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57246 if test x$gcc_no_link = xyes; then
57247 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57250 /* end confdefs.h. */
57251 int one(void) { return 1; }
57252 int two(void) { return 2; }
57255 main ()
57257 two();
57259 return 0;
57261 _ACEOF
57262 if ac_fn_c_try_link "$LINENO"; then :
57263 ac_gcsections=yes
57264 else
57265 ac_gcsections=no
57267 rm -f core conftest.err conftest.$ac_objext \
57268 conftest$ac_exeext conftest.$ac_ext
57269 if test "$ac_gcsections" = "yes"; then
57270 rm -f conftest.c
57271 touch conftest.c
57272 if $CC -c conftest.c; then
57273 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57274 grep "Warning: gc-sections option ignored" > /dev/null; then
57275 ac_gcsections=no
57278 rm -f conftest.c conftest.o conftest
57280 if test "$ac_gcsections" = "yes"; then
57281 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57284 $as_echo "$ac_gcsections" >&6; }
57286 if test "$ac_test_CFLAGS" = set; then
57287 CFLAGS="$ac_save_CFLAGS"
57288 else
57289 # this is the suspicious part
57290 CFLAGS=''
57294 # Set -z,relro.
57295 # Note this is only for shared objects.
57296 ac_ld_relro=no
57297 if test x"$with_gnu_ld" = x"yes"; then
57298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57299 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57300 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57301 if test -n "$cxx_z_relo"; then
57302 OPT_LDFLAGS="-Wl,-z,relro"
57303 ac_ld_relro=yes
57305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57306 $as_echo "$ac_ld_relro" >&6; }
57309 # Set linker optimization flags.
57310 if test x"$with_gnu_ld" = x"yes"; then
57311 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57317 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57319 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57321 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57323 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57325 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57327 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57329 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57331 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57333 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57335 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57337 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57339 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57342 *-rtems*)
57344 # All these tests are for C++; save the language and the compiler flags.
57345 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57346 # found in GLIBCXX_CONFIGURE.
57348 ac_ext=cpp
57349 ac_cpp='$CXXCPP $CPPFLAGS'
57350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57354 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57355 ac_save_CXXFLAGS="$CXXFLAGS"
57357 # Check for maintainer-mode bits.
57358 if test x"$USE_MAINTAINER_MODE" = xno; then
57359 WERROR=''
57360 else
57361 WERROR='-Werror'
57364 # Check for -ffunction-sections -fdata-sections
57365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57366 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57367 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57369 /* end confdefs.h. */
57370 int foo; void bar() { };
57372 main ()
57376 return 0;
57378 _ACEOF
57379 if ac_fn_cxx_try_compile "$LINENO"; then :
57380 ac_fdsections=yes
57381 else
57382 ac_fdsections=no
57384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57385 if test "$ac_test_CXXFLAGS" = set; then
57386 CXXFLAGS="$ac_save_CXXFLAGS"
57387 else
57388 # this is the suspicious part
57389 CXXFLAGS=''
57391 if test x"$ac_fdsections" = x"yes"; then
57392 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57395 $as_echo "$ac_fdsections" >&6; }
57397 ac_ext=c
57398 ac_cpp='$CPP $CPPFLAGS'
57399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57407 # If we're not using GNU ld, then there's no point in even trying these
57408 # tests. Check for that first. We should have already tested for gld
57409 # by now (in libtool), but require it now just to be safe...
57410 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57411 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57415 # The name set by libtool depends on the version of libtool. Shame on us
57416 # for depending on an impl detail, but c'est la vie. Older versions used
57417 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57418 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57419 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57420 # set (hence we're using an older libtool), then set it.
57421 if test x${with_gnu_ld+set} != xset; then
57422 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57423 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57424 with_gnu_ld=no
57425 else
57426 with_gnu_ld=$ac_cv_prog_gnu_ld
57430 # Start by getting the version number. I think the libtool test already
57431 # does some of this, but throws away the result.
57432 glibcxx_ld_is_gold=no
57433 if test x"$with_gnu_ld" = x"yes"; then
57434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57435 $as_echo_n "checking for ld version... " >&6; }
57437 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57438 glibcxx_ld_is_gold=yes
57440 ldver=`$LD --version 2>/dev/null |
57441 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'`
57443 glibcxx_gnu_ld_version=`echo $ldver | \
57444 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57446 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57449 # Set --gc-sections.
57450 glibcxx_have_gc_sections=no
57451 if test "$glibcxx_ld_is_gold" = "yes"; then
57452 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57453 glibcxx_have_gc_sections=yes
57455 else
57456 glibcxx_gcsections_min_ld=21602
57457 if test x"$with_gnu_ld" = x"yes" &&
57458 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57459 glibcxx_have_gc_sections=yes
57462 if test "$glibcxx_have_gc_sections" = "yes"; then
57463 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57464 # NB: This flag only works reliably after 2.16.1. Configure tests
57465 # for this are difficult, so hard wire a value that should work.
57467 ac_test_CFLAGS="${CFLAGS+set}"
57468 ac_save_CFLAGS="$CFLAGS"
57469 CFLAGS='-Wl,--gc-sections'
57471 # Check for -Wl,--gc-sections
57472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57473 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57474 if test x$gcc_no_link = xyes; then
57475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57478 /* end confdefs.h. */
57479 int one(void) { return 1; }
57480 int two(void) { return 2; }
57483 main ()
57485 two();
57487 return 0;
57489 _ACEOF
57490 if ac_fn_c_try_link "$LINENO"; then :
57491 ac_gcsections=yes
57492 else
57493 ac_gcsections=no
57495 rm -f core conftest.err conftest.$ac_objext \
57496 conftest$ac_exeext conftest.$ac_ext
57497 if test "$ac_gcsections" = "yes"; then
57498 rm -f conftest.c
57499 touch conftest.c
57500 if $CC -c conftest.c; then
57501 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57502 grep "Warning: gc-sections option ignored" > /dev/null; then
57503 ac_gcsections=no
57506 rm -f conftest.c conftest.o conftest
57508 if test "$ac_gcsections" = "yes"; then
57509 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57512 $as_echo "$ac_gcsections" >&6; }
57514 if test "$ac_test_CFLAGS" = set; then
57515 CFLAGS="$ac_save_CFLAGS"
57516 else
57517 # this is the suspicious part
57518 CFLAGS=''
57522 # Set -z,relro.
57523 # Note this is only for shared objects.
57524 ac_ld_relro=no
57525 if test x"$with_gnu_ld" = x"yes"; then
57526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57527 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57528 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57529 if test -n "$cxx_z_relo"; then
57530 OPT_LDFLAGS="-Wl,-z,relro"
57531 ac_ld_relro=yes
57533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57534 $as_echo "$ac_ld_relro" >&6; }
57537 # Set linker optimization flags.
57538 if test x"$with_gnu_ld" = x"yes"; then
57539 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57546 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57547 ac_save_CXXFLAGS="$CXXFLAGS"
57548 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57551 $as_echo_n "checking for sin in -lm... " >&6; }
57552 if test "${ac_cv_lib_m_sin+set}" = set; then :
57553 $as_echo_n "(cached) " >&6
57554 else
57555 ac_check_lib_save_LIBS=$LIBS
57556 LIBS="-lm $LIBS"
57557 if test x$gcc_no_link = xyes; then
57558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57561 /* end confdefs.h. */
57563 /* Override any GCC internal prototype to avoid an error.
57564 Use char because int might match the return type of a GCC
57565 builtin and then its argument prototype would still apply. */
57566 #ifdef __cplusplus
57567 extern "C"
57568 #endif
57569 char sin ();
57571 main ()
57573 return sin ();
57575 return 0;
57577 _ACEOF
57578 if ac_fn_c_try_link "$LINENO"; then :
57579 ac_cv_lib_m_sin=yes
57580 else
57581 ac_cv_lib_m_sin=no
57583 rm -f core conftest.err conftest.$ac_objext \
57584 conftest$ac_exeext conftest.$ac_ext
57585 LIBS=$ac_check_lib_save_LIBS
57587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57588 $as_echo "$ac_cv_lib_m_sin" >&6; }
57589 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57590 libm="-lm"
57593 ac_save_LIBS="$LIBS"
57594 LIBS="$LIBS $libm"
57598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57599 $as_echo_n "checking for isinf declaration... " >&6; }
57600 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57601 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57602 $as_echo_n "(cached) " >&6
57603 else
57606 ac_ext=cpp
57607 ac_cpp='$CXXCPP $CPPFLAGS'
57608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57613 /* end confdefs.h. */
57614 #include <math.h>
57615 #ifdef HAVE_IEEEFP_H
57616 #include <ieeefp.h>
57617 #endif
57620 main ()
57622 isinf(0);
57624 return 0;
57626 _ACEOF
57627 if ac_fn_cxx_try_compile "$LINENO"; then :
57628 glibcxx_cv_func_isinf_use=yes
57629 else
57630 glibcxx_cv_func_isinf_use=no
57632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57633 ac_ext=c
57634 ac_cpp='$CPP $CPPFLAGS'
57635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57644 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57646 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57647 for ac_func in isinf
57648 do :
57649 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57650 if test "x$ac_cv_func_isinf" = x""yes; then :
57651 cat >>confdefs.h <<_ACEOF
57652 #define HAVE_ISINF 1
57653 _ACEOF
57656 done
57658 else
57660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57661 $as_echo_n "checking for _isinf declaration... " >&6; }
57662 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57663 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57664 $as_echo_n "(cached) " >&6
57665 else
57668 ac_ext=cpp
57669 ac_cpp='$CXXCPP $CPPFLAGS'
57670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57675 /* end confdefs.h. */
57676 #include <math.h>
57677 #ifdef HAVE_IEEEFP_H
57678 #include <ieeefp.h>
57679 #endif
57682 main ()
57684 _isinf(0);
57686 return 0;
57688 _ACEOF
57689 if ac_fn_cxx_try_compile "$LINENO"; then :
57690 glibcxx_cv_func__isinf_use=yes
57691 else
57692 glibcxx_cv_func__isinf_use=no
57694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57695 ac_ext=c
57696 ac_cpp='$CPP $CPPFLAGS'
57697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57706 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57708 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57709 for ac_func in _isinf
57710 do :
57711 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57712 if test "x$ac_cv_func__isinf" = x""yes; then :
57713 cat >>confdefs.h <<_ACEOF
57714 #define HAVE__ISINF 1
57715 _ACEOF
57718 done
57727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57728 $as_echo_n "checking for isnan declaration... " >&6; }
57729 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57730 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57731 $as_echo_n "(cached) " >&6
57732 else
57735 ac_ext=cpp
57736 ac_cpp='$CXXCPP $CPPFLAGS'
57737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57742 /* end confdefs.h. */
57743 #include <math.h>
57744 #ifdef HAVE_IEEEFP_H
57745 #include <ieeefp.h>
57746 #endif
57749 main ()
57751 isnan(0);
57753 return 0;
57755 _ACEOF
57756 if ac_fn_cxx_try_compile "$LINENO"; then :
57757 glibcxx_cv_func_isnan_use=yes
57758 else
57759 glibcxx_cv_func_isnan_use=no
57761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57762 ac_ext=c
57763 ac_cpp='$CPP $CPPFLAGS'
57764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57773 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57775 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57776 for ac_func in isnan
57777 do :
57778 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57779 if test "x$ac_cv_func_isnan" = x""yes; then :
57780 cat >>confdefs.h <<_ACEOF
57781 #define HAVE_ISNAN 1
57782 _ACEOF
57785 done
57787 else
57789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57790 $as_echo_n "checking for _isnan declaration... " >&6; }
57791 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57792 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57793 $as_echo_n "(cached) " >&6
57794 else
57797 ac_ext=cpp
57798 ac_cpp='$CXXCPP $CPPFLAGS'
57799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57804 /* end confdefs.h. */
57805 #include <math.h>
57806 #ifdef HAVE_IEEEFP_H
57807 #include <ieeefp.h>
57808 #endif
57811 main ()
57813 _isnan(0);
57815 return 0;
57817 _ACEOF
57818 if ac_fn_cxx_try_compile "$LINENO"; then :
57819 glibcxx_cv_func__isnan_use=yes
57820 else
57821 glibcxx_cv_func__isnan_use=no
57823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57824 ac_ext=c
57825 ac_cpp='$CPP $CPPFLAGS'
57826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
57835 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
57837 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57838 for ac_func in _isnan
57839 do :
57840 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
57841 if test "x$ac_cv_func__isnan" = x""yes; then :
57842 cat >>confdefs.h <<_ACEOF
57843 #define HAVE__ISNAN 1
57844 _ACEOF
57847 done
57856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
57857 $as_echo_n "checking for finite declaration... " >&6; }
57858 if test x${glibcxx_cv_func_finite_use+set} != xset; then
57859 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
57860 $as_echo_n "(cached) " >&6
57861 else
57864 ac_ext=cpp
57865 ac_cpp='$CXXCPP $CPPFLAGS'
57866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57871 /* end confdefs.h. */
57872 #include <math.h>
57873 #ifdef HAVE_IEEEFP_H
57874 #include <ieeefp.h>
57875 #endif
57878 main ()
57880 finite(0);
57882 return 0;
57884 _ACEOF
57885 if ac_fn_cxx_try_compile "$LINENO"; then :
57886 glibcxx_cv_func_finite_use=yes
57887 else
57888 glibcxx_cv_func_finite_use=no
57890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57891 ac_ext=c
57892 ac_cpp='$CPP $CPPFLAGS'
57893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
57902 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
57904 if test x$glibcxx_cv_func_finite_use = x"yes"; then
57905 for ac_func in finite
57906 do :
57907 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
57908 if test "x$ac_cv_func_finite" = x""yes; then :
57909 cat >>confdefs.h <<_ACEOF
57910 #define HAVE_FINITE 1
57911 _ACEOF
57914 done
57916 else
57918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
57919 $as_echo_n "checking for _finite declaration... " >&6; }
57920 if test x${glibcxx_cv_func__finite_use+set} != xset; then
57921 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
57922 $as_echo_n "(cached) " >&6
57923 else
57926 ac_ext=cpp
57927 ac_cpp='$CXXCPP $CPPFLAGS'
57928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57933 /* end confdefs.h. */
57934 #include <math.h>
57935 #ifdef HAVE_IEEEFP_H
57936 #include <ieeefp.h>
57937 #endif
57940 main ()
57942 _finite(0);
57944 return 0;
57946 _ACEOF
57947 if ac_fn_cxx_try_compile "$LINENO"; then :
57948 glibcxx_cv_func__finite_use=yes
57949 else
57950 glibcxx_cv_func__finite_use=no
57952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57953 ac_ext=c
57954 ac_cpp='$CPP $CPPFLAGS'
57955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
57964 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
57966 if test x$glibcxx_cv_func__finite_use = x"yes"; then
57967 for ac_func in _finite
57968 do :
57969 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
57970 if test "x$ac_cv_func__finite" = x""yes; then :
57971 cat >>confdefs.h <<_ACEOF
57972 #define HAVE__FINITE 1
57973 _ACEOF
57976 done
57985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
57986 $as_echo_n "checking for sincos declaration... " >&6; }
57987 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
57988 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
57989 $as_echo_n "(cached) " >&6
57990 else
57993 ac_ext=cpp
57994 ac_cpp='$CXXCPP $CPPFLAGS'
57995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58000 /* end confdefs.h. */
58001 #include <math.h>
58003 main ()
58005 sincos(0, 0, 0);
58007 return 0;
58009 _ACEOF
58010 if ac_fn_cxx_try_compile "$LINENO"; then :
58011 glibcxx_cv_func_sincos_use=yes
58012 else
58013 glibcxx_cv_func_sincos_use=no
58015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58016 ac_ext=c
58017 ac_cpp='$CPP $CPPFLAGS'
58018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58027 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58029 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58030 for ac_func in sincos
58031 do :
58032 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58033 if test "x$ac_cv_func_sincos" = x""yes; then :
58034 cat >>confdefs.h <<_ACEOF
58035 #define HAVE_SINCOS 1
58036 _ACEOF
58039 done
58041 else
58043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58044 $as_echo_n "checking for _sincos declaration... " >&6; }
58045 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58046 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58047 $as_echo_n "(cached) " >&6
58048 else
58051 ac_ext=cpp
58052 ac_cpp='$CXXCPP $CPPFLAGS'
58053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58058 /* end confdefs.h. */
58059 #include <math.h>
58061 main ()
58063 _sincos(0, 0, 0);
58065 return 0;
58067 _ACEOF
58068 if ac_fn_cxx_try_compile "$LINENO"; then :
58069 glibcxx_cv_func__sincos_use=yes
58070 else
58071 glibcxx_cv_func__sincos_use=no
58073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58074 ac_ext=c
58075 ac_cpp='$CPP $CPPFLAGS'
58076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58085 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58087 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58088 for ac_func in _sincos
58089 do :
58090 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58091 if test "x$ac_cv_func__sincos" = x""yes; then :
58092 cat >>confdefs.h <<_ACEOF
58093 #define HAVE__SINCOS 1
58094 _ACEOF
58097 done
58106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58107 $as_echo_n "checking for fpclass declaration... " >&6; }
58108 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58109 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58110 $as_echo_n "(cached) " >&6
58111 else
58114 ac_ext=cpp
58115 ac_cpp='$CXXCPP $CPPFLAGS'
58116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58121 /* end confdefs.h. */
58122 #include <math.h>
58123 #ifdef HAVE_IEEEFP_H
58124 #include <ieeefp.h>
58125 #endif
58128 main ()
58130 fpclass(0);
58132 return 0;
58134 _ACEOF
58135 if ac_fn_cxx_try_compile "$LINENO"; then :
58136 glibcxx_cv_func_fpclass_use=yes
58137 else
58138 glibcxx_cv_func_fpclass_use=no
58140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58141 ac_ext=c
58142 ac_cpp='$CPP $CPPFLAGS'
58143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58152 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58154 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58155 for ac_func in fpclass
58156 do :
58157 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58158 if test "x$ac_cv_func_fpclass" = x""yes; then :
58159 cat >>confdefs.h <<_ACEOF
58160 #define HAVE_FPCLASS 1
58161 _ACEOF
58164 done
58166 else
58168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58169 $as_echo_n "checking for _fpclass declaration... " >&6; }
58170 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58171 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58172 $as_echo_n "(cached) " >&6
58173 else
58176 ac_ext=cpp
58177 ac_cpp='$CXXCPP $CPPFLAGS'
58178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58183 /* end confdefs.h. */
58184 #include <math.h>
58185 #ifdef HAVE_IEEEFP_H
58186 #include <ieeefp.h>
58187 #endif
58190 main ()
58192 _fpclass(0);
58194 return 0;
58196 _ACEOF
58197 if ac_fn_cxx_try_compile "$LINENO"; then :
58198 glibcxx_cv_func__fpclass_use=yes
58199 else
58200 glibcxx_cv_func__fpclass_use=no
58202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58203 ac_ext=c
58204 ac_cpp='$CPP $CPPFLAGS'
58205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58214 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58216 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58217 for ac_func in _fpclass
58218 do :
58219 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58220 if test "x$ac_cv_func__fpclass" = x""yes; then :
58221 cat >>confdefs.h <<_ACEOF
58222 #define HAVE__FPCLASS 1
58223 _ACEOF
58226 done
58235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58236 $as_echo_n "checking for qfpclass declaration... " >&6; }
58237 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58238 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58239 $as_echo_n "(cached) " >&6
58240 else
58243 ac_ext=cpp
58244 ac_cpp='$CXXCPP $CPPFLAGS'
58245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58250 /* end confdefs.h. */
58251 #include <math.h>
58252 #ifdef HAVE_IEEEFP_H
58253 #include <ieeefp.h>
58254 #endif
58257 main ()
58259 qfpclass(0);
58261 return 0;
58263 _ACEOF
58264 if ac_fn_cxx_try_compile "$LINENO"; then :
58265 glibcxx_cv_func_qfpclass_use=yes
58266 else
58267 glibcxx_cv_func_qfpclass_use=no
58269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58270 ac_ext=c
58271 ac_cpp='$CPP $CPPFLAGS'
58272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58281 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58283 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58284 for ac_func in qfpclass
58285 do :
58286 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58287 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58288 cat >>confdefs.h <<_ACEOF
58289 #define HAVE_QFPCLASS 1
58290 _ACEOF
58293 done
58295 else
58297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58298 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58299 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58300 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58301 $as_echo_n "(cached) " >&6
58302 else
58305 ac_ext=cpp
58306 ac_cpp='$CXXCPP $CPPFLAGS'
58307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58312 /* end confdefs.h. */
58313 #include <math.h>
58314 #ifdef HAVE_IEEEFP_H
58315 #include <ieeefp.h>
58316 #endif
58319 main ()
58321 _qfpclass(0);
58323 return 0;
58325 _ACEOF
58326 if ac_fn_cxx_try_compile "$LINENO"; then :
58327 glibcxx_cv_func__qfpclass_use=yes
58328 else
58329 glibcxx_cv_func__qfpclass_use=no
58331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58332 ac_ext=c
58333 ac_cpp='$CPP $CPPFLAGS'
58334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58343 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58345 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58346 for ac_func in _qfpclass
58347 do :
58348 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58349 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58350 cat >>confdefs.h <<_ACEOF
58351 #define HAVE__QFPCLASS 1
58352 _ACEOF
58355 done
58364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58365 $as_echo_n "checking for hypot declaration... " >&6; }
58366 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58367 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58368 $as_echo_n "(cached) " >&6
58369 else
58372 ac_ext=cpp
58373 ac_cpp='$CXXCPP $CPPFLAGS'
58374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58379 /* end confdefs.h. */
58380 #include <math.h>
58382 main ()
58384 hypot(0, 0);
58386 return 0;
58388 _ACEOF
58389 if ac_fn_cxx_try_compile "$LINENO"; then :
58390 glibcxx_cv_func_hypot_use=yes
58391 else
58392 glibcxx_cv_func_hypot_use=no
58394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58395 ac_ext=c
58396 ac_cpp='$CPP $CPPFLAGS'
58397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58406 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58408 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58409 for ac_func in hypot
58410 do :
58411 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58412 if test "x$ac_cv_func_hypot" = x""yes; then :
58413 cat >>confdefs.h <<_ACEOF
58414 #define HAVE_HYPOT 1
58415 _ACEOF
58418 done
58420 else
58422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58423 $as_echo_n "checking for _hypot declaration... " >&6; }
58424 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58425 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58426 $as_echo_n "(cached) " >&6
58427 else
58430 ac_ext=cpp
58431 ac_cpp='$CXXCPP $CPPFLAGS'
58432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58437 /* end confdefs.h. */
58438 #include <math.h>
58440 main ()
58442 _hypot(0, 0);
58444 return 0;
58446 _ACEOF
58447 if ac_fn_cxx_try_compile "$LINENO"; then :
58448 glibcxx_cv_func__hypot_use=yes
58449 else
58450 glibcxx_cv_func__hypot_use=no
58452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58453 ac_ext=c
58454 ac_cpp='$CPP $CPPFLAGS'
58455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58464 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58466 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58467 for ac_func in _hypot
58468 do :
58469 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58470 if test "x$ac_cv_func__hypot" = x""yes; then :
58471 cat >>confdefs.h <<_ACEOF
58472 #define HAVE__HYPOT 1
58473 _ACEOF
58476 done
58485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58486 $as_echo_n "checking for float trig functions... " >&6; }
58487 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58488 $as_echo_n "(cached) " >&6
58489 else
58492 ac_ext=cpp
58493 ac_cpp='$CXXCPP $CPPFLAGS'
58494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58499 /* end confdefs.h. */
58500 #include <math.h>
58502 main ()
58504 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58506 return 0;
58508 _ACEOF
58509 if ac_fn_cxx_try_compile "$LINENO"; then :
58510 glibcxx_cv_func_float_trig_use=yes
58511 else
58512 glibcxx_cv_func_float_trig_use=no
58514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58515 ac_ext=c
58516 ac_cpp='$CPP $CPPFLAGS'
58517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58524 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58525 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58526 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58527 do :
58528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58530 eval as_val=\$$as_ac_var
58531 if test "x$as_val" = x""yes; then :
58532 cat >>confdefs.h <<_ACEOF
58533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58534 _ACEOF
58537 done
58539 else
58540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58541 $as_echo_n "checking for _float trig functions... " >&6; }
58542 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58543 $as_echo_n "(cached) " >&6
58544 else
58547 ac_ext=cpp
58548 ac_cpp='$CXXCPP $CPPFLAGS'
58549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58554 /* end confdefs.h. */
58555 #include <math.h>
58557 main ()
58559 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58561 return 0;
58563 _ACEOF
58564 if ac_fn_cxx_try_compile "$LINENO"; then :
58565 glibcxx_cv_func__float_trig_use=yes
58566 else
58567 glibcxx_cv_func__float_trig_use=no
58569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58570 ac_ext=c
58571 ac_cpp='$CPP $CPPFLAGS'
58572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58579 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58580 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58581 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58582 do :
58583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58585 eval as_val=\$$as_ac_var
58586 if test "x$as_val" = x""yes; then :
58587 cat >>confdefs.h <<_ACEOF
58588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58589 _ACEOF
58592 done
58601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58602 $as_echo_n "checking for float round functions... " >&6; }
58603 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58604 $as_echo_n "(cached) " >&6
58605 else
58608 ac_ext=cpp
58609 ac_cpp='$CXXCPP $CPPFLAGS'
58610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58615 /* end confdefs.h. */
58616 #include <math.h>
58618 main ()
58620 ceilf (0); floorf (0);
58622 return 0;
58624 _ACEOF
58625 if ac_fn_cxx_try_compile "$LINENO"; then :
58626 glibcxx_cv_func_float_round_use=yes
58627 else
58628 glibcxx_cv_func_float_round_use=no
58630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58631 ac_ext=c
58632 ac_cpp='$CPP $CPPFLAGS'
58633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58640 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58641 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58642 for ac_func in ceilf floorf
58643 do :
58644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58646 eval as_val=\$$as_ac_var
58647 if test "x$as_val" = x""yes; then :
58648 cat >>confdefs.h <<_ACEOF
58649 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58650 _ACEOF
58653 done
58655 else
58656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58657 $as_echo_n "checking for _float round functions... " >&6; }
58658 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58659 $as_echo_n "(cached) " >&6
58660 else
58663 ac_ext=cpp
58664 ac_cpp='$CXXCPP $CPPFLAGS'
58665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58670 /* end confdefs.h. */
58671 #include <math.h>
58673 main ()
58675 _ceilf (0); _floorf (0);
58677 return 0;
58679 _ACEOF
58680 if ac_fn_cxx_try_compile "$LINENO"; then :
58681 glibcxx_cv_func__float_round_use=yes
58682 else
58683 glibcxx_cv_func__float_round_use=no
58685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58686 ac_ext=c
58687 ac_cpp='$CPP $CPPFLAGS'
58688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58695 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58696 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58697 for ac_func in _ceilf _floorf
58698 do :
58699 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58701 eval as_val=\$$as_ac_var
58702 if test "x$as_val" = x""yes; then :
58703 cat >>confdefs.h <<_ACEOF
58704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58705 _ACEOF
58708 done
58718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58719 $as_echo_n "checking for expf declaration... " >&6; }
58720 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58721 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58722 $as_echo_n "(cached) " >&6
58723 else
58726 ac_ext=cpp
58727 ac_cpp='$CXXCPP $CPPFLAGS'
58728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58733 /* end confdefs.h. */
58734 #include <math.h>
58735 #ifdef HAVE_IEEEFP_H
58736 #include <ieeefp.h>
58737 #endif
58740 main ()
58742 expf(0);
58744 return 0;
58746 _ACEOF
58747 if ac_fn_cxx_try_compile "$LINENO"; then :
58748 glibcxx_cv_func_expf_use=yes
58749 else
58750 glibcxx_cv_func_expf_use=no
58752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58753 ac_ext=c
58754 ac_cpp='$CPP $CPPFLAGS'
58755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58764 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58766 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58767 for ac_func in expf
58768 do :
58769 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58770 if test "x$ac_cv_func_expf" = x""yes; then :
58771 cat >>confdefs.h <<_ACEOF
58772 #define HAVE_EXPF 1
58773 _ACEOF
58776 done
58778 else
58780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58781 $as_echo_n "checking for _expf declaration... " >&6; }
58782 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58783 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
58784 $as_echo_n "(cached) " >&6
58785 else
58788 ac_ext=cpp
58789 ac_cpp='$CXXCPP $CPPFLAGS'
58790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58795 /* end confdefs.h. */
58796 #include <math.h>
58797 #ifdef HAVE_IEEEFP_H
58798 #include <ieeefp.h>
58799 #endif
58802 main ()
58804 _expf(0);
58806 return 0;
58808 _ACEOF
58809 if ac_fn_cxx_try_compile "$LINENO"; then :
58810 glibcxx_cv_func__expf_use=yes
58811 else
58812 glibcxx_cv_func__expf_use=no
58814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58815 ac_ext=c
58816 ac_cpp='$CPP $CPPFLAGS'
58817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
58826 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
58828 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58829 for ac_func in _expf
58830 do :
58831 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
58832 if test "x$ac_cv_func__expf" = x""yes; then :
58833 cat >>confdefs.h <<_ACEOF
58834 #define HAVE__EXPF 1
58835 _ACEOF
58838 done
58847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
58848 $as_echo_n "checking for isnanf declaration... " >&6; }
58849 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58850 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
58851 $as_echo_n "(cached) " >&6
58852 else
58855 ac_ext=cpp
58856 ac_cpp='$CXXCPP $CPPFLAGS'
58857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58862 /* end confdefs.h. */
58863 #include <math.h>
58864 #ifdef HAVE_IEEEFP_H
58865 #include <ieeefp.h>
58866 #endif
58869 main ()
58871 isnanf(0);
58873 return 0;
58875 _ACEOF
58876 if ac_fn_cxx_try_compile "$LINENO"; then :
58877 glibcxx_cv_func_isnanf_use=yes
58878 else
58879 glibcxx_cv_func_isnanf_use=no
58881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58882 ac_ext=c
58883 ac_cpp='$CPP $CPPFLAGS'
58884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
58893 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
58895 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58896 for ac_func in isnanf
58897 do :
58898 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
58899 if test "x$ac_cv_func_isnanf" = x""yes; then :
58900 cat >>confdefs.h <<_ACEOF
58901 #define HAVE_ISNANF 1
58902 _ACEOF
58905 done
58907 else
58909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
58910 $as_echo_n "checking for _isnanf declaration... " >&6; }
58911 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58912 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
58913 $as_echo_n "(cached) " >&6
58914 else
58917 ac_ext=cpp
58918 ac_cpp='$CXXCPP $CPPFLAGS'
58919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58924 /* end confdefs.h. */
58925 #include <math.h>
58926 #ifdef HAVE_IEEEFP_H
58927 #include <ieeefp.h>
58928 #endif
58931 main ()
58933 _isnanf(0);
58935 return 0;
58937 _ACEOF
58938 if ac_fn_cxx_try_compile "$LINENO"; then :
58939 glibcxx_cv_func__isnanf_use=yes
58940 else
58941 glibcxx_cv_func__isnanf_use=no
58943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58944 ac_ext=c
58945 ac_cpp='$CPP $CPPFLAGS'
58946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
58955 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
58957 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58958 for ac_func in _isnanf
58959 do :
58960 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
58961 if test "x$ac_cv_func__isnanf" = x""yes; then :
58962 cat >>confdefs.h <<_ACEOF
58963 #define HAVE__ISNANF 1
58964 _ACEOF
58967 done
58976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
58977 $as_echo_n "checking for isinff declaration... " >&6; }
58978 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58979 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
58980 $as_echo_n "(cached) " >&6
58981 else
58984 ac_ext=cpp
58985 ac_cpp='$CXXCPP $CPPFLAGS'
58986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58991 /* end confdefs.h. */
58992 #include <math.h>
58993 #ifdef HAVE_IEEEFP_H
58994 #include <ieeefp.h>
58995 #endif
58998 main ()
59000 isinff(0);
59002 return 0;
59004 _ACEOF
59005 if ac_fn_cxx_try_compile "$LINENO"; then :
59006 glibcxx_cv_func_isinff_use=yes
59007 else
59008 glibcxx_cv_func_isinff_use=no
59010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59011 ac_ext=c
59012 ac_cpp='$CPP $CPPFLAGS'
59013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59022 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59024 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59025 for ac_func in isinff
59026 do :
59027 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59028 if test "x$ac_cv_func_isinff" = x""yes; then :
59029 cat >>confdefs.h <<_ACEOF
59030 #define HAVE_ISINFF 1
59031 _ACEOF
59034 done
59036 else
59038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59039 $as_echo_n "checking for _isinff declaration... " >&6; }
59040 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59041 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59042 $as_echo_n "(cached) " >&6
59043 else
59046 ac_ext=cpp
59047 ac_cpp='$CXXCPP $CPPFLAGS'
59048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59053 /* end confdefs.h. */
59054 #include <math.h>
59055 #ifdef HAVE_IEEEFP_H
59056 #include <ieeefp.h>
59057 #endif
59060 main ()
59062 _isinff(0);
59064 return 0;
59066 _ACEOF
59067 if ac_fn_cxx_try_compile "$LINENO"; then :
59068 glibcxx_cv_func__isinff_use=yes
59069 else
59070 glibcxx_cv_func__isinff_use=no
59072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59073 ac_ext=c
59074 ac_cpp='$CPP $CPPFLAGS'
59075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59084 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59086 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59087 for ac_func in _isinff
59088 do :
59089 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59090 if test "x$ac_cv_func__isinff" = x""yes; then :
59091 cat >>confdefs.h <<_ACEOF
59092 #define HAVE__ISINFF 1
59093 _ACEOF
59096 done
59105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59106 $as_echo_n "checking for atan2f declaration... " >&6; }
59107 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59108 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59109 $as_echo_n "(cached) " >&6
59110 else
59113 ac_ext=cpp
59114 ac_cpp='$CXXCPP $CPPFLAGS'
59115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59120 /* end confdefs.h. */
59121 #include <math.h>
59123 main ()
59125 atan2f(0, 0);
59127 return 0;
59129 _ACEOF
59130 if ac_fn_cxx_try_compile "$LINENO"; then :
59131 glibcxx_cv_func_atan2f_use=yes
59132 else
59133 glibcxx_cv_func_atan2f_use=no
59135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59136 ac_ext=c
59137 ac_cpp='$CPP $CPPFLAGS'
59138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59147 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59149 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59150 for ac_func in atan2f
59151 do :
59152 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59153 if test "x$ac_cv_func_atan2f" = x""yes; then :
59154 cat >>confdefs.h <<_ACEOF
59155 #define HAVE_ATAN2F 1
59156 _ACEOF
59159 done
59161 else
59163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59164 $as_echo_n "checking for _atan2f declaration... " >&6; }
59165 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59166 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59167 $as_echo_n "(cached) " >&6
59168 else
59171 ac_ext=cpp
59172 ac_cpp='$CXXCPP $CPPFLAGS'
59173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59178 /* end confdefs.h. */
59179 #include <math.h>
59181 main ()
59183 _atan2f(0, 0);
59185 return 0;
59187 _ACEOF
59188 if ac_fn_cxx_try_compile "$LINENO"; then :
59189 glibcxx_cv_func__atan2f_use=yes
59190 else
59191 glibcxx_cv_func__atan2f_use=no
59193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59194 ac_ext=c
59195 ac_cpp='$CPP $CPPFLAGS'
59196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59205 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59207 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59208 for ac_func in _atan2f
59209 do :
59210 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59211 if test "x$ac_cv_func__atan2f" = x""yes; then :
59212 cat >>confdefs.h <<_ACEOF
59213 #define HAVE__ATAN2F 1
59214 _ACEOF
59217 done
59226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59227 $as_echo_n "checking for fabsf declaration... " >&6; }
59228 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59229 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59230 $as_echo_n "(cached) " >&6
59231 else
59234 ac_ext=cpp
59235 ac_cpp='$CXXCPP $CPPFLAGS'
59236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59241 /* end confdefs.h. */
59242 #include <math.h>
59243 #ifdef HAVE_IEEEFP_H
59244 #include <ieeefp.h>
59245 #endif
59248 main ()
59250 fabsf(0);
59252 return 0;
59254 _ACEOF
59255 if ac_fn_cxx_try_compile "$LINENO"; then :
59256 glibcxx_cv_func_fabsf_use=yes
59257 else
59258 glibcxx_cv_func_fabsf_use=no
59260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59261 ac_ext=c
59262 ac_cpp='$CPP $CPPFLAGS'
59263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59272 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59274 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59275 for ac_func in fabsf
59276 do :
59277 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59278 if test "x$ac_cv_func_fabsf" = x""yes; then :
59279 cat >>confdefs.h <<_ACEOF
59280 #define HAVE_FABSF 1
59281 _ACEOF
59284 done
59286 else
59288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59289 $as_echo_n "checking for _fabsf declaration... " >&6; }
59290 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59291 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59292 $as_echo_n "(cached) " >&6
59293 else
59296 ac_ext=cpp
59297 ac_cpp='$CXXCPP $CPPFLAGS'
59298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59303 /* end confdefs.h. */
59304 #include <math.h>
59305 #ifdef HAVE_IEEEFP_H
59306 #include <ieeefp.h>
59307 #endif
59310 main ()
59312 _fabsf(0);
59314 return 0;
59316 _ACEOF
59317 if ac_fn_cxx_try_compile "$LINENO"; then :
59318 glibcxx_cv_func__fabsf_use=yes
59319 else
59320 glibcxx_cv_func__fabsf_use=no
59322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59323 ac_ext=c
59324 ac_cpp='$CPP $CPPFLAGS'
59325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59334 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59336 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59337 for ac_func in _fabsf
59338 do :
59339 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59340 if test "x$ac_cv_func__fabsf" = x""yes; then :
59341 cat >>confdefs.h <<_ACEOF
59342 #define HAVE__FABSF 1
59343 _ACEOF
59346 done
59355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59356 $as_echo_n "checking for fmodf declaration... " >&6; }
59357 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59358 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59359 $as_echo_n "(cached) " >&6
59360 else
59363 ac_ext=cpp
59364 ac_cpp='$CXXCPP $CPPFLAGS'
59365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59370 /* end confdefs.h. */
59371 #include <math.h>
59373 main ()
59375 fmodf(0, 0);
59377 return 0;
59379 _ACEOF
59380 if ac_fn_cxx_try_compile "$LINENO"; then :
59381 glibcxx_cv_func_fmodf_use=yes
59382 else
59383 glibcxx_cv_func_fmodf_use=no
59385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59386 ac_ext=c
59387 ac_cpp='$CPP $CPPFLAGS'
59388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59397 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59399 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59400 for ac_func in fmodf
59401 do :
59402 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59403 if test "x$ac_cv_func_fmodf" = x""yes; then :
59404 cat >>confdefs.h <<_ACEOF
59405 #define HAVE_FMODF 1
59406 _ACEOF
59409 done
59411 else
59413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59414 $as_echo_n "checking for _fmodf declaration... " >&6; }
59415 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59416 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59417 $as_echo_n "(cached) " >&6
59418 else
59421 ac_ext=cpp
59422 ac_cpp='$CXXCPP $CPPFLAGS'
59423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59428 /* end confdefs.h. */
59429 #include <math.h>
59431 main ()
59433 _fmodf(0, 0);
59435 return 0;
59437 _ACEOF
59438 if ac_fn_cxx_try_compile "$LINENO"; then :
59439 glibcxx_cv_func__fmodf_use=yes
59440 else
59441 glibcxx_cv_func__fmodf_use=no
59443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59444 ac_ext=c
59445 ac_cpp='$CPP $CPPFLAGS'
59446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59455 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59457 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59458 for ac_func in _fmodf
59459 do :
59460 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59461 if test "x$ac_cv_func__fmodf" = x""yes; then :
59462 cat >>confdefs.h <<_ACEOF
59463 #define HAVE__FMODF 1
59464 _ACEOF
59467 done
59476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59477 $as_echo_n "checking for frexpf declaration... " >&6; }
59478 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59479 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59480 $as_echo_n "(cached) " >&6
59481 else
59484 ac_ext=cpp
59485 ac_cpp='$CXXCPP $CPPFLAGS'
59486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59491 /* end confdefs.h. */
59492 #include <math.h>
59494 main ()
59496 frexpf(0, 0);
59498 return 0;
59500 _ACEOF
59501 if ac_fn_cxx_try_compile "$LINENO"; then :
59502 glibcxx_cv_func_frexpf_use=yes
59503 else
59504 glibcxx_cv_func_frexpf_use=no
59506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59507 ac_ext=c
59508 ac_cpp='$CPP $CPPFLAGS'
59509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59518 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59520 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59521 for ac_func in frexpf
59522 do :
59523 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59524 if test "x$ac_cv_func_frexpf" = x""yes; then :
59525 cat >>confdefs.h <<_ACEOF
59526 #define HAVE_FREXPF 1
59527 _ACEOF
59530 done
59532 else
59534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59535 $as_echo_n "checking for _frexpf declaration... " >&6; }
59536 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59537 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59538 $as_echo_n "(cached) " >&6
59539 else
59542 ac_ext=cpp
59543 ac_cpp='$CXXCPP $CPPFLAGS'
59544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59549 /* end confdefs.h. */
59550 #include <math.h>
59552 main ()
59554 _frexpf(0, 0);
59556 return 0;
59558 _ACEOF
59559 if ac_fn_cxx_try_compile "$LINENO"; then :
59560 glibcxx_cv_func__frexpf_use=yes
59561 else
59562 glibcxx_cv_func__frexpf_use=no
59564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59565 ac_ext=c
59566 ac_cpp='$CPP $CPPFLAGS'
59567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59576 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59578 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59579 for ac_func in _frexpf
59580 do :
59581 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59582 if test "x$ac_cv_func__frexpf" = x""yes; then :
59583 cat >>confdefs.h <<_ACEOF
59584 #define HAVE__FREXPF 1
59585 _ACEOF
59588 done
59597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59598 $as_echo_n "checking for hypotf declaration... " >&6; }
59599 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59600 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59601 $as_echo_n "(cached) " >&6
59602 else
59605 ac_ext=cpp
59606 ac_cpp='$CXXCPP $CPPFLAGS'
59607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59612 /* end confdefs.h. */
59613 #include <math.h>
59615 main ()
59617 hypotf(0, 0);
59619 return 0;
59621 _ACEOF
59622 if ac_fn_cxx_try_compile "$LINENO"; then :
59623 glibcxx_cv_func_hypotf_use=yes
59624 else
59625 glibcxx_cv_func_hypotf_use=no
59627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59628 ac_ext=c
59629 ac_cpp='$CPP $CPPFLAGS'
59630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59639 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59641 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59642 for ac_func in hypotf
59643 do :
59644 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59645 if test "x$ac_cv_func_hypotf" = x""yes; then :
59646 cat >>confdefs.h <<_ACEOF
59647 #define HAVE_HYPOTF 1
59648 _ACEOF
59651 done
59653 else
59655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59656 $as_echo_n "checking for _hypotf declaration... " >&6; }
59657 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59658 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59659 $as_echo_n "(cached) " >&6
59660 else
59663 ac_ext=cpp
59664 ac_cpp='$CXXCPP $CPPFLAGS'
59665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59670 /* end confdefs.h. */
59671 #include <math.h>
59673 main ()
59675 _hypotf(0, 0);
59677 return 0;
59679 _ACEOF
59680 if ac_fn_cxx_try_compile "$LINENO"; then :
59681 glibcxx_cv_func__hypotf_use=yes
59682 else
59683 glibcxx_cv_func__hypotf_use=no
59685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59686 ac_ext=c
59687 ac_cpp='$CPP $CPPFLAGS'
59688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59697 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59699 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59700 for ac_func in _hypotf
59701 do :
59702 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59703 if test "x$ac_cv_func__hypotf" = x""yes; then :
59704 cat >>confdefs.h <<_ACEOF
59705 #define HAVE__HYPOTF 1
59706 _ACEOF
59709 done
59718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59719 $as_echo_n "checking for ldexpf declaration... " >&6; }
59720 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59721 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59722 $as_echo_n "(cached) " >&6
59723 else
59726 ac_ext=cpp
59727 ac_cpp='$CXXCPP $CPPFLAGS'
59728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59733 /* end confdefs.h. */
59734 #include <math.h>
59736 main ()
59738 ldexpf(0, 0);
59740 return 0;
59742 _ACEOF
59743 if ac_fn_cxx_try_compile "$LINENO"; then :
59744 glibcxx_cv_func_ldexpf_use=yes
59745 else
59746 glibcxx_cv_func_ldexpf_use=no
59748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59749 ac_ext=c
59750 ac_cpp='$CPP $CPPFLAGS'
59751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59760 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59762 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59763 for ac_func in ldexpf
59764 do :
59765 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59766 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59767 cat >>confdefs.h <<_ACEOF
59768 #define HAVE_LDEXPF 1
59769 _ACEOF
59772 done
59774 else
59776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59777 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59778 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59779 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59780 $as_echo_n "(cached) " >&6
59781 else
59784 ac_ext=cpp
59785 ac_cpp='$CXXCPP $CPPFLAGS'
59786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59791 /* end confdefs.h. */
59792 #include <math.h>
59794 main ()
59796 _ldexpf(0, 0);
59798 return 0;
59800 _ACEOF
59801 if ac_fn_cxx_try_compile "$LINENO"; then :
59802 glibcxx_cv_func__ldexpf_use=yes
59803 else
59804 glibcxx_cv_func__ldexpf_use=no
59806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59807 ac_ext=c
59808 ac_cpp='$CPP $CPPFLAGS'
59809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
59818 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
59820 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59821 for ac_func in _ldexpf
59822 do :
59823 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
59824 if test "x$ac_cv_func__ldexpf" = x""yes; then :
59825 cat >>confdefs.h <<_ACEOF
59826 #define HAVE__LDEXPF 1
59827 _ACEOF
59830 done
59839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
59840 $as_echo_n "checking for logf declaration... " >&6; }
59841 if test x${glibcxx_cv_func_logf_use+set} != xset; then
59842 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
59843 $as_echo_n "(cached) " >&6
59844 else
59847 ac_ext=cpp
59848 ac_cpp='$CXXCPP $CPPFLAGS'
59849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59854 /* end confdefs.h. */
59855 #include <math.h>
59856 #ifdef HAVE_IEEEFP_H
59857 #include <ieeefp.h>
59858 #endif
59861 main ()
59863 logf(0);
59865 return 0;
59867 _ACEOF
59868 if ac_fn_cxx_try_compile "$LINENO"; then :
59869 glibcxx_cv_func_logf_use=yes
59870 else
59871 glibcxx_cv_func_logf_use=no
59873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59874 ac_ext=c
59875 ac_cpp='$CPP $CPPFLAGS'
59876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
59885 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
59887 if test x$glibcxx_cv_func_logf_use = x"yes"; then
59888 for ac_func in logf
59889 do :
59890 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
59891 if test "x$ac_cv_func_logf" = x""yes; then :
59892 cat >>confdefs.h <<_ACEOF
59893 #define HAVE_LOGF 1
59894 _ACEOF
59897 done
59899 else
59901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
59902 $as_echo_n "checking for _logf declaration... " >&6; }
59903 if test x${glibcxx_cv_func__logf_use+set} != xset; then
59904 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
59905 $as_echo_n "(cached) " >&6
59906 else
59909 ac_ext=cpp
59910 ac_cpp='$CXXCPP $CPPFLAGS'
59911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59916 /* end confdefs.h. */
59917 #include <math.h>
59918 #ifdef HAVE_IEEEFP_H
59919 #include <ieeefp.h>
59920 #endif
59923 main ()
59925 _logf(0);
59927 return 0;
59929 _ACEOF
59930 if ac_fn_cxx_try_compile "$LINENO"; then :
59931 glibcxx_cv_func__logf_use=yes
59932 else
59933 glibcxx_cv_func__logf_use=no
59935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59936 ac_ext=c
59937 ac_cpp='$CPP $CPPFLAGS'
59938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
59947 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
59949 if test x$glibcxx_cv_func__logf_use = x"yes"; then
59950 for ac_func in _logf
59951 do :
59952 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
59953 if test "x$ac_cv_func__logf" = x""yes; then :
59954 cat >>confdefs.h <<_ACEOF
59955 #define HAVE__LOGF 1
59956 _ACEOF
59959 done
59968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
59969 $as_echo_n "checking for log10f declaration... " >&6; }
59970 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59971 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
59972 $as_echo_n "(cached) " >&6
59973 else
59976 ac_ext=cpp
59977 ac_cpp='$CXXCPP $CPPFLAGS'
59978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59983 /* end confdefs.h. */
59984 #include <math.h>
59985 #ifdef HAVE_IEEEFP_H
59986 #include <ieeefp.h>
59987 #endif
59990 main ()
59992 log10f(0);
59994 return 0;
59996 _ACEOF
59997 if ac_fn_cxx_try_compile "$LINENO"; then :
59998 glibcxx_cv_func_log10f_use=yes
59999 else
60000 glibcxx_cv_func_log10f_use=no
60002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60003 ac_ext=c
60004 ac_cpp='$CPP $CPPFLAGS'
60005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60014 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60016 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60017 for ac_func in log10f
60018 do :
60019 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60020 if test "x$ac_cv_func_log10f" = x""yes; then :
60021 cat >>confdefs.h <<_ACEOF
60022 #define HAVE_LOG10F 1
60023 _ACEOF
60026 done
60028 else
60030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60031 $as_echo_n "checking for _log10f declaration... " >&6; }
60032 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60033 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60034 $as_echo_n "(cached) " >&6
60035 else
60038 ac_ext=cpp
60039 ac_cpp='$CXXCPP $CPPFLAGS'
60040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60045 /* end confdefs.h. */
60046 #include <math.h>
60047 #ifdef HAVE_IEEEFP_H
60048 #include <ieeefp.h>
60049 #endif
60052 main ()
60054 _log10f(0);
60056 return 0;
60058 _ACEOF
60059 if ac_fn_cxx_try_compile "$LINENO"; then :
60060 glibcxx_cv_func__log10f_use=yes
60061 else
60062 glibcxx_cv_func__log10f_use=no
60064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60065 ac_ext=c
60066 ac_cpp='$CPP $CPPFLAGS'
60067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60076 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60078 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60079 for ac_func in _log10f
60080 do :
60081 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60082 if test "x$ac_cv_func__log10f" = x""yes; then :
60083 cat >>confdefs.h <<_ACEOF
60084 #define HAVE__LOG10F 1
60085 _ACEOF
60088 done
60097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60098 $as_echo_n "checking for modff declaration... " >&6; }
60099 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60100 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60101 $as_echo_n "(cached) " >&6
60102 else
60105 ac_ext=cpp
60106 ac_cpp='$CXXCPP $CPPFLAGS'
60107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60112 /* end confdefs.h. */
60113 #include <math.h>
60115 main ()
60117 modff(0, 0);
60119 return 0;
60121 _ACEOF
60122 if ac_fn_cxx_try_compile "$LINENO"; then :
60123 glibcxx_cv_func_modff_use=yes
60124 else
60125 glibcxx_cv_func_modff_use=no
60127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60128 ac_ext=c
60129 ac_cpp='$CPP $CPPFLAGS'
60130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60139 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60141 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60142 for ac_func in modff
60143 do :
60144 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60145 if test "x$ac_cv_func_modff" = x""yes; then :
60146 cat >>confdefs.h <<_ACEOF
60147 #define HAVE_MODFF 1
60148 _ACEOF
60151 done
60153 else
60155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60156 $as_echo_n "checking for _modff declaration... " >&6; }
60157 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60158 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60159 $as_echo_n "(cached) " >&6
60160 else
60163 ac_ext=cpp
60164 ac_cpp='$CXXCPP $CPPFLAGS'
60165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60170 /* end confdefs.h. */
60171 #include <math.h>
60173 main ()
60175 _modff(0, 0);
60177 return 0;
60179 _ACEOF
60180 if ac_fn_cxx_try_compile "$LINENO"; then :
60181 glibcxx_cv_func__modff_use=yes
60182 else
60183 glibcxx_cv_func__modff_use=no
60185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60186 ac_ext=c
60187 ac_cpp='$CPP $CPPFLAGS'
60188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60197 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60199 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60200 for ac_func in _modff
60201 do :
60202 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60203 if test "x$ac_cv_func__modff" = x""yes; then :
60204 cat >>confdefs.h <<_ACEOF
60205 #define HAVE__MODFF 1
60206 _ACEOF
60209 done
60218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60219 $as_echo_n "checking for modf declaration... " >&6; }
60220 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60221 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60222 $as_echo_n "(cached) " >&6
60223 else
60226 ac_ext=cpp
60227 ac_cpp='$CXXCPP $CPPFLAGS'
60228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60233 /* end confdefs.h. */
60234 #include <math.h>
60236 main ()
60238 modf(0, 0);
60240 return 0;
60242 _ACEOF
60243 if ac_fn_cxx_try_compile "$LINENO"; then :
60244 glibcxx_cv_func_modf_use=yes
60245 else
60246 glibcxx_cv_func_modf_use=no
60248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60249 ac_ext=c
60250 ac_cpp='$CPP $CPPFLAGS'
60251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60260 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60262 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60263 for ac_func in modf
60264 do :
60265 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60266 if test "x$ac_cv_func_modf" = x""yes; then :
60267 cat >>confdefs.h <<_ACEOF
60268 #define HAVE_MODF 1
60269 _ACEOF
60272 done
60274 else
60276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60277 $as_echo_n "checking for _modf declaration... " >&6; }
60278 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60279 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60280 $as_echo_n "(cached) " >&6
60281 else
60284 ac_ext=cpp
60285 ac_cpp='$CXXCPP $CPPFLAGS'
60286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60291 /* end confdefs.h. */
60292 #include <math.h>
60294 main ()
60296 _modf(0, 0);
60298 return 0;
60300 _ACEOF
60301 if ac_fn_cxx_try_compile "$LINENO"; then :
60302 glibcxx_cv_func__modf_use=yes
60303 else
60304 glibcxx_cv_func__modf_use=no
60306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60307 ac_ext=c
60308 ac_cpp='$CPP $CPPFLAGS'
60309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60318 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60320 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60321 for ac_func in _modf
60322 do :
60323 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60324 if test "x$ac_cv_func__modf" = x""yes; then :
60325 cat >>confdefs.h <<_ACEOF
60326 #define HAVE__MODF 1
60327 _ACEOF
60330 done
60339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60340 $as_echo_n "checking for powf declaration... " >&6; }
60341 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60342 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60343 $as_echo_n "(cached) " >&6
60344 else
60347 ac_ext=cpp
60348 ac_cpp='$CXXCPP $CPPFLAGS'
60349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60354 /* end confdefs.h. */
60355 #include <math.h>
60357 main ()
60359 powf(0, 0);
60361 return 0;
60363 _ACEOF
60364 if ac_fn_cxx_try_compile "$LINENO"; then :
60365 glibcxx_cv_func_powf_use=yes
60366 else
60367 glibcxx_cv_func_powf_use=no
60369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60370 ac_ext=c
60371 ac_cpp='$CPP $CPPFLAGS'
60372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60381 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60383 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60384 for ac_func in powf
60385 do :
60386 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60387 if test "x$ac_cv_func_powf" = x""yes; then :
60388 cat >>confdefs.h <<_ACEOF
60389 #define HAVE_POWF 1
60390 _ACEOF
60393 done
60395 else
60397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60398 $as_echo_n "checking for _powf declaration... " >&6; }
60399 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60400 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60401 $as_echo_n "(cached) " >&6
60402 else
60405 ac_ext=cpp
60406 ac_cpp='$CXXCPP $CPPFLAGS'
60407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60412 /* end confdefs.h. */
60413 #include <math.h>
60415 main ()
60417 _powf(0, 0);
60419 return 0;
60421 _ACEOF
60422 if ac_fn_cxx_try_compile "$LINENO"; then :
60423 glibcxx_cv_func__powf_use=yes
60424 else
60425 glibcxx_cv_func__powf_use=no
60427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60428 ac_ext=c
60429 ac_cpp='$CPP $CPPFLAGS'
60430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60439 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60441 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60442 for ac_func in _powf
60443 do :
60444 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60445 if test "x$ac_cv_func__powf" = x""yes; then :
60446 cat >>confdefs.h <<_ACEOF
60447 #define HAVE__POWF 1
60448 _ACEOF
60451 done
60460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60461 $as_echo_n "checking for sqrtf declaration... " >&6; }
60462 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60463 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60464 $as_echo_n "(cached) " >&6
60465 else
60468 ac_ext=cpp
60469 ac_cpp='$CXXCPP $CPPFLAGS'
60470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60475 /* end confdefs.h. */
60476 #include <math.h>
60477 #ifdef HAVE_IEEEFP_H
60478 #include <ieeefp.h>
60479 #endif
60482 main ()
60484 sqrtf(0);
60486 return 0;
60488 _ACEOF
60489 if ac_fn_cxx_try_compile "$LINENO"; then :
60490 glibcxx_cv_func_sqrtf_use=yes
60491 else
60492 glibcxx_cv_func_sqrtf_use=no
60494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60495 ac_ext=c
60496 ac_cpp='$CPP $CPPFLAGS'
60497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60506 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60508 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60509 for ac_func in sqrtf
60510 do :
60511 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60512 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60513 cat >>confdefs.h <<_ACEOF
60514 #define HAVE_SQRTF 1
60515 _ACEOF
60518 done
60520 else
60522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60523 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60524 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60525 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60526 $as_echo_n "(cached) " >&6
60527 else
60530 ac_ext=cpp
60531 ac_cpp='$CXXCPP $CPPFLAGS'
60532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60537 /* end confdefs.h. */
60538 #include <math.h>
60539 #ifdef HAVE_IEEEFP_H
60540 #include <ieeefp.h>
60541 #endif
60544 main ()
60546 _sqrtf(0);
60548 return 0;
60550 _ACEOF
60551 if ac_fn_cxx_try_compile "$LINENO"; then :
60552 glibcxx_cv_func__sqrtf_use=yes
60553 else
60554 glibcxx_cv_func__sqrtf_use=no
60556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60557 ac_ext=c
60558 ac_cpp='$CPP $CPPFLAGS'
60559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60568 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60570 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60571 for ac_func in _sqrtf
60572 do :
60573 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60574 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60575 cat >>confdefs.h <<_ACEOF
60576 #define HAVE__SQRTF 1
60577 _ACEOF
60580 done
60589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60590 $as_echo_n "checking for sincosf declaration... " >&6; }
60591 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60592 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60593 $as_echo_n "(cached) " >&6
60594 else
60597 ac_ext=cpp
60598 ac_cpp='$CXXCPP $CPPFLAGS'
60599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60604 /* end confdefs.h. */
60605 #include <math.h>
60607 main ()
60609 sincosf(0, 0, 0);
60611 return 0;
60613 _ACEOF
60614 if ac_fn_cxx_try_compile "$LINENO"; then :
60615 glibcxx_cv_func_sincosf_use=yes
60616 else
60617 glibcxx_cv_func_sincosf_use=no
60619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60620 ac_ext=c
60621 ac_cpp='$CPP $CPPFLAGS'
60622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60631 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60633 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60634 for ac_func in sincosf
60635 do :
60636 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60637 if test "x$ac_cv_func_sincosf" = x""yes; then :
60638 cat >>confdefs.h <<_ACEOF
60639 #define HAVE_SINCOSF 1
60640 _ACEOF
60643 done
60645 else
60647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60648 $as_echo_n "checking for _sincosf declaration... " >&6; }
60649 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60650 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60651 $as_echo_n "(cached) " >&6
60652 else
60655 ac_ext=cpp
60656 ac_cpp='$CXXCPP $CPPFLAGS'
60657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60662 /* end confdefs.h. */
60663 #include <math.h>
60665 main ()
60667 _sincosf(0, 0, 0);
60669 return 0;
60671 _ACEOF
60672 if ac_fn_cxx_try_compile "$LINENO"; then :
60673 glibcxx_cv_func__sincosf_use=yes
60674 else
60675 glibcxx_cv_func__sincosf_use=no
60677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60678 ac_ext=c
60679 ac_cpp='$CPP $CPPFLAGS'
60680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60689 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60691 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60692 for ac_func in _sincosf
60693 do :
60694 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60695 if test "x$ac_cv_func__sincosf" = x""yes; then :
60696 cat >>confdefs.h <<_ACEOF
60697 #define HAVE__SINCOSF 1
60698 _ACEOF
60701 done
60710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60711 $as_echo_n "checking for finitef declaration... " >&6; }
60712 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60713 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60714 $as_echo_n "(cached) " >&6
60715 else
60718 ac_ext=cpp
60719 ac_cpp='$CXXCPP $CPPFLAGS'
60720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60725 /* end confdefs.h. */
60726 #include <math.h>
60727 #ifdef HAVE_IEEEFP_H
60728 #include <ieeefp.h>
60729 #endif
60732 main ()
60734 finitef(0);
60736 return 0;
60738 _ACEOF
60739 if ac_fn_cxx_try_compile "$LINENO"; then :
60740 glibcxx_cv_func_finitef_use=yes
60741 else
60742 glibcxx_cv_func_finitef_use=no
60744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60745 ac_ext=c
60746 ac_cpp='$CPP $CPPFLAGS'
60747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
60756 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60758 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60759 for ac_func in finitef
60760 do :
60761 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60762 if test "x$ac_cv_func_finitef" = x""yes; then :
60763 cat >>confdefs.h <<_ACEOF
60764 #define HAVE_FINITEF 1
60765 _ACEOF
60768 done
60770 else
60772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60773 $as_echo_n "checking for _finitef declaration... " >&6; }
60774 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60775 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
60776 $as_echo_n "(cached) " >&6
60777 else
60780 ac_ext=cpp
60781 ac_cpp='$CXXCPP $CPPFLAGS'
60782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60787 /* end confdefs.h. */
60788 #include <math.h>
60789 #ifdef HAVE_IEEEFP_H
60790 #include <ieeefp.h>
60791 #endif
60794 main ()
60796 _finitef(0);
60798 return 0;
60800 _ACEOF
60801 if ac_fn_cxx_try_compile "$LINENO"; then :
60802 glibcxx_cv_func__finitef_use=yes
60803 else
60804 glibcxx_cv_func__finitef_use=no
60806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60807 ac_ext=c
60808 ac_cpp='$CPP $CPPFLAGS'
60809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
60818 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
60820 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
60821 for ac_func in _finitef
60822 do :
60823 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
60824 if test "x$ac_cv_func__finitef" = x""yes; then :
60825 cat >>confdefs.h <<_ACEOF
60826 #define HAVE__FINITEF 1
60827 _ACEOF
60830 done
60839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
60840 $as_echo_n "checking for long double trig functions... " >&6; }
60841 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
60842 $as_echo_n "(cached) " >&6
60843 else
60846 ac_ext=cpp
60847 ac_cpp='$CXXCPP $CPPFLAGS'
60848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60853 /* end confdefs.h. */
60854 #include <math.h>
60856 main ()
60858 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
60860 return 0;
60862 _ACEOF
60863 if ac_fn_cxx_try_compile "$LINENO"; then :
60864 glibcxx_cv_func_long_double_trig_use=yes
60865 else
60866 glibcxx_cv_func_long_double_trig_use=no
60868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60869 ac_ext=c
60870 ac_cpp='$CPP $CPPFLAGS'
60871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
60878 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
60879 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
60880 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
60881 do :
60882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60884 eval as_val=\$$as_ac_var
60885 if test "x$as_val" = x""yes; then :
60886 cat >>confdefs.h <<_ACEOF
60887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60888 _ACEOF
60891 done
60893 else
60894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
60895 $as_echo_n "checking for _long double trig functions... " >&6; }
60896 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
60897 $as_echo_n "(cached) " >&6
60898 else
60901 ac_ext=cpp
60902 ac_cpp='$CXXCPP $CPPFLAGS'
60903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60908 /* end confdefs.h. */
60909 #include <math.h>
60911 main ()
60913 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
60915 return 0;
60917 _ACEOF
60918 if ac_fn_cxx_try_compile "$LINENO"; then :
60919 glibcxx_cv_func__long_double_trig_use=yes
60920 else
60921 glibcxx_cv_func__long_double_trig_use=no
60923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60924 ac_ext=c
60925 ac_cpp='$CPP $CPPFLAGS'
60926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
60933 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
60934 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
60935 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
60936 do :
60937 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60938 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60939 eval as_val=\$$as_ac_var
60940 if test "x$as_val" = x""yes; then :
60941 cat >>confdefs.h <<_ACEOF
60942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60943 _ACEOF
60946 done
60955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
60956 $as_echo_n "checking for long double round functions... " >&6; }
60957 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
60958 $as_echo_n "(cached) " >&6
60959 else
60962 ac_ext=cpp
60963 ac_cpp='$CXXCPP $CPPFLAGS'
60964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60969 /* end confdefs.h. */
60970 #include <math.h>
60972 main ()
60974 ceill (0); floorl (0);
60976 return 0;
60978 _ACEOF
60979 if ac_fn_cxx_try_compile "$LINENO"; then :
60980 glibcxx_cv_func_long_double_round_use=yes
60981 else
60982 glibcxx_cv_func_long_double_round_use=no
60984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60985 ac_ext=c
60986 ac_cpp='$CPP $CPPFLAGS'
60987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
60994 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
60995 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
60996 for ac_func in ceill floorl
60997 do :
60998 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60999 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61000 eval as_val=\$$as_ac_var
61001 if test "x$as_val" = x""yes; then :
61002 cat >>confdefs.h <<_ACEOF
61003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61004 _ACEOF
61007 done
61009 else
61010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61011 $as_echo_n "checking for _long double round functions... " >&6; }
61012 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61013 $as_echo_n "(cached) " >&6
61014 else
61017 ac_ext=cpp
61018 ac_cpp='$CXXCPP $CPPFLAGS'
61019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61024 /* end confdefs.h. */
61025 #include <math.h>
61027 main ()
61029 _ceill (0); _floorl (0);
61031 return 0;
61033 _ACEOF
61034 if ac_fn_cxx_try_compile "$LINENO"; then :
61035 glibcxx_cv_func__long_double_round_use=yes
61036 else
61037 glibcxx_cv_func__long_double_round_use=no
61039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61040 ac_ext=c
61041 ac_cpp='$CPP $CPPFLAGS'
61042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61049 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61050 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61051 for ac_func in _ceill _floorl
61052 do :
61053 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61054 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61055 eval as_val=\$$as_ac_var
61056 if test "x$as_val" = x""yes; then :
61057 cat >>confdefs.h <<_ACEOF
61058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61059 _ACEOF
61062 done
61072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61073 $as_echo_n "checking for isnanl declaration... " >&6; }
61074 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61075 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61076 $as_echo_n "(cached) " >&6
61077 else
61080 ac_ext=cpp
61081 ac_cpp='$CXXCPP $CPPFLAGS'
61082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61087 /* end confdefs.h. */
61088 #include <math.h>
61089 #ifdef HAVE_IEEEFP_H
61090 #include <ieeefp.h>
61091 #endif
61094 main ()
61096 isnanl(0);
61098 return 0;
61100 _ACEOF
61101 if ac_fn_cxx_try_compile "$LINENO"; then :
61102 glibcxx_cv_func_isnanl_use=yes
61103 else
61104 glibcxx_cv_func_isnanl_use=no
61106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61107 ac_ext=c
61108 ac_cpp='$CPP $CPPFLAGS'
61109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61118 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61120 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61121 for ac_func in isnanl
61122 do :
61123 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61124 if test "x$ac_cv_func_isnanl" = x""yes; then :
61125 cat >>confdefs.h <<_ACEOF
61126 #define HAVE_ISNANL 1
61127 _ACEOF
61130 done
61132 else
61134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61135 $as_echo_n "checking for _isnanl declaration... " >&6; }
61136 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61137 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61138 $as_echo_n "(cached) " >&6
61139 else
61142 ac_ext=cpp
61143 ac_cpp='$CXXCPP $CPPFLAGS'
61144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61149 /* end confdefs.h. */
61150 #include <math.h>
61151 #ifdef HAVE_IEEEFP_H
61152 #include <ieeefp.h>
61153 #endif
61156 main ()
61158 _isnanl(0);
61160 return 0;
61162 _ACEOF
61163 if ac_fn_cxx_try_compile "$LINENO"; then :
61164 glibcxx_cv_func__isnanl_use=yes
61165 else
61166 glibcxx_cv_func__isnanl_use=no
61168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61169 ac_ext=c
61170 ac_cpp='$CPP $CPPFLAGS'
61171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61180 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61182 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61183 for ac_func in _isnanl
61184 do :
61185 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61186 if test "x$ac_cv_func__isnanl" = x""yes; then :
61187 cat >>confdefs.h <<_ACEOF
61188 #define HAVE__ISNANL 1
61189 _ACEOF
61192 done
61201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61202 $as_echo_n "checking for isinfl declaration... " >&6; }
61203 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61204 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61205 $as_echo_n "(cached) " >&6
61206 else
61209 ac_ext=cpp
61210 ac_cpp='$CXXCPP $CPPFLAGS'
61211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61216 /* end confdefs.h. */
61217 #include <math.h>
61218 #ifdef HAVE_IEEEFP_H
61219 #include <ieeefp.h>
61220 #endif
61223 main ()
61225 isinfl(0);
61227 return 0;
61229 _ACEOF
61230 if ac_fn_cxx_try_compile "$LINENO"; then :
61231 glibcxx_cv_func_isinfl_use=yes
61232 else
61233 glibcxx_cv_func_isinfl_use=no
61235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61236 ac_ext=c
61237 ac_cpp='$CPP $CPPFLAGS'
61238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61247 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61249 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61250 for ac_func in isinfl
61251 do :
61252 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61253 if test "x$ac_cv_func_isinfl" = x""yes; then :
61254 cat >>confdefs.h <<_ACEOF
61255 #define HAVE_ISINFL 1
61256 _ACEOF
61259 done
61261 else
61263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61264 $as_echo_n "checking for _isinfl declaration... " >&6; }
61265 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61266 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61267 $as_echo_n "(cached) " >&6
61268 else
61271 ac_ext=cpp
61272 ac_cpp='$CXXCPP $CPPFLAGS'
61273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61278 /* end confdefs.h. */
61279 #include <math.h>
61280 #ifdef HAVE_IEEEFP_H
61281 #include <ieeefp.h>
61282 #endif
61285 main ()
61287 _isinfl(0);
61289 return 0;
61291 _ACEOF
61292 if ac_fn_cxx_try_compile "$LINENO"; then :
61293 glibcxx_cv_func__isinfl_use=yes
61294 else
61295 glibcxx_cv_func__isinfl_use=no
61297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61298 ac_ext=c
61299 ac_cpp='$CPP $CPPFLAGS'
61300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61309 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61311 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61312 for ac_func in _isinfl
61313 do :
61314 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61315 if test "x$ac_cv_func__isinfl" = x""yes; then :
61316 cat >>confdefs.h <<_ACEOF
61317 #define HAVE__ISINFL 1
61318 _ACEOF
61321 done
61330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61331 $as_echo_n "checking for atan2l declaration... " >&6; }
61332 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61333 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61334 $as_echo_n "(cached) " >&6
61335 else
61338 ac_ext=cpp
61339 ac_cpp='$CXXCPP $CPPFLAGS'
61340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61345 /* end confdefs.h. */
61346 #include <math.h>
61348 main ()
61350 atan2l(0, 0);
61352 return 0;
61354 _ACEOF
61355 if ac_fn_cxx_try_compile "$LINENO"; then :
61356 glibcxx_cv_func_atan2l_use=yes
61357 else
61358 glibcxx_cv_func_atan2l_use=no
61360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61361 ac_ext=c
61362 ac_cpp='$CPP $CPPFLAGS'
61363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61372 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61374 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61375 for ac_func in atan2l
61376 do :
61377 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61378 if test "x$ac_cv_func_atan2l" = x""yes; then :
61379 cat >>confdefs.h <<_ACEOF
61380 #define HAVE_ATAN2L 1
61381 _ACEOF
61384 done
61386 else
61388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61389 $as_echo_n "checking for _atan2l declaration... " >&6; }
61390 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61391 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61392 $as_echo_n "(cached) " >&6
61393 else
61396 ac_ext=cpp
61397 ac_cpp='$CXXCPP $CPPFLAGS'
61398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61403 /* end confdefs.h. */
61404 #include <math.h>
61406 main ()
61408 _atan2l(0, 0);
61410 return 0;
61412 _ACEOF
61413 if ac_fn_cxx_try_compile "$LINENO"; then :
61414 glibcxx_cv_func__atan2l_use=yes
61415 else
61416 glibcxx_cv_func__atan2l_use=no
61418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61419 ac_ext=c
61420 ac_cpp='$CPP $CPPFLAGS'
61421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61430 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61432 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61433 for ac_func in _atan2l
61434 do :
61435 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61436 if test "x$ac_cv_func__atan2l" = x""yes; then :
61437 cat >>confdefs.h <<_ACEOF
61438 #define HAVE__ATAN2L 1
61439 _ACEOF
61442 done
61451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61452 $as_echo_n "checking for expl declaration... " >&6; }
61453 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61454 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61455 $as_echo_n "(cached) " >&6
61456 else
61459 ac_ext=cpp
61460 ac_cpp='$CXXCPP $CPPFLAGS'
61461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61466 /* end confdefs.h. */
61467 #include <math.h>
61468 #ifdef HAVE_IEEEFP_H
61469 #include <ieeefp.h>
61470 #endif
61473 main ()
61475 expl(0);
61477 return 0;
61479 _ACEOF
61480 if ac_fn_cxx_try_compile "$LINENO"; then :
61481 glibcxx_cv_func_expl_use=yes
61482 else
61483 glibcxx_cv_func_expl_use=no
61485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61486 ac_ext=c
61487 ac_cpp='$CPP $CPPFLAGS'
61488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61497 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61499 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61500 for ac_func in expl
61501 do :
61502 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61503 if test "x$ac_cv_func_expl" = x""yes; then :
61504 cat >>confdefs.h <<_ACEOF
61505 #define HAVE_EXPL 1
61506 _ACEOF
61509 done
61511 else
61513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61514 $as_echo_n "checking for _expl declaration... " >&6; }
61515 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61516 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61517 $as_echo_n "(cached) " >&6
61518 else
61521 ac_ext=cpp
61522 ac_cpp='$CXXCPP $CPPFLAGS'
61523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61528 /* end confdefs.h. */
61529 #include <math.h>
61530 #ifdef HAVE_IEEEFP_H
61531 #include <ieeefp.h>
61532 #endif
61535 main ()
61537 _expl(0);
61539 return 0;
61541 _ACEOF
61542 if ac_fn_cxx_try_compile "$LINENO"; then :
61543 glibcxx_cv_func__expl_use=yes
61544 else
61545 glibcxx_cv_func__expl_use=no
61547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61548 ac_ext=c
61549 ac_cpp='$CPP $CPPFLAGS'
61550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61559 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61561 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61562 for ac_func in _expl
61563 do :
61564 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61565 if test "x$ac_cv_func__expl" = x""yes; then :
61566 cat >>confdefs.h <<_ACEOF
61567 #define HAVE__EXPL 1
61568 _ACEOF
61571 done
61580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61581 $as_echo_n "checking for fabsl declaration... " >&6; }
61582 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61583 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61584 $as_echo_n "(cached) " >&6
61585 else
61588 ac_ext=cpp
61589 ac_cpp='$CXXCPP $CPPFLAGS'
61590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61595 /* end confdefs.h. */
61596 #include <math.h>
61597 #ifdef HAVE_IEEEFP_H
61598 #include <ieeefp.h>
61599 #endif
61602 main ()
61604 fabsl(0);
61606 return 0;
61608 _ACEOF
61609 if ac_fn_cxx_try_compile "$LINENO"; then :
61610 glibcxx_cv_func_fabsl_use=yes
61611 else
61612 glibcxx_cv_func_fabsl_use=no
61614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61615 ac_ext=c
61616 ac_cpp='$CPP $CPPFLAGS'
61617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61626 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61628 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61629 for ac_func in fabsl
61630 do :
61631 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61632 if test "x$ac_cv_func_fabsl" = x""yes; then :
61633 cat >>confdefs.h <<_ACEOF
61634 #define HAVE_FABSL 1
61635 _ACEOF
61638 done
61640 else
61642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61643 $as_echo_n "checking for _fabsl declaration... " >&6; }
61644 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61645 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61646 $as_echo_n "(cached) " >&6
61647 else
61650 ac_ext=cpp
61651 ac_cpp='$CXXCPP $CPPFLAGS'
61652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61657 /* end confdefs.h. */
61658 #include <math.h>
61659 #ifdef HAVE_IEEEFP_H
61660 #include <ieeefp.h>
61661 #endif
61664 main ()
61666 _fabsl(0);
61668 return 0;
61670 _ACEOF
61671 if ac_fn_cxx_try_compile "$LINENO"; then :
61672 glibcxx_cv_func__fabsl_use=yes
61673 else
61674 glibcxx_cv_func__fabsl_use=no
61676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61677 ac_ext=c
61678 ac_cpp='$CPP $CPPFLAGS'
61679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61688 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61690 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61691 for ac_func in _fabsl
61692 do :
61693 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61694 if test "x$ac_cv_func__fabsl" = x""yes; then :
61695 cat >>confdefs.h <<_ACEOF
61696 #define HAVE__FABSL 1
61697 _ACEOF
61700 done
61709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61710 $as_echo_n "checking for fmodl declaration... " >&6; }
61711 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61712 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61713 $as_echo_n "(cached) " >&6
61714 else
61717 ac_ext=cpp
61718 ac_cpp='$CXXCPP $CPPFLAGS'
61719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61724 /* end confdefs.h. */
61725 #include <math.h>
61727 main ()
61729 fmodl(0, 0);
61731 return 0;
61733 _ACEOF
61734 if ac_fn_cxx_try_compile "$LINENO"; then :
61735 glibcxx_cv_func_fmodl_use=yes
61736 else
61737 glibcxx_cv_func_fmodl_use=no
61739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61740 ac_ext=c
61741 ac_cpp='$CPP $CPPFLAGS'
61742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
61751 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61753 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61754 for ac_func in fmodl
61755 do :
61756 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61757 if test "x$ac_cv_func_fmodl" = x""yes; then :
61758 cat >>confdefs.h <<_ACEOF
61759 #define HAVE_FMODL 1
61760 _ACEOF
61763 done
61765 else
61767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61768 $as_echo_n "checking for _fmodl declaration... " >&6; }
61769 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61770 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
61771 $as_echo_n "(cached) " >&6
61772 else
61775 ac_ext=cpp
61776 ac_cpp='$CXXCPP $CPPFLAGS'
61777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61782 /* end confdefs.h. */
61783 #include <math.h>
61785 main ()
61787 _fmodl(0, 0);
61789 return 0;
61791 _ACEOF
61792 if ac_fn_cxx_try_compile "$LINENO"; then :
61793 glibcxx_cv_func__fmodl_use=yes
61794 else
61795 glibcxx_cv_func__fmodl_use=no
61797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61798 ac_ext=c
61799 ac_cpp='$CPP $CPPFLAGS'
61800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
61809 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
61811 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
61812 for ac_func in _fmodl
61813 do :
61814 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
61815 if test "x$ac_cv_func__fmodl" = x""yes; then :
61816 cat >>confdefs.h <<_ACEOF
61817 #define HAVE__FMODL 1
61818 _ACEOF
61821 done
61830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
61831 $as_echo_n "checking for frexpl declaration... " >&6; }
61832 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
61833 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
61834 $as_echo_n "(cached) " >&6
61835 else
61838 ac_ext=cpp
61839 ac_cpp='$CXXCPP $CPPFLAGS'
61840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61845 /* end confdefs.h. */
61846 #include <math.h>
61848 main ()
61850 frexpl(0, 0);
61852 return 0;
61854 _ACEOF
61855 if ac_fn_cxx_try_compile "$LINENO"; then :
61856 glibcxx_cv_func_frexpl_use=yes
61857 else
61858 glibcxx_cv_func_frexpl_use=no
61860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61861 ac_ext=c
61862 ac_cpp='$CPP $CPPFLAGS'
61863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
61872 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
61874 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
61875 for ac_func in frexpl
61876 do :
61877 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
61878 if test "x$ac_cv_func_frexpl" = x""yes; then :
61879 cat >>confdefs.h <<_ACEOF
61880 #define HAVE_FREXPL 1
61881 _ACEOF
61884 done
61886 else
61888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
61889 $as_echo_n "checking for _frexpl declaration... " >&6; }
61890 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
61891 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
61892 $as_echo_n "(cached) " >&6
61893 else
61896 ac_ext=cpp
61897 ac_cpp='$CXXCPP $CPPFLAGS'
61898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61903 /* end confdefs.h. */
61904 #include <math.h>
61906 main ()
61908 _frexpl(0, 0);
61910 return 0;
61912 _ACEOF
61913 if ac_fn_cxx_try_compile "$LINENO"; then :
61914 glibcxx_cv_func__frexpl_use=yes
61915 else
61916 glibcxx_cv_func__frexpl_use=no
61918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61919 ac_ext=c
61920 ac_cpp='$CPP $CPPFLAGS'
61921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
61930 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
61932 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
61933 for ac_func in _frexpl
61934 do :
61935 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
61936 if test "x$ac_cv_func__frexpl" = x""yes; then :
61937 cat >>confdefs.h <<_ACEOF
61938 #define HAVE__FREXPL 1
61939 _ACEOF
61942 done
61951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
61952 $as_echo_n "checking for hypotl declaration... " >&6; }
61953 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
61954 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
61955 $as_echo_n "(cached) " >&6
61956 else
61959 ac_ext=cpp
61960 ac_cpp='$CXXCPP $CPPFLAGS'
61961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61966 /* end confdefs.h. */
61967 #include <math.h>
61969 main ()
61971 hypotl(0, 0);
61973 return 0;
61975 _ACEOF
61976 if ac_fn_cxx_try_compile "$LINENO"; then :
61977 glibcxx_cv_func_hypotl_use=yes
61978 else
61979 glibcxx_cv_func_hypotl_use=no
61981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61982 ac_ext=c
61983 ac_cpp='$CPP $CPPFLAGS'
61984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
61993 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
61995 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
61996 for ac_func in hypotl
61997 do :
61998 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
61999 if test "x$ac_cv_func_hypotl" = x""yes; then :
62000 cat >>confdefs.h <<_ACEOF
62001 #define HAVE_HYPOTL 1
62002 _ACEOF
62005 done
62007 else
62009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62010 $as_echo_n "checking for _hypotl declaration... " >&6; }
62011 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62012 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62013 $as_echo_n "(cached) " >&6
62014 else
62017 ac_ext=cpp
62018 ac_cpp='$CXXCPP $CPPFLAGS'
62019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62024 /* end confdefs.h. */
62025 #include <math.h>
62027 main ()
62029 _hypotl(0, 0);
62031 return 0;
62033 _ACEOF
62034 if ac_fn_cxx_try_compile "$LINENO"; then :
62035 glibcxx_cv_func__hypotl_use=yes
62036 else
62037 glibcxx_cv_func__hypotl_use=no
62039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62040 ac_ext=c
62041 ac_cpp='$CPP $CPPFLAGS'
62042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62051 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62053 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62054 for ac_func in _hypotl
62055 do :
62056 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62057 if test "x$ac_cv_func__hypotl" = x""yes; then :
62058 cat >>confdefs.h <<_ACEOF
62059 #define HAVE__HYPOTL 1
62060 _ACEOF
62063 done
62072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62073 $as_echo_n "checking for ldexpl declaration... " >&6; }
62074 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62075 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62076 $as_echo_n "(cached) " >&6
62077 else
62080 ac_ext=cpp
62081 ac_cpp='$CXXCPP $CPPFLAGS'
62082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62087 /* end confdefs.h. */
62088 #include <math.h>
62090 main ()
62092 ldexpl(0, 0);
62094 return 0;
62096 _ACEOF
62097 if ac_fn_cxx_try_compile "$LINENO"; then :
62098 glibcxx_cv_func_ldexpl_use=yes
62099 else
62100 glibcxx_cv_func_ldexpl_use=no
62102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62103 ac_ext=c
62104 ac_cpp='$CPP $CPPFLAGS'
62105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62114 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62116 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62117 for ac_func in ldexpl
62118 do :
62119 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62120 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62121 cat >>confdefs.h <<_ACEOF
62122 #define HAVE_LDEXPL 1
62123 _ACEOF
62126 done
62128 else
62130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62131 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62132 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62133 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62134 $as_echo_n "(cached) " >&6
62135 else
62138 ac_ext=cpp
62139 ac_cpp='$CXXCPP $CPPFLAGS'
62140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62145 /* end confdefs.h. */
62146 #include <math.h>
62148 main ()
62150 _ldexpl(0, 0);
62152 return 0;
62154 _ACEOF
62155 if ac_fn_cxx_try_compile "$LINENO"; then :
62156 glibcxx_cv_func__ldexpl_use=yes
62157 else
62158 glibcxx_cv_func__ldexpl_use=no
62160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62161 ac_ext=c
62162 ac_cpp='$CPP $CPPFLAGS'
62163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62172 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62174 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62175 for ac_func in _ldexpl
62176 do :
62177 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62178 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62179 cat >>confdefs.h <<_ACEOF
62180 #define HAVE__LDEXPL 1
62181 _ACEOF
62184 done
62193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62194 $as_echo_n "checking for logl declaration... " >&6; }
62195 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62196 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62197 $as_echo_n "(cached) " >&6
62198 else
62201 ac_ext=cpp
62202 ac_cpp='$CXXCPP $CPPFLAGS'
62203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62208 /* end confdefs.h. */
62209 #include <math.h>
62210 #ifdef HAVE_IEEEFP_H
62211 #include <ieeefp.h>
62212 #endif
62215 main ()
62217 logl(0);
62219 return 0;
62221 _ACEOF
62222 if ac_fn_cxx_try_compile "$LINENO"; then :
62223 glibcxx_cv_func_logl_use=yes
62224 else
62225 glibcxx_cv_func_logl_use=no
62227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62228 ac_ext=c
62229 ac_cpp='$CPP $CPPFLAGS'
62230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62239 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62241 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62242 for ac_func in logl
62243 do :
62244 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62245 if test "x$ac_cv_func_logl" = x""yes; then :
62246 cat >>confdefs.h <<_ACEOF
62247 #define HAVE_LOGL 1
62248 _ACEOF
62251 done
62253 else
62255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62256 $as_echo_n "checking for _logl declaration... " >&6; }
62257 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62258 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62259 $as_echo_n "(cached) " >&6
62260 else
62263 ac_ext=cpp
62264 ac_cpp='$CXXCPP $CPPFLAGS'
62265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62270 /* end confdefs.h. */
62271 #include <math.h>
62272 #ifdef HAVE_IEEEFP_H
62273 #include <ieeefp.h>
62274 #endif
62277 main ()
62279 _logl(0);
62281 return 0;
62283 _ACEOF
62284 if ac_fn_cxx_try_compile "$LINENO"; then :
62285 glibcxx_cv_func__logl_use=yes
62286 else
62287 glibcxx_cv_func__logl_use=no
62289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62290 ac_ext=c
62291 ac_cpp='$CPP $CPPFLAGS'
62292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62301 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62303 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62304 for ac_func in _logl
62305 do :
62306 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62307 if test "x$ac_cv_func__logl" = x""yes; then :
62308 cat >>confdefs.h <<_ACEOF
62309 #define HAVE__LOGL 1
62310 _ACEOF
62313 done
62322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62323 $as_echo_n "checking for log10l declaration... " >&6; }
62324 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62325 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62326 $as_echo_n "(cached) " >&6
62327 else
62330 ac_ext=cpp
62331 ac_cpp='$CXXCPP $CPPFLAGS'
62332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62337 /* end confdefs.h. */
62338 #include <math.h>
62339 #ifdef HAVE_IEEEFP_H
62340 #include <ieeefp.h>
62341 #endif
62344 main ()
62346 log10l(0);
62348 return 0;
62350 _ACEOF
62351 if ac_fn_cxx_try_compile "$LINENO"; then :
62352 glibcxx_cv_func_log10l_use=yes
62353 else
62354 glibcxx_cv_func_log10l_use=no
62356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62357 ac_ext=c
62358 ac_cpp='$CPP $CPPFLAGS'
62359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62368 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62370 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62371 for ac_func in log10l
62372 do :
62373 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62374 if test "x$ac_cv_func_log10l" = x""yes; then :
62375 cat >>confdefs.h <<_ACEOF
62376 #define HAVE_LOG10L 1
62377 _ACEOF
62380 done
62382 else
62384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62385 $as_echo_n "checking for _log10l declaration... " >&6; }
62386 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62387 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62388 $as_echo_n "(cached) " >&6
62389 else
62392 ac_ext=cpp
62393 ac_cpp='$CXXCPP $CPPFLAGS'
62394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62399 /* end confdefs.h. */
62400 #include <math.h>
62401 #ifdef HAVE_IEEEFP_H
62402 #include <ieeefp.h>
62403 #endif
62406 main ()
62408 _log10l(0);
62410 return 0;
62412 _ACEOF
62413 if ac_fn_cxx_try_compile "$LINENO"; then :
62414 glibcxx_cv_func__log10l_use=yes
62415 else
62416 glibcxx_cv_func__log10l_use=no
62418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62419 ac_ext=c
62420 ac_cpp='$CPP $CPPFLAGS'
62421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62430 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62432 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62433 for ac_func in _log10l
62434 do :
62435 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62436 if test "x$ac_cv_func__log10l" = x""yes; then :
62437 cat >>confdefs.h <<_ACEOF
62438 #define HAVE__LOG10L 1
62439 _ACEOF
62442 done
62451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62452 $as_echo_n "checking for modfl declaration... " >&6; }
62453 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62454 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62455 $as_echo_n "(cached) " >&6
62456 else
62459 ac_ext=cpp
62460 ac_cpp='$CXXCPP $CPPFLAGS'
62461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62466 /* end confdefs.h. */
62467 #include <math.h>
62469 main ()
62471 modfl(0, 0);
62473 return 0;
62475 _ACEOF
62476 if ac_fn_cxx_try_compile "$LINENO"; then :
62477 glibcxx_cv_func_modfl_use=yes
62478 else
62479 glibcxx_cv_func_modfl_use=no
62481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62482 ac_ext=c
62483 ac_cpp='$CPP $CPPFLAGS'
62484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62493 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62495 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62496 for ac_func in modfl
62497 do :
62498 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62499 if test "x$ac_cv_func_modfl" = x""yes; then :
62500 cat >>confdefs.h <<_ACEOF
62501 #define HAVE_MODFL 1
62502 _ACEOF
62505 done
62507 else
62509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62510 $as_echo_n "checking for _modfl declaration... " >&6; }
62511 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62512 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62513 $as_echo_n "(cached) " >&6
62514 else
62517 ac_ext=cpp
62518 ac_cpp='$CXXCPP $CPPFLAGS'
62519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62524 /* end confdefs.h. */
62525 #include <math.h>
62527 main ()
62529 _modfl(0, 0);
62531 return 0;
62533 _ACEOF
62534 if ac_fn_cxx_try_compile "$LINENO"; then :
62535 glibcxx_cv_func__modfl_use=yes
62536 else
62537 glibcxx_cv_func__modfl_use=no
62539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62540 ac_ext=c
62541 ac_cpp='$CPP $CPPFLAGS'
62542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62551 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62553 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62554 for ac_func in _modfl
62555 do :
62556 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62557 if test "x$ac_cv_func__modfl" = x""yes; then :
62558 cat >>confdefs.h <<_ACEOF
62559 #define HAVE__MODFL 1
62560 _ACEOF
62563 done
62572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62573 $as_echo_n "checking for powl declaration... " >&6; }
62574 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62575 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62576 $as_echo_n "(cached) " >&6
62577 else
62580 ac_ext=cpp
62581 ac_cpp='$CXXCPP $CPPFLAGS'
62582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62587 /* end confdefs.h. */
62588 #include <math.h>
62590 main ()
62592 powl(0, 0);
62594 return 0;
62596 _ACEOF
62597 if ac_fn_cxx_try_compile "$LINENO"; then :
62598 glibcxx_cv_func_powl_use=yes
62599 else
62600 glibcxx_cv_func_powl_use=no
62602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62603 ac_ext=c
62604 ac_cpp='$CPP $CPPFLAGS'
62605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62614 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62616 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62617 for ac_func in powl
62618 do :
62619 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62620 if test "x$ac_cv_func_powl" = x""yes; then :
62621 cat >>confdefs.h <<_ACEOF
62622 #define HAVE_POWL 1
62623 _ACEOF
62626 done
62628 else
62630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62631 $as_echo_n "checking for _powl declaration... " >&6; }
62632 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62633 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62634 $as_echo_n "(cached) " >&6
62635 else
62638 ac_ext=cpp
62639 ac_cpp='$CXXCPP $CPPFLAGS'
62640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62645 /* end confdefs.h. */
62646 #include <math.h>
62648 main ()
62650 _powl(0, 0);
62652 return 0;
62654 _ACEOF
62655 if ac_fn_cxx_try_compile "$LINENO"; then :
62656 glibcxx_cv_func__powl_use=yes
62657 else
62658 glibcxx_cv_func__powl_use=no
62660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62661 ac_ext=c
62662 ac_cpp='$CPP $CPPFLAGS'
62663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62672 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62674 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62675 for ac_func in _powl
62676 do :
62677 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62678 if test "x$ac_cv_func__powl" = x""yes; then :
62679 cat >>confdefs.h <<_ACEOF
62680 #define HAVE__POWL 1
62681 _ACEOF
62684 done
62693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62694 $as_echo_n "checking for sqrtl declaration... " >&6; }
62695 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62696 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62697 $as_echo_n "(cached) " >&6
62698 else
62701 ac_ext=cpp
62702 ac_cpp='$CXXCPP $CPPFLAGS'
62703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62708 /* end confdefs.h. */
62709 #include <math.h>
62710 #ifdef HAVE_IEEEFP_H
62711 #include <ieeefp.h>
62712 #endif
62715 main ()
62717 sqrtl(0);
62719 return 0;
62721 _ACEOF
62722 if ac_fn_cxx_try_compile "$LINENO"; then :
62723 glibcxx_cv_func_sqrtl_use=yes
62724 else
62725 glibcxx_cv_func_sqrtl_use=no
62727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62728 ac_ext=c
62729 ac_cpp='$CPP $CPPFLAGS'
62730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62739 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62741 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62742 for ac_func in sqrtl
62743 do :
62744 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62745 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62746 cat >>confdefs.h <<_ACEOF
62747 #define HAVE_SQRTL 1
62748 _ACEOF
62751 done
62753 else
62755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62756 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62757 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62758 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62759 $as_echo_n "(cached) " >&6
62760 else
62763 ac_ext=cpp
62764 ac_cpp='$CXXCPP $CPPFLAGS'
62765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62770 /* end confdefs.h. */
62771 #include <math.h>
62772 #ifdef HAVE_IEEEFP_H
62773 #include <ieeefp.h>
62774 #endif
62777 main ()
62779 _sqrtl(0);
62781 return 0;
62783 _ACEOF
62784 if ac_fn_cxx_try_compile "$LINENO"; then :
62785 glibcxx_cv_func__sqrtl_use=yes
62786 else
62787 glibcxx_cv_func__sqrtl_use=no
62789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62790 ac_ext=c
62791 ac_cpp='$CPP $CPPFLAGS'
62792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62801 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
62803 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
62804 for ac_func in _sqrtl
62805 do :
62806 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
62807 if test "x$ac_cv_func__sqrtl" = x""yes; then :
62808 cat >>confdefs.h <<_ACEOF
62809 #define HAVE__SQRTL 1
62810 _ACEOF
62813 done
62822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
62823 $as_echo_n "checking for sincosl declaration... " >&6; }
62824 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
62825 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
62826 $as_echo_n "(cached) " >&6
62827 else
62830 ac_ext=cpp
62831 ac_cpp='$CXXCPP $CPPFLAGS'
62832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62837 /* end confdefs.h. */
62838 #include <math.h>
62840 main ()
62842 sincosl(0, 0, 0);
62844 return 0;
62846 _ACEOF
62847 if ac_fn_cxx_try_compile "$LINENO"; then :
62848 glibcxx_cv_func_sincosl_use=yes
62849 else
62850 glibcxx_cv_func_sincosl_use=no
62852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62853 ac_ext=c
62854 ac_cpp='$CPP $CPPFLAGS'
62855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
62864 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
62866 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
62867 for ac_func in sincosl
62868 do :
62869 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
62870 if test "x$ac_cv_func_sincosl" = x""yes; then :
62871 cat >>confdefs.h <<_ACEOF
62872 #define HAVE_SINCOSL 1
62873 _ACEOF
62876 done
62878 else
62880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
62881 $as_echo_n "checking for _sincosl declaration... " >&6; }
62882 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
62883 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
62884 $as_echo_n "(cached) " >&6
62885 else
62888 ac_ext=cpp
62889 ac_cpp='$CXXCPP $CPPFLAGS'
62890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62895 /* end confdefs.h. */
62896 #include <math.h>
62898 main ()
62900 _sincosl(0, 0, 0);
62902 return 0;
62904 _ACEOF
62905 if ac_fn_cxx_try_compile "$LINENO"; then :
62906 glibcxx_cv_func__sincosl_use=yes
62907 else
62908 glibcxx_cv_func__sincosl_use=no
62910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62911 ac_ext=c
62912 ac_cpp='$CPP $CPPFLAGS'
62913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
62922 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
62924 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
62925 for ac_func in _sincosl
62926 do :
62927 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
62928 if test "x$ac_cv_func__sincosl" = x""yes; then :
62929 cat >>confdefs.h <<_ACEOF
62930 #define HAVE__SINCOSL 1
62931 _ACEOF
62934 done
62943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
62944 $as_echo_n "checking for finitel declaration... " >&6; }
62945 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
62946 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
62947 $as_echo_n "(cached) " >&6
62948 else
62951 ac_ext=cpp
62952 ac_cpp='$CXXCPP $CPPFLAGS'
62953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62958 /* end confdefs.h. */
62959 #include <math.h>
62960 #ifdef HAVE_IEEEFP_H
62961 #include <ieeefp.h>
62962 #endif
62965 main ()
62967 finitel(0);
62969 return 0;
62971 _ACEOF
62972 if ac_fn_cxx_try_compile "$LINENO"; then :
62973 glibcxx_cv_func_finitel_use=yes
62974 else
62975 glibcxx_cv_func_finitel_use=no
62977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62978 ac_ext=c
62979 ac_cpp='$CPP $CPPFLAGS'
62980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
62989 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
62991 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
62992 for ac_func in finitel
62993 do :
62994 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
62995 if test "x$ac_cv_func_finitel" = x""yes; then :
62996 cat >>confdefs.h <<_ACEOF
62997 #define HAVE_FINITEL 1
62998 _ACEOF
63001 done
63003 else
63005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63006 $as_echo_n "checking for _finitel declaration... " >&6; }
63007 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63008 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63009 $as_echo_n "(cached) " >&6
63010 else
63013 ac_ext=cpp
63014 ac_cpp='$CXXCPP $CPPFLAGS'
63015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63020 /* end confdefs.h. */
63021 #include <math.h>
63022 #ifdef HAVE_IEEEFP_H
63023 #include <ieeefp.h>
63024 #endif
63027 main ()
63029 _finitel(0);
63031 return 0;
63033 _ACEOF
63034 if ac_fn_cxx_try_compile "$LINENO"; then :
63035 glibcxx_cv_func__finitel_use=yes
63036 else
63037 glibcxx_cv_func__finitel_use=no
63039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63040 ac_ext=c
63041 ac_cpp='$CPP $CPPFLAGS'
63042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63051 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63053 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63054 for ac_func in _finitel
63055 do :
63056 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63057 if test "x$ac_cv_func__finitel" = x""yes; then :
63058 cat >>confdefs.h <<_ACEOF
63059 #define HAVE__FINITEL 1
63060 _ACEOF
63063 done
63071 LIBS="$ac_save_LIBS"
63072 CXXFLAGS="$ac_save_CXXFLAGS"
63075 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63076 ac_save_CXXFLAGS="$CXXFLAGS"
63077 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63081 $as_echo_n "checking for strtold declaration... " >&6; }
63082 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63083 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63084 $as_echo_n "(cached) " >&6
63085 else
63088 ac_ext=cpp
63089 ac_cpp='$CXXCPP $CPPFLAGS'
63090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63095 /* end confdefs.h. */
63096 #include <stdlib.h>
63098 main ()
63100 strtold(0, 0);
63102 return 0;
63104 _ACEOF
63105 if ac_fn_cxx_try_compile "$LINENO"; then :
63106 glibcxx_cv_func_strtold_use=yes
63107 else
63108 glibcxx_cv_func_strtold_use=no
63110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63111 ac_ext=c
63112 ac_cpp='$CPP $CPPFLAGS'
63113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63122 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63123 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63124 for ac_func in strtold
63125 do :
63126 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63127 if test "x$ac_cv_func_strtold" = x""yes; then :
63128 cat >>confdefs.h <<_ACEOF
63129 #define HAVE_STRTOLD 1
63130 _ACEOF
63133 done
63140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63141 $as_echo_n "checking for strtof declaration... " >&6; }
63142 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63143 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63144 $as_echo_n "(cached) " >&6
63145 else
63148 ac_ext=cpp
63149 ac_cpp='$CXXCPP $CPPFLAGS'
63150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63155 /* end confdefs.h. */
63156 #include <stdlib.h>
63158 main ()
63160 strtof(0, 0);
63162 return 0;
63164 _ACEOF
63165 if ac_fn_cxx_try_compile "$LINENO"; then :
63166 glibcxx_cv_func_strtof_use=yes
63167 else
63168 glibcxx_cv_func_strtof_use=no
63170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63171 ac_ext=c
63172 ac_cpp='$CPP $CPPFLAGS'
63173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63182 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63183 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63184 for ac_func in strtof
63185 do :
63186 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63187 if test "x$ac_cv_func_strtof" = x""yes; then :
63188 cat >>confdefs.h <<_ACEOF
63189 #define HAVE_STRTOF 1
63190 _ACEOF
63193 done
63200 CXXFLAGS="$ac_save_CXXFLAGS"
63203 *-solaris*)
63204 case "$target" in
63205 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63207 # If we're not using GNU ld, then there's no point in even trying these
63208 # tests. Check for that first. We should have already tested for gld
63209 # by now (in libtool), but require it now just to be safe...
63210 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63211 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63215 # The name set by libtool depends on the version of libtool. Shame on us
63216 # for depending on an impl detail, but c'est la vie. Older versions used
63217 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63218 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63219 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63220 # set (hence we're using an older libtool), then set it.
63221 if test x${with_gnu_ld+set} != xset; then
63222 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63223 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63224 with_gnu_ld=no
63225 else
63226 with_gnu_ld=$ac_cv_prog_gnu_ld
63230 # Start by getting the version number. I think the libtool test already
63231 # does some of this, but throws away the result.
63232 glibcxx_ld_is_gold=no
63233 if test x"$with_gnu_ld" = x"yes"; then
63234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63235 $as_echo_n "checking for ld version... " >&6; }
63237 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63238 glibcxx_ld_is_gold=yes
63240 ldver=`$LD --version 2>/dev/null |
63241 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'`
63243 glibcxx_gnu_ld_version=`echo $ldver | \
63244 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63246 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63249 # Set --gc-sections.
63250 glibcxx_have_gc_sections=no
63251 if test "$glibcxx_ld_is_gold" = "yes"; then
63252 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63253 glibcxx_have_gc_sections=yes
63255 else
63256 glibcxx_gcsections_min_ld=21602
63257 if test x"$with_gnu_ld" = x"yes" &&
63258 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63259 glibcxx_have_gc_sections=yes
63262 if test "$glibcxx_have_gc_sections" = "yes"; then
63263 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63264 # NB: This flag only works reliably after 2.16.1. Configure tests
63265 # for this are difficult, so hard wire a value that should work.
63267 ac_test_CFLAGS="${CFLAGS+set}"
63268 ac_save_CFLAGS="$CFLAGS"
63269 CFLAGS='-Wl,--gc-sections'
63271 # Check for -Wl,--gc-sections
63272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63273 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63274 if test x$gcc_no_link = xyes; then
63275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63278 /* end confdefs.h. */
63279 int one(void) { return 1; }
63280 int two(void) { return 2; }
63283 main ()
63285 two();
63287 return 0;
63289 _ACEOF
63290 if ac_fn_c_try_link "$LINENO"; then :
63291 ac_gcsections=yes
63292 else
63293 ac_gcsections=no
63295 rm -f core conftest.err conftest.$ac_objext \
63296 conftest$ac_exeext conftest.$ac_ext
63297 if test "$ac_gcsections" = "yes"; then
63298 rm -f conftest.c
63299 touch conftest.c
63300 if $CC -c conftest.c; then
63301 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63302 grep "Warning: gc-sections option ignored" > /dev/null; then
63303 ac_gcsections=no
63306 rm -f conftest.c conftest.o conftest
63308 if test "$ac_gcsections" = "yes"; then
63309 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63312 $as_echo "$ac_gcsections" >&6; }
63314 if test "$ac_test_CFLAGS" = set; then
63315 CFLAGS="$ac_save_CFLAGS"
63316 else
63317 # this is the suspicious part
63318 CFLAGS=''
63322 # Set -z,relro.
63323 # Note this is only for shared objects.
63324 ac_ld_relro=no
63325 if test x"$with_gnu_ld" = x"yes"; then
63326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63327 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63328 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63329 if test -n "$cxx_z_relo"; then
63330 OPT_LDFLAGS="-Wl,-z,relro"
63331 ac_ld_relro=yes
63333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63334 $as_echo "$ac_ld_relro" >&6; }
63337 # Set linker optimization flags.
63338 if test x"$with_gnu_ld" = x"yes"; then
63339 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63345 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63347 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63349 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63351 # All of the dependencies for wide character support are here, so
63352 # turn it on.
63353 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63356 esac
63357 case "$target" in
63358 *-*-solaris2.10)
63359 # These two C99 functions are present only in Solaris >= 10
63360 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63362 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63365 esac
63366 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63368 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63370 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63372 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63375 *-tpf)
63376 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63379 # If we're not using GNU ld, then there's no point in even trying these
63380 # tests. Check for that first. We should have already tested for gld
63381 # by now (in libtool), but require it now just to be safe...
63382 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63383 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63387 # The name set by libtool depends on the version of libtool. Shame on us
63388 # for depending on an impl detail, but c'est la vie. Older versions used
63389 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63390 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63391 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63392 # set (hence we're using an older libtool), then set it.
63393 if test x${with_gnu_ld+set} != xset; then
63394 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63395 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63396 with_gnu_ld=no
63397 else
63398 with_gnu_ld=$ac_cv_prog_gnu_ld
63402 # Start by getting the version number. I think the libtool test already
63403 # does some of this, but throws away the result.
63404 glibcxx_ld_is_gold=no
63405 if test x"$with_gnu_ld" = x"yes"; then
63406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63407 $as_echo_n "checking for ld version... " >&6; }
63409 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63410 glibcxx_ld_is_gold=yes
63412 ldver=`$LD --version 2>/dev/null |
63413 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'`
63415 glibcxx_gnu_ld_version=`echo $ldver | \
63416 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63418 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63421 # Set --gc-sections.
63422 glibcxx_have_gc_sections=no
63423 if test "$glibcxx_ld_is_gold" = "yes"; then
63424 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63425 glibcxx_have_gc_sections=yes
63427 else
63428 glibcxx_gcsections_min_ld=21602
63429 if test x"$with_gnu_ld" = x"yes" &&
63430 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63431 glibcxx_have_gc_sections=yes
63434 if test "$glibcxx_have_gc_sections" = "yes"; then
63435 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63436 # NB: This flag only works reliably after 2.16.1. Configure tests
63437 # for this are difficult, so hard wire a value that should work.
63439 ac_test_CFLAGS="${CFLAGS+set}"
63440 ac_save_CFLAGS="$CFLAGS"
63441 CFLAGS='-Wl,--gc-sections'
63443 # Check for -Wl,--gc-sections
63444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63445 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63446 if test x$gcc_no_link = xyes; then
63447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63450 /* end confdefs.h. */
63451 int one(void) { return 1; }
63452 int two(void) { return 2; }
63455 main ()
63457 two();
63459 return 0;
63461 _ACEOF
63462 if ac_fn_c_try_link "$LINENO"; then :
63463 ac_gcsections=yes
63464 else
63465 ac_gcsections=no
63467 rm -f core conftest.err conftest.$ac_objext \
63468 conftest$ac_exeext conftest.$ac_ext
63469 if test "$ac_gcsections" = "yes"; then
63470 rm -f conftest.c
63471 touch conftest.c
63472 if $CC -c conftest.c; then
63473 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63474 grep "Warning: gc-sections option ignored" > /dev/null; then
63475 ac_gcsections=no
63478 rm -f conftest.c conftest.o conftest
63480 if test "$ac_gcsections" = "yes"; then
63481 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63484 $as_echo "$ac_gcsections" >&6; }
63486 if test "$ac_test_CFLAGS" = set; then
63487 CFLAGS="$ac_save_CFLAGS"
63488 else
63489 # this is the suspicious part
63490 CFLAGS=''
63494 # Set -z,relro.
63495 # Note this is only for shared objects.
63496 ac_ld_relro=no
63497 if test x"$with_gnu_ld" = x"yes"; then
63498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63499 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63500 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63501 if test -n "$cxx_z_relo"; then
63502 OPT_LDFLAGS="-Wl,-z,relro"
63503 ac_ld_relro=yes
63505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63506 $as_echo "$ac_ld_relro" >&6; }
63509 # Set linker optimization flags.
63510 if test x"$with_gnu_ld" = x"yes"; then
63511 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63517 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63519 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63521 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63523 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63525 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63527 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63529 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63531 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63533 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63535 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63537 if test x"long_double_math_on_this_cpu" = x"yes"; then
63538 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63540 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63542 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63544 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63548 *-vxworks)
63549 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63551 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63553 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63555 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63557 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63559 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63561 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63563 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63565 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63567 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63569 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63571 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63573 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63575 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63577 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63579 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63581 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63583 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63585 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63587 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63591 as_fn_error "No support for this host/target combination." "$LINENO" 5
63593 esac
63597 # At some point, we should differentiate between architectures
63598 # like x86, which have long double versions, and alpha/powerpc/etc.,
63599 # which don't. For the time being, punt.
63600 if test x"long_double_math_on_this_cpu" = x"yes"; then
63601 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63603 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63605 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63607 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63609 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63611 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63613 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63615 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63617 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63619 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63621 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63623 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63625 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63627 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63629 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63631 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63633 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63635 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63637 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63639 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63641 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63643 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63645 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63650 # Check for _Unwind_GetIPInfo.
63653 # Check whether --with-system-libunwind was given.
63654 if test "${with_system_libunwind+set}" = set; then :
63655 withval=$with_system_libunwind;
63658 # If system-libunwind was not specifically set, pick a default setting.
63659 if test x$with_system_libunwind = x; then
63660 case ${target} in
63661 ia64-*-hpux*) with_system_libunwind=yes ;;
63662 *) with_system_libunwind=no ;;
63663 esac
63665 # Based on system-libunwind and target, do we have ipinfo?
63666 if test x$with_system_libunwind = xyes; then
63667 case ${target} in
63668 ia64-*-*) have_unwind_getipinfo=no ;;
63669 *) have_unwind_getipinfo=yes ;;
63670 esac
63671 else
63672 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63674 case ${target} in
63675 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63676 *) have_unwind_getipinfo=yes ;;
63677 esac
63681 if test x$have_unwind_getipinfo = xyes; then
63683 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63689 # Check whether --enable-linux-futex was given.
63690 if test "${enable_linux_futex+set}" = set; then :
63691 enableval=$enable_linux_futex;
63692 case "$enableval" in
63693 yes|no|default) ;;
63694 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63695 esac
63697 else
63698 enable_linux_futex=default
63702 case "$target" in
63703 *-linux*)
63704 case "$enable_linux_futex" in
63705 default)
63706 # If headers don't have gettid/futex syscalls definition, then
63707 # default to no, otherwise there will be compile time failures.
63708 # Otherwise, default to yes. If we don't detect we are
63709 # compiled/linked against NPTL and not cross-compiling, check
63710 # if programs are run by default against NPTL and if not, issue
63711 # a warning.
63712 enable_linux_futex=no
63713 if test x$gcc_no_link = xyes; then
63714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63717 /* end confdefs.h. */
63718 #include <sys/syscall.h>
63719 int lk;
63721 main ()
63723 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63725 return 0;
63727 _ACEOF
63728 if ac_fn_c_try_link "$LINENO"; then :
63729 save_LIBS="$LIBS"
63730 LIBS="-lpthread $LIBS"
63731 if test x$gcc_no_link = xyes; then
63732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63735 /* end confdefs.h. */
63736 #ifndef _GNU_SOURCE
63737 #define _GNU_SOURCE 1
63738 #endif
63739 #include <pthread.h>
63740 pthread_t th; void *status;
63742 main ()
63744 pthread_tryjoin_np (th, &status);
63746 return 0;
63748 _ACEOF
63749 if ac_fn_c_try_link "$LINENO"; then :
63750 enable_linux_futex=yes
63751 else
63752 if test x$cross_compiling = xno; then
63753 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63754 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63756 If so, please configure with --disable-linux-futex" >&5
63757 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63758 If so, please configure with --disable-linux-futex" >&2;}
63761 enable_linux_futex=yes
63763 rm -f core conftest.err conftest.$ac_objext \
63764 conftest$ac_exeext conftest.$ac_ext
63765 LIBS="$save_LIBS"
63767 rm -f core conftest.err conftest.$ac_objext \
63768 conftest$ac_exeext conftest.$ac_ext
63770 yes)
63771 if test x$gcc_no_link = xyes; then
63772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63775 /* end confdefs.h. */
63776 #include <sys/syscall.h>
63777 int lk;
63779 main ()
63781 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63783 return 0;
63785 _ACEOF
63786 if ac_fn_c_try_link "$LINENO"; then :
63788 else
63789 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63791 rm -f core conftest.err conftest.$ac_objext \
63792 conftest$ac_exeext conftest.$ac_ext
63794 esac
63797 enable_linux_futex=no
63799 esac
63800 if test x$enable_linux_futex = xyes; then
63802 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
63809 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
63811 acx_cv_header_stdint=stddef.h
63812 acx_cv_header_stdint_kind="(already complete)"
63813 for i in stdint.h $inttype_headers; do
63814 unset ac_cv_type_uintptr_t
63815 unset ac_cv_type_uintmax_t
63816 unset ac_cv_type_int_least32_t
63817 unset ac_cv_type_int_fast32_t
63818 unset ac_cv_type_uint64_t
63819 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
63820 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
63821 #include <$i>
63823 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
63824 acx_cv_header_stdint=$i
63825 else
63826 continue
63829 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63830 #include <$i>
63832 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63834 else
63835 acx_cv_header_stdint_kind="(mostly complete)"
63838 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
63839 #include <$i>
63841 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
63843 else
63844 acx_cv_header_stdint_kind="(mostly complete)"
63847 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
63848 #include <$i>
63850 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
63852 else
63853 acx_cv_header_stdint_kind="(mostly complete)"
63856 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63857 #include <$i>
63859 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63861 else
63862 acx_cv_header_stdint_kind="(lacks uint64_t)"
63865 break
63866 done
63867 if test "$acx_cv_header_stdint" = stddef.h; then
63868 acx_cv_header_stdint_kind="(lacks uintmax_t)"
63869 for i in stdint.h $inttype_headers; do
63870 unset ac_cv_type_uintptr_t
63871 unset ac_cv_type_uint32_t
63872 unset ac_cv_type_uint64_t
63873 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
63874 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
63875 #include <$i>
63877 if test "x$ac_cv_type_uint32_t" = x""yes; then :
63878 acx_cv_header_stdint=$i
63879 else
63880 continue
63883 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63884 #include <$i>
63886 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63890 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63891 #include <$i>
63893 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63897 break
63898 done
63900 if test "$acx_cv_header_stdint" = stddef.h; then
63901 acx_cv_header_stdint_kind="(u_intXX_t style)"
63902 for i in sys/types.h $inttype_headers; do
63903 unset ac_cv_type_u_int32_t
63904 unset ac_cv_type_u_int64_t
63905 $as_echo_n "looking for u_intXX_t types in $i, " >&6
63906 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
63907 #include <$i>
63909 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
63910 acx_cv_header_stdint=$i
63911 else
63912 continue
63915 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
63916 #include <$i>
63918 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
63922 break
63923 done
63925 if test "$acx_cv_header_stdint" = stddef.h; then
63926 acx_cv_header_stdint_kind="(using manual detection)"
63929 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
63930 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
63931 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
63932 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
63933 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
63935 # ----------------- Summarize what we found so far
63937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
63938 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
63940 case `$as_basename -- include/gstdint.h ||
63941 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
63942 Xinclude/gstdint.h : 'X\(//\)$' \| \
63943 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
63944 $as_echo X/include/gstdint.h |
63945 sed '/^.*\/\([^/][^/]*\)\/*$/{
63946 s//\1/
63949 /^X\/\(\/\/\)$/{
63950 s//\1/
63953 /^X\/\(\/\).*/{
63954 s//\1/
63957 s/.*/./; q'` in
63958 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63959 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63960 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63961 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63962 *) ;;
63963 esac
63965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
63966 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
63968 # ----------------- done included file, check C basic types --------
63970 # Lacking an uintptr_t? Test size of void *
63971 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
63972 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
63973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63975 # This bug is HP SR number 8606223364.
63976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
63977 $as_echo_n "checking size of void *... " >&6; }
63978 if test "${ac_cv_sizeof_void_p+set}" = set; then :
63979 $as_echo_n "(cached) " >&6
63980 else
63981 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
63983 else
63984 if test "$ac_cv_type_void_p" = yes; then
63985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63987 { as_fn_set_status 77
63988 as_fn_error "cannot compute sizeof (void *)
63989 See \`config.log' for more details." "$LINENO" 5; }; }
63990 else
63991 ac_cv_sizeof_void_p=0
63996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
63997 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64001 cat >>confdefs.h <<_ACEOF
64002 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64003 _ACEOF
64006 esac
64008 # Lacking an uint64_t? Test size of long
64009 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64010 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64013 # This bug is HP SR number 8606223364.
64014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64015 $as_echo_n "checking size of long... " >&6; }
64016 if test "${ac_cv_sizeof_long+set}" = set; then :
64017 $as_echo_n "(cached) " >&6
64018 else
64019 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
64021 else
64022 if test "$ac_cv_type_long" = yes; then
64023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64025 { as_fn_set_status 77
64026 as_fn_error "cannot compute sizeof (long)
64027 See \`config.log' for more details." "$LINENO" 5; }; }
64028 else
64029 ac_cv_sizeof_long=0
64034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64035 $as_echo "$ac_cv_sizeof_long" >&6; }
64039 cat >>confdefs.h <<_ACEOF
64040 #define SIZEOF_LONG $ac_cv_sizeof_long
64041 _ACEOF
64044 esac
64046 if test $acx_cv_header_stdint = stddef.h; then
64047 # Lacking a good header? Test size of everything and deduce all types.
64048 # The cast to long int works around a bug in the HP C Compiler
64049 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64050 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64051 # This bug is HP SR number 8606223364.
64052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64053 $as_echo_n "checking size of int... " >&6; }
64054 if test "${ac_cv_sizeof_int+set}" = set; then :
64055 $as_echo_n "(cached) " >&6
64056 else
64057 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
64059 else
64060 if test "$ac_cv_type_int" = yes; then
64061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64063 { as_fn_set_status 77
64064 as_fn_error "cannot compute sizeof (int)
64065 See \`config.log' for more details." "$LINENO" 5; }; }
64066 else
64067 ac_cv_sizeof_int=0
64072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64073 $as_echo "$ac_cv_sizeof_int" >&6; }
64077 cat >>confdefs.h <<_ACEOF
64078 #define SIZEOF_INT $ac_cv_sizeof_int
64079 _ACEOF
64082 # The cast to long int works around a bug in the HP C Compiler
64083 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64084 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64085 # This bug is HP SR number 8606223364.
64086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64087 $as_echo_n "checking size of short... " >&6; }
64088 if test "${ac_cv_sizeof_short+set}" = set; then :
64089 $as_echo_n "(cached) " >&6
64090 else
64091 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64093 else
64094 if test "$ac_cv_type_short" = yes; then
64095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64097 { as_fn_set_status 77
64098 as_fn_error "cannot compute sizeof (short)
64099 See \`config.log' for more details." "$LINENO" 5; }; }
64100 else
64101 ac_cv_sizeof_short=0
64106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64107 $as_echo "$ac_cv_sizeof_short" >&6; }
64111 cat >>confdefs.h <<_ACEOF
64112 #define SIZEOF_SHORT $ac_cv_sizeof_short
64113 _ACEOF
64116 # The cast to long int works around a bug in the HP C Compiler
64117 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64118 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64119 # This bug is HP SR number 8606223364.
64120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64121 $as_echo_n "checking size of char... " >&6; }
64122 if test "${ac_cv_sizeof_char+set}" = set; then :
64123 $as_echo_n "(cached) " >&6
64124 else
64125 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64127 else
64128 if test "$ac_cv_type_char" = yes; then
64129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64131 { as_fn_set_status 77
64132 as_fn_error "cannot compute sizeof (char)
64133 See \`config.log' for more details." "$LINENO" 5; }; }
64134 else
64135 ac_cv_sizeof_char=0
64140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64141 $as_echo "$ac_cv_sizeof_char" >&6; }
64145 cat >>confdefs.h <<_ACEOF
64146 #define SIZEOF_CHAR $ac_cv_sizeof_char
64147 _ACEOF
64151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64152 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64153 case "$ac_cv_sizeof_char" in
64154 1) acx_cv_type_int8_t=char ;;
64155 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64156 esac
64157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64158 $as_echo "$acx_cv_type_int8_t" >&6; }
64160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64161 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64162 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64163 2:*) acx_cv_type_int16_t=int ;;
64164 *:2) acx_cv_type_int16_t=short ;;
64165 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64166 esac
64167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64168 $as_echo "$acx_cv_type_int16_t" >&6; }
64170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64171 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64172 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64173 4:*) acx_cv_type_int32_t=int ;;
64174 *:4) acx_cv_type_int32_t=long ;;
64175 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64176 esac
64177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64178 $as_echo "$acx_cv_type_int32_t" >&6; }
64181 # These tests are here to make the output prettier
64183 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64184 case "$ac_cv_sizeof_long" in
64185 8) acx_cv_type_int64_t=long ;;
64186 esac
64187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64188 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64190 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64193 # Now we can use the above types
64195 if test "$ac_cv_type_uintptr_t" != yes; then
64196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64197 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64198 case $ac_cv_sizeof_void_p in
64199 2) acx_cv_type_intptr_t=int16_t ;;
64200 4) acx_cv_type_intptr_t=int32_t ;;
64201 8) acx_cv_type_intptr_t=int64_t ;;
64202 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64203 esac
64204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64205 $as_echo "$acx_cv_type_intptr_t" >&6; }
64208 # ----------------- done all checks, emit header -------------
64209 ac_config_commands="$ac_config_commands include/gstdint.h"
64214 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64217 $as_echo_n "checking for GNU c++filt... " >&6; }
64218 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64219 $as_echo_n "(cached) " >&6
64220 else
64221 if test -z "$CXXFILT"; then
64222 ac_path_CXXFILT_found=false
64223 # Loop through the user's path and test for each of PROGNAME-LIST
64224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64225 for as_dir in $PATH
64227 IFS=$as_save_IFS
64228 test -z "$as_dir" && as_dir=.
64229 for ac_prog in c++filt gc++filt; do
64230 for ac_exec_ext in '' $ac_executable_extensions; do
64231 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64232 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64233 # Check for GNU $ac_path_CXXFILT
64234 case `"$ac_path_CXXFILT" --version 2>&1` in
64235 *GNU*)
64236 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64237 esac
64239 $ac_path_CXXFILT_found && break 3
64240 done
64241 done
64242 done
64243 IFS=$as_save_IFS
64244 if test -z "$ac_cv_path_CXXFILT"; then
64247 else
64248 ac_cv_path_CXXFILT=$CXXFILT
64252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64253 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64254 CXXFILT=$ac_cv_path_CXXFILT
64258 # Check whether --enable-symvers was given.
64259 if test "${enable_symvers+set}" = set; then :
64260 enableval=$enable_symvers;
64261 case "$enableval" in
64262 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64263 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64264 esac
64266 else
64267 enable_symvers=yes
64272 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64273 # don't know enough about $LD to do tricks...
64275 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64276 # with extern "C++" in version scripts.
64279 # Turn a 'yes' into a suitable default.
64280 if test x$enable_symvers = xyes ; then
64281 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64282 enable_symvers=no
64283 else
64284 if test $with_gnu_ld = yes ; then
64285 case ${target_os} in
64286 hpux*)
64287 enable_symvers=no ;;
64289 enable_symvers=gnu ;;
64290 esac
64291 else
64292 case ${target_os} in
64293 darwin*)
64294 enable_symvers=darwin ;;
64295 # Sun symbol versioning exists since Solaris 2.5.
64296 solaris2.[5-9]* | solaris2.1[0-9]*)
64297 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64298 # version scripts, so disable symbol versioning if none can be
64299 # found.
64300 if test -z "$ac_cv_path_CXXFILT"; then
64301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64302 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64304 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64306 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64307 enable_symvers=no
64308 else
64309 enable_symvers=sun
64313 enable_symvers=no ;;
64314 esac
64319 # Check to see if 'darwin' or 'darwin-export' can win.
64320 if test x$enable_symvers = xdarwin-export ; then
64321 enable_symvers=darwin
64324 # Check if 'sun' was requested on non-Solaris 2 platforms.
64325 if test x$enable_symvers = xsun ; then
64326 case ${target_os} in
64327 solaris2*)
64328 # All fine.
64331 # Unlikely to work.
64332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64333 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64335 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64337 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64338 enable_symvers=no
64340 esac
64343 # Check to see if 'gnu' can win.
64344 if test $enable_symvers = gnu ||
64345 test $enable_symvers = gnu-versioned-namespace ||
64346 test $enable_symvers = sun; then
64347 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64349 $as_echo_n "checking for shared libgcc... " >&6; }
64350 ac_save_CFLAGS="$CFLAGS"
64351 CFLAGS=' -lgcc_s'
64352 if test x$gcc_no_link = xyes; then
64353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64356 /* end confdefs.h. */
64359 main ()
64361 return 0;
64363 return 0;
64365 _ACEOF
64366 if ac_fn_c_try_link "$LINENO"; then :
64367 glibcxx_shared_libgcc=yes
64368 else
64369 glibcxx_shared_libgcc=no
64371 rm -f core conftest.err conftest.$ac_objext \
64372 conftest$ac_exeext conftest.$ac_ext
64373 CFLAGS="$ac_save_CFLAGS"
64374 if test $glibcxx_shared_libgcc = no; then
64375 cat > conftest.c <<EOF
64376 int main (void) { return 0; }
64378 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64379 -shared -shared-libgcc -o conftest.so \
64380 conftest.c -v 2>&1 >/dev/null \
64381 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64382 rm -f conftest.c conftest.so
64383 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64384 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64385 if test x$gcc_no_link = xyes; then
64386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64389 /* end confdefs.h. */
64392 main ()
64394 return 0;
64396 return 0;
64398 _ACEOF
64399 if ac_fn_c_try_link "$LINENO"; then :
64400 glibcxx_shared_libgcc=yes
64402 rm -f core conftest.err conftest.$ac_objext \
64403 conftest$ac_exeext conftest.$ac_ext
64404 CFLAGS="$ac_save_CFLAGS"
64407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64408 $as_echo "$glibcxx_shared_libgcc" >&6; }
64410 # For GNU ld, we need at least this version. The format is described in
64411 # GLIBCXX_CHECK_LINKER_FEATURES above.
64412 glibcxx_min_gnu_ld_version=21400
64414 # If no shared libgcc, can't win.
64415 if test $glibcxx_shared_libgcc != yes; then
64416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64417 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64419 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64421 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64422 enable_symvers=no
64423 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64424 : All interesting versions of Sun ld support sun style symbol versioning.
64425 elif test $with_gnu_ld != yes ; then
64426 # just fail for now
64427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64428 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64430 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64432 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64433 enable_symvers=no
64434 elif test $glibcxx_ld_is_gold = yes ; then
64435 : All versions of gold support symbol versioning.
64436 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64437 # The right tools, the right setup, but too old. Fallbacks?
64438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64439 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64441 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64443 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64445 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64447 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64448 enable_symvers=no
64452 # Everything parsed; figure out what file to use.
64453 case $enable_symvers in
64455 SYMVER_FILE=config/abi/pre/none.ver
64457 gnu)
64458 SYMVER_FILE=config/abi/pre/gnu.ver
64460 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64463 gnu-versioned-namespace)
64464 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64466 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64469 darwin)
64470 SYMVER_FILE=config/abi/pre/gnu.ver
64472 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64475 sun)
64476 SYMVER_FILE=config/abi/pre/gnu.ver
64478 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64481 esac
64483 if test x$enable_symvers != xno ; then
64485 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64490 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64491 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64492 $as_echo_n "(cached) " >&6
64493 else
64495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64496 /* end confdefs.h. */
64497 void foo (void); __asm (".symver foo, bar@SYMVER");
64499 main ()
64503 return 0;
64505 _ACEOF
64506 if ac_fn_c_try_compile "$LINENO"; then :
64507 glibcxx_cv_have_as_symver_directive=yes
64508 else
64509 glibcxx_cv_have_as_symver_directive=no
64511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64514 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64515 if test $glibcxx_cv_have_as_symver_directive = yes; then
64517 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64528 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64529 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64531 if test $enable_symvers != no ; then
64532 case ${target_os} in
64533 # The Solaris 2 runtime linker doesn't support the GNU extension of
64534 # binding the same symbol to different versions
64535 solaris2*)
64536 symvers_renaming=no ;;
64537 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64540 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64542 symvers_renaming=yes ;;
64543 esac
64544 else
64545 symvers_renaming=no
64549 # Now, set up compatibility support, if any.
64550 # In addition, need this to deal with std::size_t mangling in
64551 # src/compatibility.cc. In a perfect world, could use
64552 # typeid(std::size_t).name()[0] to do direct substitution.
64553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64554 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64555 ac_save_CFLAGS="$CFLAGS"
64556 CFLAGS="-Werror"
64557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64558 /* end confdefs.h. */
64561 main ()
64563 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64565 return 0;
64567 _ACEOF
64568 if ac_fn_c_try_compile "$LINENO"; then :
64569 glibcxx_size_t_is_i=yes
64570 else
64571 glibcxx_size_t_is_i=no
64573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64574 CFLAGS=$ac_save_CFLAGS
64575 if test "$glibcxx_size_t_is_i" = yes; then
64577 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64581 $as_echo "$glibcxx_size_t_is_i" >&6; }
64583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64584 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64585 ac_save_CFLAGS="$CFLAGS"
64586 CFLAGS="-Werror"
64587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64588 /* end confdefs.h. */
64591 main ()
64593 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64595 return 0;
64597 _ACEOF
64598 if ac_fn_c_try_compile "$LINENO"; then :
64599 glibcxx_ptrdiff_t_is_i=yes
64600 else
64601 glibcxx_ptrdiff_t_is_i=no
64603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64604 CFLAGS=$ac_save_CFLAGS
64605 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64607 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64611 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64614 # Check whether --enable-visibility was given.
64615 if test "${enable_visibility+set}" = set; then :
64616 enableval=$enable_visibility;
64617 case "$enableval" in
64618 yes|no) ;;
64619 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64620 esac
64622 else
64623 enable_visibility=yes
64628 if test x$enable_visibility = xyes ; then
64629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64630 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64631 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64632 $as_echo_n "(cached) " >&6
64633 else
64635 save_CFLAGS="$CFLAGS"
64636 CFLAGS="$CFLAGS -Werror"
64637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64638 /* end confdefs.h. */
64639 void __attribute__((visibility("hidden"))) foo(void) { }
64641 main ()
64645 return 0;
64647 _ACEOF
64648 if ac_fn_c_try_compile "$LINENO"; then :
64649 glibcxx_cv_have_attribute_visibility=yes
64650 else
64651 glibcxx_cv_have_attribute_visibility=no
64653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64654 CFLAGS="$save_CFLAGS"
64656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64657 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64658 if test $glibcxx_cv_have_attribute_visibility = no; then
64659 enable_visibility=no
64664 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64665 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64668 ac_ldbl_compat=no
64669 case "$target" in
64670 powerpc*-*-linux* | \
64671 sparc*-*-linux* | \
64672 s390*-*-linux* | \
64673 alpha*-*-linux*)
64674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64675 /* end confdefs.h. */
64678 main ()
64681 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64682 #error no need for long double compatibility
64683 #endif
64686 return 0;
64688 _ACEOF
64689 if ac_fn_c_try_compile "$LINENO"; then :
64690 ac_ldbl_compat=yes
64691 else
64692 ac_ldbl_compat=no
64694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64695 if test "$ac_ldbl_compat" = yes; then
64697 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64699 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64701 esac
64704 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64706 if $GLIBCXX_IS_NATIVE ; then
64707 # Do checks for resource limit functions.
64709 setrlimit_have_headers=yes
64710 for ac_header in unistd.h sys/time.h sys/resource.h
64711 do :
64712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64713 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64714 eval as_val=\$$as_ac_Header
64715 if test "x$as_val" = x""yes; then :
64716 cat >>confdefs.h <<_ACEOF
64717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64718 _ACEOF
64720 else
64721 setrlimit_have_headers=no
64724 done
64726 # If don't have the headers, then we can't run the tests now, and we
64727 # won't be seeing any of these during testsuite compilation.
64728 if test $setrlimit_have_headers = yes; then
64729 # Can't do these in a loop, else the resulting syntax is wrong.
64731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64732 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64734 /* end confdefs.h. */
64735 #include <unistd.h>
64736 #include <sys/time.h>
64737 #include <sys/resource.h>
64740 main ()
64742 int f = RLIMIT_DATA ;
64744 return 0;
64746 _ACEOF
64747 if ac_fn_c_try_compile "$LINENO"; then :
64748 glibcxx_mresult=1
64749 else
64750 glibcxx_mresult=0
64752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64754 cat >>confdefs.h <<_ACEOF
64755 #define HAVE_LIMIT_DATA $glibcxx_mresult
64756 _ACEOF
64758 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64760 $as_echo "$res" >&6; }
64763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64764 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64766 /* end confdefs.h. */
64767 #include <unistd.h>
64768 #include <sys/time.h>
64769 #include <sys/resource.h>
64772 main ()
64774 int f = RLIMIT_RSS ;
64776 return 0;
64778 _ACEOF
64779 if ac_fn_c_try_compile "$LINENO"; then :
64780 glibcxx_mresult=1
64781 else
64782 glibcxx_mresult=0
64784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64786 cat >>confdefs.h <<_ACEOF
64787 #define HAVE_LIMIT_RSS $glibcxx_mresult
64788 _ACEOF
64790 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64792 $as_echo "$res" >&6; }
64795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64796 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64798 /* end confdefs.h. */
64799 #include <unistd.h>
64800 #include <sys/time.h>
64801 #include <sys/resource.h>
64804 main ()
64806 int f = RLIMIT_VMEM ;
64808 return 0;
64810 _ACEOF
64811 if ac_fn_c_try_compile "$LINENO"; then :
64812 glibcxx_mresult=1
64813 else
64814 glibcxx_mresult=0
64816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64818 cat >>confdefs.h <<_ACEOF
64819 #define HAVE_LIMIT_VMEM $glibcxx_mresult
64820 _ACEOF
64822 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64824 $as_echo "$res" >&6; }
64827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
64828 $as_echo_n "checking for RLIMIT_AS... " >&6; }
64829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64830 /* end confdefs.h. */
64831 #include <unistd.h>
64832 #include <sys/time.h>
64833 #include <sys/resource.h>
64836 main ()
64838 int f = RLIMIT_AS ;
64840 return 0;
64842 _ACEOF
64843 if ac_fn_c_try_compile "$LINENO"; then :
64844 glibcxx_mresult=1
64845 else
64846 glibcxx_mresult=0
64848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64850 cat >>confdefs.h <<_ACEOF
64851 #define HAVE_LIMIT_AS $glibcxx_mresult
64852 _ACEOF
64854 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64856 $as_echo "$res" >&6; }
64859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
64860 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
64861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64862 /* end confdefs.h. */
64863 #include <unistd.h>
64864 #include <sys/time.h>
64865 #include <sys/resource.h>
64868 main ()
64870 int f = RLIMIT_FSIZE ;
64872 return 0;
64874 _ACEOF
64875 if ac_fn_c_try_compile "$LINENO"; then :
64876 glibcxx_mresult=1
64877 else
64878 glibcxx_mresult=0
64880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64882 cat >>confdefs.h <<_ACEOF
64883 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
64884 _ACEOF
64886 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64888 $as_echo "$res" >&6; }
64891 # Check for rlimit, setrlimit.
64892 if test "${glibcxx_cv_setrlimit+set}" = set; then :
64893 $as_echo_n "(cached) " >&6
64894 else
64896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64897 /* end confdefs.h. */
64898 #include <unistd.h>
64899 #include <sys/time.h>
64900 #include <sys/resource.h>
64903 main ()
64905 struct rlimit r;
64906 setrlimit(0, &r);
64908 return 0;
64910 _ACEOF
64911 if ac_fn_c_try_compile "$LINENO"; then :
64912 glibcxx_cv_setrlimit=yes
64913 else
64914 glibcxx_cv_setrlimit=no
64916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
64923 $as_echo_n "checking for testsuite resource limits support... " >&6; }
64924 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
64925 ac_res_limits=yes
64927 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
64929 else
64930 ac_res_limits=no
64932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
64933 $as_echo "$ac_res_limits" >&6; }
64936 # Look for setenv, so that extended locale tests can be performed.
64938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
64939 $as_echo_n "checking for setenv declaration... " >&6; }
64940 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
64941 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
64942 $as_echo_n "(cached) " >&6
64943 else
64946 ac_ext=cpp
64947 ac_cpp='$CXXCPP $CPPFLAGS'
64948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64953 /* end confdefs.h. */
64954 #include <stdlib.h>
64956 main ()
64958 setenv(0, 0, 0);
64960 return 0;
64962 _ACEOF
64963 if ac_fn_cxx_try_compile "$LINENO"; then :
64964 glibcxx_cv_func_setenv_use=yes
64965 else
64966 glibcxx_cv_func_setenv_use=no
64968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64969 ac_ext=c
64970 ac_cpp='$CPP $CPPFLAGS'
64971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
64980 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
64981 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
64982 for ac_func in setenv
64983 do :
64984 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
64985 if test "x$ac_cv_func_setenv" = x""yes; then :
64986 cat >>confdefs.h <<_ACEOF
64987 #define HAVE_SETENV 1
64988 _ACEOF
64991 done
64997 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
64998 test $enable_symvers != no; then
64999 case "$host" in
65000 *-*-cygwin*)
65001 enable_abi_check=no ;;
65003 enable_abi_check=yes ;;
65004 esac
65005 else
65006 # Only build this as native, since automake does not understand
65007 # CXX_FOR_BUILD.
65008 enable_abi_check=no
65011 # Export file names for ABI checking.
65012 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65016 # Define documentation rules conditionally.
65018 # See if makeinfo has been installed and is modern enough
65019 # that we can use it.
65021 # Extract the first word of "makeinfo", so it can be a program name with args.
65022 set dummy makeinfo; ac_word=$2
65023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65024 $as_echo_n "checking for $ac_word... " >&6; }
65025 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65026 $as_echo_n "(cached) " >&6
65027 else
65028 if test -n "$MAKEINFO"; then
65029 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65030 else
65031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65032 for as_dir in $PATH
65034 IFS=$as_save_IFS
65035 test -z "$as_dir" && as_dir=.
65036 for ac_exec_ext in '' $ac_executable_extensions; do
65037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65038 ac_cv_prog_MAKEINFO="makeinfo"
65039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65040 break 2
65042 done
65043 done
65044 IFS=$as_save_IFS
65048 MAKEINFO=$ac_cv_prog_MAKEINFO
65049 if test -n "$MAKEINFO"; then
65050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65051 $as_echo "$MAKEINFO" >&6; }
65052 else
65053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65054 $as_echo "no" >&6; }
65058 if test -n "$MAKEINFO"; then
65059 # Found it, now check the version.
65060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65061 $as_echo_n "checking for modern makeinfo... " >&6; }
65062 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65063 $as_echo_n "(cached) " >&6
65064 else
65065 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65066 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65068 case $ac_prog_version in
65069 '') gcc_cv_prog_makeinfo_modern=no;;
65070 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
65071 *) gcc_cv_prog_makeinfo_modern=no;;
65072 esac
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65076 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65077 else
65078 gcc_cv_prog_makeinfo_modern=no
65080 if test $gcc_cv_prog_makeinfo_modern = no; then
65081 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65084 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65085 BUILD_INFO_TRUE=
65086 BUILD_INFO_FALSE='#'
65087 else
65088 BUILD_INFO_TRUE='#'
65089 BUILD_INFO_FALSE=
65093 # Check for doxygen
65094 # Extract the first word of "doxygen", so it can be a program name with args.
65095 set dummy doxygen; ac_word=$2
65096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65097 $as_echo_n "checking for $ac_word... " >&6; }
65098 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65099 $as_echo_n "(cached) " >&6
65100 else
65101 if test -n "$DOXYGEN"; then
65102 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65103 else
65104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65105 for as_dir in $PATH
65107 IFS=$as_save_IFS
65108 test -z "$as_dir" && as_dir=.
65109 for ac_exec_ext in '' $ac_executable_extensions; do
65110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65111 ac_cv_prog_DOXYGEN="yes"
65112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65113 break 2
65115 done
65116 done
65117 IFS=$as_save_IFS
65119 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65122 DOXYGEN=$ac_cv_prog_DOXYGEN
65123 if test -n "$DOXYGEN"; then
65124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65125 $as_echo "$DOXYGEN" >&6; }
65126 else
65127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65128 $as_echo "no" >&6; }
65132 # Extract the first word of "dot", so it can be a program name with args.
65133 set dummy dot; ac_word=$2
65134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65135 $as_echo_n "checking for $ac_word... " >&6; }
65136 if test "${ac_cv_prog_DOT+set}" = set; then :
65137 $as_echo_n "(cached) " >&6
65138 else
65139 if test -n "$DOT"; then
65140 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65141 else
65142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65143 for as_dir in $PATH
65145 IFS=$as_save_IFS
65146 test -z "$as_dir" && as_dir=.
65147 for ac_exec_ext in '' $ac_executable_extensions; do
65148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65149 ac_cv_prog_DOT="yes"
65150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65151 break 2
65153 done
65154 done
65155 IFS=$as_save_IFS
65157 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65160 DOT=$ac_cv_prog_DOT
65161 if test -n "$DOT"; then
65162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65163 $as_echo "$DOT" >&6; }
65164 else
65165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65166 $as_echo "no" >&6; }
65171 # Check for docbook
65172 # Extract the first word of "xsltproc", so it can be a program name with args.
65173 set dummy xsltproc; ac_word=$2
65174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65175 $as_echo_n "checking for $ac_word... " >&6; }
65176 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65177 $as_echo_n "(cached) " >&6
65178 else
65179 if test -n "$XSLTPROC"; then
65180 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65181 else
65182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65183 for as_dir in $PATH
65185 IFS=$as_save_IFS
65186 test -z "$as_dir" && as_dir=.
65187 for ac_exec_ext in '' $ac_executable_extensions; do
65188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65189 ac_cv_prog_XSLTPROC="yes"
65190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65191 break 2
65193 done
65194 done
65195 IFS=$as_save_IFS
65197 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65200 XSLTPROC=$ac_cv_prog_XSLTPROC
65201 if test -n "$XSLTPROC"; then
65202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65203 $as_echo "$XSLTPROC" >&6; }
65204 else
65205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65206 $as_echo "no" >&6; }
65210 # Extract the first word of "xmllint", so it can be a program name with args.
65211 set dummy xmllint; ac_word=$2
65212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65213 $as_echo_n "checking for $ac_word... " >&6; }
65214 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65215 $as_echo_n "(cached) " >&6
65216 else
65217 if test -n "$XMLLINT"; then
65218 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65219 else
65220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65221 for as_dir in $PATH
65223 IFS=$as_save_IFS
65224 test -z "$as_dir" && as_dir=.
65225 for ac_exec_ext in '' $ac_executable_extensions; do
65226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65227 ac_cv_prog_XMLLINT="yes"
65228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65229 break 2
65231 done
65232 done
65233 IFS=$as_save_IFS
65235 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65238 XMLLINT=$ac_cv_prog_XMLLINT
65239 if test -n "$XMLLINT"; then
65240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65241 $as_echo "$XMLLINT" >&6; }
65242 else
65243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65244 $as_echo "no" >&6; }
65250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65251 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65252 glibcxx_stylesheets=no
65253 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
65254 glibcxx_stylesheets=yes
65256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65257 $as_echo "$glibcxx_stylesheets" >&6; }
65259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65260 $as_echo_n "checking for local stylesheet directory... " >&6; }
65261 glibcxx_local_stylesheets=no
65262 if test x"$glibcxx_stylesheets" = x"yes"; then
65263 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65264 glibcxx_local_stylesheets=yes
65265 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65267 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65268 glibcxx_local_stylesheets=yes
65269 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65273 $as_echo "$glibcxx_local_stylesheets" >&6; }
65275 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65277 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65278 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65279 else
65280 glibcxx_stylesheets=no
65284 # Check for xml/html dependencies.
65285 if test $ac_cv_prog_DOXYGEN = "yes" &&
65286 test $ac_cv_prog_DOT = "yes" &&
65287 test $ac_cv_prog_XSLTPROC = "yes" &&
65288 test $ac_cv_prog_XMLLINT = "yes" &&
65289 test $glibcxx_stylesheets = "yes"; then
65290 BUILD_XML_TRUE=
65291 BUILD_XML_FALSE='#'
65292 else
65293 BUILD_XML_TRUE='#'
65294 BUILD_XML_FALSE=
65298 if test $ac_cv_prog_DOXYGEN = "yes" &&
65299 test $ac_cv_prog_DOT = "yes" &&
65300 test $ac_cv_prog_XSLTPROC = "yes" &&
65301 test $ac_cv_prog_XMLLINT = "yes" &&
65302 test $glibcxx_stylesheets = "yes"; then
65303 BUILD_HTML_TRUE=
65304 BUILD_HTML_FALSE='#'
65305 else
65306 BUILD_HTML_TRUE='#'
65307 BUILD_HTML_FALSE=
65311 # Check for man dependencies.
65312 if test $ac_cv_prog_DOXYGEN = "yes" &&
65313 test $ac_cv_prog_DOT = "yes"; then
65314 BUILD_MAN_TRUE=
65315 BUILD_MAN_FALSE='#'
65316 else
65317 BUILD_MAN_TRUE='#'
65318 BUILD_MAN_FALSE=
65322 # Check for pdf/epub dependencies.
65323 # Extract the first word of "dblatex", so it can be a program name with args.
65324 set dummy dblatex; ac_word=$2
65325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65326 $as_echo_n "checking for $ac_word... " >&6; }
65327 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65328 $as_echo_n "(cached) " >&6
65329 else
65330 if test -n "$DBLATEX"; then
65331 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65332 else
65333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65334 for as_dir in $PATH
65336 IFS=$as_save_IFS
65337 test -z "$as_dir" && as_dir=.
65338 for ac_exec_ext in '' $ac_executable_extensions; do
65339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65340 ac_cv_prog_DBLATEX="yes"
65341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65342 break 2
65344 done
65345 done
65346 IFS=$as_save_IFS
65348 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65351 DBLATEX=$ac_cv_prog_DBLATEX
65352 if test -n "$DBLATEX"; then
65353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65354 $as_echo "$DBLATEX" >&6; }
65355 else
65356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65357 $as_echo "no" >&6; }
65361 # Extract the first word of "pdflatex", so it can be a program name with args.
65362 set dummy pdflatex; ac_word=$2
65363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65364 $as_echo_n "checking for $ac_word... " >&6; }
65365 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65366 $as_echo_n "(cached) " >&6
65367 else
65368 if test -n "$PDFLATEX"; then
65369 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65370 else
65371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65372 for as_dir in $PATH
65374 IFS=$as_save_IFS
65375 test -z "$as_dir" && as_dir=.
65376 for ac_exec_ext in '' $ac_executable_extensions; do
65377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65378 ac_cv_prog_PDFLATEX="yes"
65379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65380 break 2
65382 done
65383 done
65384 IFS=$as_save_IFS
65386 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65389 PDFLATEX=$ac_cv_prog_PDFLATEX
65390 if test -n "$PDFLATEX"; then
65391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65392 $as_echo "$PDFLATEX" >&6; }
65393 else
65394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65395 $as_echo "no" >&6; }
65399 if test $ac_cv_prog_DBLATEX = "yes" &&
65400 test $ac_cv_prog_PDFLATEX = "yes"; then
65401 BUILD_PDF_TRUE=
65402 BUILD_PDF_FALSE='#'
65403 else
65404 BUILD_PDF_TRUE='#'
65405 BUILD_PDF_FALSE=
65409 # Extract the first word of "ruby", so it can be a program name with args.
65410 set dummy ruby; ac_word=$2
65411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65412 $as_echo_n "checking for $ac_word... " >&6; }
65413 if test "${ac_cv_prog_RUBY+set}" = set; then :
65414 $as_echo_n "(cached) " >&6
65415 else
65416 if test -n "$RUBY"; then
65417 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65418 else
65419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65420 for as_dir in $PATH
65422 IFS=$as_save_IFS
65423 test -z "$as_dir" && as_dir=.
65424 for ac_exec_ext in '' $ac_executable_extensions; do
65425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65426 ac_cv_prog_RUBY="yes"
65427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65428 break 2
65430 done
65431 done
65432 IFS=$as_save_IFS
65434 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65437 RUBY=$ac_cv_prog_RUBY
65438 if test -n "$RUBY"; then
65439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65440 $as_echo "$RUBY" >&6; }
65441 else
65442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65443 $as_echo "no" >&6; }
65447 # Extract the first word of "dbtoepub", so it can be a program name with args.
65448 set dummy dbtoepub; ac_word=$2
65449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65450 $as_echo_n "checking for $ac_word... " >&6; }
65451 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65452 $as_echo_n "(cached) " >&6
65453 else
65454 if test -n "$DBTOEPUB"; then
65455 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65456 else
65457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65458 for as_dir in $PATH
65460 IFS=$as_save_IFS
65461 test -z "$as_dir" && as_dir=.
65462 for ac_exec_ext in '' $ac_executable_extensions; do
65463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65464 ac_cv_prog_DBTOEPUB="yes"
65465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65466 break 2
65468 done
65469 done
65470 IFS=$as_save_IFS
65472 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65475 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65476 if test -n "$DBTOEPUB"; then
65477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65478 $as_echo "$DBTOEPUB" >&6; }
65479 else
65480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65481 $as_echo "no" >&6; }
65485 if test $ac_cv_prog_RUBY = "yes" &&
65486 test $ac_cv_prog_DBTOEPUB = "yes"; then
65487 BUILD_EPUB_TRUE=
65488 BUILD_EPUB_FALSE='#'
65489 else
65490 BUILD_EPUB_TRUE='#'
65491 BUILD_EPUB_FALSE=
65496 # Propagate the target-specific source directories through the build chain.
65497 ATOMICITY_SRCDIR=config/${atomicity_dir}
65498 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65499 ATOMIC_FLAGS=${atomic_flags}
65500 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65501 OS_INC_SRCDIR=config/${os_include_dir}
65502 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65503 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65513 # Determine cross-compile flags and AM_CONDITIONALs.
65514 #AC_SUBST(GLIBCXX_IS_NATIVE)
65515 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65516 if test $is_hosted = yes; then
65517 GLIBCXX_HOSTED_TRUE=
65518 GLIBCXX_HOSTED_FALSE='#'
65519 else
65520 GLIBCXX_HOSTED_TRUE='#'
65521 GLIBCXX_HOSTED_FALSE=
65525 if test $enable_libstdcxx_pch = yes; then
65526 GLIBCXX_BUILD_PCH_TRUE=
65527 GLIBCXX_BUILD_PCH_FALSE='#'
65528 else
65529 GLIBCXX_BUILD_PCH_TRUE='#'
65530 GLIBCXX_BUILD_PCH_FALSE=
65534 if test $enable_cheaders = c; then
65535 GLIBCXX_C_HEADERS_C_TRUE=
65536 GLIBCXX_C_HEADERS_C_FALSE='#'
65537 else
65538 GLIBCXX_C_HEADERS_C_TRUE='#'
65539 GLIBCXX_C_HEADERS_C_FALSE=
65543 if test $enable_cheaders = c_std; then
65544 GLIBCXX_C_HEADERS_C_STD_TRUE=
65545 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65546 else
65547 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65548 GLIBCXX_C_HEADERS_C_STD_FALSE=
65552 if test $enable_cheaders = c_global; then
65553 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65554 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65555 else
65556 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65557 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65561 if test $c_compatibility = yes; then
65562 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65563 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65564 else
65565 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65566 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65570 if test $enable_libstdcxx_debug = yes; then
65571 GLIBCXX_BUILD_DEBUG_TRUE=
65572 GLIBCXX_BUILD_DEBUG_FALSE='#'
65573 else
65574 GLIBCXX_BUILD_DEBUG_TRUE='#'
65575 GLIBCXX_BUILD_DEBUG_FALSE=
65579 if test $enable_parallel = yes; then
65580 ENABLE_PARALLEL_TRUE=
65581 ENABLE_PARALLEL_FALSE='#'
65582 else
65583 ENABLE_PARALLEL_TRUE='#'
65584 ENABLE_PARALLEL_FALSE=
65588 if test $enable_extern_template = yes; then
65589 ENABLE_EXTERN_TEMPLATE_TRUE=
65590 ENABLE_EXTERN_TEMPLATE_FALSE='#'
65591 else
65592 ENABLE_EXTERN_TEMPLATE_TRUE='#'
65593 ENABLE_EXTERN_TEMPLATE_FALSE=
65597 if test $enable_symvers != no; then
65598 ENABLE_SYMVERS_TRUE=
65599 ENABLE_SYMVERS_FALSE='#'
65600 else
65601 ENABLE_SYMVERS_TRUE='#'
65602 ENABLE_SYMVERS_FALSE=
65606 if test $enable_symvers = gnu; then
65607 ENABLE_SYMVERS_GNU_TRUE=
65608 ENABLE_SYMVERS_GNU_FALSE='#'
65609 else
65610 ENABLE_SYMVERS_GNU_TRUE='#'
65611 ENABLE_SYMVERS_GNU_FALSE=
65615 if test $enable_symvers = gnu-versioned-namespace; then
65616 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65617 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65618 else
65619 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65620 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65624 if test $enable_symvers = darwin; then
65625 ENABLE_SYMVERS_DARWIN_TRUE=
65626 ENABLE_SYMVERS_DARWIN_FALSE='#'
65627 else
65628 ENABLE_SYMVERS_DARWIN_TRUE='#'
65629 ENABLE_SYMVERS_DARWIN_FALSE=
65633 if test $enable_symvers = sun; then
65634 ENABLE_SYMVERS_SUN_TRUE=
65635 ENABLE_SYMVERS_SUN_FALSE='#'
65636 else
65637 ENABLE_SYMVERS_SUN_TRUE='#'
65638 ENABLE_SYMVERS_SUN_FALSE=
65642 if test $symvers_renaming = no; then
65643 ENABLE_SYMVERS_SOL2_TRUE=
65644 ENABLE_SYMVERS_SOL2_FALSE='#'
65645 else
65646 ENABLE_SYMVERS_SOL2_TRUE='#'
65647 ENABLE_SYMVERS_SOL2_FALSE=
65651 if test $enable_visibility = yes; then
65652 ENABLE_VISIBILITY_TRUE=
65653 ENABLE_VISIBILITY_FALSE='#'
65654 else
65655 ENABLE_VISIBILITY_TRUE='#'
65656 ENABLE_VISIBILITY_FALSE=
65660 if test $ac_ldbl_compat = yes; then
65661 GLIBCXX_LDBL_COMPAT_TRUE=
65662 GLIBCXX_LDBL_COMPAT_FALSE='#'
65663 else
65664 GLIBCXX_LDBL_COMPAT_TRUE='#'
65665 GLIBCXX_LDBL_COMPAT_FALSE=
65671 cat >confcache <<\_ACEOF
65672 # This file is a shell script that caches the results of configure
65673 # tests run on this system so they can be shared between configure
65674 # scripts and configure runs, see configure's option --config-cache.
65675 # It is not useful on other systems. If it contains results you don't
65676 # want to keep, you may remove or edit it.
65678 # config.status only pays attention to the cache file if you give it
65679 # the --recheck option to rerun configure.
65681 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65683 # following values.
65685 _ACEOF
65687 # The following way of writing the cache mishandles newlines in values,
65688 # but we know of no workaround that is simple, portable, and efficient.
65689 # So, we kill variables containing newlines.
65690 # Ultrix sh set writes to stderr and can't be redirected directly,
65691 # and sets the high bit in the cache file unless we assign to the vars.
65693 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65694 eval ac_val=\$$ac_var
65695 case $ac_val in #(
65696 *${as_nl}*)
65697 case $ac_var in #(
65698 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65699 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65700 esac
65701 case $ac_var in #(
65702 _ | IFS | as_nl) ;; #(
65703 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65704 *) { eval $ac_var=; unset $ac_var;} ;;
65705 esac ;;
65706 esac
65707 done
65709 (set) 2>&1 |
65710 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65711 *${as_nl}ac_space=\ *)
65712 # `set' does not quote correctly, so add quotes: double-quote
65713 # substitution turns \\\\ into \\, and sed turns \\ into \.
65714 sed -n \
65715 "s/'/'\\\\''/g;
65716 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65717 ;; #(
65719 # `set' quotes correctly as required by POSIX, so do not add quotes.
65720 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65722 esac |
65723 sort
65725 sed '
65726 /^ac_cv_env_/b end
65727 t clear
65728 :clear
65729 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65730 t end
65731 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65732 :end' >>confcache
65733 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65734 if test -w "$cache_file"; then
65735 test "x$cache_file" != "x/dev/null" &&
65736 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65737 $as_echo "$as_me: updating cache $cache_file" >&6;}
65738 cat confcache >$cache_file
65739 else
65740 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65741 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65744 rm -f confcache
65746 if test ${multilib} = yes; then
65747 multilib_arg="--enable-multilib"
65748 else
65749 multilib_arg=
65752 # Export all the install information.
65754 glibcxx_toolexecdir=no
65755 glibcxx_toolexeclibdir=no
65756 glibcxx_prefixdir=$prefix
65758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65759 $as_echo_n "checking for gxx-include-dir... " >&6; }
65761 # Check whether --with-gxx-include-dir was given.
65762 if test "${with_gxx_include_dir+set}" = set; then :
65763 withval=$with_gxx_include_dir; case "$withval" in
65764 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65765 no) gxx_include_dir=no ;;
65766 *) gxx_include_dir=$withval ;;
65767 esac
65768 else
65769 gxx_include_dir=no
65772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65773 $as_echo "$gxx_include_dir" >&6; }
65775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65776 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65777 # Check whether --enable-version-specific-runtime-libs was given.
65778 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65779 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65780 yes) version_specific_libs=yes ;;
65781 no) version_specific_libs=no ;;
65782 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65783 esac
65784 else
65785 version_specific_libs=no
65788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65789 $as_echo "$version_specific_libs" >&6; }
65791 # Default case for install directory for include files.
65792 if test $version_specific_libs = no && test $gxx_include_dir = no; then
65793 gxx_include_dir='include/c++/${gcc_version}'
65794 if test -n "$with_cross_host" &&
65795 test x"$with_cross_host" != x"no"; then
65796 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65797 else
65798 gxx_include_dir='${prefix}/'"$gxx_include_dir"
65802 # Version-specific runtime libs processing.
65803 if test $version_specific_libs = yes; then
65804 # Need the gcc compiler version to know where to install libraries
65805 # and header files if --enable-version-specific-runtime-libs option
65806 # is selected. FIXME: these variables are misnamed, there are
65807 # no executables installed in _toolexecdir or _toolexeclibdir.
65808 if test x"$gxx_include_dir" = x"no"; then
65809 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
65811 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65812 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
65815 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
65816 # Install a library built with a cross compiler in tooldir, not libdir.
65817 if test x"$glibcxx_toolexecdir" = x"no"; then
65818 if test -n "$with_cross_host" &&
65819 test x"$with_cross_host" != x"no"; then
65820 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
65821 glibcxx_toolexeclibdir='${toolexecdir}/lib'
65822 else
65823 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65824 glibcxx_toolexeclibdir='${libdir}'
65826 multi_os_directory=`$CXX -print-multi-os-directory`
65827 case $multi_os_directory in
65828 .) ;; # Avoid trailing /.
65829 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
65830 esac
65833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
65834 $as_echo_n "checking for install location... " >&6; }
65835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65836 $as_echo "$gxx_include_dir" >&6; }
65844 # Export all the include and flag information to Makefiles.
65846 # Used for every C++ compile we perform.
65847 GLIBCXX_INCLUDES="\
65848 -I$glibcxx_builddir/include/$host_alias \
65849 -I$glibcxx_builddir/include \
65850 -I$glibcxx_srcdir/libsupc++"
65852 # For Canadian crosses, pick this up too.
65853 if test $CANADIAN = yes; then
65854 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
65857 # Stuff in the actual top level. Currently only used by libsupc++ to
65858 # get unwind* headers from the gcc dir.
65859 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
65860 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
65862 # Now, export this to all the little Makefiles....
65867 # Optimization flags that are probably a good idea for thrill-seekers. Just
65868 # uncomment the lines below and make, everything else is ready to go...
65869 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
65870 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
65873 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
65877 if test "$enable_shared" = yes; then
65878 LIBSUPCXX_PICFLAGS="-prefer-pic"
65879 else
65880 LIBSUPCXX_PICFLAGS=
65884 ac_config_files="$ac_config_files Makefile"
65886 ac_config_files="$ac_config_files scripts/testsuite_flags"
65888 ac_config_files="$ac_config_files scripts/extract_symvers"
65891 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65892 # that multilib installs will end up installed in the correct place.
65893 # The testsuite needs it for multilib-aware ABI baseline files.
65894 # To work around this not being passed down from config-ml.in ->
65895 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65896 # append it here. Only modify Makefiles that have just been created.
65898 # Also, get rid of this simulated-VPATH thing that automake does.
65899 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
65902 ac_config_commands="$ac_config_commands generate-headers"
65905 cat >confcache <<\_ACEOF
65906 # This file is a shell script that caches the results of configure
65907 # tests run on this system so they can be shared between configure
65908 # scripts and configure runs, see configure's option --config-cache.
65909 # It is not useful on other systems. If it contains results you don't
65910 # want to keep, you may remove or edit it.
65912 # config.status only pays attention to the cache file if you give it
65913 # the --recheck option to rerun configure.
65915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65917 # following values.
65919 _ACEOF
65921 # The following way of writing the cache mishandles newlines in values,
65922 # but we know of no workaround that is simple, portable, and efficient.
65923 # So, we kill variables containing newlines.
65924 # Ultrix sh set writes to stderr and can't be redirected directly,
65925 # and sets the high bit in the cache file unless we assign to the vars.
65927 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65928 eval ac_val=\$$ac_var
65929 case $ac_val in #(
65930 *${as_nl}*)
65931 case $ac_var in #(
65932 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65933 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65934 esac
65935 case $ac_var in #(
65936 _ | IFS | as_nl) ;; #(
65937 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65938 *) { eval $ac_var=; unset $ac_var;} ;;
65939 esac ;;
65940 esac
65941 done
65943 (set) 2>&1 |
65944 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65945 *${as_nl}ac_space=\ *)
65946 # `set' does not quote correctly, so add quotes: double-quote
65947 # substitution turns \\\\ into \\, and sed turns \\ into \.
65948 sed -n \
65949 "s/'/'\\\\''/g;
65950 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65951 ;; #(
65953 # `set' quotes correctly as required by POSIX, so do not add quotes.
65954 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65956 esac |
65957 sort
65959 sed '
65960 /^ac_cv_env_/b end
65961 t clear
65962 :clear
65963 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65964 t end
65965 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65966 :end' >>confcache
65967 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65968 if test -w "$cache_file"; then
65969 test "x$cache_file" != "x/dev/null" &&
65970 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65971 $as_echo "$as_me: updating cache $cache_file" >&6;}
65972 cat confcache >$cache_file
65973 else
65974 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65975 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65978 rm -f confcache
65980 test "x$prefix" = xNONE && prefix=$ac_default_prefix
65981 # Let make expand exec_prefix.
65982 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65984 DEFS=-DHAVE_CONFIG_H
65986 ac_libobjs=
65987 ac_ltlibobjs=
65988 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65989 # 1. Remove the extension, and $U if already installed.
65990 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
65991 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
65992 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
65993 # will be set to the directory where LIBOBJS objects are built.
65994 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
65995 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
65996 done
65997 LIBOBJS=$ac_libobjs
65999 LTLIBOBJS=$ac_ltlibobjs
66002 if test -n "$EXEEXT"; then
66003 am__EXEEXT_TRUE=
66004 am__EXEEXT_FALSE='#'
66005 else
66006 am__EXEEXT_TRUE='#'
66007 am__EXEEXT_FALSE=
66010 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66011 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66014 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66015 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66018 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66019 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66022 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66023 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66026 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66027 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66030 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66031 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66034 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66035 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66038 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66039 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66042 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66043 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66046 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66047 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66050 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66051 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66054 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66055 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66058 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66059 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66062 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66063 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66066 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66067 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66070 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66071 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66074 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66075 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66078 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66079 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66082 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66083 as_fn_error "conditional \"BUILD_INFO\" was never defined.
66084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66086 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66087 as_fn_error "conditional \"BUILD_XML\" was never defined.
66088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66090 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66091 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66094 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66095 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66098 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66099 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66102 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66103 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66107 : ${CONFIG_STATUS=./config.status}
66108 ac_write_fail=0
66109 ac_clean_files_save=$ac_clean_files
66110 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66111 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66112 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66113 as_write_fail=0
66114 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66115 #! $SHELL
66116 # Generated by $as_me.
66117 # Run this file to recreate the current configuration.
66118 # Compiler output produced by configure, useful for debugging
66119 # configure, is in config.log if it exists.
66121 debug=false
66122 ac_cs_recheck=false
66123 ac_cs_silent=false
66125 SHELL=\${CONFIG_SHELL-$SHELL}
66126 export SHELL
66127 _ASEOF
66128 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66129 ## -------------------- ##
66130 ## M4sh Initialization. ##
66131 ## -------------------- ##
66133 # Be more Bourne compatible
66134 DUALCASE=1; export DUALCASE # for MKS sh
66135 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66136 emulate sh
66137 NULLCMD=:
66138 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66139 # is contrary to our usage. Disable this feature.
66140 alias -g '${1+"$@"}'='"$@"'
66141 setopt NO_GLOB_SUBST
66142 else
66143 case `(set -o) 2>/dev/null` in #(
66144 *posix*) :
66145 set -o posix ;; #(
66146 *) :
66148 esac
66152 as_nl='
66154 export as_nl
66155 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66156 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66158 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66159 # Prefer a ksh shell builtin over an external printf program on Solaris,
66160 # but without wasting forks for bash or zsh.
66161 if test -z "$BASH_VERSION$ZSH_VERSION" \
66162 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66163 as_echo='print -r --'
66164 as_echo_n='print -rn --'
66165 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66166 as_echo='printf %s\n'
66167 as_echo_n='printf %s'
66168 else
66169 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66170 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66171 as_echo_n='/usr/ucb/echo -n'
66172 else
66173 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66174 as_echo_n_body='eval
66175 arg=$1;
66176 case $arg in #(
66177 *"$as_nl"*)
66178 expr "X$arg" : "X\\(.*\\)$as_nl";
66179 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66180 esac;
66181 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66183 export as_echo_n_body
66184 as_echo_n='sh -c $as_echo_n_body as_echo'
66186 export as_echo_body
66187 as_echo='sh -c $as_echo_body as_echo'
66190 # The user is always right.
66191 if test "${PATH_SEPARATOR+set}" != set; then
66192 PATH_SEPARATOR=:
66193 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66194 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66195 PATH_SEPARATOR=';'
66200 # IFS
66201 # We need space, tab and new line, in precisely that order. Quoting is
66202 # there to prevent editors from complaining about space-tab.
66203 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66204 # splitting by setting IFS to empty value.)
66205 IFS=" "" $as_nl"
66207 # Find who we are. Look in the path if we contain no directory separator.
66208 case $0 in #((
66209 *[\\/]* ) as_myself=$0 ;;
66210 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66211 for as_dir in $PATH
66213 IFS=$as_save_IFS
66214 test -z "$as_dir" && as_dir=.
66215 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66216 done
66217 IFS=$as_save_IFS
66220 esac
66221 # We did not find ourselves, most probably we were run as `sh COMMAND'
66222 # in which case we are not to be found in the path.
66223 if test "x$as_myself" = x; then
66224 as_myself=$0
66226 if test ! -f "$as_myself"; then
66227 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66228 exit 1
66231 # Unset variables that we do not need and which cause bugs (e.g. in
66232 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66233 # suppresses any "Segmentation fault" message there. '((' could
66234 # trigger a bug in pdksh 5.2.14.
66235 for as_var in BASH_ENV ENV MAIL MAILPATH
66236 do eval test x\${$as_var+set} = xset \
66237 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66238 done
66239 PS1='$ '
66240 PS2='> '
66241 PS4='+ '
66243 # NLS nuisances.
66244 LC_ALL=C
66245 export LC_ALL
66246 LANGUAGE=C
66247 export LANGUAGE
66249 # CDPATH.
66250 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66253 # as_fn_error ERROR [LINENO LOG_FD]
66254 # ---------------------------------
66255 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66256 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66257 # script with status $?, using 1 if that was 0.
66258 as_fn_error ()
66260 as_status=$?; test $as_status -eq 0 && as_status=1
66261 if test "$3"; then
66262 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66263 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66265 $as_echo "$as_me: error: $1" >&2
66266 as_fn_exit $as_status
66267 } # as_fn_error
66270 # as_fn_set_status STATUS
66271 # -----------------------
66272 # Set $? to STATUS, without forking.
66273 as_fn_set_status ()
66275 return $1
66276 } # as_fn_set_status
66278 # as_fn_exit STATUS
66279 # -----------------
66280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66281 as_fn_exit ()
66283 set +e
66284 as_fn_set_status $1
66285 exit $1
66286 } # as_fn_exit
66288 # as_fn_unset VAR
66289 # ---------------
66290 # Portably unset VAR.
66291 as_fn_unset ()
66293 { eval $1=; unset $1;}
66295 as_unset=as_fn_unset
66296 # as_fn_append VAR VALUE
66297 # ----------------------
66298 # Append the text in VALUE to the end of the definition contained in VAR. Take
66299 # advantage of any shell optimizations that allow amortized linear growth over
66300 # repeated appends, instead of the typical quadratic growth present in naive
66301 # implementations.
66302 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66303 eval 'as_fn_append ()
66305 eval $1+=\$2
66307 else
66308 as_fn_append ()
66310 eval $1=\$$1\$2
66312 fi # as_fn_append
66314 # as_fn_arith ARG...
66315 # ------------------
66316 # Perform arithmetic evaluation on the ARGs, and store the result in the
66317 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66318 # must be portable across $(()) and expr.
66319 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66320 eval 'as_fn_arith ()
66322 as_val=$(( $* ))
66324 else
66325 as_fn_arith ()
66327 as_val=`expr "$@" || test $? -eq 1`
66329 fi # as_fn_arith
66332 if expr a : '\(a\)' >/dev/null 2>&1 &&
66333 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66334 as_expr=expr
66335 else
66336 as_expr=false
66339 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66340 as_basename=basename
66341 else
66342 as_basename=false
66345 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66346 as_dirname=dirname
66347 else
66348 as_dirname=false
66351 as_me=`$as_basename -- "$0" ||
66352 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66353 X"$0" : 'X\(//\)$' \| \
66354 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66355 $as_echo X/"$0" |
66356 sed '/^.*\/\([^/][^/]*\)\/*$/{
66357 s//\1/
66360 /^X\/\(\/\/\)$/{
66361 s//\1/
66364 /^X\/\(\/\).*/{
66365 s//\1/
66368 s/.*/./; q'`
66370 # Avoid depending upon Character Ranges.
66371 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66372 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66373 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66374 as_cr_digits='0123456789'
66375 as_cr_alnum=$as_cr_Letters$as_cr_digits
66377 ECHO_C= ECHO_N= ECHO_T=
66378 case `echo -n x` in #(((((
66379 -n*)
66380 case `echo 'xy\c'` in
66381 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66382 xy) ECHO_C='\c';;
66383 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66384 ECHO_T=' ';;
66385 esac;;
66387 ECHO_N='-n';;
66388 esac
66390 rm -f conf$$ conf$$.exe conf$$.file
66391 if test -d conf$$.dir; then
66392 rm -f conf$$.dir/conf$$.file
66393 else
66394 rm -f conf$$.dir
66395 mkdir conf$$.dir 2>/dev/null
66397 if (echo >conf$$.file) 2>/dev/null; then
66398 if ln -s conf$$.file conf$$ 2>/dev/null; then
66399 as_ln_s='ln -s'
66400 # ... but there are two gotchas:
66401 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66402 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66403 # In both cases, we have to default to `cp -p'.
66404 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66405 as_ln_s='cp -p'
66406 elif ln conf$$.file conf$$ 2>/dev/null; then
66407 as_ln_s=ln
66408 else
66409 as_ln_s='cp -p'
66411 else
66412 as_ln_s='cp -p'
66414 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66415 rmdir conf$$.dir 2>/dev/null
66418 # as_fn_mkdir_p
66419 # -------------
66420 # Create "$as_dir" as a directory, including parents if necessary.
66421 as_fn_mkdir_p ()
66424 case $as_dir in #(
66425 -*) as_dir=./$as_dir;;
66426 esac
66427 test -d "$as_dir" || eval $as_mkdir_p || {
66428 as_dirs=
66429 while :; do
66430 case $as_dir in #(
66431 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66432 *) as_qdir=$as_dir;;
66433 esac
66434 as_dirs="'$as_qdir' $as_dirs"
66435 as_dir=`$as_dirname -- "$as_dir" ||
66436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66437 X"$as_dir" : 'X\(//\)[^/]' \| \
66438 X"$as_dir" : 'X\(//\)$' \| \
66439 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66440 $as_echo X"$as_dir" |
66441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66442 s//\1/
66445 /^X\(\/\/\)[^/].*/{
66446 s//\1/
66449 /^X\(\/\/\)$/{
66450 s//\1/
66453 /^X\(\/\).*/{
66454 s//\1/
66457 s/.*/./; q'`
66458 test -d "$as_dir" && break
66459 done
66460 test -z "$as_dirs" || eval "mkdir $as_dirs"
66461 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66464 } # as_fn_mkdir_p
66465 if mkdir -p . 2>/dev/null; then
66466 as_mkdir_p='mkdir -p "$as_dir"'
66467 else
66468 test -d ./-p && rmdir ./-p
66469 as_mkdir_p=false
66472 if test -x / >/dev/null 2>&1; then
66473 as_test_x='test -x'
66474 else
66475 if ls -dL / >/dev/null 2>&1; then
66476 as_ls_L_option=L
66477 else
66478 as_ls_L_option=
66480 as_test_x='
66481 eval sh -c '\''
66482 if test -d "$1"; then
66483 test -d "$1/.";
66484 else
66485 case $1 in #(
66486 -*)set "./$1";;
66487 esac;
66488 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66489 ???[sx]*):;;*)false;;esac;fi
66490 '\'' sh
66493 as_executable_p=$as_test_x
66495 # Sed expression to map a string onto a valid CPP name.
66496 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66498 # Sed expression to map a string onto a valid variable name.
66499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66502 exec 6>&1
66503 ## ----------------------------------- ##
66504 ## Main body of $CONFIG_STATUS script. ##
66505 ## ----------------------------------- ##
66506 _ASEOF
66507 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66510 # Save the log message, to keep $0 and so on meaningful, and to
66511 # report actual input values of CONFIG_FILES etc. instead of their
66512 # values after options handling.
66513 ac_log="
66514 This file was extended by package-unused $as_me version-unused, which was
66515 generated by GNU Autoconf 2.64. Invocation command line was
66517 CONFIG_FILES = $CONFIG_FILES
66518 CONFIG_HEADERS = $CONFIG_HEADERS
66519 CONFIG_LINKS = $CONFIG_LINKS
66520 CONFIG_COMMANDS = $CONFIG_COMMANDS
66521 $ $0 $@
66523 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66526 _ACEOF
66528 case $ac_config_files in *"
66529 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66530 esac
66532 case $ac_config_headers in *"
66533 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66534 esac
66537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66538 # Files that config.status was made for.
66539 config_files="$ac_config_files"
66540 config_headers="$ac_config_headers"
66541 config_commands="$ac_config_commands"
66543 _ACEOF
66545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66546 ac_cs_usage="\
66547 \`$as_me' instantiates files and other configuration actions
66548 from templates according to the current configuration. Unless the files
66549 and actions are specified as TAGs, all are instantiated by default.
66551 Usage: $0 [OPTION]... [TAG]...
66553 -h, --help print this help, then exit
66554 -V, --version print version number and configuration settings, then exit
66555 -q, --quiet, --silent
66556 do not print progress messages
66557 -d, --debug don't remove temporary files
66558 --recheck update $as_me by reconfiguring in the same conditions
66559 --file=FILE[:TEMPLATE]
66560 instantiate the configuration file FILE
66561 --header=FILE[:TEMPLATE]
66562 instantiate the configuration header FILE
66564 Configuration files:
66565 $config_files
66567 Configuration headers:
66568 $config_headers
66570 Configuration commands:
66571 $config_commands
66573 Report bugs to the package provider."
66575 _ACEOF
66576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66577 ac_cs_version="\\
66578 package-unused config.status version-unused
66579 configured by $0, generated by GNU Autoconf 2.64,
66580 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66582 Copyright (C) 2009 Free Software Foundation, Inc.
66583 This config.status script is free software; the Free Software Foundation
66584 gives unlimited permission to copy, distribute and modify it."
66586 ac_pwd='$ac_pwd'
66587 srcdir='$srcdir'
66588 INSTALL='$INSTALL'
66589 MKDIR_P='$MKDIR_P'
66590 AWK='$AWK'
66591 test -n "\$AWK" || AWK=awk
66592 _ACEOF
66594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66595 # The default lists apply if the user does not specify any file.
66596 ac_need_defaults=:
66597 while test $# != 0
66599 case $1 in
66600 --*=*)
66601 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66602 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66603 ac_shift=:
66606 ac_option=$1
66607 ac_optarg=$2
66608 ac_shift=shift
66610 esac
66612 case $ac_option in
66613 # Handling of the options.
66614 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66615 ac_cs_recheck=: ;;
66616 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66617 $as_echo "$ac_cs_version"; exit ;;
66618 --debug | --debu | --deb | --de | --d | -d )
66619 debug=: ;;
66620 --file | --fil | --fi | --f )
66621 $ac_shift
66622 case $ac_optarg in
66623 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66624 esac
66625 as_fn_append CONFIG_FILES " '$ac_optarg'"
66626 ac_need_defaults=false;;
66627 --header | --heade | --head | --hea )
66628 $ac_shift
66629 case $ac_optarg in
66630 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66631 esac
66632 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66633 ac_need_defaults=false;;
66634 --he | --h)
66635 # Conflict between --help and --header
66636 as_fn_error "ambiguous option: \`$1'
66637 Try \`$0 --help' for more information.";;
66638 --help | --hel | -h )
66639 $as_echo "$ac_cs_usage"; exit ;;
66640 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66641 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66642 ac_cs_silent=: ;;
66644 # This is an error.
66645 -*) as_fn_error "unrecognized option: \`$1'
66646 Try \`$0 --help' for more information." ;;
66648 *) as_fn_append ac_config_targets " $1"
66649 ac_need_defaults=false ;;
66651 esac
66652 shift
66653 done
66655 ac_configure_extra_args=
66657 if $ac_cs_silent; then
66658 exec 6>/dev/null
66659 ac_configure_extra_args="$ac_configure_extra_args --silent"
66662 _ACEOF
66663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66664 if \$ac_cs_recheck; then
66665 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66666 shift
66667 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66668 CONFIG_SHELL='$SHELL'
66669 export CONFIG_SHELL
66670 exec "\$@"
66673 _ACEOF
66674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66675 exec 5>>config.log
66677 echo
66678 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66679 ## Running $as_me. ##
66680 _ASBOX
66681 $as_echo "$ac_log"
66682 } >&5
66684 _ACEOF
66685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66687 # INIT-COMMANDS
66690 srcdir="$srcdir"
66691 host="$host"
66692 target="$target"
66693 with_multisubdir="$with_multisubdir"
66694 with_multisrctop="$with_multisrctop"
66695 with_target_subdir="$with_target_subdir"
66696 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66697 multi_basedir="$multi_basedir"
66698 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66699 CC="$CC"
66700 CXX="$CXX"
66701 GFORTRAN="$GFORTRAN"
66702 GCJ="$GCJ"
66705 # The HP-UX ksh and POSIX shell print the target directory to stdout
66706 # if CDPATH is set.
66707 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66709 sed_quote_subst='$sed_quote_subst'
66710 double_quote_subst='$double_quote_subst'
66711 delay_variable_subst='$delay_variable_subst'
66712 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66713 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66714 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66715 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66716 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66717 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66718 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66719 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66720 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66721 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66722 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66723 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66724 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66725 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66726 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66727 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66728 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66729 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66730 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66731 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66732 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66733 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66734 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66735 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66736 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66737 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66738 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66739 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66740 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66741 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66742 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66743 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66744 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66745 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66746 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66747 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66748 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66749 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66750 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66751 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66752 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66753 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66754 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66755 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66756 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66757 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66758 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66759 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66760 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"`'
66761 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66762 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66763 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66764 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66765 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66766 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66767 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66768 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66769 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66770 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66771 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66772 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66773 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66774 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66775 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66776 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66777 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66778 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66779 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66780 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66781 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66782 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66783 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66784 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66785 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66786 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66787 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66788 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66789 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66790 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66791 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66792 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66793 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66794 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66795 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66796 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66797 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66798 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66799 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
66800 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
66801 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
66802 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
66803 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
66804 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
66805 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
66806 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
66807 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
66808 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
66809 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
66810 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
66811 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
66812 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
66813 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
66814 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
66815 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
66816 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
66817 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
66818 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
66819 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66820 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66821 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
66822 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
66823 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
66824 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
66825 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
66826 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
66827 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
66828 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
66829 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
66830 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
66831 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
66832 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
66833 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
66834 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
66835 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
66836 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
66837 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
66838 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
66839 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
66840 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66841 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66842 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
66843 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
66844 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
66845 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
66846 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
66847 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
66848 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
66849 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
66850 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
66851 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66852 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66853 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
66854 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66855 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66856 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66857 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66858 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66859 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66860 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
66861 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66862 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66863 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66864 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
66865 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
66866 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
66867 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
66868 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
66869 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
66870 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
66871 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
66872 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
66873 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
66874 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
66875 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66876 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66877 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66878 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66879 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
66880 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
66881 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
66882 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66883 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66884 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
66885 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
66886 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
66888 LTCC='$LTCC'
66889 LTCFLAGS='$LTCFLAGS'
66890 compiler='$compiler_DEFAULT'
66892 # A function that is used when there is no print builtin or printf.
66893 func_fallback_echo ()
66895 eval 'cat <<_LTECHO_EOF
66897 _LTECHO_EOF'
66900 # Quote evaled strings.
66901 for var in SHELL \
66902 ECHO \
66903 SED \
66904 GREP \
66905 EGREP \
66906 FGREP \
66907 LD \
66908 NM \
66909 LN_S \
66910 lt_SP2NL \
66911 lt_NL2SP \
66912 reload_flag \
66913 OBJDUMP \
66914 deplibs_check_method \
66915 file_magic_cmd \
66916 AR \
66917 AR_FLAGS \
66918 STRIP \
66919 RANLIB \
66920 CC \
66921 CFLAGS \
66922 compiler \
66923 lt_cv_sys_global_symbol_pipe \
66924 lt_cv_sys_global_symbol_to_cdecl \
66925 lt_cv_sys_global_symbol_to_c_name_address \
66926 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
66927 lt_prog_compiler_no_builtin_flag \
66928 lt_prog_compiler_wl \
66929 lt_prog_compiler_pic \
66930 lt_prog_compiler_static \
66931 lt_cv_prog_compiler_c_o \
66932 need_locks \
66933 DSYMUTIL \
66934 NMEDIT \
66935 LIPO \
66936 OTOOL \
66937 OTOOL64 \
66938 shrext_cmds \
66939 export_dynamic_flag_spec \
66940 whole_archive_flag_spec \
66941 compiler_needs_object \
66942 with_gnu_ld \
66943 allow_undefined_flag \
66944 no_undefined_flag \
66945 hardcode_libdir_flag_spec \
66946 hardcode_libdir_flag_spec_ld \
66947 hardcode_libdir_separator \
66948 fix_srcfile_path \
66949 exclude_expsyms \
66950 include_expsyms \
66951 file_list_spec \
66952 variables_saved_for_relink \
66953 libname_spec \
66954 library_names_spec \
66955 soname_spec \
66956 install_override_mode \
66957 finish_eval \
66958 old_striplib \
66959 striplib \
66960 compiler_lib_search_dirs \
66961 predep_objects \
66962 postdep_objects \
66963 predeps \
66964 postdeps \
66965 compiler_lib_search_path \
66966 LD_CXX \
66967 reload_flag_CXX \
66968 compiler_CXX \
66969 lt_prog_compiler_no_builtin_flag_CXX \
66970 lt_prog_compiler_wl_CXX \
66971 lt_prog_compiler_pic_CXX \
66972 lt_prog_compiler_static_CXX \
66973 lt_cv_prog_compiler_c_o_CXX \
66974 export_dynamic_flag_spec_CXX \
66975 whole_archive_flag_spec_CXX \
66976 compiler_needs_object_CXX \
66977 with_gnu_ld_CXX \
66978 allow_undefined_flag_CXX \
66979 no_undefined_flag_CXX \
66980 hardcode_libdir_flag_spec_CXX \
66981 hardcode_libdir_flag_spec_ld_CXX \
66982 hardcode_libdir_separator_CXX \
66983 fix_srcfile_path_CXX \
66984 exclude_expsyms_CXX \
66985 include_expsyms_CXX \
66986 file_list_spec_CXX \
66987 compiler_lib_search_dirs_CXX \
66988 predep_objects_CXX \
66989 postdep_objects_CXX \
66990 predeps_CXX \
66991 postdeps_CXX \
66992 compiler_lib_search_path_CXX; do
66993 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66994 *[\\\\\\\`\\"\\\$]*)
66995 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
66998 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67000 esac
67001 done
67003 # Double-quote double-evaled strings.
67004 for var in reload_cmds \
67005 old_postinstall_cmds \
67006 old_postuninstall_cmds \
67007 old_archive_cmds \
67008 extract_expsyms_cmds \
67009 old_archive_from_new_cmds \
67010 old_archive_from_expsyms_cmds \
67011 archive_cmds \
67012 archive_expsym_cmds \
67013 module_cmds \
67014 module_expsym_cmds \
67015 export_symbols_cmds \
67016 prelink_cmds \
67017 postinstall_cmds \
67018 postuninstall_cmds \
67019 finish_cmds \
67020 sys_lib_search_path_spec \
67021 sys_lib_dlsearch_path_spec \
67022 reload_cmds_CXX \
67023 old_archive_cmds_CXX \
67024 old_archive_from_new_cmds_CXX \
67025 old_archive_from_expsyms_cmds_CXX \
67026 archive_cmds_CXX \
67027 archive_expsym_cmds_CXX \
67028 module_cmds_CXX \
67029 module_expsym_cmds_CXX \
67030 export_symbols_cmds_CXX \
67031 prelink_cmds_CXX; do
67032 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67033 *[\\\\\\\`\\"\\\$]*)
67034 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67037 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67039 esac
67040 done
67042 ac_aux_dir='$ac_aux_dir'
67043 xsi_shell='$xsi_shell'
67044 lt_shell_append='$lt_shell_append'
67046 # See if we are running on zsh, and set the options which allow our
67047 # commands through without removal of \ escapes INIT.
67048 if test -n "\${ZSH_VERSION+set}" ; then
67049 setopt NO_GLOB_SUBST
67053 PACKAGE='$PACKAGE'
67054 VERSION='$VERSION'
67055 TIMESTAMP='$TIMESTAMP'
67056 RM='$RM'
67057 ofile='$ofile'
67064 GCC="$GCC"
67065 CC="$CC"
67066 acx_cv_header_stdint="$acx_cv_header_stdint"
67067 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67068 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67069 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67070 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67071 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67072 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67073 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67074 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67075 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67076 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67077 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67078 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67079 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67082 _ACEOF
67084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67086 # Handling of arguments.
67087 for ac_config_target in $ac_config_targets
67089 case $ac_config_target in
67090 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67091 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67092 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67093 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67094 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67095 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67096 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67097 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67098 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67099 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67100 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67101 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67102 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67103 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67104 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67106 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67107 esac
67108 done
67111 # If the user did not use the arguments to specify the items to instantiate,
67112 # then the envvar interface is used. Set only those that are not.
67113 # We use the long form for the default assignment because of an extremely
67114 # bizarre bug on SunOS 4.1.3.
67115 if $ac_need_defaults; then
67116 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67117 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67118 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67121 # Have a temporary directory for convenience. Make it in the build tree
67122 # simply because there is no reason against having it here, and in addition,
67123 # creating and moving files from /tmp can sometimes cause problems.
67124 # Hook for its removal unless debugging.
67125 # Note that there is a small window in which the directory will not be cleaned:
67126 # after its creation but before its name has been assigned to `$tmp'.
67127 $debug ||
67129 tmp=
67130 trap 'exit_status=$?
67131 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67133 trap 'as_fn_exit 1' 1 2 13 15
67135 # Create a (secure) tmp directory for tmp files.
67138 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67139 test -n "$tmp" && test -d "$tmp"
67140 } ||
67142 tmp=./conf$$-$RANDOM
67143 (umask 077 && mkdir "$tmp")
67144 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67146 # Set up the scripts for CONFIG_FILES section.
67147 # No need to generate them if there are no CONFIG_FILES.
67148 # This happens for instance with `./config.status config.h'.
67149 if test -n "$CONFIG_FILES"; then
67152 ac_cr=`echo X | tr X '\015'`
67153 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67154 # But we know of no other shell where ac_cr would be empty at this
67155 # point, so we can use a bashism as a fallback.
67156 if test "x$ac_cr" = x; then
67157 eval ac_cr=\$\'\\r\'
67159 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67160 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67161 ac_cs_awk_cr='\r'
67162 else
67163 ac_cs_awk_cr=$ac_cr
67166 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67167 _ACEOF
67171 echo "cat >conf$$subs.awk <<_ACEOF" &&
67172 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67173 echo "_ACEOF"
67174 } >conf$$subs.sh ||
67175 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67176 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67177 ac_delim='%!_!# '
67178 for ac_last_try in false false false false false :; do
67179 . ./conf$$subs.sh ||
67180 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67182 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67183 if test $ac_delim_n = $ac_delim_num; then
67184 break
67185 elif $ac_last_try; then
67186 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67187 else
67188 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67190 done
67191 rm -f conf$$subs.sh
67193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67194 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67195 _ACEOF
67196 sed -n '
67198 s/^/S["/; s/!.*/"]=/
67201 s/^[^!]*!//
67202 :repl
67203 t repl
67204 s/'"$ac_delim"'$//
67205 t delim
67208 s/\(.\{148\}\).*/\1/
67209 t more1
67210 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67213 b repl
67214 :more1
67215 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67218 s/.\{148\}//
67219 t nl
67220 :delim
67222 s/\(.\{148\}\).*/\1/
67223 t more2
67224 s/["\\]/\\&/g; s/^/"/; s/$/"/
67227 :more2
67228 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67231 s/.\{148\}//
67232 t delim
67233 ' <conf$$subs.awk | sed '
67234 /^[^""]/{
67236 s/\n//
67238 ' >>$CONFIG_STATUS || ac_write_fail=1
67239 rm -f conf$$subs.awk
67240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67241 _ACAWK
67242 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67243 for (key in S) S_is_set[key] = 1
67244 FS = "\a"
67248 line = $ 0
67249 nfields = split(line, field, "@")
67250 substed = 0
67251 len = length(field[1])
67252 for (i = 2; i < nfields; i++) {
67253 key = field[i]
67254 keylen = length(key)
67255 if (S_is_set[key]) {
67256 value = S[key]
67257 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67258 len += length(value) + length(field[++i])
67259 substed = 1
67260 } else
67261 len += 1 + keylen
67264 print line
67267 _ACAWK
67268 _ACEOF
67269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67270 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67271 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67272 else
67274 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67275 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67276 _ACEOF
67278 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67279 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67280 # trailing colons and then remove the whole line if VPATH becomes empty
67281 # (actually we leave an empty line to preserve line numbers).
67282 if test "x$srcdir" = x.; then
67283 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67284 s/:*\$(srcdir):*/:/
67285 s/:*\${srcdir}:*/:/
67286 s/:*@srcdir@:*/:/
67287 s/^\([^=]*=[ ]*\):*/\1/
67288 s/:*$//
67289 s/^[^=]*=[ ]*$//
67293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67294 fi # test -n "$CONFIG_FILES"
67296 # Set up the scripts for CONFIG_HEADERS section.
67297 # No need to generate them if there are no CONFIG_HEADERS.
67298 # This happens for instance with `./config.status Makefile'.
67299 if test -n "$CONFIG_HEADERS"; then
67300 cat >"$tmp/defines.awk" <<\_ACAWK ||
67301 BEGIN {
67302 _ACEOF
67304 # Transform confdefs.h into an awk script `defines.awk', embedded as
67305 # here-document in config.status, that substitutes the proper values into
67306 # config.h.in to produce config.h.
67308 # Create a delimiter string that does not exist in confdefs.h, to ease
67309 # handling of long lines.
67310 ac_delim='%!_!# '
67311 for ac_last_try in false false :; do
67312 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67313 if test -z "$ac_t"; then
67314 break
67315 elif $ac_last_try; then
67316 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67317 else
67318 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67320 done
67322 # For the awk script, D is an array of macro values keyed by name,
67323 # likewise P contains macro parameters if any. Preserve backslash
67324 # newline sequences.
67326 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67327 sed -n '
67328 s/.\{148\}/&'"$ac_delim"'/g
67329 t rset
67330 :rset
67331 s/^[ ]*#[ ]*define[ ][ ]*/ /
67332 t def
67334 :def
67335 s/\\$//
67336 t bsnl
67337 s/["\\]/\\&/g
67338 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67339 D["\1"]=" \3"/p
67340 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67342 :bsnl
67343 s/["\\]/\\&/g
67344 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67345 D["\1"]=" \3\\\\\\n"\\/p
67346 t cont
67347 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67348 t cont
67350 :cont
67352 s/.\{148\}/&'"$ac_delim"'/g
67353 t clear
67354 :clear
67355 s/\\$//
67356 t bsnlc
67357 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67359 :bsnlc
67360 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67361 b cont
67362 ' <confdefs.h | sed '
67363 s/'"$ac_delim"'/"\\\
67364 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67367 for (key in D) D_is_set[key] = 1
67368 FS = "\a"
67370 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67371 line = \$ 0
67372 split(line, arg, " ")
67373 if (arg[1] == "#") {
67374 defundef = arg[2]
67375 mac1 = arg[3]
67376 } else {
67377 defundef = substr(arg[1], 2)
67378 mac1 = arg[2]
67380 split(mac1, mac2, "(") #)
67381 macro = mac2[1]
67382 prefix = substr(line, 1, index(line, defundef) - 1)
67383 if (D_is_set[macro]) {
67384 # Preserve the white space surrounding the "#".
67385 print prefix "define", macro P[macro] D[macro]
67386 next
67387 } else {
67388 # Replace #undef with comments. This is necessary, for example,
67389 # in the case of _POSIX_SOURCE, which is predefined and required
67390 # on some systems where configure will not decide to define it.
67391 if (defundef == "undef") {
67392 print "/*", prefix defundef, macro, "*/"
67393 next
67397 { print }
67398 _ACAWK
67399 _ACEOF
67400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67401 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67402 fi # test -n "$CONFIG_HEADERS"
67405 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67406 shift
67407 for ac_tag
67409 case $ac_tag in
67410 :[FHLC]) ac_mode=$ac_tag; continue;;
67411 esac
67412 case $ac_mode$ac_tag in
67413 :[FHL]*:*);;
67414 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67415 :[FH]-) ac_tag=-:-;;
67416 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67417 esac
67418 ac_save_IFS=$IFS
67419 IFS=:
67420 set x $ac_tag
67421 IFS=$ac_save_IFS
67422 shift
67423 ac_file=$1
67424 shift
67426 case $ac_mode in
67427 :L) ac_source=$1;;
67428 :[FH])
67429 ac_file_inputs=
67430 for ac_f
67432 case $ac_f in
67433 -) ac_f="$tmp/stdin";;
67434 *) # Look for the file first in the build tree, then in the source tree
67435 # (if the path is not absolute). The absolute path cannot be DOS-style,
67436 # because $ac_f cannot contain `:'.
67437 test -f "$ac_f" ||
67438 case $ac_f in
67439 [\\/$]*) false;;
67440 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67441 esac ||
67442 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67443 esac
67444 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67445 as_fn_append ac_file_inputs " '$ac_f'"
67446 done
67448 # Let's still pretend it is `configure' which instantiates (i.e., don't
67449 # use $as_me), people would be surprised to read:
67450 # /* config.h. Generated by config.status. */
67451 configure_input='Generated from '`
67452 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67453 `' by configure.'
67454 if test x"$ac_file" != x-; then
67455 configure_input="$ac_file. $configure_input"
67456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67457 $as_echo "$as_me: creating $ac_file" >&6;}
67459 # Neutralize special characters interpreted by sed in replacement strings.
67460 case $configure_input in #(
67461 *\&* | *\|* | *\\* )
67462 ac_sed_conf_input=`$as_echo "$configure_input" |
67463 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67464 *) ac_sed_conf_input=$configure_input;;
67465 esac
67467 case $ac_tag in
67468 *:-:* | *:-) cat >"$tmp/stdin" \
67469 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67470 esac
67472 esac
67474 ac_dir=`$as_dirname -- "$ac_file" ||
67475 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67476 X"$ac_file" : 'X\(//\)[^/]' \| \
67477 X"$ac_file" : 'X\(//\)$' \| \
67478 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67479 $as_echo X"$ac_file" |
67480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67481 s//\1/
67484 /^X\(\/\/\)[^/].*/{
67485 s//\1/
67488 /^X\(\/\/\)$/{
67489 s//\1/
67492 /^X\(\/\).*/{
67493 s//\1/
67496 s/.*/./; q'`
67497 as_dir="$ac_dir"; as_fn_mkdir_p
67498 ac_builddir=.
67500 case "$ac_dir" in
67501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67503 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67504 # A ".." for each directory in $ac_dir_suffix.
67505 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67506 case $ac_top_builddir_sub in
67507 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67508 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67509 esac ;;
67510 esac
67511 ac_abs_top_builddir=$ac_pwd
67512 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67513 # for backward compatibility:
67514 ac_top_builddir=$ac_top_build_prefix
67516 case $srcdir in
67517 .) # We are building in place.
67518 ac_srcdir=.
67519 ac_top_srcdir=$ac_top_builddir_sub
67520 ac_abs_top_srcdir=$ac_pwd ;;
67521 [\\/]* | ?:[\\/]* ) # Absolute name.
67522 ac_srcdir=$srcdir$ac_dir_suffix;
67523 ac_top_srcdir=$srcdir
67524 ac_abs_top_srcdir=$srcdir ;;
67525 *) # Relative name.
67526 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67527 ac_top_srcdir=$ac_top_build_prefix$srcdir
67528 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67529 esac
67530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67533 case $ac_mode in
67536 # CONFIG_FILE
67539 case $INSTALL in
67540 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67541 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67542 esac
67543 ac_MKDIR_P=$MKDIR_P
67544 case $MKDIR_P in
67545 [\\/$]* | ?:[\\/]* ) ;;
67546 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67547 esac
67548 _ACEOF
67550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67551 # If the template does not know about datarootdir, expand it.
67552 # FIXME: This hack should be removed a few years after 2.60.
67553 ac_datarootdir_hack=; ac_datarootdir_seen=
67554 ac_sed_dataroot='
67555 /datarootdir/ {
67559 /@datadir@/p
67560 /@docdir@/p
67561 /@infodir@/p
67562 /@localedir@/p
67563 /@mandir@/p'
67564 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67565 *datarootdir*) ac_datarootdir_seen=yes;;
67566 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67568 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67569 _ACEOF
67570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67571 ac_datarootdir_hack='
67572 s&@datadir@&$datadir&g
67573 s&@docdir@&$docdir&g
67574 s&@infodir@&$infodir&g
67575 s&@localedir@&$localedir&g
67576 s&@mandir@&$mandir&g
67577 s&\\\${datarootdir}&$datarootdir&g' ;;
67578 esac
67579 _ACEOF
67581 # Neutralize VPATH when `$srcdir' = `.'.
67582 # Shell code in configure.ac might set extrasub.
67583 # FIXME: do we really want to maintain this feature?
67584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67585 ac_sed_extra="$ac_vpsub
67586 $extrasub
67587 _ACEOF
67588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67590 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67591 s|@configure_input@|$ac_sed_conf_input|;t t
67592 s&@top_builddir@&$ac_top_builddir_sub&;t t
67593 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67594 s&@srcdir@&$ac_srcdir&;t t
67595 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67596 s&@top_srcdir@&$ac_top_srcdir&;t t
67597 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67598 s&@builddir@&$ac_builddir&;t t
67599 s&@abs_builddir@&$ac_abs_builddir&;t t
67600 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67601 s&@INSTALL@&$ac_INSTALL&;t t
67602 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67603 $ac_datarootdir_hack
67605 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67606 || as_fn_error "could not create $ac_file" "$LINENO" 5
67608 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67609 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67610 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67612 which seems to be undefined. Please make sure it is defined." >&5
67613 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67614 which seems to be undefined. Please make sure it is defined." >&2;}
67616 rm -f "$tmp/stdin"
67617 case $ac_file in
67618 -) cat "$tmp/out" && rm -f "$tmp/out";;
67619 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67620 esac \
67621 || as_fn_error "could not create $ac_file" "$LINENO" 5
67625 # CONFIG_HEADER
67627 if test x"$ac_file" != x-; then
67629 $as_echo "/* $configure_input */" \
67630 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67631 } >"$tmp/config.h" \
67632 || as_fn_error "could not create $ac_file" "$LINENO" 5
67633 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67634 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67635 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67636 else
67637 rm -f "$ac_file"
67638 mv "$tmp/config.h" "$ac_file" \
67639 || as_fn_error "could not create $ac_file" "$LINENO" 5
67641 else
67642 $as_echo "/* $configure_input */" \
67643 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67644 || as_fn_error "could not create -" "$LINENO" 5
67646 # Compute "$ac_file"'s index in $config_headers.
67647 _am_arg="$ac_file"
67648 _am_stamp_count=1
67649 for _am_header in $config_headers :; do
67650 case $_am_header in
67651 $_am_arg | $_am_arg:* )
67652 break ;;
67654 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67655 esac
67656 done
67657 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67658 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67659 X"$_am_arg" : 'X\(//\)[^/]' \| \
67660 X"$_am_arg" : 'X\(//\)$' \| \
67661 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67662 $as_echo X"$_am_arg" |
67663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67664 s//\1/
67667 /^X\(\/\/\)[^/].*/{
67668 s//\1/
67671 /^X\(\/\/\)$/{
67672 s//\1/
67675 /^X\(\/\).*/{
67676 s//\1/
67679 s/.*/./; q'`/stamp-h$_am_stamp_count
67682 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67683 $as_echo "$as_me: executing $ac_file commands" >&6;}
67685 esac
67688 case $ac_file$ac_mode in
67689 "default-1":C)
67690 # Only add multilib support code if we just rebuilt the top-level
67691 # Makefile.
67692 case " $CONFIG_FILES " in
67693 *" Makefile "*)
67694 ac_file=Makefile . ${multi_basedir}/config-ml.in
67696 esac ;;
67697 "libtool":C)
67699 # See if we are running on zsh, and set the options which allow our
67700 # commands through without removal of \ escapes.
67701 if test -n "${ZSH_VERSION+set}" ; then
67702 setopt NO_GLOB_SUBST
67705 cfgfile="${ofile}T"
67706 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67707 $RM "$cfgfile"
67709 cat <<_LT_EOF >> "$cfgfile"
67710 #! $SHELL
67712 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67713 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67714 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67715 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67717 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67718 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67719 # Written by Gordon Matzigkeit, 1996
67721 # This file is part of GNU Libtool.
67723 # GNU Libtool is free software; you can redistribute it and/or
67724 # modify it under the terms of the GNU General Public License as
67725 # published by the Free Software Foundation; either version 2 of
67726 # the License, or (at your option) any later version.
67728 # As a special exception to the GNU General Public License,
67729 # if you distribute this file as part of a program or library that
67730 # is built using GNU Libtool, you may include this file under the
67731 # same distribution terms that you use for the rest of that program.
67733 # GNU Libtool is distributed in the hope that it will be useful,
67734 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67735 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67736 # GNU General Public License for more details.
67738 # You should have received a copy of the GNU General Public License
67739 # along with GNU Libtool; see the file COPYING. If not, a copy
67740 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67741 # obtained by writing to the Free Software Foundation, Inc.,
67742 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67745 # The names of the tagged configurations supported by this script.
67746 available_tags="CXX "
67748 # ### BEGIN LIBTOOL CONFIG
67750 # Which release of libtool.m4 was used?
67751 macro_version=$macro_version
67752 macro_revision=$macro_revision
67754 # Whether or not to build shared libraries.
67755 build_libtool_libs=$enable_shared
67757 # Whether or not to build static libraries.
67758 build_old_libs=$enable_static
67760 # What type of objects to build.
67761 pic_mode=$pic_mode
67763 # Whether or not to optimize for fast installation.
67764 fast_install=$enable_fast_install
67766 # Shell to use when invoking shell scripts.
67767 SHELL=$lt_SHELL
67769 # An echo program that protects backslashes.
67770 ECHO=$lt_ECHO
67772 # The host system.
67773 host_alias=$host_alias
67774 host=$host
67775 host_os=$host_os
67777 # The build system.
67778 build_alias=$build_alias
67779 build=$build
67780 build_os=$build_os
67782 # A sed program that does not truncate output.
67783 SED=$lt_SED
67785 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67786 Xsed="\$SED -e 1s/^X//"
67788 # A grep program that handles long lines.
67789 GREP=$lt_GREP
67791 # An ERE matcher.
67792 EGREP=$lt_EGREP
67794 # A literal string matcher.
67795 FGREP=$lt_FGREP
67797 # A BSD- or MS-compatible name lister.
67798 NM=$lt_NM
67800 # Whether we need soft or hard links.
67801 LN_S=$lt_LN_S
67803 # What is the maximum length of a command?
67804 max_cmd_len=$max_cmd_len
67806 # Object file suffix (normally "o").
67807 objext=$ac_objext
67809 # Executable file suffix (normally "").
67810 exeext=$exeext
67812 # whether the shell understands "unset".
67813 lt_unset=$lt_unset
67815 # turn spaces into newlines.
67816 SP2NL=$lt_lt_SP2NL
67818 # turn newlines into spaces.
67819 NL2SP=$lt_lt_NL2SP
67821 # An object symbol dumper.
67822 OBJDUMP=$lt_OBJDUMP
67824 # Method to check whether dependent libraries are shared objects.
67825 deplibs_check_method=$lt_deplibs_check_method
67827 # Command to use when deplibs_check_method == "file_magic".
67828 file_magic_cmd=$lt_file_magic_cmd
67830 # The archiver.
67831 AR=$lt_AR
67832 AR_FLAGS=$lt_AR_FLAGS
67834 # A symbol stripping program.
67835 STRIP=$lt_STRIP
67837 # Commands used to install an old-style archive.
67838 RANLIB=$lt_RANLIB
67839 old_postinstall_cmds=$lt_old_postinstall_cmds
67840 old_postuninstall_cmds=$lt_old_postuninstall_cmds
67842 # Whether to use a lock for old archive extraction.
67843 lock_old_archive_extraction=$lock_old_archive_extraction
67845 # A C compiler.
67846 LTCC=$lt_CC
67848 # LTCC compiler flags.
67849 LTCFLAGS=$lt_CFLAGS
67851 # Take the output of nm and produce a listing of raw symbols and C names.
67852 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
67854 # Transform the output of nm in a proper C declaration.
67855 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
67857 # Transform the output of nm in a C name address pair.
67858 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
67860 # Transform the output of nm in a C name address pair when lib prefix is needed.
67861 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
67863 # The name of the directory that contains temporary libtool files.
67864 objdir=$objdir
67866 # Used to examine libraries when file_magic_cmd begins with "file".
67867 MAGIC_CMD=$MAGIC_CMD
67869 # Must we lock files when doing compilation?
67870 need_locks=$lt_need_locks
67872 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
67873 DSYMUTIL=$lt_DSYMUTIL
67875 # Tool to change global to local symbols on Mac OS X.
67876 NMEDIT=$lt_NMEDIT
67878 # Tool to manipulate fat objects and archives on Mac OS X.
67879 LIPO=$lt_LIPO
67881 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
67882 OTOOL=$lt_OTOOL
67884 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
67885 OTOOL64=$lt_OTOOL64
67887 # Old archive suffix (normally "a").
67888 libext=$libext
67890 # Shared library suffix (normally ".so").
67891 shrext_cmds=$lt_shrext_cmds
67893 # The commands to extract the exported symbol list from a shared archive.
67894 extract_expsyms_cmds=$lt_extract_expsyms_cmds
67896 # Variables whose values should be saved in libtool wrapper scripts and
67897 # restored at link time.
67898 variables_saved_for_relink=$lt_variables_saved_for_relink
67900 # Do we need the "lib" prefix for modules?
67901 need_lib_prefix=$need_lib_prefix
67903 # Do we need a version for libraries?
67904 need_version=$need_version
67906 # Library versioning type.
67907 version_type=$version_type
67909 # Shared library runtime path variable.
67910 runpath_var=$runpath_var
67912 # Shared library path variable.
67913 shlibpath_var=$shlibpath_var
67915 # Is shlibpath searched before the hard-coded library search path?
67916 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
67918 # Format of library name prefix.
67919 libname_spec=$lt_libname_spec
67921 # List of archive names. First name is the real one, the rest are links.
67922 # The last name is the one that the linker finds with -lNAME
67923 library_names_spec=$lt_library_names_spec
67925 # The coded name of the library, if different from the real name.
67926 soname_spec=$lt_soname_spec
67928 # Permission mode override for installation of shared libraries.
67929 install_override_mode=$lt_install_override_mode
67931 # Command to use after installation of a shared archive.
67932 postinstall_cmds=$lt_postinstall_cmds
67934 # Command to use after uninstallation of a shared archive.
67935 postuninstall_cmds=$lt_postuninstall_cmds
67937 # Commands used to finish a libtool library installation in a directory.
67938 finish_cmds=$lt_finish_cmds
67940 # As "finish_cmds", except a single script fragment to be evaled but
67941 # not shown.
67942 finish_eval=$lt_finish_eval
67944 # Whether we should hardcode library paths into libraries.
67945 hardcode_into_libs=$hardcode_into_libs
67947 # Compile-time system search path for libraries.
67948 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
67950 # Run-time system search path for libraries.
67951 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
67953 # Whether dlopen is supported.
67954 dlopen_support=$enable_dlopen
67956 # Whether dlopen of programs is supported.
67957 dlopen_self=$enable_dlopen_self
67959 # Whether dlopen of statically linked programs is supported.
67960 dlopen_self_static=$enable_dlopen_self_static
67962 # Commands to strip libraries.
67963 old_striplib=$lt_old_striplib
67964 striplib=$lt_striplib
67967 # The linker used to build libraries.
67968 LD=$lt_LD
67970 # How to create reloadable object files.
67971 reload_flag=$lt_reload_flag
67972 reload_cmds=$lt_reload_cmds
67974 # Commands used to build an old-style archive.
67975 old_archive_cmds=$lt_old_archive_cmds
67977 # A language specific compiler.
67978 CC=$lt_compiler
67980 # Is the compiler the GNU compiler?
67981 with_gcc=$GCC
67983 # Compiler flag to turn off builtin functions.
67984 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
67986 # How to pass a linker flag through the compiler.
67987 wl=$lt_lt_prog_compiler_wl
67989 # Additional compiler flags for building library objects.
67990 pic_flag=$lt_lt_prog_compiler_pic
67992 # Compiler flag to prevent dynamic linking.
67993 link_static_flag=$lt_lt_prog_compiler_static
67995 # Does compiler simultaneously support -c and -o options?
67996 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
67998 # Whether or not to add -lc for building shared libraries.
67999 build_libtool_need_lc=$archive_cmds_need_lc
68001 # Whether or not to disallow shared libs when runtime libs are static.
68002 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68004 # Compiler flag to allow reflexive dlopens.
68005 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68007 # Compiler flag to generate shared objects directly from archives.
68008 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68010 # Whether the compiler copes with passing no objects directly.
68011 compiler_needs_object=$lt_compiler_needs_object
68013 # Create an old-style archive from a shared archive.
68014 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68016 # Create a temporary old-style archive to link instead of a shared archive.
68017 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68019 # Commands used to build a shared archive.
68020 archive_cmds=$lt_archive_cmds
68021 archive_expsym_cmds=$lt_archive_expsym_cmds
68023 # Commands used to build a loadable module if different from building
68024 # a shared archive.
68025 module_cmds=$lt_module_cmds
68026 module_expsym_cmds=$lt_module_expsym_cmds
68028 # Whether we are building with GNU ld or not.
68029 with_gnu_ld=$lt_with_gnu_ld
68031 # Flag that allows shared libraries with undefined symbols to be built.
68032 allow_undefined_flag=$lt_allow_undefined_flag
68034 # Flag that enforces no undefined symbols.
68035 no_undefined_flag=$lt_no_undefined_flag
68037 # Flag to hardcode \$libdir into a binary during linking.
68038 # This must work even if \$libdir does not exist
68039 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68041 # If ld is used when linking, flag to hardcode \$libdir into a binary
68042 # during linking. This must work even if \$libdir does not exist.
68043 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68045 # Whether we need a single "-rpath" flag with a separated argument.
68046 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68048 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68049 # DIR into the resulting binary.
68050 hardcode_direct=$hardcode_direct
68052 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68053 # DIR into the resulting binary and the resulting library dependency is
68054 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68055 # library is relocated.
68056 hardcode_direct_absolute=$hardcode_direct_absolute
68058 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68059 # into the resulting binary.
68060 hardcode_minus_L=$hardcode_minus_L
68062 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68063 # into the resulting binary.
68064 hardcode_shlibpath_var=$hardcode_shlibpath_var
68066 # Set to "yes" if building a shared library automatically hardcodes DIR
68067 # into the library and all subsequent libraries and executables linked
68068 # against it.
68069 hardcode_automatic=$hardcode_automatic
68071 # Set to yes if linker adds runtime paths of dependent libraries
68072 # to runtime path list.
68073 inherit_rpath=$inherit_rpath
68075 # Whether libtool must link a program against all its dependency libraries.
68076 link_all_deplibs=$link_all_deplibs
68078 # Fix the shell variable \$srcfile for the compiler.
68079 fix_srcfile_path=$lt_fix_srcfile_path
68081 # Set to "yes" if exported symbols are required.
68082 always_export_symbols=$always_export_symbols
68084 # The commands to list exported symbols.
68085 export_symbols_cmds=$lt_export_symbols_cmds
68087 # Symbols that should not be listed in the preloaded symbols.
68088 exclude_expsyms=$lt_exclude_expsyms
68090 # Symbols that must always be exported.
68091 include_expsyms=$lt_include_expsyms
68093 # Commands necessary for linking programs (against libraries) with templates.
68094 prelink_cmds=$lt_prelink_cmds
68096 # Specify filename containing input files.
68097 file_list_spec=$lt_file_list_spec
68099 # How to hardcode a shared library path into an executable.
68100 hardcode_action=$hardcode_action
68102 # The directories searched by this compiler when creating a shared library.
68103 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68105 # Dependencies to place before and after the objects being linked to
68106 # create a shared library.
68107 predep_objects=$lt_predep_objects
68108 postdep_objects=$lt_postdep_objects
68109 predeps=$lt_predeps
68110 postdeps=$lt_postdeps
68112 # The library search path used internally by the compiler when linking
68113 # a shared library.
68114 compiler_lib_search_path=$lt_compiler_lib_search_path
68116 # ### END LIBTOOL CONFIG
68118 _LT_EOF
68120 case $host_os in
68121 aix3*)
68122 cat <<\_LT_EOF >> "$cfgfile"
68123 # AIX sometimes has problems with the GCC collect2 program. For some
68124 # reason, if we set the COLLECT_NAMES environment variable, the problems
68125 # vanish in a puff of smoke.
68126 if test "X${COLLECT_NAMES+set}" != Xset; then
68127 COLLECT_NAMES=
68128 export COLLECT_NAMES
68130 _LT_EOF
68132 esac
68135 ltmain="$ac_aux_dir/ltmain.sh"
68138 # We use sed instead of cat because bash on DJGPP gets confused if
68139 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68140 # text mode, it properly converts lines to CR/LF. This bash problem
68141 # is reportedly fixed, but why not run on old versions too?
68142 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68143 || (rm -f "$cfgfile"; exit 1)
68145 case $xsi_shell in
68146 yes)
68147 cat << \_LT_EOF >> "$cfgfile"
68149 # func_dirname file append nondir_replacement
68150 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68151 # otherwise set result to NONDIR_REPLACEMENT.
68152 func_dirname ()
68154 case ${1} in
68155 */*) func_dirname_result="${1%/*}${2}" ;;
68156 * ) func_dirname_result="${3}" ;;
68157 esac
68160 # func_basename file
68161 func_basename ()
68163 func_basename_result="${1##*/}"
68166 # func_dirname_and_basename file append nondir_replacement
68167 # perform func_basename and func_dirname in a single function
68168 # call:
68169 # dirname: Compute the dirname of FILE. If nonempty,
68170 # add APPEND to the result, otherwise set result
68171 # to NONDIR_REPLACEMENT.
68172 # value returned in "$func_dirname_result"
68173 # basename: Compute filename of FILE.
68174 # value retuned in "$func_basename_result"
68175 # Implementation must be kept synchronized with func_dirname
68176 # and func_basename. For efficiency, we do not delegate to
68177 # those functions but instead duplicate the functionality here.
68178 func_dirname_and_basename ()
68180 case ${1} in
68181 */*) func_dirname_result="${1%/*}${2}" ;;
68182 * ) func_dirname_result="${3}" ;;
68183 esac
68184 func_basename_result="${1##*/}"
68187 # func_stripname prefix suffix name
68188 # strip PREFIX and SUFFIX off of NAME.
68189 # PREFIX and SUFFIX must not contain globbing or regex special
68190 # characters, hashes, percent signs, but SUFFIX may contain a leading
68191 # dot (in which case that matches only a dot).
68192 func_stripname ()
68194 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68195 # positional parameters, so assign one to ordinary parameter first.
68196 func_stripname_result=${3}
68197 func_stripname_result=${func_stripname_result#"${1}"}
68198 func_stripname_result=${func_stripname_result%"${2}"}
68201 # func_opt_split
68202 func_opt_split ()
68204 func_opt_split_opt=${1%%=*}
68205 func_opt_split_arg=${1#*=}
68208 # func_lo2o object
68209 func_lo2o ()
68211 case ${1} in
68212 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68213 *) func_lo2o_result=${1} ;;
68214 esac
68217 # func_xform libobj-or-source
68218 func_xform ()
68220 func_xform_result=${1%.*}.lo
68223 # func_arith arithmetic-term...
68224 func_arith ()
68226 func_arith_result=$(( $* ))
68229 # func_len string
68230 # STRING may not start with a hyphen.
68231 func_len ()
68233 func_len_result=${#1}
68236 _LT_EOF
68238 *) # Bourne compatible functions.
68239 cat << \_LT_EOF >> "$cfgfile"
68241 # func_dirname file append nondir_replacement
68242 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68243 # otherwise set result to NONDIR_REPLACEMENT.
68244 func_dirname ()
68246 # Extract subdirectory from the argument.
68247 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68248 if test "X$func_dirname_result" = "X${1}"; then
68249 func_dirname_result="${3}"
68250 else
68251 func_dirname_result="$func_dirname_result${2}"
68255 # func_basename file
68256 func_basename ()
68258 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68262 # func_stripname prefix suffix name
68263 # strip PREFIX and SUFFIX off of NAME.
68264 # PREFIX and SUFFIX must not contain globbing or regex special
68265 # characters, hashes, percent signs, but SUFFIX may contain a leading
68266 # dot (in which case that matches only a dot).
68267 # func_strip_suffix prefix name
68268 func_stripname ()
68270 case ${2} in
68271 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68272 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68273 esac
68276 # sed scripts:
68277 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68278 my_sed_long_arg='1s/^-[^=]*=//'
68280 # func_opt_split
68281 func_opt_split ()
68283 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68284 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68287 # func_lo2o object
68288 func_lo2o ()
68290 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68293 # func_xform libobj-or-source
68294 func_xform ()
68296 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68299 # func_arith arithmetic-term...
68300 func_arith ()
68302 func_arith_result=`expr "$@"`
68305 # func_len string
68306 # STRING may not start with a hyphen.
68307 func_len ()
68309 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68312 _LT_EOF
68313 esac
68315 case $lt_shell_append in
68316 yes)
68317 cat << \_LT_EOF >> "$cfgfile"
68319 # func_append var value
68320 # Append VALUE to the end of shell variable VAR.
68321 func_append ()
68323 eval "$1+=\$2"
68325 _LT_EOF
68328 cat << \_LT_EOF >> "$cfgfile"
68330 # func_append var value
68331 # Append VALUE to the end of shell variable VAR.
68332 func_append ()
68334 eval "$1=\$$1\$2"
68337 _LT_EOF
68339 esac
68342 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68343 || (rm -f "$cfgfile"; exit 1)
68345 mv -f "$cfgfile" "$ofile" ||
68346 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68347 chmod +x "$ofile"
68350 cat <<_LT_EOF >> "$ofile"
68352 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68354 # The linker used to build libraries.
68355 LD=$lt_LD_CXX
68357 # How to create reloadable object files.
68358 reload_flag=$lt_reload_flag_CXX
68359 reload_cmds=$lt_reload_cmds_CXX
68361 # Commands used to build an old-style archive.
68362 old_archive_cmds=$lt_old_archive_cmds_CXX
68364 # A language specific compiler.
68365 CC=$lt_compiler_CXX
68367 # Is the compiler the GNU compiler?
68368 with_gcc=$GCC_CXX
68370 # Compiler flag to turn off builtin functions.
68371 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68373 # How to pass a linker flag through the compiler.
68374 wl=$lt_lt_prog_compiler_wl_CXX
68376 # Additional compiler flags for building library objects.
68377 pic_flag=$lt_lt_prog_compiler_pic_CXX
68379 # Compiler flag to prevent dynamic linking.
68380 link_static_flag=$lt_lt_prog_compiler_static_CXX
68382 # Does compiler simultaneously support -c and -o options?
68383 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68385 # Whether or not to add -lc for building shared libraries.
68386 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68388 # Whether or not to disallow shared libs when runtime libs are static.
68389 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68391 # Compiler flag to allow reflexive dlopens.
68392 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68394 # Compiler flag to generate shared objects directly from archives.
68395 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68397 # Whether the compiler copes with passing no objects directly.
68398 compiler_needs_object=$lt_compiler_needs_object_CXX
68400 # Create an old-style archive from a shared archive.
68401 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68403 # Create a temporary old-style archive to link instead of a shared archive.
68404 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68406 # Commands used to build a shared archive.
68407 archive_cmds=$lt_archive_cmds_CXX
68408 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68410 # Commands used to build a loadable module if different from building
68411 # a shared archive.
68412 module_cmds=$lt_module_cmds_CXX
68413 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68415 # Whether we are building with GNU ld or not.
68416 with_gnu_ld=$lt_with_gnu_ld_CXX
68418 # Flag that allows shared libraries with undefined symbols to be built.
68419 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68421 # Flag that enforces no undefined symbols.
68422 no_undefined_flag=$lt_no_undefined_flag_CXX
68424 # Flag to hardcode \$libdir into a binary during linking.
68425 # This must work even if \$libdir does not exist
68426 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68428 # If ld is used when linking, flag to hardcode \$libdir into a binary
68429 # during linking. This must work even if \$libdir does not exist.
68430 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68432 # Whether we need a single "-rpath" flag with a separated argument.
68433 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68435 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68436 # DIR into the resulting binary.
68437 hardcode_direct=$hardcode_direct_CXX
68439 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68440 # DIR into the resulting binary and the resulting library dependency is
68441 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68442 # library is relocated.
68443 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68445 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68446 # into the resulting binary.
68447 hardcode_minus_L=$hardcode_minus_L_CXX
68449 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68450 # into the resulting binary.
68451 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68453 # Set to "yes" if building a shared library automatically hardcodes DIR
68454 # into the library and all subsequent libraries and executables linked
68455 # against it.
68456 hardcode_automatic=$hardcode_automatic_CXX
68458 # Set to yes if linker adds runtime paths of dependent libraries
68459 # to runtime path list.
68460 inherit_rpath=$inherit_rpath_CXX
68462 # Whether libtool must link a program against all its dependency libraries.
68463 link_all_deplibs=$link_all_deplibs_CXX
68465 # Fix the shell variable \$srcfile for the compiler.
68466 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68468 # Set to "yes" if exported symbols are required.
68469 always_export_symbols=$always_export_symbols_CXX
68471 # The commands to list exported symbols.
68472 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68474 # Symbols that should not be listed in the preloaded symbols.
68475 exclude_expsyms=$lt_exclude_expsyms_CXX
68477 # Symbols that must always be exported.
68478 include_expsyms=$lt_include_expsyms_CXX
68480 # Commands necessary for linking programs (against libraries) with templates.
68481 prelink_cmds=$lt_prelink_cmds_CXX
68483 # Specify filename containing input files.
68484 file_list_spec=$lt_file_list_spec_CXX
68486 # How to hardcode a shared library path into an executable.
68487 hardcode_action=$hardcode_action_CXX
68489 # The directories searched by this compiler when creating a shared library.
68490 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68492 # Dependencies to place before and after the objects being linked to
68493 # create a shared library.
68494 predep_objects=$lt_predep_objects_CXX
68495 postdep_objects=$lt_postdep_objects_CXX
68496 predeps=$lt_predeps_CXX
68497 postdeps=$lt_postdeps_CXX
68499 # The library search path used internally by the compiler when linking
68500 # a shared library.
68501 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68503 # ### END LIBTOOL TAG CONFIG: CXX
68504 _LT_EOF
68507 "include/gstdint.h":C)
68508 if test "$GCC" = yes; then
68509 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68510 else
68511 echo "/* generated for $CC */" > tmp-stdint.h
68514 sed 's/^ *//' >> tmp-stdint.h <<EOF
68516 #ifndef GCC_GENERATED_STDINT_H
68517 #define GCC_GENERATED_STDINT_H 1
68519 #include <sys/types.h>
68522 if test "$acx_cv_header_stdint" != stdint.h; then
68523 echo "#include <stddef.h>" >> tmp-stdint.h
68525 if test "$acx_cv_header_stdint" != stddef.h; then
68526 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68529 sed 's/^ *//' >> tmp-stdint.h <<EOF
68530 /* glibc uses these symbols as guards to prevent redefinitions. */
68531 #ifdef __int8_t_defined
68532 #define _INT8_T
68533 #define _INT16_T
68534 #define _INT32_T
68535 #endif
68536 #ifdef __uint32_t_defined
68537 #define _UINT32_T
68538 #endif
68542 # ----------------- done header, emit basic int types -------------
68543 if test "$acx_cv_header_stdint" = stddef.h; then
68544 sed 's/^ *//' >> tmp-stdint.h <<EOF
68546 #ifndef _UINT8_T
68547 #define _UINT8_T
68548 #ifndef __uint8_t_defined
68549 #define __uint8_t_defined
68550 #ifndef uint8_t
68551 typedef unsigned $acx_cv_type_int8_t uint8_t;
68552 #endif
68553 #endif
68554 #endif
68556 #ifndef _UINT16_T
68557 #define _UINT16_T
68558 #ifndef __uint16_t_defined
68559 #define __uint16_t_defined
68560 #ifndef uint16_t
68561 typedef unsigned $acx_cv_type_int16_t uint16_t;
68562 #endif
68563 #endif
68564 #endif
68566 #ifndef _UINT32_T
68567 #define _UINT32_T
68568 #ifndef __uint32_t_defined
68569 #define __uint32_t_defined
68570 #ifndef uint32_t
68571 typedef unsigned $acx_cv_type_int32_t uint32_t;
68572 #endif
68573 #endif
68574 #endif
68576 #ifndef _INT8_T
68577 #define _INT8_T
68578 #ifndef __int8_t_defined
68579 #define __int8_t_defined
68580 #ifndef int8_t
68581 typedef $acx_cv_type_int8_t int8_t;
68582 #endif
68583 #endif
68584 #endif
68586 #ifndef _INT16_T
68587 #define _INT16_T
68588 #ifndef __int16_t_defined
68589 #define __int16_t_defined
68590 #ifndef int16_t
68591 typedef $acx_cv_type_int16_t int16_t;
68592 #endif
68593 #endif
68594 #endif
68596 #ifndef _INT32_T
68597 #define _INT32_T
68598 #ifndef __int32_t_defined
68599 #define __int32_t_defined
68600 #ifndef int32_t
68601 typedef $acx_cv_type_int32_t int32_t;
68602 #endif
68603 #endif
68604 #endif
68606 elif test "$ac_cv_type_u_int32_t" = yes; then
68607 sed 's/^ *//' >> tmp-stdint.h <<EOF
68609 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68610 #ifndef _INT8_T
68611 #define _INT8_T
68612 #endif
68613 #ifndef _INT16_T
68614 #define _INT16_T
68615 #endif
68616 #ifndef _INT32_T
68617 #define _INT32_T
68618 #endif
68620 #ifndef _UINT8_T
68621 #define _UINT8_T
68622 #ifndef __uint8_t_defined
68623 #define __uint8_t_defined
68624 #ifndef uint8_t
68625 typedef u_int8_t uint8_t;
68626 #endif
68627 #endif
68628 #endif
68630 #ifndef _UINT16_T
68631 #define _UINT16_T
68632 #ifndef __uint16_t_defined
68633 #define __uint16_t_defined
68634 #ifndef uint16_t
68635 typedef u_int16_t uint16_t;
68636 #endif
68637 #endif
68638 #endif
68640 #ifndef _UINT32_T
68641 #define _UINT32_T
68642 #ifndef __uint32_t_defined
68643 #define __uint32_t_defined
68644 #ifndef uint32_t
68645 typedef u_int32_t uint32_t;
68646 #endif
68647 #endif
68648 #endif
68650 else
68651 sed 's/^ *//' >> tmp-stdint.h <<EOF
68653 /* Some systems have guard macros to prevent redefinitions, define them. */
68654 #ifndef _INT8_T
68655 #define _INT8_T
68656 #endif
68657 #ifndef _INT16_T
68658 #define _INT16_T
68659 #endif
68660 #ifndef _INT32_T
68661 #define _INT32_T
68662 #endif
68663 #ifndef _UINT8_T
68664 #define _UINT8_T
68665 #endif
68666 #ifndef _UINT16_T
68667 #define _UINT16_T
68668 #endif
68669 #ifndef _UINT32_T
68670 #define _UINT32_T
68671 #endif
68675 # ------------- done basic int types, emit int64_t types ------------
68676 if test "$ac_cv_type_uint64_t" = yes; then
68677 sed 's/^ *//' >> tmp-stdint.h <<EOF
68679 /* system headers have good uint64_t and int64_t */
68680 #ifndef _INT64_T
68681 #define _INT64_T
68682 #endif
68683 #ifndef _UINT64_T
68684 #define _UINT64_T
68685 #endif
68687 elif test "$ac_cv_type_u_int64_t" = yes; then
68688 sed 's/^ *//' >> tmp-stdint.h <<EOF
68690 /* system headers have an u_int64_t (and int64_t) */
68691 #ifndef _INT64_T
68692 #define _INT64_T
68693 #endif
68694 #ifndef _UINT64_T
68695 #define _UINT64_T
68696 #ifndef __uint64_t_defined
68697 #define __uint64_t_defined
68698 #ifndef uint64_t
68699 typedef u_int64_t uint64_t;
68700 #endif
68701 #endif
68702 #endif
68704 elif test -n "$acx_cv_type_int64_t"; then
68705 sed 's/^ *//' >> tmp-stdint.h <<EOF
68707 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68708 #ifndef _INT64_T
68709 #define _INT64_T
68710 #ifndef int64_t
68711 typedef $acx_cv_type_int64_t int64_t;
68712 #endif
68713 #endif
68714 #ifndef _UINT64_T
68715 #define _UINT64_T
68716 #ifndef __uint64_t_defined
68717 #define __uint64_t_defined
68718 #ifndef uint64_t
68719 typedef unsigned $acx_cv_type_int64_t uint64_t;
68720 #endif
68721 #endif
68722 #endif
68724 else
68725 sed 's/^ *//' >> tmp-stdint.h <<EOF
68727 /* some common heuristics for int64_t, using compiler-specific tests */
68728 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68729 #ifndef _INT64_T
68730 #define _INT64_T
68731 #ifndef __int64_t_defined
68732 #ifndef int64_t
68733 typedef long long int64_t;
68734 #endif
68735 #endif
68736 #endif
68737 #ifndef _UINT64_T
68738 #define _UINT64_T
68739 #ifndef uint64_t
68740 typedef unsigned long long uint64_t;
68741 #endif
68742 #endif
68744 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68745 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68746 does not implement __extension__. But that compiler doesn't define
68747 __GNUC_MINOR__. */
68748 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68749 # define __extension__
68750 # endif
68752 # ifndef _INT64_T
68753 # define _INT64_T
68754 # ifndef int64_t
68755 __extension__ typedef long long int64_t;
68756 # endif
68757 # endif
68758 # ifndef _UINT64_T
68759 # define _UINT64_T
68760 # ifndef uint64_t
68761 __extension__ typedef unsigned long long uint64_t;
68762 # endif
68763 # endif
68765 #elif !defined __STRICT_ANSI__
68766 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68768 # ifndef _INT64_T
68769 # define _INT64_T
68770 # ifndef int64_t
68771 typedef __int64 int64_t;
68772 # endif
68773 # endif
68774 # ifndef _UINT64_T
68775 # define _UINT64_T
68776 # ifndef uint64_t
68777 typedef unsigned __int64 uint64_t;
68778 # endif
68779 # endif
68780 # endif /* compiler */
68782 #endif /* ANSI version */
68786 # ------------- done int64_t types, emit intptr types ------------
68787 if test "$ac_cv_type_uintptr_t" != yes; then
68788 sed 's/^ *//' >> tmp-stdint.h <<EOF
68790 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68791 #ifndef __uintptr_t_defined
68792 #ifndef uintptr_t
68793 typedef u$acx_cv_type_intptr_t uintptr_t;
68794 #endif
68795 #endif
68796 #ifndef __intptr_t_defined
68797 #ifndef intptr_t
68798 typedef $acx_cv_type_intptr_t intptr_t;
68799 #endif
68800 #endif
68804 # ------------- done intptr types, emit int_least types ------------
68805 if test "$ac_cv_type_int_least32_t" != yes; then
68806 sed 's/^ *//' >> tmp-stdint.h <<EOF
68808 /* Define int_least types */
68809 typedef int8_t int_least8_t;
68810 typedef int16_t int_least16_t;
68811 typedef int32_t int_least32_t;
68812 #ifdef _INT64_T
68813 typedef int64_t int_least64_t;
68814 #endif
68816 typedef uint8_t uint_least8_t;
68817 typedef uint16_t uint_least16_t;
68818 typedef uint32_t uint_least32_t;
68819 #ifdef _UINT64_T
68820 typedef uint64_t uint_least64_t;
68821 #endif
68825 # ------------- done intptr types, emit int_fast types ------------
68826 if test "$ac_cv_type_int_fast32_t" != yes; then
68827 sed 's/^ *//' >> tmp-stdint.h <<EOF
68829 /* Define int_fast types. short is often slow */
68830 typedef int8_t int_fast8_t;
68831 typedef int int_fast16_t;
68832 typedef int32_t int_fast32_t;
68833 #ifdef _INT64_T
68834 typedef int64_t int_fast64_t;
68835 #endif
68837 typedef uint8_t uint_fast8_t;
68838 typedef unsigned int uint_fast16_t;
68839 typedef uint32_t uint_fast32_t;
68840 #ifdef _UINT64_T
68841 typedef uint64_t uint_fast64_t;
68842 #endif
68846 if test "$ac_cv_type_uintmax_t" != yes; then
68847 sed 's/^ *//' >> tmp-stdint.h <<EOF
68849 /* Define intmax based on what we found */
68850 #ifndef intmax_t
68851 #ifdef _INT64_T
68852 typedef int64_t intmax_t;
68853 #else
68854 typedef long intmax_t;
68855 #endif
68856 #endif
68857 #ifndef uintmax_t
68858 #ifdef _UINT64_T
68859 typedef uint64_t uintmax_t;
68860 #else
68861 typedef unsigned long uintmax_t;
68862 #endif
68863 #endif
68867 sed 's/^ *//' >> tmp-stdint.h <<EOF
68869 #endif /* GCC_GENERATED_STDINT_H */
68872 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
68873 rm -f tmp-stdint.h
68874 else
68875 mv -f tmp-stdint.h include/gstdint.h
68879 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
68880 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
68881 "include/Makefile":F) cat > vpsed$$ << \_EOF
68882 s!`test -f '$<' || echo '$(srcdir)/'`!!
68883 _EOF
68884 sed -f vpsed$$ $ac_file > tmp$$
68885 mv tmp$$ $ac_file
68886 rm vpsed$$
68887 echo 'MULTISUBDIR =' >> $ac_file
68888 ml_norecursion=yes
68889 . ${multi_basedir}/config-ml.in
68890 { ml_norecursion=; unset ml_norecursion;}
68892 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
68893 s!`test -f '$<' || echo '$(srcdir)/'`!!
68894 _EOF
68895 sed -f vpsed$$ $ac_file > tmp$$
68896 mv tmp$$ $ac_file
68897 rm vpsed$$
68898 echo 'MULTISUBDIR =' >> $ac_file
68899 ml_norecursion=yes
68900 . ${multi_basedir}/config-ml.in
68901 { ml_norecursion=; unset ml_norecursion;}
68903 "python/Makefile":F) cat > vpsed$$ << \_EOF
68904 s!`test -f '$<' || echo '$(srcdir)/'`!!
68905 _EOF
68906 sed -f vpsed$$ $ac_file > tmp$$
68907 mv tmp$$ $ac_file
68908 rm vpsed$$
68909 echo 'MULTISUBDIR =' >> $ac_file
68910 ml_norecursion=yes
68911 . ${multi_basedir}/config-ml.in
68912 { ml_norecursion=; unset ml_norecursion;}
68914 "src/Makefile":F) cat > vpsed$$ << \_EOF
68915 s!`test -f '$<' || echo '$(srcdir)/'`!!
68916 _EOF
68917 sed -f vpsed$$ $ac_file > tmp$$
68918 mv tmp$$ $ac_file
68919 rm vpsed$$
68920 echo 'MULTISUBDIR =' >> $ac_file
68921 ml_norecursion=yes
68922 . ${multi_basedir}/config-ml.in
68923 { ml_norecursion=; unset ml_norecursion;}
68925 "doc/Makefile":F) cat > vpsed$$ << \_EOF
68926 s!`test -f '$<' || echo '$(srcdir)/'`!!
68927 _EOF
68928 sed -f vpsed$$ $ac_file > tmp$$
68929 mv tmp$$ $ac_file
68930 rm vpsed$$
68931 echo 'MULTISUBDIR =' >> $ac_file
68932 ml_norecursion=yes
68933 . ${multi_basedir}/config-ml.in
68934 { ml_norecursion=; unset ml_norecursion;}
68936 "po/Makefile":F) cat > vpsed$$ << \_EOF
68937 s!`test -f '$<' || echo '$(srcdir)/'`!!
68938 _EOF
68939 sed -f vpsed$$ $ac_file > tmp$$
68940 mv tmp$$ $ac_file
68941 rm vpsed$$
68942 echo 'MULTISUBDIR =' >> $ac_file
68943 ml_norecursion=yes
68944 . ${multi_basedir}/config-ml.in
68945 { ml_norecursion=; unset ml_norecursion;}
68947 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
68948 s!`test -f '$<' || echo '$(srcdir)/'`!!
68949 _EOF
68950 sed -f vpsed$$ $ac_file > tmp$$
68951 mv tmp$$ $ac_file
68952 rm vpsed$$
68953 echo 'MULTISUBDIR =' >> $ac_file
68954 ml_norecursion=yes
68955 . ${multi_basedir}/config-ml.in
68956 { ml_norecursion=; unset ml_norecursion;}
68958 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
68960 esac
68961 done # for ac_tag
68964 as_fn_exit 0
68965 _ACEOF
68966 ac_clean_files=$ac_clean_files_save
68968 test $ac_write_fail = 0 ||
68969 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
68972 # configure is writing to config.log, and then calls config.status.
68973 # config.status does its own redirection, appending to config.log.
68974 # Unfortunately, on DOS this fails, as config.log is still kept open
68975 # by configure, so config.status won't be able to write to it; its
68976 # output is simply discarded. So we exec the FD to /dev/null,
68977 # effectively closing config.log, so it can be properly (re)opened and
68978 # appended to by config.status. When coming back to configure, we
68979 # need to make the FD available again.
68980 if test "$no_create" != yes; then
68981 ac_cs_success=:
68982 ac_config_status_args=
68983 test "$silent" = yes &&
68984 ac_config_status_args="$ac_config_status_args --quiet"
68985 exec 5>/dev/null
68986 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
68987 exec 5>>config.log
68988 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68989 # would make configure fail if this is the last instruction.
68990 $ac_cs_success || as_fn_exit $?
68992 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
68993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
68994 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}