Allow linux ppc to bootstrap again
[official-gcc.git] / libstdc++-v3 / configure
blob0bbc485d3006d1bcf5efef85a7939162387ad482
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_subdir_switch
643 baseline_dir
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 ENABLE_SYMVERS_SOL2_FALSE
649 ENABLE_SYMVERS_SOL2_TRUE
650 ENABLE_SYMVERS_SUN_FALSE
651 ENABLE_SYMVERS_SUN_TRUE
652 ENABLE_SYMVERS_DARWIN_FALSE
653 ENABLE_SYMVERS_DARWIN_TRUE
654 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
655 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
656 ENABLE_SYMVERS_GNU_FALSE
657 ENABLE_SYMVERS_GNU_TRUE
658 ENABLE_SYMVERS_FALSE
659 ENABLE_SYMVERS_TRUE
660 port_specific_symbol_files
661 SYMVER_FILE
662 CXXFILT
663 LTLIBICONV
664 LIBICONV
665 OPT_LDFLAGS
666 SECTION_LDFLAGS
667 GLIBCXX_LIBS
668 ENABLE_EXTERN_TEMPLATE_FALSE
669 ENABLE_EXTERN_TEMPLATE_TRUE
670 EXTRA_CXX_FLAGS
671 ENABLE_PARALLEL_FALSE
672 ENABLE_PARALLEL_TRUE
673 GLIBCXX_BUILD_DEBUG_FALSE
674 GLIBCXX_BUILD_DEBUG_TRUE
675 DEBUG_FLAGS
676 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
677 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
678 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
679 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
680 GLIBCXX_C_HEADERS_C_STD_FALSE
681 GLIBCXX_C_HEADERS_C_STD_TRUE
682 GLIBCXX_C_HEADERS_C_FALSE
683 GLIBCXX_C_HEADERS_C_TRUE
684 C_INCLUDE_DIR
685 ALLOCATOR_NAME
686 ALLOCATOR_H
687 CLOCALE_INTERNAL_H
688 CLOCALE_CC
689 CTIME_CC
690 CTIME_H
691 CNUMERIC_CC
692 CMONEY_CC
693 CMESSAGES_CC
694 CCTYPE_CC
695 CCOLLATE_CC
696 CCODECVT_CC
697 CMESSAGES_H
698 CLOCALE_H
699 USE_NLS
700 glibcxx_localedir
701 glibcxx_POFILES
702 glibcxx_MOFILES
703 check_msgfmt
704 BASIC_FILE_CC
705 BASIC_FILE_H
706 CSTDIO_H
707 SECTION_FLAGS
708 WERROR
709 glibcxx_thread_h
710 glibcxx_PCHFLAGS
711 GLIBCXX_BUILD_PCH_FALSE
712 GLIBCXX_BUILD_PCH_TRUE
713 GLIBCXX_HOSTED_FALSE
714 GLIBCXX_HOSTED_TRUE
715 enable_static
716 enable_shared
717 lt_host_flags
718 CXXCPP
719 OTOOL64
720 OTOOL
721 LIPO
722 NMEDIT
723 DSYMUTIL
724 OBJDUMP
726 ac_ct_DUMPBIN
727 DUMPBIN
729 FGREP
731 LIBTOOL
732 EGREP
733 GREP
735 MAINT
736 MAINTAINER_MODE_FALSE
737 MAINTAINER_MODE_TRUE
738 RANLIB
741 LN_S
742 toplevel_srcdir
743 glibcxx_srcdir
744 glibcxx_builddir
745 ac_ct_CXX
746 CXXFLAGS
748 OBJEXT
749 EXEEXT
750 ac_ct_CC
751 CPPFLAGS
752 LDFLAGS
753 CFLAGS
755 am__untar
756 am__tar
757 AMTAR
758 am__leading_dot
759 SET_MAKE
761 mkdir_p
762 MKDIR_P
763 INSTALL_STRIP_PROGRAM
764 STRIP
765 install_sh
766 MAKEINFO
767 AUTOHEADER
768 AUTOMAKE
769 AUTOCONF
770 ACLOCAL
771 VERSION
772 PACKAGE
773 CYGPATH_W
774 am__isrc
775 INSTALL_DATA
776 INSTALL_SCRIPT
777 INSTALL_PROGRAM
778 target_os
779 target_vendor
780 target_cpu
781 target
782 host_os
783 host_vendor
784 host_cpu
785 host
786 build_os
787 build_vendor
788 build_cpu
789 build
790 multi_basedir
791 libtool_VERSION
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_multilib
834 with_target_subdir
835 with_cross_host
836 with_newlib
837 enable_maintainer_mode
838 enable_shared
839 enable_static
840 with_pic
841 enable_fast_install
842 with_gnu_ld
843 enable_libtool_lock
844 enable_hosted_libstdcxx
845 enable_sjlj_exceptions
846 enable_libstdcxx_pch
847 enable_cstdio
848 enable_clocale
849 enable_nls
850 enable_libstdcxx_allocator
851 enable_cheaders
852 enable_long_long
853 enable_wchar_t
854 enable_c99
855 enable_concept_checks
856 enable_libstdcxx_debug_flags
857 enable_libstdcxx_debug
858 enable_cxx_flags
859 enable_fully_dynamic_string
860 enable_extern_template
861 enable_libstdcxx_time
862 enable_tls
863 enable_rpath
864 with_libiconv_prefix
865 with_system_libunwind
866 enable_linux_futex
867 enable_symvers
868 enable_visibility
869 with_gxx_include_dir
870 enable_version_specific_runtime_libs
872 ac_precious_vars='build_alias
873 host_alias
874 target_alias
876 CFLAGS
877 LDFLAGS
878 LIBS
879 CPPFLAGS
881 CXXFLAGS
884 CXXCPP
885 CXXFILT'
888 # Initialize some variables set by options.
889 ac_init_help=
890 ac_init_version=false
891 ac_unrecognized_opts=
892 ac_unrecognized_sep=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
895 cache_file=/dev/null
896 exec_prefix=NONE
897 no_create=
898 no_recursion=
899 prefix=NONE
900 program_prefix=NONE
901 program_suffix=NONE
902 program_transform_name=s,x,x,
903 silent=
904 site=
905 srcdir=
906 verbose=
907 x_includes=NONE
908 x_libraries=NONE
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir='${exec_prefix}/bin'
917 sbindir='${exec_prefix}/sbin'
918 libexecdir='${exec_prefix}/libexec'
919 datarootdir='${prefix}/share'
920 datadir='${datarootdir}'
921 sysconfdir='${prefix}/etc'
922 sharedstatedir='${prefix}/com'
923 localstatedir='${prefix}/var'
924 includedir='${prefix}/include'
925 oldincludedir='/usr/include'
926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
927 infodir='${datarootdir}/info'
928 htmldir='${docdir}'
929 dvidir='${docdir}'
930 pdfdir='${docdir}'
931 psdir='${docdir}'
932 libdir='${exec_prefix}/lib'
933 localedir='${datarootdir}/locale'
934 mandir='${datarootdir}/man'
936 ac_prev=
937 ac_dashdash=
938 for ac_option
940 # If the previous option needs an argument, assign it.
941 if test -n "$ac_prev"; then
942 eval $ac_prev=\$ac_option
943 ac_prev=
944 continue
947 case $ac_option in
948 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 *) ac_optarg=yes ;;
950 esac
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
956 ac_dashdash=yes ;;
958 -bindir | --bindir | --bindi | --bind | --bin | --bi)
959 ac_prev=bindir ;;
960 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 bindir=$ac_optarg ;;
963 -build | --build | --buil | --bui | --bu)
964 ac_prev=build_alias ;;
965 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966 build_alias=$ac_optarg ;;
968 -cache-file | --cache-file | --cache-fil | --cache-fi \
969 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970 ac_prev=cache_file ;;
971 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973 cache_file=$ac_optarg ;;
975 --config-cache | -C)
976 cache_file=config.cache ;;
978 -datadir | --datadir | --datadi | --datad)
979 ac_prev=datadir ;;
980 -datadir=* | --datadir=* | --datadi=* | --datad=*)
981 datadir=$ac_optarg ;;
983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984 | --dataroo | --dataro | --datar)
985 ac_prev=datarootdir ;;
986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988 datarootdir=$ac_optarg ;;
990 -disable-* | --disable-*)
991 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994 as_fn_error "invalid feature name: $ac_useropt"
995 ac_useropt_orig=$ac_useropt
996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
999 "enable_$ac_useropt"
1000 "*) ;;
1001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep=', ';;
1003 esac
1004 eval enable_$ac_useropt=no ;;
1006 -docdir | --docdir | --docdi | --doc | --do)
1007 ac_prev=docdir ;;
1008 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009 docdir=$ac_optarg ;;
1011 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 ac_prev=dvidir ;;
1013 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014 dvidir=$ac_optarg ;;
1016 -enable-* | --enable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=\$ac_optarg ;;
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1043 with_gas=yes ;;
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 ac_prev=htmldir ;;
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 | --ht=*)
1061 htmldir=$ac_optarg ;;
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1071 ac_prev=infodir ;;
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1075 -libdir | --libdir | --libdi | --libd)
1076 ac_prev=libdir ;;
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100 ac_prev=mandir ;;
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1106 with_fp=no ;;
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1110 no_create=yes ;;
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 no_recursion=yes ;;
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126 ac_prev=prefix ;;
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 ac_prev=pdfdir ;;
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1166 -psdir | --psdir | --psdi | --psd | --ps)
1167 ac_prev=psdir ;;
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 psdir=$ac_optarg ;;
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1173 silent=yes ;;
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176 ac_prev=sbindir ;;
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178 | --sbi=* | --sb=*)
1179 sbindir=$ac_optarg ;;
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1184 | --sha | --sh)
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189 | --sha=* | --sh=*)
1190 sharedstatedir=$ac_optarg ;;
1192 -site | --site | --sit)
1193 ac_prev=site ;;
1194 -site=* | --site=* | --sit=*)
1195 site=$ac_optarg ;;
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198 ac_prev=srcdir ;;
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 verbose=yes ;;
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1220 -with-* | --with-*)
1221 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224 as_fn_error "invalid package name: $ac_useropt"
1225 ac_useropt_orig=$ac_useropt
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1229 "with_$ac_useropt"
1230 "*) ;;
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep=', ';;
1233 esac
1234 eval with_$ac_useropt=\$ac_optarg ;;
1236 -without-* | --without-*)
1237 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240 as_fn_error "invalid package name: $ac_useropt"
1241 ac_useropt_orig=$ac_useropt
1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1245 "with_$ac_useropt"
1246 "*) ;;
1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep=', ';;
1249 esac
1250 eval with_$ac_useropt=no ;;
1252 --x)
1253 # Obsolete; use --with-x.
1254 with_x=yes ;;
1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257 | --x-incl | --x-inc | --x-in | --x-i)
1258 ac_prev=x_includes ;;
1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261 x_includes=$ac_optarg ;;
1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265 ac_prev=x_libraries ;;
1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268 x_libraries=$ac_optarg ;;
1270 -*) as_fn_error "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information."
1274 *=*)
1275 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' | [0-9]* | *[!_$as_cr_alnum]* )
1279 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1280 esac
1281 eval $ac_envvar=\$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1292 esac
1293 done
1295 if test -n "$ac_prev"; then
1296 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error "missing argument to $ac_option"
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1302 no) ;;
1303 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305 esac
1308 # Check all directory arguments for consistency.
1309 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val=\$$ac_var
1315 # Remove trailing slashes.
1316 case $ac_val in
1317 */ )
1318 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\$ac_val;;
1320 esac
1321 # Be sure to have absolute directory names.
1322 case $ac_val in
1323 [\\/$]* | ?:[\\/]* ) continue;;
1324 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325 esac
1326 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 done
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1332 build=$build_alias
1333 host=$host_alias
1334 target=$target_alias
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338 if test "x$build_alias" = x; then
1339 cross_compiling=maybe
1340 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1341 If a cross compiler is detected then cross compile mode will be used." >&2
1342 elif test "x$build_alias" != "x$host_alias"; then
1343 cross_compiling=yes
1347 ac_tool_prefix=
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1350 test "$silent" = yes && exec 6>/dev/null
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error "pwd does not report name of working directory"
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372 s//\1/
1375 /^X\(\/\/\)[^/].*/{
1376 s//\1/
1379 /^X\(\/\/\)$/{
1380 s//\1/
1383 /^X\(\/\).*/{
1384 s//\1/
1387 s/.*/./; q'`
1388 srcdir=$ac_confdir
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 srcdir=..
1392 else
1393 ac_srcdir_defaulted=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 ac_abs_confdir=`(
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1402 pwd)`
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 srcdir=.
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1410 case $srcdir in
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 esac
1413 for ac_var in $ac_precious_vars; do
1414 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_${ac_var}_value=\$${ac_var}
1416 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 done
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1426 cat <<_ACEOF
1427 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1436 Configuration:
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 [PREFIX]
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1480 _ACEOF
1482 cat <<\_ACEOF
1484 Program names:
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1489 System types:
1490 --build=BUILD configure for building on BUILD [guessed]
1491 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1492 --target=TARGET configure for building compilers for TARGET [HOST]
1493 _ACEOF
1496 if test -n "$ac_init_help"; then
1497 case $ac_init_help in
1498 short | recursive ) echo "Configuration of package-unused version-unused:";;
1499 esac
1500 cat <<\_ACEOF
1502 Optional Features:
1503 --disable-option-checking ignore unrecognized --enable/--with options
1504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506 --enable-multilib build many library versions (default)
1507 --enable-maintainer-mode enable make rules and dependencies not useful
1508 (and sometimes confusing) to the casual installer
1509 --enable-shared[=PKGS] build shared libraries [default=yes]
1510 --enable-static[=PKGS] build static libraries [default=yes]
1511 --enable-fast-install[=PKGS]
1512 optimize for fast installation [default=yes]
1513 --disable-libtool-lock avoid locking (might break parallel builds)
1514 --disable-hosted-libstdcxx
1515 only build freestanding C++ runtime support
1516 --enable-sjlj-exceptions
1517 force use of builtin_setjmp for exceptions
1518 [default=auto]
1519 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1520 [default=$is_hosted]
1521 --enable-cstdio[=PACKAGE]
1522 use target-specific I/O package [default=stdio]
1523 --enable-clocale[=MODEL]
1524 use MODEL for target locale package [default=auto]
1525 --enable-nls use Native Language Support (default)
1526 --enable-libstdcxx-allocator[=KIND]
1527 use KIND for target std::allocator base
1528 [default=auto]
1529 --enable-cheaders[=KIND]
1530 construct "C" headers for g++ [default=$c_model]
1531 --enable-long-long enable template specializations for 'long long'
1532 [default=yes]
1533 --enable-wchar_t enable template specializations for 'wchar_t'
1534 [default=yes]
1535 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1536 --enable-concept-checks use Boost-derived template checks [default=no]
1537 --enable-libstdcxx-debug-flags=FLAGS
1538 pass compiler FLAGS when building debug library
1539 [default="-g3 -O0"]
1540 --enable-libstdcxx-debug
1541 build extra debug library [default=no]
1542 --enable-cxx-flags=FLAGS
1543 pass compiler FLAGS when building library [default=]
1544 --enable-fully-dynamic-string
1545 do not put empty strings in per-process static
1546 memory [default=no]
1547 --enable-extern-template
1548 enable extern template [default=yes]
1549 --enable-libstdcxx-time[=KIND]
1550 use KIND for check type [default=no]
1551 --enable-tls Use thread-local storage [default=yes]
1552 --disable-rpath do not hardcode runtime library paths
1553 --enable-linux-futex use the Linux futex system call [default=default]
1554 --enable-symvers[=STYLE]
1555 enables symbol versioning of the shared library
1556 [default=yes]
1557 --enable-visibility enables visibility safe usage [default=yes]
1558 --enable-version-specific-runtime-libs
1559 Specify that runtime libraries should be installed
1560 in a compiler-specific directory
1562 Optional Packages:
1563 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1564 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1565 --with-target-subdir=SUBDIR
1566 configuring in a subdirectory
1567 --with-cross-host=HOST configuring with a cross compiler
1568 --with-newlib assume newlib as a system C library
1569 --with-pic try to use only PIC/non-PIC objects [default=use
1570 both]
1571 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1572 --with-gnu-ld assume the C compiler uses GNU ld default=no
1573 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1574 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1575 --with-system-libunwind use installed libunwind
1576 --with-gxx-include-dir=DIR
1577 installation directory for include files
1579 Some influential environment variables:
1580 CC C compiler command
1581 CFLAGS C compiler flags
1582 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1583 nonstandard directory <lib dir>
1584 LIBS libraries to pass to the linker, e.g. -l<library>
1585 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1586 you have headers in a nonstandard directory <include dir>
1587 CXX C++ compiler command
1588 CXXFLAGS C++ compiler flags
1589 CPP C preprocessor
1590 CXXCPP C++ preprocessor
1591 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1592 `c++filt', `gc++filt' on PATH.
1594 Use these variables to override the choices made by `configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1597 Report bugs to the package provider.
1598 _ACEOF
1599 ac_status=$?
1602 if test "$ac_init_help" = "recursive"; then
1603 # If there are subdirs, report their specific --help.
1604 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605 test -d "$ac_dir" ||
1606 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607 continue
1608 ac_builddir=.
1610 case "$ac_dir" in
1611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1614 # A ".." for each directory in $ac_dir_suffix.
1615 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1616 case $ac_top_builddir_sub in
1617 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 esac ;;
1620 esac
1621 ac_abs_top_builddir=$ac_pwd
1622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1623 # for backward compatibility:
1624 ac_top_builddir=$ac_top_build_prefix
1626 case $srcdir in
1627 .) # We are building in place.
1628 ac_srcdir=.
1629 ac_top_srcdir=$ac_top_builddir_sub
1630 ac_abs_top_srcdir=$ac_pwd ;;
1631 [\\/]* | ?:[\\/]* ) # Absolute name.
1632 ac_srcdir=$srcdir$ac_dir_suffix;
1633 ac_top_srcdir=$srcdir
1634 ac_abs_top_srcdir=$srcdir ;;
1635 *) # Relative name.
1636 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1637 ac_top_srcdir=$ac_top_build_prefix$srcdir
1638 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 esac
1640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1642 cd "$ac_dir" || { ac_status=$?; continue; }
1643 # Check for guested configure.
1644 if test -f "$ac_srcdir/configure.gnu"; then
1645 echo &&
1646 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1647 elif test -f "$ac_srcdir/configure"; then
1648 echo &&
1649 $SHELL "$ac_srcdir/configure" --help=recursive
1650 else
1651 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 fi || ac_status=$?
1653 cd "$ac_pwd" || { ac_status=$?; break; }
1654 done
1657 test -n "$ac_init_help" && exit $ac_status
1658 if $ac_init_version; then
1659 cat <<\_ACEOF
1660 package-unused configure version-unused
1661 generated by GNU Autoconf 2.64
1663 Copyright (C) 2009 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1666 _ACEOF
1667 exit
1670 ## ------------------------ ##
1671 ## Autoconf initialization. ##
1672 ## ------------------------ ##
1674 # ac_fn_c_try_compile LINENO
1675 # --------------------------
1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_c_try_compile ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 rm -f conftest.$ac_objext
1681 if { { ac_try="$ac_compile"
1682 case "(($ac_try" in
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_compile") 2>conftest.err
1689 ac_status=$?
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && {
1697 test -z "$ac_c_werror_flag" ||
1698 test ! -s conftest.err
1699 } && test -s conftest.$ac_objext; then :
1700 ac_retval=0
1701 else
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1705 ac_retval=1
1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708 return $ac_retval
1710 } # ac_fn_c_try_compile
1712 # ac_fn_cxx_try_compile LINENO
1713 # ----------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_cxx_try_compile ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_cxx_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1743 ac_retval=1
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1748 } # ac_fn_cxx_try_compile
1750 # ac_fn_c_try_cpp LINENO
1751 # ----------------------
1752 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_c_try_cpp ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_cpp conftest.$ac_ext"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764 ac_status=$?
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } >/dev/null && {
1772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1774 }; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1780 ac_retval=1
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 return $ac_retval
1785 } # ac_fn_c_try_cpp
1787 # ac_fn_c_try_link LINENO
1788 # -----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_link ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 rm -f conftest.$ac_objext conftest$ac_exeext
1794 if { { ac_try="$ac_link"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest$ac_exeext && {
1813 test "$cross_compiling" = yes ||
1814 $as_test_x conftest$ac_exeext
1815 }; then :
1816 ac_retval=0
1817 else
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1821 ac_retval=1
1823 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825 # interfere with the next link command; also delete a directory that is
1826 # left behind by Apple's compiler. We do this before executing the actions.
1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829 return $ac_retval
1831 } # ac_fn_c_try_link
1833 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1834 # -------------------------------------------------------
1835 # Tests whether HEADER exists and can be compiled using the include files in
1836 # INCLUDES, setting the cache variable VAR accordingly.
1837 ac_fn_c_check_header_compile ()
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1843 $as_echo_n "(cached) " >&6
1844 else
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1848 #include <$2>
1849 _ACEOF
1850 if ac_fn_c_try_compile "$LINENO"; then :
1851 eval "$3=yes"
1852 else
1853 eval "$3=no"
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 eval ac_res=\$$3
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1862 } # ac_fn_c_check_header_compile
1864 # ac_fn_c_try_run LINENO
1865 # ----------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1868 ac_fn_c_try_run ()
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 if { { ac_try="$ac_link"
1872 case "(($ac_try" in
1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1875 esac
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_link") 2>&5
1879 ac_status=$?
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882 { { case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_try") 2>&5
1889 ac_status=$?
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; }; }; then :
1892 ac_retval=0
1893 else
1894 $as_echo "$as_me: program exited with status $ac_status" >&5
1895 $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1898 ac_retval=$ac_status
1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 return $ac_retval
1904 } # ac_fn_c_try_run
1906 # ac_fn_c_check_func LINENO FUNC VAR
1907 # ----------------------------------
1908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1909 ac_fn_c_check_func ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915 $as_echo_n "(cached) " >&6
1916 else
1917 if test x$gcc_no_link = xyes; then
1918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1924 #define $2 innocuous_$2
1926 /* System header to define __stub macros and hopefully few prototypes,
1927 which can conflict with char $2 (); below.
1928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929 <limits.h> exists even on freestanding compilers. */
1931 #ifdef __STDC__
1932 # include <limits.h>
1933 #else
1934 # include <assert.h>
1935 #endif
1937 #undef $2
1939 /* Override any GCC internal prototype to avoid an error.
1940 Use char because int might match the return type of a GCC
1941 builtin and then its argument prototype would still apply. */
1942 #ifdef __cplusplus
1943 extern "C"
1944 #endif
1945 char $2 ();
1946 /* The GNU C library defines this for functions which it implements
1947 to always fail with ENOSYS. Some functions are actually named
1948 something starting with __ and the normal name is an alias. */
1949 #if defined __stub_$2 || defined __stub___$2
1950 choke me
1951 #endif
1954 main ()
1956 return $2 ();
1958 return 0;
1960 _ACEOF
1961 if ac_fn_c_try_link "$LINENO"; then :
1962 eval "$3=yes"
1963 else
1964 eval "$3=no"
1966 rm -f core conftest.err conftest.$ac_objext \
1967 conftest$ac_exeext conftest.$ac_ext
1969 eval ac_res=\$$3
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974 } # ac_fn_c_check_func
1976 # ac_fn_cxx_try_cpp LINENO
1977 # ------------------------
1978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_cpp ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if { { ac_try="$ac_cpp conftest.$ac_ext"
1983 case "(($ac_try" in
1984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985 *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1990 ac_status=$?
1991 if test -s conftest.err; then
1992 grep -v '^ *+' conftest.err >conftest.er1
1993 cat conftest.er1 >&5
1994 mv -f conftest.er1 conftest.err
1996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997 test $ac_status = 0; } >/dev/null && {
1998 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1999 test ! -s conftest.err
2000 }; then :
2001 ac_retval=0
2002 else
2003 $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2006 ac_retval=1
2008 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009 return $ac_retval
2011 } # ac_fn_cxx_try_cpp
2013 # ac_fn_cxx_try_link LINENO
2014 # -------------------------
2015 # Try to link conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_link ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 rm -f conftest.$ac_objext conftest$ac_exeext
2020 if { { ac_try="$ac_link"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_link") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } && {
2036 test -z "$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 } && test -s conftest$ac_exeext && {
2039 test "$cross_compiling" = yes ||
2040 $as_test_x conftest$ac_exeext
2041 }; then :
2042 ac_retval=0
2043 else
2044 $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2047 ac_retval=1
2049 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2050 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2051 # interfere with the next link command; also delete a directory that is
2052 # left behind by Apple's compiler. We do this before executing the actions.
2053 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2054 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055 return $ac_retval
2057 } # ac_fn_cxx_try_link
2059 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2060 # -------------------------------------------------------
2061 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2062 # the include files in INCLUDES and setting the cache variable VAR
2063 # accordingly.
2064 ac_fn_c_check_header_mongrel ()
2066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2071 $as_echo_n "(cached) " >&6
2073 eval ac_res=\$$3
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 else
2077 # Is the header compilable?
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2079 $as_echo_n "checking $2 usability... " >&6; }
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2083 #include <$2>
2084 _ACEOF
2085 if ac_fn_c_try_compile "$LINENO"; then :
2086 ac_header_compiler=yes
2087 else
2088 ac_header_compiler=no
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2092 $as_echo "$ac_header_compiler" >&6; }
2094 # Is the header present?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2096 $as_echo_n "checking $2 presence... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2099 #include <$2>
2100 _ACEOF
2101 if ac_fn_c_try_cpp "$LINENO"; then :
2102 ac_header_preproc=yes
2103 else
2104 ac_header_preproc=no
2106 rm -f conftest.err conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2108 $as_echo "$ac_header_preproc" >&6; }
2110 # So? What about this header?
2111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2112 yes:no: )
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2114 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2116 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2118 no:yes:* )
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2120 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2122 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2124 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2126 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2130 esac
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2132 $as_echo_n "checking for $2... " >&6; }
2133 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2134 $as_echo_n "(cached) " >&6
2135 else
2136 eval "$3=\$ac_header_compiler"
2138 eval ac_res=\$$3
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2142 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2144 } # ac_fn_c_check_header_mongrel
2146 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2147 # ---------------------------------------------------------
2148 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2149 # the include files in INCLUDES and setting the cache variable VAR
2150 # accordingly.
2151 ac_fn_cxx_check_header_mongrel ()
2153 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2154 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2160 eval ac_res=\$$3
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 else
2164 # Is the header compilable?
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2166 $as_echo_n "checking $2 usability... " >&6; }
2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2170 #include <$2>
2171 _ACEOF
2172 if ac_fn_cxx_try_compile "$LINENO"; then :
2173 ac_header_compiler=yes
2174 else
2175 ac_header_compiler=no
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2179 $as_echo "$ac_header_compiler" >&6; }
2181 # Is the header present?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2183 $as_echo_n "checking $2 presence... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 #include <$2>
2187 _ACEOF
2188 if ac_fn_cxx_try_cpp "$LINENO"; then :
2189 ac_header_preproc=yes
2190 else
2191 ac_header_preproc=no
2193 rm -f conftest.err conftest.$ac_ext
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2195 $as_echo "$ac_header_preproc" >&6; }
2197 # So? What about this header?
2198 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2199 yes:no: )
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2201 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2203 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2205 no:yes:* )
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2207 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2209 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2211 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2213 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2217 esac
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2219 $as_echo_n "checking for $2... " >&6; }
2220 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2221 $as_echo_n "(cached) " >&6
2222 else
2223 eval "$3=\$ac_header_compiler"
2225 eval ac_res=\$$3
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2229 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2231 } # ac_fn_cxx_check_header_mongrel
2233 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2234 # --------------------------------------------
2235 # Tries to find the compile-time value of EXPR in a program that includes
2236 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2237 # computed
2238 ac_fn_c_compute_int ()
2240 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2241 if test "$cross_compiling" = yes; then
2242 # Depending upon the size, compute the lo and hi bounds.
2243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244 /* end confdefs.h. */
2247 main ()
2249 static int test_array [1 - 2 * !(($2) >= 0)];
2250 test_array [0] = 0
2253 return 0;
2255 _ACEOF
2256 if ac_fn_c_try_compile "$LINENO"; then :
2257 ac_lo=0 ac_mid=0
2258 while :; do
2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2263 main ()
2265 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2266 test_array [0] = 0
2269 return 0;
2271 _ACEOF
2272 if ac_fn_c_try_compile "$LINENO"; then :
2273 ac_hi=$ac_mid; break
2274 else
2275 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2276 if test $ac_lo -le $ac_mid; then
2277 ac_lo= ac_hi=
2278 break
2280 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2283 done
2284 else
2285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h. */
2289 main ()
2291 static int test_array [1 - 2 * !(($2) < 0)];
2292 test_array [0] = 0
2295 return 0;
2297 _ACEOF
2298 if ac_fn_c_try_compile "$LINENO"; then :
2299 ac_hi=-1 ac_mid=-1
2300 while :; do
2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2305 main ()
2307 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2308 test_array [0] = 0
2311 return 0;
2313 _ACEOF
2314 if ac_fn_c_try_compile "$LINENO"; then :
2315 ac_lo=$ac_mid; break
2316 else
2317 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2318 if test $ac_mid -le $ac_hi; then
2319 ac_lo= ac_hi=
2320 break
2322 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 done
2326 else
2327 ac_lo= ac_hi=
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332 # Binary search between lo and hi bounds.
2333 while test "x$ac_lo" != "x$ac_hi"; do
2334 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2339 main ()
2341 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2342 test_array [0] = 0
2345 return 0;
2347 _ACEOF
2348 if ac_fn_c_try_compile "$LINENO"; then :
2349 ac_hi=$ac_mid
2350 else
2351 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 done
2355 case $ac_lo in #((
2356 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2357 '') ac_retval=1 ;;
2358 esac
2359 else
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2363 static long int longval () { return $2; }
2364 static unsigned long int ulongval () { return $2; }
2365 #include <stdio.h>
2366 #include <stdlib.h>
2368 main ()
2371 FILE *f = fopen ("conftest.val", "w");
2372 if (! f)
2373 return 1;
2374 if (($2) < 0)
2376 long int i = longval ();
2377 if (i != ($2))
2378 return 1;
2379 fprintf (f, "%ld", i);
2381 else
2383 unsigned long int i = ulongval ();
2384 if (i != ($2))
2385 return 1;
2386 fprintf (f, "%lu", i);
2388 /* Do not output a trailing newline, as this causes \r\n confusion
2389 on some platforms. */
2390 return ferror (f) || fclose (f) != 0;
2393 return 0;
2395 _ACEOF
2396 if ac_fn_c_try_run "$LINENO"; then :
2397 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2398 else
2399 ac_retval=1
2401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2402 conftest.$ac_objext conftest.beam conftest.$ac_ext
2403 rm -f conftest.val
2406 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407 return $ac_retval
2409 } # ac_fn_c_compute_int
2411 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2412 # -------------------------------------------
2413 # Tests whether TYPE exists after having included INCLUDES, setting cache
2414 # variable VAR accordingly.
2415 ac_fn_c_check_type ()
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2419 $as_echo_n "checking for $2... " >&6; }
2420 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2421 $as_echo_n "(cached) " >&6
2422 else
2423 eval "$3=no"
2424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2428 main ()
2430 if (sizeof ($2))
2431 return 0;
2433 return 0;
2435 _ACEOF
2436 if ac_fn_c_try_compile "$LINENO"; then :
2437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2438 /* end confdefs.h. */
2441 main ()
2443 if (sizeof (($2)))
2444 return 0;
2446 return 0;
2448 _ACEOF
2449 if ac_fn_c_try_compile "$LINENO"; then :
2451 else
2452 eval "$3=yes"
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 eval ac_res=\$$3
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2460 $as_echo "$ac_res" >&6; }
2461 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2463 } # ac_fn_c_check_type
2464 cat >config.log <<_ACEOF
2465 This file contains any messages produced by compilers while
2466 running configure, to aid debugging if configure makes a mistake.
2468 It was created by package-unused $as_me version-unused, which was
2469 generated by GNU Autoconf 2.64. Invocation command line was
2471 $ $0 $@
2473 _ACEOF
2474 exec 5>>config.log
2476 cat <<_ASUNAME
2477 ## --------- ##
2478 ## Platform. ##
2479 ## --------- ##
2481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2488 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2490 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2491 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2493 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2494 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2495 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2496 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2498 _ASUNAME
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 for as_dir in $PATH
2503 IFS=$as_save_IFS
2504 test -z "$as_dir" && as_dir=.
2505 $as_echo "PATH: $as_dir"
2506 done
2507 IFS=$as_save_IFS
2509 } >&5
2511 cat >&5 <<_ACEOF
2514 ## ----------- ##
2515 ## Core tests. ##
2516 ## ----------- ##
2518 _ACEOF
2521 # Keep a trace of the command line.
2522 # Strip out --no-create and --no-recursion so they do not pile up.
2523 # Strip out --silent because we don't want to record it for future runs.
2524 # Also quote any args containing shell meta-characters.
2525 # Make two passes to allow for proper duplicate-argument suppression.
2526 ac_configure_args=
2527 ac_configure_args0=
2528 ac_configure_args1=
2529 ac_must_keep_next=false
2530 for ac_pass in 1 2
2532 for ac_arg
2534 case $ac_arg in
2535 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2537 | -silent | --silent | --silen | --sile | --sil)
2538 continue ;;
2539 *\'*)
2540 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2541 esac
2542 case $ac_pass in
2543 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2545 as_fn_append ac_configure_args1 " '$ac_arg'"
2546 if test $ac_must_keep_next = true; then
2547 ac_must_keep_next=false # Got value, back to normal.
2548 else
2549 case $ac_arg in
2550 *=* | --config-cache | -C | -disable-* | --disable-* \
2551 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2552 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2553 | -with-* | --with-* | -without-* | --without-* | --x)
2554 case "$ac_configure_args0 " in
2555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2556 esac
2558 -* ) ac_must_keep_next=true ;;
2559 esac
2561 as_fn_append ac_configure_args " '$ac_arg'"
2563 esac
2564 done
2565 done
2566 { ac_configure_args0=; unset ac_configure_args0;}
2567 { ac_configure_args1=; unset ac_configure_args1;}
2569 # When interrupted or exit'd, cleanup temporary files, and complete
2570 # config.log. We remove comments because anyway the quotes in there
2571 # would cause problems or look ugly.
2572 # WARNING: Use '\'' to represent an apostrophe within the trap.
2573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2574 trap 'exit_status=$?
2575 # Save into config.log some information that might help in debugging.
2577 echo
2579 cat <<\_ASBOX
2580 ## ---------------- ##
2581 ## Cache variables. ##
2582 ## ---------------- ##
2583 _ASBOX
2584 echo
2585 # The following way of writing the cache mishandles newlines in values,
2587 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2588 eval ac_val=\$$ac_var
2589 case $ac_val in #(
2590 *${as_nl}*)
2591 case $ac_var in #(
2592 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2594 esac
2595 case $ac_var in #(
2596 _ | IFS | as_nl) ;; #(
2597 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2598 *) { eval $ac_var=; unset $ac_var;} ;;
2599 esac ;;
2600 esac
2601 done
2602 (set) 2>&1 |
2603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2604 *${as_nl}ac_space=\ *)
2605 sed -n \
2606 "s/'\''/'\''\\\\'\'''\''/g;
2607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2608 ;; #(
2610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2612 esac |
2613 sort
2615 echo
2617 cat <<\_ASBOX
2618 ## ----------------- ##
2619 ## Output variables. ##
2620 ## ----------------- ##
2621 _ASBOX
2622 echo
2623 for ac_var in $ac_subst_vars
2625 eval ac_val=\$$ac_var
2626 case $ac_val in
2627 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2628 esac
2629 $as_echo "$ac_var='\''$ac_val'\''"
2630 done | sort
2631 echo
2633 if test -n "$ac_subst_files"; then
2634 cat <<\_ASBOX
2635 ## ------------------- ##
2636 ## File substitutions. ##
2637 ## ------------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_files
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2651 if test -s confdefs.h; then
2652 cat <<\_ASBOX
2653 ## ----------- ##
2654 ## confdefs.h. ##
2655 ## ----------- ##
2656 _ASBOX
2657 echo
2658 cat confdefs.h
2659 echo
2661 test "$ac_signal" != 0 &&
2662 $as_echo "$as_me: caught signal $ac_signal"
2663 $as_echo "$as_me: exit $exit_status"
2664 } >&5
2665 rm -f core *.core core.conftest.* &&
2666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2667 exit $exit_status
2669 for ac_signal in 1 2 13 15; do
2670 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2671 done
2672 ac_signal=0
2674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2675 rm -f -r conftest* confdefs.h
2677 $as_echo "/* confdefs.h */" > confdefs.h
2679 # Predefined preprocessor variables.
2681 cat >>confdefs.h <<_ACEOF
2682 #define PACKAGE_NAME "$PACKAGE_NAME"
2683 _ACEOF
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2687 _ACEOF
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2691 _ACEOF
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_STRING "$PACKAGE_STRING"
2695 _ACEOF
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2699 _ACEOF
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_URL "$PACKAGE_URL"
2703 _ACEOF
2706 # Let the site file select an alternate cache file if it wants to.
2707 # Prefer an explicitly selected file to automatically selected ones.
2708 ac_site_file1=NONE
2709 ac_site_file2=NONE
2710 if test -n "$CONFIG_SITE"; then
2711 ac_site_file1=$CONFIG_SITE
2712 elif test "x$prefix" != xNONE; then
2713 ac_site_file1=$prefix/share/config.site
2714 ac_site_file2=$prefix/etc/config.site
2715 else
2716 ac_site_file1=$ac_default_prefix/share/config.site
2717 ac_site_file2=$ac_default_prefix/etc/config.site
2719 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2721 test "x$ac_site_file" = xNONE && continue
2722 if test -r "$ac_site_file"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2724 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2725 sed 's/^/| /' "$ac_site_file" >&5
2726 . "$ac_site_file"
2728 done
2730 if test -r "$cache_file"; then
2731 # Some versions of bash will fail to source /dev/null (special
2732 # files actually), so we avoid doing that.
2733 if test -f "$cache_file"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2735 $as_echo "$as_me: loading cache $cache_file" >&6;}
2736 case $cache_file in
2737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2738 *) . "./$cache_file";;
2739 esac
2741 else
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2743 $as_echo "$as_me: creating cache $cache_file" >&6;}
2744 >$cache_file
2747 # Check that the precious variables saved in the cache have kept the same
2748 # value.
2749 ac_cache_corrupted=false
2750 for ac_var in $ac_precious_vars; do
2751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2752 eval ac_new_set=\$ac_env_${ac_var}_set
2753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2754 eval ac_new_val=\$ac_env_${ac_var}_value
2755 case $ac_old_set,$ac_new_set in
2756 set,)
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2759 ac_cache_corrupted=: ;;
2760 ,set)
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2763 ac_cache_corrupted=: ;;
2764 ,);;
2766 if test "x$ac_old_val" != "x$ac_new_val"; then
2767 # differences in whitespace do not lead to failure.
2768 ac_old_val_w=`echo x $ac_old_val`
2769 ac_new_val_w=`echo x $ac_new_val`
2770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2773 ac_cache_corrupted=:
2774 else
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2777 eval $ac_var=\$ac_old_val
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2783 fi;;
2784 esac
2785 # Pass precious variables to config.status.
2786 if test "$ac_new_set" = set; then
2787 case $ac_new_val in
2788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2789 *) ac_arg=$ac_var=$ac_new_val ;;
2790 esac
2791 case " $ac_configure_args " in
2792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2793 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2794 esac
2796 done
2797 if $ac_cache_corrupted; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2802 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2804 ## -------------------- ##
2805 ## Main body of script. ##
2806 ## -------------------- ##
2808 ac_ext=c
2809 ac_cpp='$CPP $CPPFLAGS'
2810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2819 ac_config_headers="$ac_config_headers config.h"
2822 # This works around the fact that libtool configuration may change LD
2823 # for this particular configuration, but some shells, instead of
2824 # keeping the changes in LD private, export them just because LD is
2825 # exported. Only used at the end of this file.
2826 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2828 # For libtool versioning info, format is CURRENT:REVISION:AGE
2829 libtool_VERSION=6:17:0
2832 # Find the rest of the source tree framework.
2833 # Default to --enable-multilib
2834 # Check whether --enable-multilib was given.
2835 if test "${enable_multilib+set}" = set; then :
2836 enableval=$enable_multilib; case "$enableval" in
2837 yes) multilib=yes ;;
2838 no) multilib=no ;;
2839 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2840 esac
2841 else
2842 multilib=yes
2846 # We may get other options which we leave undocumented:
2847 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2848 # See config-ml.in if you want the gory details.
2850 if test "$srcdir" = "."; then
2851 if test "$with_target_subdir" != "."; then
2852 multi_basedir="$srcdir/$with_multisrctop../.."
2853 else
2854 multi_basedir="$srcdir/$with_multisrctop.."
2856 else
2857 multi_basedir="$srcdir/.."
2861 # Even if the default multilib is not a cross compilation,
2862 # it may be that some of the other multilibs are.
2863 if test $cross_compiling = no && test $multilib = yes \
2864 && test "x${with_multisubdir}" != x ; then
2865 cross_compiling=maybe
2868 ac_config_commands="$ac_config_commands default-1"
2871 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2873 # You will slowly go insane if you do not grok the following fact: when
2874 # building v3 as part of the compiler, the top-level /target/ becomes the
2875 # library's /host/. configure then causes --target to default to --host,
2876 # exactly like any other package using autoconf. Therefore, 'target' and
2877 # 'host' will always be the same. This makes sense both for native and
2878 # cross compilers, just think about it for a little while. :-)
2880 # Also, if v3 is being configured as part of a cross compiler, the top-level
2881 # configure script will pass the "real" host as $with_cross_host.
2883 # Do not delete or change the following two lines. For why, see
2884 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2885 ac_aux_dir=
2886 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2887 for ac_t in install-sh install.sh shtool; do
2888 if test -f "$ac_dir/$ac_t"; then
2889 ac_aux_dir=$ac_dir
2890 ac_install_sh="$ac_aux_dir/$ac_t -c"
2891 break 2
2893 done
2894 done
2895 if test -z "$ac_aux_dir"; then
2896 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2899 # These three variables are undocumented and unsupported,
2900 # and are intended to be withdrawn in a future Autoconf release.
2901 # They can cause serious problems if a builder's source tree is in a directory
2902 # whose full name contains unusual characters.
2903 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2904 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2905 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2908 # Make sure we can run config.sub.
2909 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2910 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2913 $as_echo_n "checking build system type... " >&6; }
2914 if test "${ac_cv_build+set}" = set; then :
2915 $as_echo_n "(cached) " >&6
2916 else
2917 ac_build_alias=$build_alias
2918 test "x$ac_build_alias" = x &&
2919 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2920 test "x$ac_build_alias" = x &&
2921 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2922 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2923 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2927 $as_echo "$ac_cv_build" >&6; }
2928 case $ac_cv_build in
2929 *-*-*) ;;
2930 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2931 esac
2932 build=$ac_cv_build
2933 ac_save_IFS=$IFS; IFS='-'
2934 set x $ac_cv_build
2935 shift
2936 build_cpu=$1
2937 build_vendor=$2
2938 shift; shift
2939 # Remember, the first character of IFS is used to create $*,
2940 # except with old shells:
2941 build_os=$*
2942 IFS=$ac_save_IFS
2943 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2947 $as_echo_n "checking host system type... " >&6; }
2948 if test "${ac_cv_host+set}" = set; then :
2949 $as_echo_n "(cached) " >&6
2950 else
2951 if test "x$host_alias" = x; then
2952 ac_cv_host=$ac_cv_build
2953 else
2954 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2955 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2960 $as_echo "$ac_cv_host" >&6; }
2961 case $ac_cv_host in
2962 *-*-*) ;;
2963 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2964 esac
2965 host=$ac_cv_host
2966 ac_save_IFS=$IFS; IFS='-'
2967 set x $ac_cv_host
2968 shift
2969 host_cpu=$1
2970 host_vendor=$2
2971 shift; shift
2972 # Remember, the first character of IFS is used to create $*,
2973 # except with old shells:
2974 host_os=$*
2975 IFS=$ac_save_IFS
2976 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2980 $as_echo_n "checking target system type... " >&6; }
2981 if test "${ac_cv_target+set}" = set; then :
2982 $as_echo_n "(cached) " >&6
2983 else
2984 if test "x$target_alias" = x; then
2985 ac_cv_target=$ac_cv_host
2986 else
2987 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2988 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2993 $as_echo "$ac_cv_target" >&6; }
2994 case $ac_cv_target in
2995 *-*-*) ;;
2996 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2997 esac
2998 target=$ac_cv_target
2999 ac_save_IFS=$IFS; IFS='-'
3000 set x $ac_cv_target
3001 shift
3002 target_cpu=$1
3003 target_vendor=$2
3004 shift; shift
3005 # Remember, the first character of IFS is used to create $*,
3006 # except with old shells:
3007 target_os=$*
3008 IFS=$ac_save_IFS
3009 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3012 # The aliases save the names the user supplied, while $host etc.
3013 # will get canonicalized.
3014 test -n "$target_alias" &&
3015 test "$program_prefix$program_suffix$program_transform_name" = \
3016 NONENONEs,x,x, &&
3017 program_prefix=${target_alias}-
3019 target_alias=${target_alias-$host_alias}
3021 # Handy for debugging:
3022 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3024 if test "$build" != "$host"; then
3025 # We are being configured with some form of cross compiler.
3026 GLIBCXX_IS_NATIVE=false
3027 case "$host","$target" in
3028 # Darwin crosses can use the host system's libraries and headers,
3029 # because of the fat library support. Of course, it must be the
3030 # same version of Darwin on both sides. Allow the user to
3031 # just say --target=foo-darwin without a version number to mean
3032 # "the version on this system".
3033 *-*-darwin*,*-*-darwin*)
3034 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3035 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3036 if test $hostos = $targetos -o $targetos = darwin ; then
3037 GLIBCXX_IS_NATIVE=true
3044 esac
3045 else
3046 GLIBCXX_IS_NATIVE=true
3049 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3050 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3051 # 1.x: minimum required version
3052 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3053 # of other PACKAGE_* variables will, however, and there's nothing
3054 # we can do about that; they come from AC_INIT).
3055 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3056 # file in the top srcdir, etc, etc), so stop complaining.
3057 # no-dependencies: turns off auto dependency generation (just for now)
3058 # no-dist: we don't want 'dist' and related rules.
3059 # -Wall: turns on all automake warnings...
3060 # -Wno-portability: ...except this one, since GNU make is now required.
3061 am__api_version='1.11'
3063 # Find a good install program. We prefer a C program (faster),
3064 # so one script is as good as another. But avoid the broken or
3065 # incompatible versions:
3066 # SysV /etc/install, /usr/sbin/install
3067 # SunOS /usr/etc/install
3068 # IRIX /sbin/install
3069 # AIX /bin/install
3070 # AmigaOS /C/install, which installs bootblocks on floppy discs
3071 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3072 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3073 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3074 # OS/2's system install, which has a completely different semantic
3075 # ./install, which can be erroneously created by make from ./install.sh.
3076 # Reject install programs that cannot install multiple files.
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3078 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3079 if test -z "$INSTALL"; then
3080 if test "${ac_cv_path_install+set}" = set; then :
3081 $as_echo_n "(cached) " >&6
3082 else
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 for as_dir in $PATH
3086 IFS=$as_save_IFS
3087 test -z "$as_dir" && as_dir=.
3088 # Account for people who put trailing slashes in PATH elements.
3089 case $as_dir/ in #((
3090 ./ | .// | /[cC]/* | \
3091 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3092 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3093 /usr/ucb/* ) ;;
3095 # OSF1 and SCO ODT 3.0 have their own names for install.
3096 # Don't use installbsd from OSF since it installs stuff as root
3097 # by default.
3098 for ac_prog in ginstall scoinst install; do
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3101 if test $ac_prog = install &&
3102 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3103 # AIX install. It has an incompatible calling convention.
3105 elif test $ac_prog = install &&
3106 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3107 # program-specific install script used by HP pwplus--don't use.
3109 else
3110 rm -rf conftest.one conftest.two conftest.dir
3111 echo one > conftest.one
3112 echo two > conftest.two
3113 mkdir conftest.dir
3114 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3115 test -s conftest.one && test -s conftest.two &&
3116 test -s conftest.dir/conftest.one &&
3117 test -s conftest.dir/conftest.two
3118 then
3119 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3120 break 3
3124 done
3125 done
3127 esac
3129 done
3130 IFS=$as_save_IFS
3132 rm -rf conftest.one conftest.two conftest.dir
3135 if test "${ac_cv_path_install+set}" = set; then
3136 INSTALL=$ac_cv_path_install
3137 else
3138 # As a last resort, use the slow shell script. Don't cache a
3139 # value for INSTALL within a source directory, because that will
3140 # break other packages using the cache if that directory is
3141 # removed, or if the value is a relative name.
3142 INSTALL=$ac_install_sh
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3146 $as_echo "$INSTALL" >&6; }
3148 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3149 # It thinks the first close brace ends the variable substitution.
3150 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3152 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3154 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3157 $as_echo_n "checking whether build environment is sane... " >&6; }
3158 # Just in case
3159 sleep 1
3160 echo timestamp > conftest.file
3161 # Reject unsafe characters in $srcdir or the absolute working directory
3162 # name. Accept space and tab only in the latter.
3163 am_lf='
3165 case `pwd` in
3166 *[\\\"\#\$\&\'\`$am_lf]*)
3167 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3168 esac
3169 case $srcdir in
3170 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3171 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3172 esac
3174 # Do `set' in a subshell so we don't clobber the current shell's
3175 # arguments. Must try -L first in case configure is actually a
3176 # symlink; some systems play weird games with the mod time of symlinks
3177 # (eg FreeBSD returns the mod time of the symlink's containing
3178 # directory).
3179 if (
3180 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3181 if test "$*" = "X"; then
3182 # -L didn't work.
3183 set X `ls -t "$srcdir/configure" conftest.file`
3185 rm -f conftest.file
3186 if test "$*" != "X $srcdir/configure conftest.file" \
3187 && test "$*" != "X conftest.file $srcdir/configure"; then
3189 # If neither matched, then we have a broken ls. This can happen
3190 # if, for instance, CONFIG_SHELL is bash and it inherits a
3191 # broken ls alias from the environment. This has actually
3192 # happened. Such a system could not be considered "sane".
3193 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3194 alias in your environment" "$LINENO" 5
3197 test "$2" = conftest.file
3199 then
3200 # Ok.
3202 else
3203 as_fn_error "newly created file is older than distributed files!
3204 Check your system clock" "$LINENO" 5
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3207 $as_echo "yes" >&6; }
3208 test "$program_prefix" != NONE &&
3209 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3210 # Use a double $ so make ignores it.
3211 test "$program_suffix" != NONE &&
3212 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3213 # Double any \ or $.
3214 # By default was `s,x,x', remove it if useless.
3215 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3216 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3218 # expand $ac_aux_dir to an absolute path
3219 am_aux_dir=`cd $ac_aux_dir && pwd`
3221 if test x"${MISSING+set}" != xset; then
3222 case $am_aux_dir in
3223 *\ * | *\ *)
3224 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3226 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3227 esac
3229 # Use eval to expand $SHELL
3230 if eval "$MISSING --run true"; then
3231 am_missing_run="$MISSING --run "
3232 else
3233 am_missing_run=
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3235 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3238 if test x"${install_sh}" != xset; then
3239 case $am_aux_dir in
3240 *\ * | *\ *)
3241 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3243 install_sh="\${SHELL} $am_aux_dir/install-sh"
3244 esac
3247 # Installed binaries are usually stripped using `strip' when the user
3248 # run `make install-strip'. However `strip' might not be the right
3249 # tool to use in cross-compilation environments, therefore Automake
3250 # will honor the `STRIP' environment variable to overrule this program.
3251 if test "$cross_compiling" != no; then
3252 if test -n "$ac_tool_prefix"; then
3253 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3254 set dummy ${ac_tool_prefix}strip; ac_word=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if test "${ac_cv_prog_STRIP+set}" = set; then :
3258 $as_echo_n "(cached) " >&6
3259 else
3260 if test -n "$STRIP"; then
3261 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3262 else
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 for as_dir in $PATH
3266 IFS=$as_save_IFS
3267 test -z "$as_dir" && as_dir=.
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 break 2
3274 done
3275 done
3276 IFS=$as_save_IFS
3280 STRIP=$ac_cv_prog_STRIP
3281 if test -n "$STRIP"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3283 $as_echo "$STRIP" >&6; }
3284 else
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3291 if test -z "$ac_cv_prog_STRIP"; then
3292 ac_ct_STRIP=$STRIP
3293 # Extract the first word of "strip", so it can be a program name with args.
3294 set dummy strip; ac_word=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3298 $as_echo_n "(cached) " >&6
3299 else
3300 if test -n "$ac_ct_STRIP"; then
3301 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3302 else
3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304 for as_dir in $PATH
3306 IFS=$as_save_IFS
3307 test -z "$as_dir" && as_dir=.
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3310 ac_cv_prog_ac_ct_STRIP="strip"
3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3312 break 2
3314 done
3315 done
3316 IFS=$as_save_IFS
3320 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3321 if test -n "$ac_ct_STRIP"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3323 $as_echo "$ac_ct_STRIP" >&6; }
3324 else
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3329 if test "x$ac_ct_STRIP" = x; then
3330 STRIP=":"
3331 else
3332 case $cross_compiling:$ac_tool_warned in
3333 yes:)
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3336 ac_tool_warned=yes ;;
3337 esac
3338 STRIP=$ac_ct_STRIP
3340 else
3341 STRIP="$ac_cv_prog_STRIP"
3345 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3348 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3349 if test -z "$MKDIR_P"; then
3350 if test "${ac_cv_path_mkdir+set}" = set; then :
3351 $as_echo_n "(cached) " >&6
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_prog in mkdir gmkdir; do
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3361 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3362 'mkdir (GNU coreutils) '* | \
3363 'mkdir (coreutils) '* | \
3364 'mkdir (fileutils) '4.1*)
3365 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3366 break 3;;
3367 esac
3368 done
3369 done
3370 done
3371 IFS=$as_save_IFS
3375 if test "${ac_cv_path_mkdir+set}" = set; then
3376 MKDIR_P="$ac_cv_path_mkdir -p"
3377 else
3378 # As a last resort, use the slow shell script. Don't cache a
3379 # value for MKDIR_P within a source directory, because that will
3380 # break other packages using the cache if that directory is
3381 # removed, or if the value is a relative name.
3382 test -d ./--version && rmdir ./--version
3383 MKDIR_P="$ac_install_sh -d"
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3387 $as_echo "$MKDIR_P" >&6; }
3389 mkdir_p="$MKDIR_P"
3390 case $mkdir_p in
3391 [\\/$]* | ?:[\\/]*) ;;
3392 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3393 esac
3395 for ac_prog in gawk mawk nawk awk
3397 # Extract the first word of "$ac_prog", so it can be a program name with args.
3398 set dummy $ac_prog; ac_word=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if test "${ac_cv_prog_AWK+set}" = set; then :
3402 $as_echo_n "(cached) " >&6
3403 else
3404 if test -n "$AWK"; then
3405 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3406 else
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 for as_dir in $PATH
3410 IFS=$as_save_IFS
3411 test -z "$as_dir" && as_dir=.
3412 for ac_exec_ext in '' $ac_executable_extensions; do
3413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3414 ac_cv_prog_AWK="$ac_prog"
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416 break 2
3418 done
3419 done
3420 IFS=$as_save_IFS
3424 AWK=$ac_cv_prog_AWK
3425 if test -n "$AWK"; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3427 $as_echo "$AWK" >&6; }
3428 else
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3434 test -n "$AWK" && break
3435 done
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3438 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3439 set x ${MAKE-make}
3440 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3441 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 cat >conftest.make <<\_ACEOF
3445 SHELL = /bin/sh
3446 all:
3447 @echo '@@@%%%=$(MAKE)=@@@%%%'
3448 _ACEOF
3449 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3450 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3451 *@@@%%%=?*=@@@%%%*)
3452 eval ac_cv_prog_make_${ac_make}_set=yes;;
3454 eval ac_cv_prog_make_${ac_make}_set=no;;
3455 esac
3456 rm -f conftest.make
3458 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3460 $as_echo "yes" >&6; }
3461 SET_MAKE=
3462 else
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 $as_echo "no" >&6; }
3465 SET_MAKE="MAKE=${MAKE-make}"
3468 rm -rf .tst 2>/dev/null
3469 mkdir .tst 2>/dev/null
3470 if test -d .tst; then
3471 am__leading_dot=.
3472 else
3473 am__leading_dot=_
3475 rmdir .tst 2>/dev/null
3477 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3478 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3479 # is not polluted with repeated "-I."
3480 am__isrc=' -I$(srcdir)'
3481 # test to see if srcdir already configured
3482 if test -f $srcdir/config.status; then
3483 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3487 # test whether we have cygpath
3488 if test -z "$CYGPATH_W"; then
3489 if (cygpath --version) >/dev/null 2>/dev/null; then
3490 CYGPATH_W='cygpath -w'
3491 else
3492 CYGPATH_W=echo
3497 # Define the identity of the package.
3498 PACKAGE='libstdc++'
3499 VERSION='version-unused'
3502 # Some tools Automake needs.
3504 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3507 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3510 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3513 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3516 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3518 # We need awk for the "check" target. The system "awk" is bad on
3519 # some platforms.
3520 # Always define AMTAR for backward compatibility.
3522 AMTAR=${AMTAR-"${am_missing_run}tar"}
3524 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3533 # -fno-builtin must be present here so that a non-conflicting form of
3534 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3536 save_CXXFLAGS="$CXXFLAGS"
3537 CXXFLAGS="$CXXFLAGS -fno-builtin"
3538 ac_ext=c
3539 ac_cpp='$CPP $CPPFLAGS'
3540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3543 if test -n "$ac_tool_prefix"; then
3544 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3545 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3547 $as_echo_n "checking for $ac_word... " >&6; }
3548 if test "${ac_cv_prog_CC+set}" = set; then :
3549 $as_echo_n "(cached) " >&6
3550 else
3551 if test -n "$CC"; then
3552 ac_cv_prog_CC="$CC" # Let the user override the test.
3553 else
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3555 for as_dir in $PATH
3557 IFS=$as_save_IFS
3558 test -z "$as_dir" && as_dir=.
3559 for ac_exec_ext in '' $ac_executable_extensions; do
3560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3561 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 break 2
3565 done
3566 done
3567 IFS=$as_save_IFS
3571 CC=$ac_cv_prog_CC
3572 if test -n "$CC"; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3574 $as_echo "$CC" >&6; }
3575 else
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3582 if test -z "$ac_cv_prog_CC"; then
3583 ac_ct_CC=$CC
3584 # Extract the first word of "gcc", so it can be a program name with args.
3585 set dummy gcc; ac_word=$2
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3587 $as_echo_n "checking for $ac_word... " >&6; }
3588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3589 $as_echo_n "(cached) " >&6
3590 else
3591 if test -n "$ac_ct_CC"; then
3592 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3593 else
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 for as_dir in $PATH
3597 IFS=$as_save_IFS
3598 test -z "$as_dir" && as_dir=.
3599 for ac_exec_ext in '' $ac_executable_extensions; do
3600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3601 ac_cv_prog_ac_ct_CC="gcc"
3602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 break 2
3605 done
3606 done
3607 IFS=$as_save_IFS
3611 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3612 if test -n "$ac_ct_CC"; then
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3614 $as_echo "$ac_ct_CC" >&6; }
3615 else
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617 $as_echo "no" >&6; }
3620 if test "x$ac_ct_CC" = x; then
3621 CC=""
3622 else
3623 case $cross_compiling:$ac_tool_warned in
3624 yes:)
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3627 ac_tool_warned=yes ;;
3628 esac
3629 CC=$ac_ct_CC
3631 else
3632 CC="$ac_cv_prog_CC"
3635 if test -z "$CC"; then
3636 if test -n "$ac_tool_prefix"; then
3637 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3638 set dummy ${ac_tool_prefix}cc; ac_word=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if test "${ac_cv_prog_CC+set}" = set; then :
3642 $as_echo_n "(cached) " >&6
3643 else
3644 if test -n "$CC"; then
3645 ac_cv_prog_CC="$CC" # Let the user override the test.
3646 else
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 for as_dir in $PATH
3650 IFS=$as_save_IFS
3651 test -z "$as_dir" && as_dir=.
3652 for ac_exec_ext in '' $ac_executable_extensions; do
3653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3654 ac_cv_prog_CC="${ac_tool_prefix}cc"
3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656 break 2
3658 done
3659 done
3660 IFS=$as_save_IFS
3664 CC=$ac_cv_prog_CC
3665 if test -n "$CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3668 else
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3676 if test -z "$CC"; then
3677 # Extract the first word of "cc", so it can be a program name with args.
3678 set dummy cc; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if test "${ac_cv_prog_CC+set}" = set; then :
3682 $as_echo_n "(cached) " >&6
3683 else
3684 if test -n "$CC"; then
3685 ac_cv_prog_CC="$CC" # Let the user override the test.
3686 else
3687 ac_prog_rejected=no
3688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689 for as_dir in $PATH
3691 IFS=$as_save_IFS
3692 test -z "$as_dir" && as_dir=.
3693 for ac_exec_ext in '' $ac_executable_extensions; do
3694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3695 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3696 ac_prog_rejected=yes
3697 continue
3699 ac_cv_prog_CC="cc"
3700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3701 break 2
3703 done
3704 done
3705 IFS=$as_save_IFS
3707 if test $ac_prog_rejected = yes; then
3708 # We found a bogon in the path, so make sure we never use it.
3709 set dummy $ac_cv_prog_CC
3710 shift
3711 if test $# != 0; then
3712 # We chose a different compiler from the bogus one.
3713 # However, it has the same basename, so the bogon will be chosen
3714 # first if we set CC to just the basename; use the full file name.
3715 shift
3716 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3721 CC=$ac_cv_prog_CC
3722 if test -n "$CC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3724 $as_echo "$CC" >&6; }
3725 else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3732 if test -z "$CC"; then
3733 if test -n "$ac_tool_prefix"; then
3734 for ac_prog in cl.exe
3736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if test "${ac_cv_prog_CC+set}" = set; then :
3741 $as_echo_n "(cached) " >&6
3742 else
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 else
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH
3749 IFS=$as_save_IFS
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755 break 2
3757 done
3758 done
3759 IFS=$as_save_IFS
3763 CC=$ac_cv_prog_CC
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3767 else
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3773 test -n "$CC" && break
3774 done
3776 if test -z "$CC"; then
3777 ac_ct_CC=$CC
3778 for ac_prog in cl.exe
3780 # Extract the first word of "$ac_prog", so it can be a program name with args.
3781 set dummy $ac_prog; ac_word=$2
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3785 $as_echo_n "(cached) " >&6
3786 else
3787 if test -n "$ac_ct_CC"; then
3788 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3789 else
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 for as_dir in $PATH
3793 IFS=$as_save_IFS
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797 ac_cv_prog_ac_ct_CC="$ac_prog"
3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 break 2
3801 done
3802 done
3803 IFS=$as_save_IFS
3807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3808 if test -n "$ac_ct_CC"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3810 $as_echo "$ac_ct_CC" >&6; }
3811 else
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3817 test -n "$ac_ct_CC" && break
3818 done
3820 if test "x$ac_ct_CC" = x; then
3821 CC=""
3822 else
3823 case $cross_compiling:$ac_tool_warned in
3824 yes:)
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3827 ac_tool_warned=yes ;;
3828 esac
3829 CC=$ac_ct_CC
3836 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3838 as_fn_error "no acceptable C compiler found in \$PATH
3839 See \`config.log' for more details." "$LINENO" 5; }
3841 # Provide some information about the compiler.
3842 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3843 set X $ac_compile
3844 ac_compiler=$2
3845 for ac_option in --version -v -V -qversion; do
3846 { { ac_try="$ac_compiler $ac_option >&5"
3847 case "(($ac_try" in
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3850 esac
3851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852 $as_echo "$ac_try_echo"; } >&5
3853 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3854 ac_status=$?
3855 if test -s conftest.err; then
3856 sed '10a\
3857 ... rest of stderr output deleted ...
3858 10q' conftest.err >conftest.er1
3859 cat conftest.er1 >&5
3860 rm -f conftest.er1 conftest.err
3862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3863 test $ac_status = 0; }
3864 done
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3870 main ()
3874 return 0;
3876 _ACEOF
3877 # FIXME: Cleanup?
3878 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3879 (eval $ac_link) 2>&5
3880 ac_status=$?
3881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3882 test $ac_status = 0; }; then :
3883 gcc_no_link=no
3884 else
3885 gcc_no_link=yes
3887 if test x$gcc_no_link = xyes; then
3888 # Setting cross_compile will disable run tests; it will
3889 # also disable AC_CHECK_FILE but that's generally
3890 # correct if we can't link.
3891 cross_compiling=yes
3892 EXEEXT=
3893 else
3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3898 main ()
3902 return 0;
3904 _ACEOF
3905 ac_clean_files_save=$ac_clean_files
3906 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3907 # Try to create an executable without -o first, disregard a.out.
3908 # It will help us diagnose broken compilers, and finding out an intuition
3909 # of exeext.
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3911 $as_echo_n "checking for C compiler default output file name... " >&6; }
3912 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3914 # The possible output files:
3915 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3917 ac_rmfiles=
3918 for ac_file in $ac_files
3920 case $ac_file in
3921 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3922 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3923 esac
3924 done
3925 rm -f $ac_rmfiles
3927 if { { ac_try="$ac_link_default"
3928 case "(($ac_try" in
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3931 esac
3932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3933 $as_echo "$ac_try_echo"; } >&5
3934 (eval "$ac_link_default") 2>&5
3935 ac_status=$?
3936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937 test $ac_status = 0; }; then :
3938 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3939 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3940 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3941 # so that the user can short-circuit this test for compilers unknown to
3942 # Autoconf.
3943 for ac_file in $ac_files ''
3945 test -f "$ac_file" || continue
3946 case $ac_file in
3947 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3949 [ab].out )
3950 # We found the default executable, but exeext='' is most
3951 # certainly right.
3952 break;;
3953 *.* )
3954 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3955 then :; else
3956 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3958 # We set ac_cv_exeext here because the later test for it is not
3959 # safe: cross compilers may not add the suffix if given an `-o'
3960 # argument, so we may need to know it at that point already.
3961 # Even if this section looks crufty: it has the advantage of
3962 # actually working.
3963 break;;
3965 break;;
3966 esac
3967 done
3968 test "$ac_cv_exeext" = no && ac_cv_exeext=
3970 else
3971 ac_file=''
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3974 $as_echo "$ac_file" >&6; }
3975 if test -z "$ac_file"; then :
3976 $as_echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.$ac_ext >&5
3979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3981 { as_fn_set_status 77
3982 as_fn_error "C compiler cannot create executables
3983 See \`config.log' for more details." "$LINENO" 5; }; }
3985 ac_exeext=$ac_cv_exeext
3987 # Check that the compiler produces executables we can run. If not, either
3988 # the compiler is broken, or we cross compile.
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3990 $as_echo_n "checking whether the C compiler works... " >&6; }
3991 # If not cross compiling, check that we can run a simple program.
3992 if test "$cross_compiling" != yes; then
3993 if { ac_try='./$ac_file'
3994 { { case "(($ac_try" in
3995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996 *) ac_try_echo=$ac_try;;
3997 esac
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000 (eval "$ac_try") 2>&5
4001 ac_status=$?
4002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4003 test $ac_status = 0; }; }; then
4004 cross_compiling=no
4005 else
4006 if test "$cross_compiling" = maybe; then
4007 cross_compiling=yes
4008 else
4009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error "cannot run C compiled programs.
4012 If you meant to cross compile, use \`--host'.
4013 See \`config.log' for more details." "$LINENO" 5; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4018 $as_echo "yes" >&6; }
4020 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4021 ac_clean_files=$ac_clean_files_save
4022 # Check that the compiler produces executables we can run. If not, either
4023 # the compiler is broken, or we cross compile.
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4025 $as_echo_n "checking whether we are cross compiling... " >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4027 $as_echo "$cross_compiling" >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4030 $as_echo_n "checking for suffix of executables... " >&6; }
4031 if { { ac_try="$ac_link"
4032 case "(($ac_try" in
4033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4035 esac
4036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4037 $as_echo "$ac_try_echo"; } >&5
4038 (eval "$ac_link") 2>&5
4039 ac_status=$?
4040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041 test $ac_status = 0; }; then :
4042 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4043 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4044 # work properly (i.e., refer to `conftest.exe'), while it won't with
4045 # `rm'.
4046 for ac_file in conftest.exe conftest conftest.*; do
4047 test -f "$ac_file" || continue
4048 case $ac_file in
4049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4050 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4051 break;;
4052 * ) break;;
4053 esac
4054 done
4055 else
4056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4058 as_fn_error "cannot compute suffix of executables: cannot compile and link
4059 See \`config.log' for more details." "$LINENO" 5; }
4061 rm -f conftest$ac_cv_exeext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4063 $as_echo "$ac_cv_exeext" >&6; }
4065 rm -f conftest.$ac_ext
4066 EXEEXT=$ac_cv_exeext
4067 ac_exeext=$EXEEXT
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4070 $as_echo_n "checking for suffix of object files... " >&6; }
4071 if test "${ac_cv_objext+set}" = set; then :
4072 $as_echo_n "(cached) " >&6
4073 else
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4078 main ()
4082 return 0;
4084 _ACEOF
4085 rm -f conftest.o conftest.obj
4086 if { { ac_try="$ac_compile"
4087 case "(($ac_try" in
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4090 esac
4091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4092 $as_echo "$ac_try_echo"; } >&5
4093 (eval "$ac_compile") 2>&5
4094 ac_status=$?
4095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4096 test $ac_status = 0; }; then :
4097 for ac_file in conftest.o conftest.obj conftest.*; do
4098 test -f "$ac_file" || continue;
4099 case $ac_file in
4100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4101 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4102 break;;
4103 esac
4104 done
4105 else
4106 $as_echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4111 as_fn_error "cannot compute suffix of object files: cannot compile
4112 See \`config.log' for more details." "$LINENO" 5; }
4114 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4117 $as_echo "$ac_cv_objext" >&6; }
4118 OBJEXT=$ac_cv_objext
4119 ac_objext=$OBJEXT
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4121 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4122 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4123 $as_echo_n "(cached) " >&6
4124 else
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4129 main ()
4131 #ifndef __GNUC__
4132 choke me
4133 #endif
4136 return 0;
4138 _ACEOF
4139 if ac_fn_c_try_compile "$LINENO"; then :
4140 ac_compiler_gnu=yes
4141 else
4142 ac_compiler_gnu=no
4144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4145 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4149 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4150 if test $ac_compiler_gnu = yes; then
4151 GCC=yes
4152 else
4153 GCC=
4155 ac_test_CFLAGS=${CFLAGS+set}
4156 ac_save_CFLAGS=$CFLAGS
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4158 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4159 if test "${ac_cv_prog_cc_g+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 ac_save_c_werror_flag=$ac_c_werror_flag
4163 ac_c_werror_flag=yes
4164 ac_cv_prog_cc_g=no
4165 CFLAGS="-g"
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4170 main ()
4174 return 0;
4176 _ACEOF
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 ac_cv_prog_cc_g=yes
4179 else
4180 CFLAGS=""
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4185 main ()
4189 return 0;
4191 _ACEOF
4192 if ac_fn_c_try_compile "$LINENO"; then :
4194 else
4195 ac_c_werror_flag=$ac_save_c_werror_flag
4196 CFLAGS="-g"
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4201 main ()
4205 return 0;
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209 ac_cv_prog_cc_g=yes
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 ac_c_werror_flag=$ac_save_c_werror_flag
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4219 $as_echo "$ac_cv_prog_cc_g" >&6; }
4220 if test "$ac_test_CFLAGS" = set; then
4221 CFLAGS=$ac_save_CFLAGS
4222 elif test $ac_cv_prog_cc_g = yes; then
4223 if test "$GCC" = yes; then
4224 CFLAGS="-g -O2"
4225 else
4226 CFLAGS="-g"
4228 else
4229 if test "$GCC" = yes; then
4230 CFLAGS="-O2"
4231 else
4232 CFLAGS=
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4236 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4237 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4238 $as_echo_n "(cached) " >&6
4239 else
4240 ac_cv_prog_cc_c89=no
4241 ac_save_CC=$CC
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4244 #include <stdarg.h>
4245 #include <stdio.h>
4246 #include <sys/types.h>
4247 #include <sys/stat.h>
4248 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4249 struct buf { int x; };
4250 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4251 static char *e (p, i)
4252 char **p;
4253 int i;
4255 return p[i];
4257 static char *f (char * (*g) (char **, int), char **p, ...)
4259 char *s;
4260 va_list v;
4261 va_start (v,p);
4262 s = g (p, va_arg (v,int));
4263 va_end (v);
4264 return s;
4267 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4268 function prototypes and stuff, but not '\xHH' hex character constants.
4269 These don't provoke an error unfortunately, instead are silently treated
4270 as 'x'. The following induces an error, until -std is added to get
4271 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4272 array size at least. It's necessary to write '\x00'==0 to get something
4273 that's true only with -std. */
4274 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4276 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4277 inside strings and character constants. */
4278 #define FOO(x) 'x'
4279 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4281 int test (int i, double x);
4282 struct s1 {int (*f) (int a);};
4283 struct s2 {int (*f) (double a);};
4284 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4285 int argc;
4286 char **argv;
4288 main ()
4290 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4292 return 0;
4294 _ACEOF
4295 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4296 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4298 CC="$ac_save_CC $ac_arg"
4299 if ac_fn_c_try_compile "$LINENO"; then :
4300 ac_cv_prog_cc_c89=$ac_arg
4302 rm -f core conftest.err conftest.$ac_objext
4303 test "x$ac_cv_prog_cc_c89" != "xno" && break
4304 done
4305 rm -f conftest.$ac_ext
4306 CC=$ac_save_CC
4309 # AC_CACHE_VAL
4310 case "x$ac_cv_prog_cc_c89" in
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4313 $as_echo "none needed" >&6; } ;;
4314 xno)
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4316 $as_echo "unsupported" >&6; } ;;
4318 CC="$CC $ac_cv_prog_cc_c89"
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4320 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4321 esac
4322 if test "x$ac_cv_prog_cc_c89" != xno; then :
4326 ac_ext=c
4327 ac_cpp='$CPP $CPPFLAGS'
4328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4332 ac_ext=cpp
4333 ac_cpp='$CXXCPP $CPPFLAGS'
4334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4337 if test -z "$CXX"; then
4338 if test -n "$CCC"; then
4339 CXX=$CCC
4340 else
4341 if test -n "$ac_tool_prefix"; then
4342 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4344 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4347 $as_echo_n "checking for $ac_word... " >&6; }
4348 if test "${ac_cv_prog_CXX+set}" = set; then :
4349 $as_echo_n "(cached) " >&6
4350 else
4351 if test -n "$CXX"; then
4352 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4353 else
4354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355 for as_dir in $PATH
4357 IFS=$as_save_IFS
4358 test -z "$as_dir" && as_dir=.
4359 for ac_exec_ext in '' $ac_executable_extensions; do
4360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4361 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 break 2
4365 done
4366 done
4367 IFS=$as_save_IFS
4371 CXX=$ac_cv_prog_CXX
4372 if test -n "$CXX"; then
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4374 $as_echo "$CXX" >&6; }
4375 else
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4377 $as_echo "no" >&6; }
4381 test -n "$CXX" && break
4382 done
4384 if test -z "$CXX"; then
4385 ac_ct_CXX=$CXX
4386 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4388 # Extract the first word of "$ac_prog", so it can be a program name with args.
4389 set dummy $ac_prog; ac_word=$2
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391 $as_echo_n "checking for $ac_word... " >&6; }
4392 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4393 $as_echo_n "(cached) " >&6
4394 else
4395 if test -n "$ac_ct_CXX"; then
4396 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4397 else
4398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 for as_dir in $PATH
4401 IFS=$as_save_IFS
4402 test -z "$as_dir" && as_dir=.
4403 for ac_exec_ext in '' $ac_executable_extensions; do
4404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4405 ac_cv_prog_ac_ct_CXX="$ac_prog"
4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407 break 2
4409 done
4410 done
4411 IFS=$as_save_IFS
4415 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4416 if test -n "$ac_ct_CXX"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4418 $as_echo "$ac_ct_CXX" >&6; }
4419 else
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4425 test -n "$ac_ct_CXX" && break
4426 done
4428 if test "x$ac_ct_CXX" = x; then
4429 CXX="g++"
4430 else
4431 case $cross_compiling:$ac_tool_warned in
4432 yes:)
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4435 ac_tool_warned=yes ;;
4436 esac
4437 CXX=$ac_ct_CXX
4443 # Provide some information about the compiler.
4444 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4445 set X $ac_compile
4446 ac_compiler=$2
4447 for ac_option in --version -v -V -qversion; do
4448 { { ac_try="$ac_compiler $ac_option >&5"
4449 case "(($ac_try" in
4450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451 *) ac_try_echo=$ac_try;;
4452 esac
4453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4454 $as_echo "$ac_try_echo"; } >&5
4455 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4456 ac_status=$?
4457 if test -s conftest.err; then
4458 sed '10a\
4459 ... rest of stderr output deleted ...
4460 10q' conftest.err >conftest.er1
4461 cat conftest.er1 >&5
4462 rm -f conftest.er1 conftest.err
4464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4465 test $ac_status = 0; }
4466 done
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4469 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4470 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4471 $as_echo_n "(cached) " >&6
4472 else
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4477 main ()
4479 #ifndef __GNUC__
4480 choke me
4481 #endif
4484 return 0;
4486 _ACEOF
4487 if ac_fn_cxx_try_compile "$LINENO"; then :
4488 ac_compiler_gnu=yes
4489 else
4490 ac_compiler_gnu=no
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4497 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4498 if test $ac_compiler_gnu = yes; then
4499 GXX=yes
4500 else
4501 GXX=
4503 ac_test_CXXFLAGS=${CXXFLAGS+set}
4504 ac_save_CXXFLAGS=$CXXFLAGS
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4506 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4507 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4508 $as_echo_n "(cached) " >&6
4509 else
4510 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4511 ac_cxx_werror_flag=yes
4512 ac_cv_prog_cxx_g=no
4513 CXXFLAGS="-g"
4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4518 main ()
4522 return 0;
4524 _ACEOF
4525 if ac_fn_cxx_try_compile "$LINENO"; then :
4526 ac_cv_prog_cxx_g=yes
4527 else
4528 CXXFLAGS=""
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4533 main ()
4537 return 0;
4539 _ACEOF
4540 if ac_fn_cxx_try_compile "$LINENO"; then :
4542 else
4543 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4544 CXXFLAGS="-g"
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4549 main ()
4553 return 0;
4555 _ACEOF
4556 if ac_fn_cxx_try_compile "$LINENO"; then :
4557 ac_cv_prog_cxx_g=yes
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4567 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4568 if test "$ac_test_CXXFLAGS" = set; then
4569 CXXFLAGS=$ac_save_CXXFLAGS
4570 elif test $ac_cv_prog_cxx_g = yes; then
4571 if test "$GXX" = yes; then
4572 CXXFLAGS="-g -O2"
4573 else
4574 CXXFLAGS="-g"
4576 else
4577 if test "$GXX" = yes; then
4578 CXXFLAGS="-O2"
4579 else
4580 CXXFLAGS=
4583 ac_ext=c
4584 ac_cpp='$CPP $CPPFLAGS'
4585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4589 CXXFLAGS="$save_CXXFLAGS"
4591 # Runs configure.host, and assorted other critical bits. Sets
4592 # up critical shell variables.
4594 ac_ext=c
4595 ac_cpp='$CPP $CPPFLAGS'
4596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4600 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4601 # On Suns, sometimes $CPP names a directory.
4602 if test -n "$CPP" && test -d "$CPP"; then
4603 CPP=
4605 if test -z "$CPP"; then
4606 if test "${ac_cv_prog_CPP+set}" = set; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 # Double quotes because CPP needs to be expanded
4610 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4612 ac_preproc_ok=false
4613 for ac_c_preproc_warn_flag in '' yes
4615 # Use a header file that comes with gcc, so configuring glibc
4616 # with a fresh cross-compiler works.
4617 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4618 # <limits.h> exists even on freestanding compilers.
4619 # On the NeXT, cc -E runs the code through the compiler's parser,
4620 # not just through cpp. "Syntax error" is here to catch this case.
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4623 #ifdef __STDC__
4624 # include <limits.h>
4625 #else
4626 # include <assert.h>
4627 #endif
4628 Syntax error
4629 _ACEOF
4630 if ac_fn_c_try_cpp "$LINENO"; then :
4632 else
4633 # Broken: fails on valid input.
4634 continue
4636 rm -f conftest.err conftest.$ac_ext
4638 # OK, works on sane cases. Now check whether nonexistent headers
4639 # can be detected and how.
4640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4642 #include <ac_nonexistent.h>
4643 _ACEOF
4644 if ac_fn_c_try_cpp "$LINENO"; then :
4645 # Broken: success on invalid input.
4646 continue
4647 else
4648 # Passes both tests.
4649 ac_preproc_ok=:
4650 break
4652 rm -f conftest.err conftest.$ac_ext
4654 done
4655 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4656 rm -f conftest.err conftest.$ac_ext
4657 if $ac_preproc_ok; then :
4658 break
4661 done
4662 ac_cv_prog_CPP=$CPP
4665 CPP=$ac_cv_prog_CPP
4666 else
4667 ac_cv_prog_CPP=$CPP
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4670 $as_echo "$CPP" >&6; }
4671 ac_preproc_ok=false
4672 for ac_c_preproc_warn_flag in '' yes
4674 # Use a header file that comes with gcc, so configuring glibc
4675 # with a fresh cross-compiler works.
4676 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4677 # <limits.h> exists even on freestanding compilers.
4678 # On the NeXT, cc -E runs the code through the compiler's parser,
4679 # not just through cpp. "Syntax error" is here to catch this case.
4680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4682 #ifdef __STDC__
4683 # include <limits.h>
4684 #else
4685 # include <assert.h>
4686 #endif
4687 Syntax error
4688 _ACEOF
4689 if ac_fn_c_try_cpp "$LINENO"; then :
4691 else
4692 # Broken: fails on valid input.
4693 continue
4695 rm -f conftest.err conftest.$ac_ext
4697 # OK, works on sane cases. Now check whether nonexistent headers
4698 # can be detected and how.
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4701 #include <ac_nonexistent.h>
4702 _ACEOF
4703 if ac_fn_c_try_cpp "$LINENO"; then :
4704 # Broken: success on invalid input.
4705 continue
4706 else
4707 # Passes both tests.
4708 ac_preproc_ok=:
4709 break
4711 rm -f conftest.err conftest.$ac_ext
4713 done
4714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4715 rm -f conftest.err conftest.$ac_ext
4716 if $ac_preproc_ok; then :
4718 else
4719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4721 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4722 See \`config.log' for more details." "$LINENO" 5; }
4725 ac_ext=c
4726 ac_cpp='$CPP $CPPFLAGS'
4727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4733 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4734 if test "${ac_cv_path_GREP+set}" = set; then :
4735 $as_echo_n "(cached) " >&6
4736 else
4737 if test -z "$GREP"; then
4738 ac_path_GREP_found=false
4739 # Loop through the user's path and test for each of PROGNAME-LIST
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4743 IFS=$as_save_IFS
4744 test -z "$as_dir" && as_dir=.
4745 for ac_prog in grep ggrep; do
4746 for ac_exec_ext in '' $ac_executable_extensions; do
4747 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4748 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4749 # Check for GNU ac_path_GREP and select it if it is found.
4750 # Check for GNU $ac_path_GREP
4751 case `"$ac_path_GREP" --version 2>&1` in
4752 *GNU*)
4753 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4755 ac_count=0
4756 $as_echo_n 0123456789 >"conftest.in"
4757 while :
4759 cat "conftest.in" "conftest.in" >"conftest.tmp"
4760 mv "conftest.tmp" "conftest.in"
4761 cp "conftest.in" "conftest.nl"
4762 $as_echo 'GREP' >> "conftest.nl"
4763 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4764 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4765 as_fn_arith $ac_count + 1 && ac_count=$as_val
4766 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4767 # Best one so far, save it but keep looking for a better one
4768 ac_cv_path_GREP="$ac_path_GREP"
4769 ac_path_GREP_max=$ac_count
4771 # 10*(2^10) chars as input seems more than enough
4772 test $ac_count -gt 10 && break
4773 done
4774 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4775 esac
4777 $ac_path_GREP_found && break 3
4778 done
4779 done
4780 done
4781 IFS=$as_save_IFS
4782 if test -z "$ac_cv_path_GREP"; then
4783 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4785 else
4786 ac_cv_path_GREP=$GREP
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4791 $as_echo "$ac_cv_path_GREP" >&6; }
4792 GREP="$ac_cv_path_GREP"
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4796 $as_echo_n "checking for egrep... " >&6; }
4797 if test "${ac_cv_path_EGREP+set}" = set; then :
4798 $as_echo_n "(cached) " >&6
4799 else
4800 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4801 then ac_cv_path_EGREP="$GREP -E"
4802 else
4803 if test -z "$EGREP"; then
4804 ac_path_EGREP_found=false
4805 # Loop through the user's path and test for each of PROGNAME-LIST
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4809 IFS=$as_save_IFS
4810 test -z "$as_dir" && as_dir=.
4811 for ac_prog in egrep; do
4812 for ac_exec_ext in '' $ac_executable_extensions; do
4813 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4814 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4815 # Check for GNU ac_path_EGREP and select it if it is found.
4816 # Check for GNU $ac_path_EGREP
4817 case `"$ac_path_EGREP" --version 2>&1` in
4818 *GNU*)
4819 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4821 ac_count=0
4822 $as_echo_n 0123456789 >"conftest.in"
4823 while :
4825 cat "conftest.in" "conftest.in" >"conftest.tmp"
4826 mv "conftest.tmp" "conftest.in"
4827 cp "conftest.in" "conftest.nl"
4828 $as_echo 'EGREP' >> "conftest.nl"
4829 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4830 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4831 as_fn_arith $ac_count + 1 && ac_count=$as_val
4832 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4833 # Best one so far, save it but keep looking for a better one
4834 ac_cv_path_EGREP="$ac_path_EGREP"
4835 ac_path_EGREP_max=$ac_count
4837 # 10*(2^10) chars as input seems more than enough
4838 test $ac_count -gt 10 && break
4839 done
4840 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4841 esac
4843 $ac_path_EGREP_found && break 3
4844 done
4845 done
4846 done
4847 IFS=$as_save_IFS
4848 if test -z "$ac_cv_path_EGREP"; then
4849 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4851 else
4852 ac_cv_path_EGREP=$EGREP
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4858 $as_echo "$ac_cv_path_EGREP" >&6; }
4859 EGREP="$ac_cv_path_EGREP"
4863 # Keep these sync'd with the list in Makefile.am. The first provides an
4864 # expandable list at autoconf time; the second provides an expandable list
4865 # (i.e., shell variable) at configure time.
4867 SUBDIRS='include libsupc++ python src doc po testsuite'
4869 # These need to be absolute paths, yet at the same time need to
4870 # canonicalize only relative paths, because then amd will not unmount
4871 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4872 glibcxx_builddir=`${PWDCMD-pwd}`
4873 case $srcdir in
4874 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4875 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4876 esac
4877 toplevel_srcdir=${glibcxx_srcdir}/..
4882 # We use these options to decide which functions to include. They are
4883 # set from the top level.
4885 # Check whether --with-target-subdir was given.
4886 if test "${with_target_subdir+set}" = set; then :
4887 withval=$with_target_subdir;
4892 # Check whether --with-cross-host was given.
4893 if test "${with_cross_host+set}" = set; then :
4894 withval=$with_cross_host;
4899 # Check whether --with-newlib was given.
4900 if test "${with_newlib+set}" = set; then :
4901 withval=$with_newlib;
4905 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4906 # available). Uncomment the next line to force a particular method.
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4908 $as_echo_n "checking whether ln -s works... " >&6; }
4909 LN_S=$as_ln_s
4910 if test "$LN_S" = "ln -s"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4912 $as_echo "yes" >&6; }
4913 else
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4915 $as_echo "no, using $LN_S" >&6; }
4918 #LN_S='cp -p'
4920 if test -n "$ac_tool_prefix"; then
4921 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4922 set dummy ${ac_tool_prefix}as; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if test "${ac_cv_prog_AS+set}" = set; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 if test -n "$AS"; then
4929 ac_cv_prog_AS="$AS" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4934 IFS=$as_save_IFS
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4938 ac_cv_prog_AS="${ac_tool_prefix}as"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 break 2
4942 done
4943 done
4944 IFS=$as_save_IFS
4948 AS=$ac_cv_prog_AS
4949 if test -n "$AS"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4951 $as_echo "$AS" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4959 if test -z "$ac_cv_prog_AS"; then
4960 ac_ct_AS=$AS
4961 # Extract the first word of "as", so it can be a program name with args.
4962 set dummy as; ac_word=$2
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 $as_echo_n "checking for $ac_word... " >&6; }
4965 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 if test -n "$ac_ct_AS"; then
4969 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4970 else
4971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972 for as_dir in $PATH
4974 IFS=$as_save_IFS
4975 test -z "$as_dir" && as_dir=.
4976 for ac_exec_ext in '' $ac_executable_extensions; do
4977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4978 ac_cv_prog_ac_ct_AS="as"
4979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 break 2
4982 done
4983 done
4984 IFS=$as_save_IFS
4988 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4989 if test -n "$ac_ct_AS"; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4991 $as_echo "$ac_ct_AS" >&6; }
4992 else
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4994 $as_echo "no" >&6; }
4997 if test "x$ac_ct_AS" = x; then
4998 AS=""
4999 else
5000 case $cross_compiling:$ac_tool_warned in
5001 yes:)
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5004 ac_tool_warned=yes ;;
5005 esac
5006 AS=$ac_ct_AS
5008 else
5009 AS="$ac_cv_prog_AS"
5012 if test -n "$ac_tool_prefix"; then
5013 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5014 set dummy ${ac_tool_prefix}ar; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_AR+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 if test -n "$AR"; then
5021 ac_cv_prog_AR="$AR" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5026 IFS=$as_save_IFS
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_AR="${ac_tool_prefix}ar"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 break 2
5034 done
5035 done
5036 IFS=$as_save_IFS
5040 AR=$ac_cv_prog_AR
5041 if test -n "$AR"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5043 $as_echo "$AR" >&6; }
5044 else
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5051 if test -z "$ac_cv_prog_AR"; then
5052 ac_ct_AR=$AR
5053 # Extract the first word of "ar", so it can be a program name with args.
5054 set dummy ar; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5059 else
5060 if test -n "$ac_ct_AR"; then
5061 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070 ac_cv_prog_ac_ct_AR="ar"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 break 2
5074 done
5075 done
5076 IFS=$as_save_IFS
5080 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5081 if test -n "$ac_ct_AR"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5083 $as_echo "$ac_ct_AR" >&6; }
5084 else
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5089 if test "x$ac_ct_AR" = x; then
5090 AR=""
5091 else
5092 case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098 AR=$ac_ct_AR
5100 else
5101 AR="$ac_cv_prog_AR"
5104 if test -n "$ac_tool_prefix"; then
5105 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5106 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$RANLIB"; then
5113 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5126 done
5127 done
5128 IFS=$as_save_IFS
5132 RANLIB=$ac_cv_prog_RANLIB
5133 if test -n "$RANLIB"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5135 $as_echo "$RANLIB" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5143 if test -z "$ac_cv_prog_RANLIB"; then
5144 ac_ct_RANLIB=$RANLIB
5145 # Extract the first word of "ranlib", so it can be a program name with args.
5146 set dummy ranlib; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$ac_ct_RANLIB"; then
5153 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_RANLIB="ranlib"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5173 if test -n "$ac_ct_RANLIB"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5175 $as_echo "$ac_ct_RANLIB" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5181 if test "x$ac_ct_RANLIB" = x; then
5182 RANLIB="ranlib-not-found-in-path-error"
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned=yes ;;
5189 esac
5190 RANLIB=$ac_ct_RANLIB
5192 else
5193 RANLIB="$ac_cv_prog_RANLIB"
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5199 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5200 # Check whether --enable-maintainer-mode was given.
5201 if test "${enable_maintainer_mode+set}" = set; then :
5202 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5203 else
5204 USE_MAINTAINER_MODE=no
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5208 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5209 if test $USE_MAINTAINER_MODE = yes; then
5210 MAINTAINER_MODE_TRUE=
5211 MAINTAINER_MODE_FALSE='#'
5212 else
5213 MAINTAINER_MODE_TRUE='#'
5214 MAINTAINER_MODE_FALSE=
5217 MAINT=$MAINTAINER_MODE_TRUE
5221 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5222 # which are themselves conditionally expanded.
5223 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5224 ## other macros from doing the same. This should be automated.) -pme
5226 # Check for C library flavor since Linux platforms use different configuration
5227 # directories depending on the C library in use.
5228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h. */
5231 #include <stdio.h>
5232 #if __UCLIBC__
5233 _using_uclibc
5234 #endif
5236 _ACEOF
5237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5238 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5239 uclibc=yes
5240 else
5241 uclibc=no
5243 rm -f conftest*
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5249 #include <stdio.h>
5250 #if __BIONIC__
5251 _using_bionic
5252 #endif
5254 _ACEOF
5255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5256 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5257 bionic=yes
5258 else
5259 bionic=no
5261 rm -f conftest*
5264 # Find platform-specific directories containing configuration info.
5265 # Also possibly modify flags used elsewhere, as needed by the platform.
5267 . $glibcxx_srcdir/configure.host
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5269 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5271 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5275 if test "x${with_newlib}" != "xyes"; then
5276 enable_dlopen=yes
5281 case `pwd` in
5282 *\ * | *\ *)
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5284 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5285 esac
5289 macro_version='2.2.7a'
5290 macro_revision='1.3134'
5304 ltmain="$ac_aux_dir/ltmain.sh"
5306 # Backslashify metacharacters that are still active within
5307 # double-quoted strings.
5308 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5310 # Same as above, but do not quote variable references.
5311 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5313 # Sed substitution to delay expansion of an escaped shell variable in a
5314 # double_quote_subst'ed string.
5315 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5317 # Sed substitution to delay expansion of an escaped single quote.
5318 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5320 # Sed substitution to avoid accidental globbing in evaled expressions
5321 no_glob_subst='s/\*/\\\*/g'
5323 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5325 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5328 $as_echo_n "checking how to print strings... " >&6; }
5329 # Test print first, because it will be a builtin if present.
5330 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5331 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5332 ECHO='print -r --'
5333 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5334 ECHO='printf %s\n'
5335 else
5336 # Use this function as a fallback that always works.
5337 func_fallback_echo ()
5339 eval 'cat <<_LTECHO_EOF
5341 _LTECHO_EOF'
5343 ECHO='func_fallback_echo'
5346 # func_echo_all arg...
5347 # Invoke $ECHO with all args, space-separated.
5348 func_echo_all ()
5350 $ECHO ""
5353 case "$ECHO" in
5354 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5355 $as_echo "printf" >&6; } ;;
5356 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5357 $as_echo "print -r" >&6; } ;;
5358 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5359 $as_echo "cat" >&6; } ;;
5360 esac
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5376 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5377 if test "${ac_cv_path_SED+set}" = set; then :
5378 $as_echo_n "(cached) " >&6
5379 else
5380 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5381 for ac_i in 1 2 3 4 5 6 7; do
5382 ac_script="$ac_script$as_nl$ac_script"
5383 done
5384 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5385 { ac_script=; unset ac_script;}
5386 if test -z "$SED"; then
5387 ac_path_SED_found=false
5388 # Loop through the user's path and test for each of PROGNAME-LIST
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 for as_dir in $PATH
5392 IFS=$as_save_IFS
5393 test -z "$as_dir" && as_dir=.
5394 for ac_prog in sed gsed; do
5395 for ac_exec_ext in '' $ac_executable_extensions; do
5396 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5397 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5398 # Check for GNU ac_path_SED and select it if it is found.
5399 # Check for GNU $ac_path_SED
5400 case `"$ac_path_SED" --version 2>&1` in
5401 *GNU*)
5402 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5404 ac_count=0
5405 $as_echo_n 0123456789 >"conftest.in"
5406 while :
5408 cat "conftest.in" "conftest.in" >"conftest.tmp"
5409 mv "conftest.tmp" "conftest.in"
5410 cp "conftest.in" "conftest.nl"
5411 $as_echo '' >> "conftest.nl"
5412 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5413 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5414 as_fn_arith $ac_count + 1 && ac_count=$as_val
5415 if test $ac_count -gt ${ac_path_SED_max-0}; then
5416 # Best one so far, save it but keep looking for a better one
5417 ac_cv_path_SED="$ac_path_SED"
5418 ac_path_SED_max=$ac_count
5420 # 10*(2^10) chars as input seems more than enough
5421 test $ac_count -gt 10 && break
5422 done
5423 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5424 esac
5426 $ac_path_SED_found && break 3
5427 done
5428 done
5429 done
5430 IFS=$as_save_IFS
5431 if test -z "$ac_cv_path_SED"; then
5432 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5434 else
5435 ac_cv_path_SED=$SED
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5440 $as_echo "$ac_cv_path_SED" >&6; }
5441 SED="$ac_cv_path_SED"
5442 rm -f conftest.sed
5444 test -z "$SED" && SED=sed
5445 Xsed="$SED -e 1s/^X//"
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5458 $as_echo_n "checking for fgrep... " >&6; }
5459 if test "${ac_cv_path_FGREP+set}" = set; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5463 then ac_cv_path_FGREP="$GREP -F"
5464 else
5465 if test -z "$FGREP"; then
5466 ac_path_FGREP_found=false
5467 # Loop through the user's path and test for each of PROGNAME-LIST
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_prog in fgrep; do
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5476 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5477 # Check for GNU ac_path_FGREP and select it if it is found.
5478 # Check for GNU $ac_path_FGREP
5479 case `"$ac_path_FGREP" --version 2>&1` in
5480 *GNU*)
5481 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5483 ac_count=0
5484 $as_echo_n 0123456789 >"conftest.in"
5485 while :
5487 cat "conftest.in" "conftest.in" >"conftest.tmp"
5488 mv "conftest.tmp" "conftest.in"
5489 cp "conftest.in" "conftest.nl"
5490 $as_echo 'FGREP' >> "conftest.nl"
5491 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5492 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5493 as_fn_arith $ac_count + 1 && ac_count=$as_val
5494 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5495 # Best one so far, save it but keep looking for a better one
5496 ac_cv_path_FGREP="$ac_path_FGREP"
5497 ac_path_FGREP_max=$ac_count
5499 # 10*(2^10) chars as input seems more than enough
5500 test $ac_count -gt 10 && break
5501 done
5502 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5503 esac
5505 $ac_path_FGREP_found && break 3
5506 done
5507 done
5508 done
5509 IFS=$as_save_IFS
5510 if test -z "$ac_cv_path_FGREP"; then
5511 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5513 else
5514 ac_cv_path_FGREP=$FGREP
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5520 $as_echo "$ac_cv_path_FGREP" >&6; }
5521 FGREP="$ac_cv_path_FGREP"
5524 test -z "$GREP" && GREP=grep
5544 # Check whether --with-gnu-ld was given.
5545 if test "${with_gnu_ld+set}" = set; then :
5546 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5547 else
5548 with_gnu_ld=no
5551 ac_prog=ld
5552 if test "$GCC" = yes; then
5553 # Check if gcc -print-prog-name=ld gives a path.
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5555 $as_echo_n "checking for ld used by $CC... " >&6; }
5556 case $host in
5557 *-*-mingw*)
5558 # gcc leaves a trailing carriage return which upsets mingw
5559 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5561 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5562 esac
5563 case $ac_prog in
5564 # Accept absolute paths.
5565 [\\/]* | ?:[\\/]*)
5566 re_direlt='/[^/][^/]*/\.\./'
5567 # Canonicalize the pathname of ld
5568 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5569 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5570 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5571 done
5572 test -z "$LD" && LD="$ac_prog"
5575 # If it fails, then pretend we aren't using GCC.
5576 ac_prog=ld
5579 # If it is relative, then search for the first ld in PATH.
5580 with_gnu_ld=unknown
5582 esac
5583 elif test "$with_gnu_ld" = yes; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5585 $as_echo_n "checking for GNU ld... " >&6; }
5586 else
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5588 $as_echo_n "checking for non-GNU ld... " >&6; }
5590 if test "${lt_cv_path_LD+set}" = set; then :
5591 $as_echo_n "(cached) " >&6
5592 else
5593 if test -z "$LD"; then
5594 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5595 for ac_dir in $PATH; do
5596 IFS="$lt_save_ifs"
5597 test -z "$ac_dir" && ac_dir=.
5598 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5599 lt_cv_path_LD="$ac_dir/$ac_prog"
5600 # Check to see if the program is GNU ld. I'd rather use --version,
5601 # but apparently some variants of GNU ld only accept -v.
5602 # Break only if it was the GNU/non-GNU ld that we prefer.
5603 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5604 *GNU* | *'with BFD'*)
5605 test "$with_gnu_ld" != no && break
5608 test "$with_gnu_ld" != yes && break
5610 esac
5612 done
5613 IFS="$lt_save_ifs"
5614 else
5615 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5619 LD="$lt_cv_path_LD"
5620 if test -n "$LD"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5622 $as_echo "$LD" >&6; }
5623 else
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5627 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5629 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5630 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5632 else
5633 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5634 case `$LD -v 2>&1 </dev/null` in
5635 *GNU* | *'with BFD'*)
5636 lt_cv_prog_gnu_ld=yes
5639 lt_cv_prog_gnu_ld=no
5641 esac
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5644 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5645 with_gnu_ld=$lt_cv_prog_gnu_ld
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5656 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5657 if test "${lt_cv_path_NM+set}" = set; then :
5658 $as_echo_n "(cached) " >&6
5659 else
5660 if test -n "$NM"; then
5661 # Let the user override the test.
5662 lt_cv_path_NM="$NM"
5663 else
5664 lt_nm_to_check="${ac_tool_prefix}nm"
5665 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5666 lt_nm_to_check="$lt_nm_to_check nm"
5668 for lt_tmp_nm in $lt_nm_to_check; do
5669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5670 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5671 IFS="$lt_save_ifs"
5672 test -z "$ac_dir" && ac_dir=.
5673 tmp_nm="$ac_dir/$lt_tmp_nm"
5674 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5675 # Check to see if the nm accepts a BSD-compat flag.
5676 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5677 # nm: unknown option "B" ignored
5678 # Tru64's nm complains that /dev/null is an invalid object file
5679 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5680 */dev/null* | *'Invalid file or object type'*)
5681 lt_cv_path_NM="$tmp_nm -B"
5682 break
5685 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5686 */dev/null*)
5687 lt_cv_path_NM="$tmp_nm -p"
5688 break
5691 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5692 continue # so that we can try to find one that supports BSD flags
5694 esac
5696 esac
5698 done
5699 IFS="$lt_save_ifs"
5700 done
5701 : ${lt_cv_path_NM=no}
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5705 $as_echo "$lt_cv_path_NM" >&6; }
5706 if test "$lt_cv_path_NM" != "no"; then
5707 NM="$lt_cv_path_NM"
5708 else
5709 # Didn't find any BSD compatible name lister, look for dumpbin.
5710 if test -n "$DUMPBIN"; then :
5711 # Let the user override the test.
5712 else
5713 if test -n "$ac_tool_prefix"; then
5714 for ac_prog in dumpbin "link -dump"
5716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5717 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 if test -n "$DUMPBIN"; then
5724 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5729 IFS=$as_save_IFS
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735 break 2
5737 done
5738 done
5739 IFS=$as_save_IFS
5743 DUMPBIN=$ac_cv_prog_DUMPBIN
5744 if test -n "$DUMPBIN"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5746 $as_echo "$DUMPBIN" >&6; }
5747 else
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5753 test -n "$DUMPBIN" && break
5754 done
5756 if test -z "$DUMPBIN"; then
5757 ac_ct_DUMPBIN=$DUMPBIN
5758 for ac_prog in dumpbin "link -dump"
5760 # Extract the first word of "$ac_prog", so it can be a program name with args.
5761 set dummy $ac_prog; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5765 $as_echo_n "(cached) " >&6
5766 else
5767 if test -n "$ac_ct_DUMPBIN"; then
5768 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5769 else
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 for as_dir in $PATH
5773 IFS=$as_save_IFS
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5777 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 break 2
5781 done
5782 done
5783 IFS=$as_save_IFS
5787 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5788 if test -n "$ac_ct_DUMPBIN"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5790 $as_echo "$ac_ct_DUMPBIN" >&6; }
5791 else
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5797 test -n "$ac_ct_DUMPBIN" && break
5798 done
5800 if test "x$ac_ct_DUMPBIN" = x; then
5801 DUMPBIN=":"
5802 else
5803 case $cross_compiling:$ac_tool_warned in
5804 yes:)
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5807 ac_tool_warned=yes ;;
5808 esac
5809 DUMPBIN=$ac_ct_DUMPBIN
5813 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5814 *COFF*)
5815 DUMPBIN="$DUMPBIN -symbols"
5818 DUMPBIN=:
5820 esac
5823 if test "$DUMPBIN" != ":"; then
5824 NM="$DUMPBIN"
5827 test -z "$NM" && NM=nm
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5835 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5836 if test "${lt_cv_nm_interface+set}" = set; then :
5837 $as_echo_n "(cached) " >&6
5838 else
5839 lt_cv_nm_interface="BSD nm"
5840 echo "int some_variable = 0;" > conftest.$ac_ext
5841 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5842 (eval "$ac_compile" 2>conftest.err)
5843 cat conftest.err >&5
5844 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5845 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5846 cat conftest.err >&5
5847 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5848 cat conftest.out >&5
5849 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5850 lt_cv_nm_interface="MS dumpbin"
5852 rm -f conftest*
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5855 $as_echo "$lt_cv_nm_interface" >&6; }
5857 # find the maximum length of command line arguments
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5859 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5860 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5861 $as_echo_n "(cached) " >&6
5862 else
5864 teststring="ABCD"
5866 case $build_os in
5867 msdosdjgpp*)
5868 # On DJGPP, this test can blow up pretty badly due to problems in libc
5869 # (any single argument exceeding 2000 bytes causes a buffer overrun
5870 # during glob expansion). Even if it were fixed, the result of this
5871 # check would be larger than it should be.
5872 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5875 gnu*)
5876 # Under GNU Hurd, this test is not required because there is
5877 # no limit to the length of command line arguments.
5878 # Libtool will interpret -1 as no limit whatsoever
5879 lt_cv_sys_max_cmd_len=-1;
5882 cygwin* | mingw* | cegcc*)
5883 # On Win9x/ME, this test blows up -- it succeeds, but takes
5884 # about 5 minutes as the teststring grows exponentially.
5885 # Worse, since 9x/ME are not pre-emptively multitasking,
5886 # you end up with a "frozen" computer, even though with patience
5887 # the test eventually succeeds (with a max line length of 256k).
5888 # Instead, let's just punt: use the minimum linelength reported by
5889 # all of the supported platforms: 8192 (on NT/2K/XP).
5890 lt_cv_sys_max_cmd_len=8192;
5893 mint*)
5894 # On MiNT this can take a long time and run out of memory.
5895 lt_cv_sys_max_cmd_len=8192;
5898 amigaos*)
5899 # On AmigaOS with pdksh, this test takes hours, literally.
5900 # So we just punt and use a minimum line length of 8192.
5901 lt_cv_sys_max_cmd_len=8192;
5904 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5905 # This has been around since 386BSD, at least. Likely further.
5906 if test -x /sbin/sysctl; then
5907 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5908 elif test -x /usr/sbin/sysctl; then
5909 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5910 else
5911 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5913 # And add a safety zone
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5915 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5918 interix*)
5919 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5920 lt_cv_sys_max_cmd_len=196608
5923 osf*)
5924 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5925 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5926 # nice to cause kernel panics so lets avoid the loop below.
5927 # First set a reasonable default.
5928 lt_cv_sys_max_cmd_len=16384
5930 if test -x /sbin/sysconfig; then
5931 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5932 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5933 esac
5936 sco3.2v5*)
5937 lt_cv_sys_max_cmd_len=102400
5939 sysv5* | sco5v6* | sysv4.2uw2*)
5940 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5941 if test -n "$kargmax"; then
5942 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5943 else
5944 lt_cv_sys_max_cmd_len=32768
5948 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5949 if test -n "$lt_cv_sys_max_cmd_len"; then
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5951 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5952 else
5953 # Make teststring a little bigger before we do anything with it.
5954 # a 1K string should be a reasonable start.
5955 for i in 1 2 3 4 5 6 7 8 ; do
5956 teststring=$teststring$teststring
5957 done
5958 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5959 # If test is not a shell built-in, we'll probably end up computing a
5960 # maximum length that is only half of the actual maximum length, but
5961 # we can't tell.
5962 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5963 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5964 test $i != 17 # 1/2 MB should be enough
5966 i=`expr $i + 1`
5967 teststring=$teststring$teststring
5968 done
5969 # Only check the string length outside the loop.
5970 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5971 teststring=
5972 # Add a significant safety factor because C++ compilers can tack on
5973 # massive amounts of additional arguments before passing them to the
5974 # linker. It appears as though 1/2 is a usable value.
5975 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5978 esac
5982 if test -n $lt_cv_sys_max_cmd_len ; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5984 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5985 else
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5987 $as_echo "none" >&6; }
5989 max_cmd_len=$lt_cv_sys_max_cmd_len
5996 : ${CP="cp -f"}
5997 : ${MV="mv -f"}
5998 : ${RM="rm -f"}
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6001 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6002 # Try some XSI features
6003 xsi_shell=no
6004 ( _lt_dummy="a/b/c"
6005 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6006 = c,a/b,, \
6007 && eval 'test $(( 1 + 1 )) -eq 2 \
6008 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6009 && xsi_shell=yes
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6011 $as_echo "$xsi_shell" >&6; }
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6015 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6016 lt_shell_append=no
6017 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6018 >/dev/null 2>&1 \
6019 && lt_shell_append=yes
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6021 $as_echo "$lt_shell_append" >&6; }
6024 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6025 lt_unset=unset
6026 else
6027 lt_unset=false
6034 # test EBCDIC or ASCII
6035 case `echo X|tr X '\101'` in
6036 A) # ASCII based system
6037 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6038 lt_SP2NL='tr \040 \012'
6039 lt_NL2SP='tr \015\012 \040\040'
6041 *) # EBCDIC based system
6042 lt_SP2NL='tr \100 \n'
6043 lt_NL2SP='tr \r\n \100\100'
6045 esac
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6056 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6057 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 lt_cv_ld_reload_flag='-r'
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6063 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6064 reload_flag=$lt_cv_ld_reload_flag
6065 case $reload_flag in
6066 "" | " "*) ;;
6067 *) reload_flag=" $reload_flag" ;;
6068 esac
6069 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6070 case $host_os in
6071 darwin*)
6072 if test "$GCC" = yes; then
6073 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6074 else
6075 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6078 esac
6088 if test -n "$ac_tool_prefix"; then
6089 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6090 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092 $as_echo_n "checking for $ac_word... " >&6; }
6093 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6094 $as_echo_n "(cached) " >&6
6095 else
6096 if test -n "$OBJDUMP"; then
6097 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6098 else
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH
6102 IFS=$as_save_IFS
6103 test -z "$as_dir" && as_dir=.
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 break 2
6110 done
6111 done
6112 IFS=$as_save_IFS
6116 OBJDUMP=$ac_cv_prog_OBJDUMP
6117 if test -n "$OBJDUMP"; then
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6119 $as_echo "$OBJDUMP" >&6; }
6120 else
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 $as_echo "no" >&6; }
6127 if test -z "$ac_cv_prog_OBJDUMP"; then
6128 ac_ct_OBJDUMP=$OBJDUMP
6129 # Extract the first word of "objdump", so it can be a program name with args.
6130 set dummy objdump; ac_word=$2
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6132 $as_echo_n "checking for $ac_word... " >&6; }
6133 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6134 $as_echo_n "(cached) " >&6
6135 else
6136 if test -n "$ac_ct_OBJDUMP"; then
6137 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6138 else
6139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 for as_dir in $PATH
6142 IFS=$as_save_IFS
6143 test -z "$as_dir" && as_dir=.
6144 for ac_exec_ext in '' $ac_executable_extensions; do
6145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6146 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6148 break 2
6150 done
6151 done
6152 IFS=$as_save_IFS
6156 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6157 if test -n "$ac_ct_OBJDUMP"; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6159 $as_echo "$ac_ct_OBJDUMP" >&6; }
6160 else
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6162 $as_echo "no" >&6; }
6165 if test "x$ac_ct_OBJDUMP" = x; then
6166 OBJDUMP="false"
6167 else
6168 case $cross_compiling:$ac_tool_warned in
6169 yes:)
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6172 ac_tool_warned=yes ;;
6173 esac
6174 OBJDUMP=$ac_ct_OBJDUMP
6176 else
6177 OBJDUMP="$ac_cv_prog_OBJDUMP"
6180 test -z "$OBJDUMP" && OBJDUMP=objdump
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6191 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6192 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 lt_cv_file_magic_cmd='$MAGIC_CMD'
6196 lt_cv_file_magic_test_file=
6197 lt_cv_deplibs_check_method='unknown'
6198 # Need to set the preceding variable on all platforms that support
6199 # interlibrary dependencies.
6200 # 'none' -- dependencies not supported.
6201 # `unknown' -- same as none, but documents that we really don't know.
6202 # 'pass_all' -- all dependencies passed with no checks.
6203 # 'test_compile' -- check by making test program.
6204 # 'file_magic [[regex]]' -- check by looking for files in library path
6205 # which responds to the $file_magic_cmd with a given extended regex.
6206 # If you have `file' or equivalent on your system and you're not sure
6207 # whether `pass_all' will *always* work, you probably want this one.
6209 case $host_os in
6210 aix[4-9]*)
6211 lt_cv_deplibs_check_method=pass_all
6214 beos*)
6215 lt_cv_deplibs_check_method=pass_all
6218 bsdi[45]*)
6219 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6220 lt_cv_file_magic_cmd='/usr/bin/file -L'
6221 lt_cv_file_magic_test_file=/shlib/libc.so
6224 cygwin*)
6225 # func_win32_libid is a shell function defined in ltmain.sh
6226 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6227 lt_cv_file_magic_cmd='func_win32_libid'
6230 mingw* | pw32*)
6231 # Base MSYS/MinGW do not provide the 'file' command needed by
6232 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6233 # unless we find 'file', for example because we are cross-compiling.
6234 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6235 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6236 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6237 lt_cv_file_magic_cmd='func_win32_libid'
6238 else
6239 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6240 lt_cv_file_magic_cmd='$OBJDUMP -f'
6244 cegcc*)
6245 # use the weaker test based on 'objdump'. See mingw*.
6246 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6247 lt_cv_file_magic_cmd='$OBJDUMP -f'
6250 darwin* | rhapsody*)
6251 lt_cv_deplibs_check_method=pass_all
6254 freebsd* | dragonfly*)
6255 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6256 case $host_cpu in
6257 i*86 )
6258 # Not sure whether the presence of OpenBSD here was a mistake.
6259 # Let's accept both of them until this is cleared up.
6260 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6261 lt_cv_file_magic_cmd=/usr/bin/file
6262 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6264 esac
6265 else
6266 lt_cv_deplibs_check_method=pass_all
6270 gnu*)
6271 lt_cv_deplibs_check_method=pass_all
6274 haiku*)
6275 lt_cv_deplibs_check_method=pass_all
6278 hpux10.20* | hpux11*)
6279 lt_cv_file_magic_cmd=/usr/bin/file
6280 case $host_cpu in
6281 ia64*)
6282 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6283 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6285 hppa*64*)
6286 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]'
6287 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6290 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6291 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6293 esac
6296 interix[3-9]*)
6297 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6298 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6301 irix5* | irix6* | nonstopux*)
6302 case $LD in
6303 *-32|*"-32 ") libmagic=32-bit;;
6304 *-n32|*"-n32 ") libmagic=N32;;
6305 *-64|*"-64 ") libmagic=64-bit;;
6306 *) libmagic=never-match;;
6307 esac
6308 lt_cv_deplibs_check_method=pass_all
6311 # This must be Linux ELF.
6312 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6313 lt_cv_deplibs_check_method=pass_all
6316 netbsd*)
6317 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6318 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6319 else
6320 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6324 newos6*)
6325 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6326 lt_cv_file_magic_cmd=/usr/bin/file
6327 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6330 *nto* | *qnx*)
6331 lt_cv_deplibs_check_method=pass_all
6334 openbsd*)
6335 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6337 else
6338 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6342 osf3* | osf4* | osf5*)
6343 lt_cv_deplibs_check_method=pass_all
6346 rdos*)
6347 lt_cv_deplibs_check_method=pass_all
6350 solaris*)
6351 lt_cv_deplibs_check_method=pass_all
6354 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6355 lt_cv_deplibs_check_method=pass_all
6358 sysv4 | sysv4.3*)
6359 case $host_vendor in
6360 motorola)
6361 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]'
6362 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6364 ncr)
6365 lt_cv_deplibs_check_method=pass_all
6367 sequent)
6368 lt_cv_file_magic_cmd='/bin/file'
6369 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6371 sni)
6372 lt_cv_file_magic_cmd='/bin/file'
6373 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6374 lt_cv_file_magic_test_file=/lib/libc.so
6376 siemens)
6377 lt_cv_deplibs_check_method=pass_all
6380 lt_cv_deplibs_check_method=pass_all
6382 esac
6385 tpf*)
6386 lt_cv_deplibs_check_method=pass_all
6388 esac
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6392 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6393 file_magic_cmd=$lt_cv_file_magic_cmd
6394 deplibs_check_method=$lt_cv_deplibs_check_method
6395 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6408 if test -n "$ac_tool_prefix"; then
6409 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6410 set dummy ${ac_tool_prefix}ar; ac_word=$2
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6412 $as_echo_n "checking for $ac_word... " >&6; }
6413 if test "${ac_cv_prog_AR+set}" = set; then :
6414 $as_echo_n "(cached) " >&6
6415 else
6416 if test -n "$AR"; then
6417 ac_cv_prog_AR="$AR" # Let the user override the test.
6418 else
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 for as_dir in $PATH
6422 IFS=$as_save_IFS
6423 test -z "$as_dir" && as_dir=.
6424 for ac_exec_ext in '' $ac_executable_extensions; do
6425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6426 ac_cv_prog_AR="${ac_tool_prefix}ar"
6427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6428 break 2
6430 done
6431 done
6432 IFS=$as_save_IFS
6436 AR=$ac_cv_prog_AR
6437 if test -n "$AR"; then
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6439 $as_echo "$AR" >&6; }
6440 else
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6442 $as_echo "no" >&6; }
6447 if test -z "$ac_cv_prog_AR"; then
6448 ac_ct_AR=$AR
6449 # Extract the first word of "ar", so it can be a program name with args.
6450 set dummy ar; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 $as_echo_n "checking for $ac_word... " >&6; }
6453 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6454 $as_echo_n "(cached) " >&6
6455 else
6456 if test -n "$ac_ct_AR"; then
6457 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6458 else
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 for as_dir in $PATH
6462 IFS=$as_save_IFS
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6466 ac_cv_prog_ac_ct_AR="ar"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 break 2
6470 done
6471 done
6472 IFS=$as_save_IFS
6476 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6477 if test -n "$ac_ct_AR"; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6479 $as_echo "$ac_ct_AR" >&6; }
6480 else
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6482 $as_echo "no" >&6; }
6485 if test "x$ac_ct_AR" = x; then
6486 AR="false"
6487 else
6488 case $cross_compiling:$ac_tool_warned in
6489 yes:)
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6492 ac_tool_warned=yes ;;
6493 esac
6494 AR=$ac_ct_AR
6496 else
6497 AR="$ac_cv_prog_AR"
6500 test -z "$AR" && AR=ar
6501 test -z "$AR_FLAGS" && AR_FLAGS=cru
6513 if test -n "$ac_tool_prefix"; then
6514 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6515 set dummy ${ac_tool_prefix}strip; ac_word=$2
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6517 $as_echo_n "checking for $ac_word... " >&6; }
6518 if test "${ac_cv_prog_STRIP+set}" = set; then :
6519 $as_echo_n "(cached) " >&6
6520 else
6521 if test -n "$STRIP"; then
6522 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6523 else
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 for as_dir in $PATH
6527 IFS=$as_save_IFS
6528 test -z "$as_dir" && as_dir=.
6529 for ac_exec_ext in '' $ac_executable_extensions; do
6530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6531 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6533 break 2
6535 done
6536 done
6537 IFS=$as_save_IFS
6541 STRIP=$ac_cv_prog_STRIP
6542 if test -n "$STRIP"; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6544 $as_echo "$STRIP" >&6; }
6545 else
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6547 $as_echo "no" >&6; }
6552 if test -z "$ac_cv_prog_STRIP"; then
6553 ac_ct_STRIP=$STRIP
6554 # Extract the first word of "strip", so it can be a program name with args.
6555 set dummy strip; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557 $as_echo_n "checking for $ac_word... " >&6; }
6558 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6559 $as_echo_n "(cached) " >&6
6560 else
6561 if test -n "$ac_ct_STRIP"; then
6562 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6563 else
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 for as_dir in $PATH
6567 IFS=$as_save_IFS
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6571 ac_cv_prog_ac_ct_STRIP="strip"
6572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 break 2
6575 done
6576 done
6577 IFS=$as_save_IFS
6581 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6582 if test -n "$ac_ct_STRIP"; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6584 $as_echo "$ac_ct_STRIP" >&6; }
6585 else
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 $as_echo "no" >&6; }
6590 if test "x$ac_ct_STRIP" = x; then
6591 STRIP=":"
6592 else
6593 case $cross_compiling:$ac_tool_warned in
6594 yes:)
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6597 ac_tool_warned=yes ;;
6598 esac
6599 STRIP=$ac_ct_STRIP
6601 else
6602 STRIP="$ac_cv_prog_STRIP"
6605 test -z "$STRIP" && STRIP=:
6612 if test -n "$ac_tool_prefix"; then
6613 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6614 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616 $as_echo_n "checking for $ac_word... " >&6; }
6617 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6618 $as_echo_n "(cached) " >&6
6619 else
6620 if test -n "$RANLIB"; then
6621 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6622 else
6623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624 for as_dir in $PATH
6626 IFS=$as_save_IFS
6627 test -z "$as_dir" && as_dir=.
6628 for ac_exec_ext in '' $ac_executable_extensions; do
6629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6630 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6632 break 2
6634 done
6635 done
6636 IFS=$as_save_IFS
6640 RANLIB=$ac_cv_prog_RANLIB
6641 if test -n "$RANLIB"; then
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6643 $as_echo "$RANLIB" >&6; }
6644 else
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6646 $as_echo "no" >&6; }
6651 if test -z "$ac_cv_prog_RANLIB"; then
6652 ac_ct_RANLIB=$RANLIB
6653 # Extract the first word of "ranlib", so it can be a program name with args.
6654 set dummy ranlib; ac_word=$2
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656 $as_echo_n "checking for $ac_word... " >&6; }
6657 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6658 $as_echo_n "(cached) " >&6
6659 else
6660 if test -n "$ac_ct_RANLIB"; then
6661 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6662 else
6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664 for as_dir in $PATH
6666 IFS=$as_save_IFS
6667 test -z "$as_dir" && as_dir=.
6668 for ac_exec_ext in '' $ac_executable_extensions; do
6669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6670 ac_cv_prog_ac_ct_RANLIB="ranlib"
6671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6672 break 2
6674 done
6675 done
6676 IFS=$as_save_IFS
6680 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6681 if test -n "$ac_ct_RANLIB"; then
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6683 $as_echo "$ac_ct_RANLIB" >&6; }
6684 else
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 $as_echo "no" >&6; }
6689 if test "x$ac_ct_RANLIB" = x; then
6690 RANLIB=":"
6691 else
6692 case $cross_compiling:$ac_tool_warned in
6693 yes:)
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6696 ac_tool_warned=yes ;;
6697 esac
6698 RANLIB=$ac_ct_RANLIB
6700 else
6701 RANLIB="$ac_cv_prog_RANLIB"
6704 test -z "$RANLIB" && RANLIB=:
6711 # Determine commands to create old-style static archives.
6712 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6713 old_postinstall_cmds='chmod 644 $oldlib'
6714 old_postuninstall_cmds=
6716 if test -n "$RANLIB"; then
6717 case $host_os in
6718 openbsd*)
6719 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6722 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6724 esac
6725 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6728 case $host_os in
6729 darwin*)
6730 lock_old_archive_extraction=yes ;;
6732 lock_old_archive_extraction=no ;;
6733 esac
6773 # If no C compiler was specified, use CC.
6774 LTCC=${LTCC-"$CC"}
6776 # If no C compiler flags were specified, use CFLAGS.
6777 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6779 # Allow CC to be a program name with arguments.
6780 compiler=$CC
6783 # Check for command to grab the raw symbol name followed by C symbol from nm.
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6785 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6786 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6787 $as_echo_n "(cached) " >&6
6788 else
6790 # These are sane defaults that work on at least a few old systems.
6791 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6793 # Character class describing NM global symbol codes.
6794 symcode='[BCDEGRST]'
6796 # Regexp to match symbols that can be accessed directly from C.
6797 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6799 # Define system-specific variables.
6800 case $host_os in
6801 aix*)
6802 symcode='[BCDT]'
6804 cygwin* | mingw* | pw32* | cegcc*)
6805 symcode='[ABCDGISTW]'
6807 hpux*)
6808 if test "$host_cpu" = ia64; then
6809 symcode='[ABCDEGRST]'
6812 irix* | nonstopux*)
6813 symcode='[BCDEGRST]'
6815 osf*)
6816 symcode='[BCDEGQRST]'
6818 solaris*)
6819 symcode='[BDRT]'
6821 sco3.2v5*)
6822 symcode='[DT]'
6824 sysv4.2uw2*)
6825 symcode='[DT]'
6827 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6828 symcode='[ABDT]'
6830 sysv4)
6831 symcode='[DFNSTU]'
6833 esac
6835 # If we're using GNU nm, then use its standard symbol codes.
6836 case `$NM -V 2>&1` in
6837 *GNU* | *'with BFD'*)
6838 symcode='[ABCDGIRSTW]' ;;
6839 esac
6841 # Transform an extracted symbol line into a proper C declaration.
6842 # Some systems (esp. on ia64) link data and code symbols differently,
6843 # so use this general approach.
6844 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6846 # Transform an extracted symbol line into symbol name and symbol address
6847 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6848 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'"
6850 # Handle CRLF in mingw tool chain
6851 opt_cr=
6852 case $build_os in
6853 mingw*)
6854 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6856 esac
6858 # Try without a prefix underscore, then with it.
6859 for ac_symprfx in "" "_"; do
6861 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6862 symxfrm="\\1 $ac_symprfx\\2 \\2"
6864 # Write the raw and C identifiers.
6865 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6866 # Fake it for dumpbin and say T for any non-static function
6867 # and D for any global variable.
6868 # Also find C++ and __fastcall symbols from MSVC++,
6869 # which start with @ or ?.
6870 lt_cv_sys_global_symbol_pipe="$AWK '"\
6871 " {last_section=section; section=\$ 3};"\
6872 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6873 " \$ 0!~/External *\|/{next};"\
6874 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6875 " {if(hide[section]) next};"\
6876 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6877 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6878 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6879 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6880 " ' prfx=^$ac_symprfx"
6881 else
6882 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6885 # Check to see that the pipe works correctly.
6886 pipe_works=no
6888 rm -f conftest*
6889 cat > conftest.$ac_ext <<_LT_EOF
6890 #ifdef __cplusplus
6891 extern "C" {
6892 #endif
6893 char nm_test_var;
6894 void nm_test_func(void);
6895 void nm_test_func(void){}
6896 #ifdef __cplusplus
6898 #endif
6899 int main(){nm_test_var='a';nm_test_func();return(0);}
6900 _LT_EOF
6902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6903 (eval $ac_compile) 2>&5
6904 ac_status=$?
6905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6906 test $ac_status = 0; }; then
6907 # Now try to grab the symbols.
6908 nlist=conftest.nm
6909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6910 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6911 ac_status=$?
6912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6913 test $ac_status = 0; } && test -s "$nlist"; then
6914 # Try sorting and uniquifying the output.
6915 if sort "$nlist" | uniq > "$nlist"T; then
6916 mv -f "$nlist"T "$nlist"
6917 else
6918 rm -f "$nlist"T
6921 # Make sure that we snagged all the symbols we need.
6922 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6923 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6924 cat <<_LT_EOF > conftest.$ac_ext
6925 #ifdef __cplusplus
6926 extern "C" {
6927 #endif
6929 _LT_EOF
6930 # Now generate the symbol file.
6931 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6933 cat <<_LT_EOF >> conftest.$ac_ext
6935 /* The mapping between symbol names and symbols. */
6936 const struct {
6937 const char *name;
6938 void *address;
6940 lt__PROGRAM__LTX_preloaded_symbols[] =
6942 { "@PROGRAM@", (void *) 0 },
6943 _LT_EOF
6944 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6945 cat <<\_LT_EOF >> conftest.$ac_ext
6946 {0, (void *) 0}
6949 /* This works around a problem in FreeBSD linker */
6950 #ifdef FREEBSD_WORKAROUND
6951 static const void *lt_preloaded_setup() {
6952 return lt__PROGRAM__LTX_preloaded_symbols;
6954 #endif
6956 #ifdef __cplusplus
6958 #endif
6959 _LT_EOF
6960 # Now try linking the two files.
6961 mv conftest.$ac_objext conftstm.$ac_objext
6962 lt_save_LIBS="$LIBS"
6963 lt_save_CFLAGS="$CFLAGS"
6964 LIBS="conftstm.$ac_objext"
6965 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6967 (eval $ac_link) 2>&5
6968 ac_status=$?
6969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6970 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6971 pipe_works=yes
6973 LIBS="$lt_save_LIBS"
6974 CFLAGS="$lt_save_CFLAGS"
6975 else
6976 echo "cannot find nm_test_func in $nlist" >&5
6978 else
6979 echo "cannot find nm_test_var in $nlist" >&5
6981 else
6982 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6984 else
6985 echo "$progname: failed program was:" >&5
6986 cat conftest.$ac_ext >&5
6988 rm -rf conftest* conftst*
6990 # Do not use the global_symbol_pipe unless it works.
6991 if test "$pipe_works" = yes; then
6992 break
6993 else
6994 lt_cv_sys_global_symbol_pipe=
6996 done
7000 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7001 lt_cv_sys_global_symbol_to_cdecl=
7003 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7005 $as_echo "failed" >&6; }
7006 else
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7008 $as_echo "ok" >&6; }
7032 # Check whether --enable-libtool-lock was given.
7033 if test "${enable_libtool_lock+set}" = set; then :
7034 enableval=$enable_libtool_lock;
7037 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7039 # Some flags need to be propagated to the compiler or linker for good
7040 # libtool support.
7041 case $host in
7042 ia64-*-hpux*)
7043 # Find out which ABI we are using.
7044 echo 'int i;' > conftest.$ac_ext
7045 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7046 (eval $ac_compile) 2>&5
7047 ac_status=$?
7048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7049 test $ac_status = 0; }; then
7050 case `/usr/bin/file conftest.$ac_objext` in
7051 *ELF-32*)
7052 HPUX_IA64_MODE="32"
7054 *ELF-64*)
7055 HPUX_IA64_MODE="64"
7057 esac
7059 rm -rf conftest*
7061 *-*-irix6*)
7062 # Find out which ABI we are using.
7063 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7064 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7065 (eval $ac_compile) 2>&5
7066 ac_status=$?
7067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7068 test $ac_status = 0; }; then
7069 if test "$lt_cv_prog_gnu_ld" = yes; then
7070 case `/usr/bin/file conftest.$ac_objext` in
7071 *32-bit*)
7072 LD="${LD-ld} -melf32bsmip"
7074 *N32*)
7075 LD="${LD-ld} -melf32bmipn32"
7077 *64-bit*)
7078 LD="${LD-ld} -melf64bmip"
7080 esac
7081 else
7082 case `/usr/bin/file conftest.$ac_objext` in
7083 *32-bit*)
7084 LD="${LD-ld} -32"
7086 *N32*)
7087 LD="${LD-ld} -n32"
7089 *64-bit*)
7090 LD="${LD-ld} -64"
7092 esac
7095 rm -rf conftest*
7098 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7099 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7100 # Find out which ABI we are using.
7101 echo 'int i;' > conftest.$ac_ext
7102 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7103 (eval $ac_compile) 2>&5
7104 ac_status=$?
7105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7106 test $ac_status = 0; }; then
7107 case `/usr/bin/file conftest.o` in
7108 *32-bit*)
7109 case $host in
7110 x86_64-*kfreebsd*-gnu)
7111 LD="${LD-ld} -m elf_i386_fbsd"
7113 x86_64-*linux*)
7114 LD="${LD-ld} -m elf_i386"
7116 ppc64-*linux*|powerpc64-*linux*)
7117 LD="${LD-ld} -m elf32ppclinux"
7119 s390x-*linux*)
7120 LD="${LD-ld} -m elf_s390"
7122 sparc64-*linux*)
7123 LD="${LD-ld} -m elf32_sparc"
7125 esac
7127 *64-bit*)
7128 case $host in
7129 x86_64-*kfreebsd*-gnu)
7130 LD="${LD-ld} -m elf_x86_64_fbsd"
7132 x86_64-*linux*)
7133 LD="${LD-ld} -m elf_x86_64"
7135 ppc*-*linux*|powerpc*-*linux*)
7136 LD="${LD-ld} -m elf64ppc"
7138 s390*-*linux*|s390*-*tpf*)
7139 LD="${LD-ld} -m elf64_s390"
7141 sparc*-*linux*)
7142 LD="${LD-ld} -m elf64_sparc"
7144 esac
7146 esac
7148 rm -rf conftest*
7151 *-*-sco3.2v5*)
7152 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7153 SAVE_CFLAGS="$CFLAGS"
7154 CFLAGS="$CFLAGS -belf"
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7156 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7157 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7158 $as_echo_n "(cached) " >&6
7159 else
7160 ac_ext=c
7161 ac_cpp='$CPP $CPPFLAGS'
7162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7166 if test x$gcc_no_link = xyes; then
7167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7170 /* end confdefs.h. */
7173 main ()
7177 return 0;
7179 _ACEOF
7180 if ac_fn_c_try_link "$LINENO"; then :
7181 lt_cv_cc_needs_belf=yes
7182 else
7183 lt_cv_cc_needs_belf=no
7185 rm -f core conftest.err conftest.$ac_objext \
7186 conftest$ac_exeext conftest.$ac_ext
7187 ac_ext=c
7188 ac_cpp='$CPP $CPPFLAGS'
7189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7195 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7196 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7197 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7198 CFLAGS="$SAVE_CFLAGS"
7201 sparc*-*solaris*)
7202 # Find out which ABI we are using.
7203 echo 'int i;' > conftest.$ac_ext
7204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7205 (eval $ac_compile) 2>&5
7206 ac_status=$?
7207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7208 test $ac_status = 0; }; then
7209 case `/usr/bin/file conftest.o` in
7210 *64-bit*)
7211 case $lt_cv_prog_gnu_ld in
7212 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7214 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7215 LD="${LD-ld} -64"
7218 esac
7220 esac
7222 rm -rf conftest*
7224 esac
7226 need_locks="$enable_libtool_lock"
7229 case $host_os in
7230 rhapsody* | darwin*)
7231 if test -n "$ac_tool_prefix"; then
7232 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7233 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7237 $as_echo_n "(cached) " >&6
7238 else
7239 if test -n "$DSYMUTIL"; then
7240 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7245 IFS=$as_save_IFS
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 break 2
7253 done
7254 done
7255 IFS=$as_save_IFS
7259 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7260 if test -n "$DSYMUTIL"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7262 $as_echo "$DSYMUTIL" >&6; }
7263 else
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7270 if test -z "$ac_cv_prog_DSYMUTIL"; then
7271 ac_ct_DSYMUTIL=$DSYMUTIL
7272 # Extract the first word of "dsymutil", so it can be a program name with args.
7273 set dummy dsymutil; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7277 $as_echo_n "(cached) " >&6
7278 else
7279 if test -n "$ac_ct_DSYMUTIL"; then
7280 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7285 IFS=$as_save_IFS
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7289 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 break 2
7293 done
7294 done
7295 IFS=$as_save_IFS
7299 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7300 if test -n "$ac_ct_DSYMUTIL"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7302 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7303 else
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7308 if test "x$ac_ct_DSYMUTIL" = x; then
7309 DSYMUTIL=":"
7310 else
7311 case $cross_compiling:$ac_tool_warned in
7312 yes:)
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315 ac_tool_warned=yes ;;
7316 esac
7317 DSYMUTIL=$ac_ct_DSYMUTIL
7319 else
7320 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7323 if test -n "$ac_tool_prefix"; then
7324 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7329 $as_echo_n "(cached) " >&6
7330 else
7331 if test -n "$NMEDIT"; then
7332 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7333 else
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 for as_dir in $PATH
7337 IFS=$as_save_IFS
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7341 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 break 2
7345 done
7346 done
7347 IFS=$as_save_IFS
7351 NMEDIT=$ac_cv_prog_NMEDIT
7352 if test -n "$NMEDIT"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7354 $as_echo "$NMEDIT" >&6; }
7355 else
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7362 if test -z "$ac_cv_prog_NMEDIT"; then
7363 ac_ct_NMEDIT=$NMEDIT
7364 # Extract the first word of "nmedit", so it can be a program name with args.
7365 set dummy nmedit; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7369 $as_echo_n "(cached) " >&6
7370 else
7371 if test -n "$ac_ct_NMEDIT"; then
7372 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7373 else
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 for as_dir in $PATH
7377 IFS=$as_save_IFS
7378 test -z "$as_dir" && as_dir=.
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7381 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383 break 2
7385 done
7386 done
7387 IFS=$as_save_IFS
7391 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7392 if test -n "$ac_ct_NMEDIT"; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7394 $as_echo "$ac_ct_NMEDIT" >&6; }
7395 else
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7400 if test "x$ac_ct_NMEDIT" = x; then
7401 NMEDIT=":"
7402 else
7403 case $cross_compiling:$ac_tool_warned in
7404 yes:)
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7407 ac_tool_warned=yes ;;
7408 esac
7409 NMEDIT=$ac_ct_NMEDIT
7411 else
7412 NMEDIT="$ac_cv_prog_NMEDIT"
7415 if test -n "$ac_tool_prefix"; then
7416 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7417 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 $as_echo_n "checking for $ac_word... " >&6; }
7420 if test "${ac_cv_prog_LIPO+set}" = set; then :
7421 $as_echo_n "(cached) " >&6
7422 else
7423 if test -n "$LIPO"; then
7424 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7425 else
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 for as_dir in $PATH
7429 IFS=$as_save_IFS
7430 test -z "$as_dir" && as_dir=.
7431 for ac_exec_ext in '' $ac_executable_extensions; do
7432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7433 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 break 2
7437 done
7438 done
7439 IFS=$as_save_IFS
7443 LIPO=$ac_cv_prog_LIPO
7444 if test -n "$LIPO"; then
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7446 $as_echo "$LIPO" >&6; }
7447 else
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 $as_echo "no" >&6; }
7454 if test -z "$ac_cv_prog_LIPO"; then
7455 ac_ct_LIPO=$LIPO
7456 # Extract the first word of "lipo", so it can be a program name with args.
7457 set dummy lipo; ac_word=$2
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7459 $as_echo_n "checking for $ac_word... " >&6; }
7460 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7461 $as_echo_n "(cached) " >&6
7462 else
7463 if test -n "$ac_ct_LIPO"; then
7464 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7465 else
7466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 for as_dir in $PATH
7469 IFS=$as_save_IFS
7470 test -z "$as_dir" && as_dir=.
7471 for ac_exec_ext in '' $ac_executable_extensions; do
7472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7473 ac_cv_prog_ac_ct_LIPO="lipo"
7474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7475 break 2
7477 done
7478 done
7479 IFS=$as_save_IFS
7483 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7484 if test -n "$ac_ct_LIPO"; then
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7486 $as_echo "$ac_ct_LIPO" >&6; }
7487 else
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7489 $as_echo "no" >&6; }
7492 if test "x$ac_ct_LIPO" = x; then
7493 LIPO=":"
7494 else
7495 case $cross_compiling:$ac_tool_warned in
7496 yes:)
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7499 ac_tool_warned=yes ;;
7500 esac
7501 LIPO=$ac_ct_LIPO
7503 else
7504 LIPO="$ac_cv_prog_LIPO"
7507 if test -n "$ac_tool_prefix"; then
7508 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7509 set dummy ${ac_tool_prefix}otool; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511 $as_echo_n "checking for $ac_word... " >&6; }
7512 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7513 $as_echo_n "(cached) " >&6
7514 else
7515 if test -n "$OTOOL"; then
7516 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7517 else
7518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 for as_dir in $PATH
7521 IFS=$as_save_IFS
7522 test -z "$as_dir" && as_dir=.
7523 for ac_exec_ext in '' $ac_executable_extensions; do
7524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 break 2
7529 done
7530 done
7531 IFS=$as_save_IFS
7535 OTOOL=$ac_cv_prog_OTOOL
7536 if test -n "$OTOOL"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7538 $as_echo "$OTOOL" >&6; }
7539 else
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541 $as_echo "no" >&6; }
7546 if test -z "$ac_cv_prog_OTOOL"; then
7547 ac_ct_OTOOL=$OTOOL
7548 # Extract the first word of "otool", so it can be a program name with args.
7549 set dummy otool; ac_word=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7553 $as_echo_n "(cached) " >&6
7554 else
7555 if test -n "$ac_ct_OTOOL"; then
7556 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7557 else
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 for as_dir in $PATH
7561 IFS=$as_save_IFS
7562 test -z "$as_dir" && as_dir=.
7563 for ac_exec_ext in '' $ac_executable_extensions; do
7564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7565 ac_cv_prog_ac_ct_OTOOL="otool"
7566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7567 break 2
7569 done
7570 done
7571 IFS=$as_save_IFS
7575 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7576 if test -n "$ac_ct_OTOOL"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7578 $as_echo "$ac_ct_OTOOL" >&6; }
7579 else
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7584 if test "x$ac_ct_OTOOL" = x; then
7585 OTOOL=":"
7586 else
7587 case $cross_compiling:$ac_tool_warned in
7588 yes:)
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7591 ac_tool_warned=yes ;;
7592 esac
7593 OTOOL=$ac_ct_OTOOL
7595 else
7596 OTOOL="$ac_cv_prog_OTOOL"
7599 if test -n "$ac_tool_prefix"; then
7600 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7601 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7603 $as_echo_n "checking for $ac_word... " >&6; }
7604 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7605 $as_echo_n "(cached) " >&6
7606 else
7607 if test -n "$OTOOL64"; then
7608 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7609 else
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 for as_dir in $PATH
7613 IFS=$as_save_IFS
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 break 2
7621 done
7622 done
7623 IFS=$as_save_IFS
7627 OTOOL64=$ac_cv_prog_OTOOL64
7628 if test -n "$OTOOL64"; then
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7630 $as_echo "$OTOOL64" >&6; }
7631 else
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633 $as_echo "no" >&6; }
7638 if test -z "$ac_cv_prog_OTOOL64"; then
7639 ac_ct_OTOOL64=$OTOOL64
7640 # Extract the first word of "otool64", so it can be a program name with args.
7641 set dummy otool64; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7645 $as_echo_n "(cached) " >&6
7646 else
7647 if test -n "$ac_ct_OTOOL64"; then
7648 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7649 else
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 for as_dir in $PATH
7653 IFS=$as_save_IFS
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7657 ac_cv_prog_ac_ct_OTOOL64="otool64"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 break 2
7661 done
7662 done
7663 IFS=$as_save_IFS
7667 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7668 if test -n "$ac_ct_OTOOL64"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7670 $as_echo "$ac_ct_OTOOL64" >&6; }
7671 else
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7676 if test "x$ac_ct_OTOOL64" = x; then
7677 OTOOL64=":"
7678 else
7679 case $cross_compiling:$ac_tool_warned in
7680 yes:)
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7683 ac_tool_warned=yes ;;
7684 esac
7685 OTOOL64=$ac_ct_OTOOL64
7687 else
7688 OTOOL64="$ac_cv_prog_OTOOL64"
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7718 $as_echo_n "checking for -single_module linker flag... " >&6; }
7719 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7720 $as_echo_n "(cached) " >&6
7721 else
7722 lt_cv_apple_cc_single_mod=no
7723 if test -z "${LT_MULTI_MODULE}"; then
7724 # By default we will add the -single_module flag. You can override
7725 # by either setting the environment variable LT_MULTI_MODULE
7726 # non-empty at configure time, or by adding -multi_module to the
7727 # link flags.
7728 rm -rf libconftest.dylib*
7729 echo "int foo(void){return 1;}" > conftest.c
7730 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7731 -dynamiclib -Wl,-single_module conftest.c" >&5
7732 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7733 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7734 _lt_result=$?
7735 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7736 lt_cv_apple_cc_single_mod=yes
7737 else
7738 cat conftest.err >&5
7740 rm -rf libconftest.dylib*
7741 rm -f conftest.*
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7745 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7747 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7748 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 lt_cv_ld_exported_symbols_list=no
7752 save_LDFLAGS=$LDFLAGS
7753 echo "_main" > conftest.sym
7754 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7755 if test x$gcc_no_link = xyes; then
7756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7762 main ()
7766 return 0;
7768 _ACEOF
7769 if ac_fn_c_try_link "$LINENO"; then :
7770 lt_cv_ld_exported_symbols_list=yes
7771 else
7772 lt_cv_ld_exported_symbols_list=no
7774 rm -f core conftest.err conftest.$ac_objext \
7775 conftest$ac_exeext conftest.$ac_ext
7776 LDFLAGS="$save_LDFLAGS"
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7780 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7782 $as_echo_n "checking for -force_load linker flag... " >&6; }
7783 if test "${lt_cv_ld_force_load+set}" = set; then :
7784 $as_echo_n "(cached) " >&6
7785 else
7786 lt_cv_ld_force_load=no
7787 cat > conftest.c << _LT_EOF
7788 int forced_loaded() { return 2;}
7789 _LT_EOF
7790 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7791 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7792 echo "$AR cru libconftest.a conftest.o" >&5
7793 $AR cru libconftest.a conftest.o 2>&5
7794 cat > conftest.c << _LT_EOF
7795 int main() { return 0;}
7796 _LT_EOF
7797 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7798 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7799 _lt_result=$?
7800 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7801 lt_cv_ld_force_load=yes
7802 else
7803 cat conftest.err >&5
7805 rm -f conftest.err libconftest.a conftest conftest.c
7806 rm -rf conftest.dSYM
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7810 $as_echo "$lt_cv_ld_force_load" >&6; }
7811 case $host_os in
7812 rhapsody* | darwin1.[012])
7813 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7814 darwin1.*)
7815 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7816 darwin*) # darwin 5.x on
7817 # if running on 10.5 or later, the deployment target defaults
7818 # to the OS version, if on x86, and 10.4, the deployment
7819 # target defaults to 10.4. Don't you love it?
7820 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7821 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7822 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7823 10.[012]*)
7824 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7825 10.*)
7826 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7827 esac
7829 esac
7830 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7831 _lt_dar_single_mod='$single_module'
7833 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7834 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7835 else
7836 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7838 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7839 _lt_dsymutil='~$DSYMUTIL $lib || :'
7840 else
7841 _lt_dsymutil=
7844 esac
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7847 $as_echo_n "checking for ANSI C header files... " >&6; }
7848 if test "${ac_cv_header_stdc+set}" = set; then :
7849 $as_echo_n "(cached) " >&6
7850 else
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7853 #include <stdlib.h>
7854 #include <stdarg.h>
7855 #include <string.h>
7856 #include <float.h>
7859 main ()
7863 return 0;
7865 _ACEOF
7866 if ac_fn_c_try_compile "$LINENO"; then :
7867 ac_cv_header_stdc=yes
7868 else
7869 ac_cv_header_stdc=no
7871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7873 if test $ac_cv_header_stdc = yes; then
7874 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7877 #include <string.h>
7879 _ACEOF
7880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7881 $EGREP "memchr" >/dev/null 2>&1; then :
7883 else
7884 ac_cv_header_stdc=no
7886 rm -f conftest*
7890 if test $ac_cv_header_stdc = yes; then
7891 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7894 #include <stdlib.h>
7896 _ACEOF
7897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7898 $EGREP "free" >/dev/null 2>&1; then :
7900 else
7901 ac_cv_header_stdc=no
7903 rm -f conftest*
7907 if test $ac_cv_header_stdc = yes; then
7908 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7909 if test "$cross_compiling" = yes; then :
7911 else
7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h. */
7914 #include <ctype.h>
7915 #include <stdlib.h>
7916 #if ((' ' & 0x0FF) == 0x020)
7917 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7918 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7919 #else
7920 # define ISLOWER(c) \
7921 (('a' <= (c) && (c) <= 'i') \
7922 || ('j' <= (c) && (c) <= 'r') \
7923 || ('s' <= (c) && (c) <= 'z'))
7924 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7925 #endif
7927 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7929 main ()
7931 int i;
7932 for (i = 0; i < 256; i++)
7933 if (XOR (islower (i), ISLOWER (i))
7934 || toupper (i) != TOUPPER (i))
7935 return 2;
7936 return 0;
7938 _ACEOF
7939 if ac_fn_c_try_run "$LINENO"; then :
7941 else
7942 ac_cv_header_stdc=no
7944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7945 conftest.$ac_objext conftest.beam conftest.$ac_ext
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7951 $as_echo "$ac_cv_header_stdc" >&6; }
7952 if test $ac_cv_header_stdc = yes; then
7954 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7958 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7959 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7960 inttypes.h stdint.h unistd.h
7961 do :
7962 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7963 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7965 eval as_val=\$$as_ac_Header
7966 if test "x$as_val" = x""yes; then :
7967 cat >>confdefs.h <<_ACEOF
7968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7969 _ACEOF
7973 done
7976 for ac_header in dlfcn.h
7977 do :
7978 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7980 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7981 cat >>confdefs.h <<_ACEOF
7982 #define HAVE_DLFCN_H 1
7983 _ACEOF
7987 done
7994 # Set options
7999 enable_win32_dll=no
8002 # Check whether --enable-shared was given.
8003 if test "${enable_shared+set}" = set; then :
8004 enableval=$enable_shared; p=${PACKAGE-default}
8005 case $enableval in
8006 yes) enable_shared=yes ;;
8007 no) enable_shared=no ;;
8009 enable_shared=no
8010 # Look at the argument we got. We use all the common list separators.
8011 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8012 for pkg in $enableval; do
8013 IFS="$lt_save_ifs"
8014 if test "X$pkg" = "X$p"; then
8015 enable_shared=yes
8017 done
8018 IFS="$lt_save_ifs"
8020 esac
8021 else
8022 enable_shared=yes
8033 # Check whether --enable-static was given.
8034 if test "${enable_static+set}" = set; then :
8035 enableval=$enable_static; p=${PACKAGE-default}
8036 case $enableval in
8037 yes) enable_static=yes ;;
8038 no) enable_static=no ;;
8040 enable_static=no
8041 # Look at the argument we got. We use all the common list separators.
8042 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8043 for pkg in $enableval; do
8044 IFS="$lt_save_ifs"
8045 if test "X$pkg" = "X$p"; then
8046 enable_static=yes
8048 done
8049 IFS="$lt_save_ifs"
8051 esac
8052 else
8053 enable_static=yes
8065 # Check whether --with-pic was given.
8066 if test "${with_pic+set}" = set; then :
8067 withval=$with_pic; pic_mode="$withval"
8068 else
8069 pic_mode=default
8073 test -z "$pic_mode" && pic_mode=default
8081 # Check whether --enable-fast-install was given.
8082 if test "${enable_fast_install+set}" = set; then :
8083 enableval=$enable_fast_install; p=${PACKAGE-default}
8084 case $enableval in
8085 yes) enable_fast_install=yes ;;
8086 no) enable_fast_install=no ;;
8088 enable_fast_install=no
8089 # Look at the argument we got. We use all the common list separators.
8090 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8091 for pkg in $enableval; do
8092 IFS="$lt_save_ifs"
8093 if test "X$pkg" = "X$p"; then
8094 enable_fast_install=yes
8096 done
8097 IFS="$lt_save_ifs"
8099 esac
8100 else
8101 enable_fast_install=yes
8114 # This can be used to rebuild libtool when needed
8115 LIBTOOL_DEPS="$ltmain"
8117 # Always use our own libtool.
8118 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8145 test -z "$LN_S" && LN_S="ln -s"
8160 if test -n "${ZSH_VERSION+set}" ; then
8161 setopt NO_GLOB_SUBST
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8165 $as_echo_n "checking for objdir... " >&6; }
8166 if test "${lt_cv_objdir+set}" = set; then :
8167 $as_echo_n "(cached) " >&6
8168 else
8169 rm -f .libs 2>/dev/null
8170 mkdir .libs 2>/dev/null
8171 if test -d .libs; then
8172 lt_cv_objdir=.libs
8173 else
8174 # MS-DOS does not allow filenames that begin with a dot.
8175 lt_cv_objdir=_libs
8177 rmdir .libs 2>/dev/null
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8180 $as_echo "$lt_cv_objdir" >&6; }
8181 objdir=$lt_cv_objdir
8187 cat >>confdefs.h <<_ACEOF
8188 #define LT_OBJDIR "$lt_cv_objdir/"
8189 _ACEOF
8194 case $host_os in
8195 aix3*)
8196 # AIX sometimes has problems with the GCC collect2 program. For some
8197 # reason, if we set the COLLECT_NAMES environment variable, the problems
8198 # vanish in a puff of smoke.
8199 if test "X${COLLECT_NAMES+set}" != Xset; then
8200 COLLECT_NAMES=
8201 export COLLECT_NAMES
8204 esac
8206 # Global variables:
8207 ofile=libtool
8208 can_build_shared=yes
8210 # All known linkers require a `.a' archive for static linking (except MSVC,
8211 # which needs '.lib').
8212 libext=a
8214 with_gnu_ld="$lt_cv_prog_gnu_ld"
8216 old_CC="$CC"
8217 old_CFLAGS="$CFLAGS"
8219 # Set sane defaults for various variables
8220 test -z "$CC" && CC=cc
8221 test -z "$LTCC" && LTCC=$CC
8222 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8223 test -z "$LD" && LD=ld
8224 test -z "$ac_objext" && ac_objext=o
8226 for cc_temp in $compiler""; do
8227 case $cc_temp in
8228 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8229 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8230 \-*) ;;
8231 *) break;;
8232 esac
8233 done
8234 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8237 # Only perform the check for file, if the check method requires it
8238 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8239 case $deplibs_check_method in
8240 file_magic*)
8241 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8243 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8244 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8245 $as_echo_n "(cached) " >&6
8246 else
8247 case $MAGIC_CMD in
8248 [\\/*] | ?:[\\/]*)
8249 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8252 lt_save_MAGIC_CMD="$MAGIC_CMD"
8253 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8254 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8255 for ac_dir in $ac_dummy; do
8256 IFS="$lt_save_ifs"
8257 test -z "$ac_dir" && ac_dir=.
8258 if test -f $ac_dir/${ac_tool_prefix}file; then
8259 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8260 if test -n "$file_magic_test_file"; then
8261 case $deplibs_check_method in
8262 "file_magic "*)
8263 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8264 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8265 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8266 $EGREP "$file_magic_regex" > /dev/null; then
8268 else
8269 cat <<_LT_EOF 1>&2
8271 *** Warning: the command libtool uses to detect shared libraries,
8272 *** $file_magic_cmd, produces output that libtool cannot recognize.
8273 *** The result is that libtool may fail to recognize shared libraries
8274 *** as such. This will affect the creation of libtool libraries that
8275 *** depend on shared libraries, but programs linked with such libtool
8276 *** libraries will work regardless of this problem. Nevertheless, you
8277 *** may want to report the problem to your system manager and/or to
8278 *** bug-libtool@gnu.org
8280 _LT_EOF
8281 fi ;;
8282 esac
8284 break
8286 done
8287 IFS="$lt_save_ifs"
8288 MAGIC_CMD="$lt_save_MAGIC_CMD"
8290 esac
8293 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8294 if test -n "$MAGIC_CMD"; then
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8296 $as_echo "$MAGIC_CMD" >&6; }
8297 else
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8299 $as_echo "no" >&6; }
8306 if test -z "$lt_cv_path_MAGIC_CMD"; then
8307 if test -n "$ac_tool_prefix"; then
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8309 $as_echo_n "checking for file... " >&6; }
8310 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8311 $as_echo_n "(cached) " >&6
8312 else
8313 case $MAGIC_CMD in
8314 [\\/*] | ?:[\\/]*)
8315 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8318 lt_save_MAGIC_CMD="$MAGIC_CMD"
8319 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8320 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8321 for ac_dir in $ac_dummy; do
8322 IFS="$lt_save_ifs"
8323 test -z "$ac_dir" && ac_dir=.
8324 if test -f $ac_dir/file; then
8325 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8326 if test -n "$file_magic_test_file"; then
8327 case $deplibs_check_method in
8328 "file_magic "*)
8329 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8330 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8331 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8332 $EGREP "$file_magic_regex" > /dev/null; then
8334 else
8335 cat <<_LT_EOF 1>&2
8337 *** Warning: the command libtool uses to detect shared libraries,
8338 *** $file_magic_cmd, produces output that libtool cannot recognize.
8339 *** The result is that libtool may fail to recognize shared libraries
8340 *** as such. This will affect the creation of libtool libraries that
8341 *** depend on shared libraries, but programs linked with such libtool
8342 *** libraries will work regardless of this problem. Nevertheless, you
8343 *** may want to report the problem to your system manager and/or to
8344 *** bug-libtool@gnu.org
8346 _LT_EOF
8347 fi ;;
8348 esac
8350 break
8352 done
8353 IFS="$lt_save_ifs"
8354 MAGIC_CMD="$lt_save_MAGIC_CMD"
8356 esac
8359 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8360 if test -n "$MAGIC_CMD"; then
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8362 $as_echo "$MAGIC_CMD" >&6; }
8363 else
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8365 $as_echo "no" >&6; }
8369 else
8370 MAGIC_CMD=:
8376 esac
8378 # Use C for the default configuration in the libtool script
8380 lt_save_CC="$CC"
8381 ac_ext=c
8382 ac_cpp='$CPP $CPPFLAGS'
8383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8388 # Source file extension for C test sources.
8389 ac_ext=c
8391 # Object file extension for compiled C test sources.
8392 objext=o
8393 objext=$objext
8395 # Code to be used in simple compile tests
8396 lt_simple_compile_test_code="int some_variable = 0;"
8398 # Code to be used in simple link tests
8399 lt_simple_link_test_code='int main(){return(0);}'
8407 # If no C compiler was specified, use CC.
8408 LTCC=${LTCC-"$CC"}
8410 # If no C compiler flags were specified, use CFLAGS.
8411 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8413 # Allow CC to be a program name with arguments.
8414 compiler=$CC
8416 # Save the default compiler, since it gets overwritten when the other
8417 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8418 compiler_DEFAULT=$CC
8420 # save warnings/boilerplate of simple test code
8421 ac_outfile=conftest.$ac_objext
8422 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8423 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8424 _lt_compiler_boilerplate=`cat conftest.err`
8425 $RM conftest*
8427 ac_outfile=conftest.$ac_objext
8428 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8429 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8430 _lt_linker_boilerplate=`cat conftest.err`
8431 $RM -r conftest*
8434 ## CAVEAT EMPTOR:
8435 ## There is no encapsulation within the following macros, do not change
8436 ## the running order or otherwise move them around unless you know exactly
8437 ## what you are doing...
8438 if test -n "$compiler"; then
8440 lt_prog_compiler_no_builtin_flag=
8442 if test "$GCC" = yes; then
8443 case $cc_basename in
8444 nvcc*)
8445 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8447 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8448 esac
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8451 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8452 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 lt_cv_prog_compiler_rtti_exceptions=no
8456 ac_outfile=conftest.$ac_objext
8457 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8458 lt_compiler_flag="-fno-rtti -fno-exceptions"
8459 # Insert the option either (1) after the last *FLAGS variable, or
8460 # (2) before a word containing "conftest.", or (3) at the end.
8461 # Note that $ac_compile itself does not contain backslashes and begins
8462 # with a dollar sign (not a hyphen), so the echo should work correctly.
8463 # The option is referenced via a variable to avoid confusing sed.
8464 lt_compile=`echo "$ac_compile" | $SED \
8465 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8466 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8467 -e 's:$: $lt_compiler_flag:'`
8468 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8469 (eval "$lt_compile" 2>conftest.err)
8470 ac_status=$?
8471 cat conftest.err >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 if (exit $ac_status) && test -s "$ac_outfile"; then
8474 # The compiler can only warn and ignore the option if not recognized
8475 # So say no if there are warnings other than the usual output.
8476 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8477 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8478 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8479 lt_cv_prog_compiler_rtti_exceptions=yes
8482 $RM conftest*
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8486 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8488 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8489 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8490 else
8501 lt_prog_compiler_wl=
8502 lt_prog_compiler_pic=
8503 lt_prog_compiler_static=
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8506 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8508 if test "$GCC" = yes; then
8509 lt_prog_compiler_wl='-Wl,'
8510 lt_prog_compiler_static='-static'
8512 case $host_os in
8513 aix*)
8514 # All AIX code is PIC.
8515 if test "$host_cpu" = ia64; then
8516 # AIX 5 now supports IA64 processor
8517 lt_prog_compiler_static='-Bstatic'
8521 amigaos*)
8522 case $host_cpu in
8523 powerpc)
8524 # see comment about AmigaOS4 .so support
8525 lt_prog_compiler_pic='-fPIC'
8527 m68k)
8528 # FIXME: we need at least 68020 code to build shared libraries, but
8529 # adding the `-m68020' flag to GCC prevents building anything better,
8530 # like `-m68040'.
8531 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8533 esac
8536 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8537 # PIC is the default for these OSes.
8540 mingw* | cygwin* | pw32* | os2* | cegcc*)
8541 # This hack is so that the source file can tell whether it is being
8542 # built for inclusion in a dll (and should export symbols for example).
8543 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8544 # (--disable-auto-import) libraries
8545 lt_prog_compiler_pic='-DDLL_EXPORT'
8548 darwin* | rhapsody*)
8549 # PIC is the default on this platform
8550 # Common symbols not allowed in MH_DYLIB files
8551 lt_prog_compiler_pic='-fno-common'
8554 haiku*)
8555 # PIC is the default for Haiku.
8556 # The "-static" flag exists, but is broken.
8557 lt_prog_compiler_static=
8560 hpux*)
8561 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8562 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8563 # sets the default TLS model and affects inlining.
8564 case $host_cpu in
8565 hppa*64*)
8566 # +Z the default
8569 lt_prog_compiler_pic='-fPIC'
8571 esac
8574 interix[3-9]*)
8575 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8576 # Instead, we relocate shared libraries at runtime.
8579 msdosdjgpp*)
8580 # Just because we use GCC doesn't mean we suddenly get shared libraries
8581 # on systems that don't support them.
8582 lt_prog_compiler_can_build_shared=no
8583 enable_shared=no
8586 *nto* | *qnx*)
8587 # QNX uses GNU C++, but need to define -shared option too, otherwise
8588 # it will coredump.
8589 lt_prog_compiler_pic='-fPIC -shared'
8592 sysv4*MP*)
8593 if test -d /usr/nec; then
8594 lt_prog_compiler_pic=-Kconform_pic
8599 lt_prog_compiler_pic='-fPIC'
8601 esac
8603 case $cc_basename in
8604 nvcc*) # Cuda Compiler Driver 2.2
8605 lt_prog_compiler_wl='-Xlinker '
8606 lt_prog_compiler_pic='-Xcompiler -fPIC'
8608 esac
8609 else
8610 # PORTME Check for flag to pass linker flags through the system compiler.
8611 case $host_os in
8612 aix*)
8613 lt_prog_compiler_wl='-Wl,'
8614 if test "$host_cpu" = ia64; then
8615 # AIX 5 now supports IA64 processor
8616 lt_prog_compiler_static='-Bstatic'
8617 else
8618 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8622 mingw* | cygwin* | pw32* | os2* | cegcc*)
8623 # This hack is so that the source file can tell whether it is being
8624 # built for inclusion in a dll (and should export symbols for example).
8625 lt_prog_compiler_pic='-DDLL_EXPORT'
8628 hpux9* | hpux10* | hpux11*)
8629 lt_prog_compiler_wl='-Wl,'
8630 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8631 # not for PA HP-UX.
8632 case $host_cpu in
8633 hppa*64*|ia64*)
8634 # +Z the default
8637 lt_prog_compiler_pic='+Z'
8639 esac
8640 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8641 lt_prog_compiler_static='${wl}-a ${wl}archive'
8644 irix5* | irix6* | nonstopux*)
8645 lt_prog_compiler_wl='-Wl,'
8646 # PIC (with -KPIC) is the default.
8647 lt_prog_compiler_static='-non_shared'
8650 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8651 case $cc_basename in
8652 # old Intel for x86_64 which still supported -KPIC.
8653 ecc*)
8654 lt_prog_compiler_wl='-Wl,'
8655 lt_prog_compiler_pic='-KPIC'
8656 lt_prog_compiler_static='-static'
8658 # icc used to be incompatible with GCC.
8659 # ICC 10 doesn't accept -KPIC any more.
8660 icc* | ifort*)
8661 lt_prog_compiler_wl='-Wl,'
8662 lt_prog_compiler_pic='-fPIC'
8663 lt_prog_compiler_static='-static'
8665 # Lahey Fortran 8.1.
8666 lf95*)
8667 lt_prog_compiler_wl='-Wl,'
8668 lt_prog_compiler_pic='--shared'
8669 lt_prog_compiler_static='--static'
8671 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8672 # Portland Group compilers (*not* the Pentium gcc compiler,
8673 # which looks to be a dead project)
8674 lt_prog_compiler_wl='-Wl,'
8675 lt_prog_compiler_pic='-fpic'
8676 lt_prog_compiler_static='-Bstatic'
8678 ccc*)
8679 lt_prog_compiler_wl='-Wl,'
8680 # All Alpha code is PIC.
8681 lt_prog_compiler_static='-non_shared'
8683 xl* | bgxl* | bgf* | mpixl*)
8684 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-qpic'
8687 lt_prog_compiler_static='-qstaticlink'
8690 case `$CC -V 2>&1 | sed 5q` in
8691 *Sun\ F* | *Sun*Fortran*)
8692 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8693 lt_prog_compiler_pic='-KPIC'
8694 lt_prog_compiler_static='-Bstatic'
8695 lt_prog_compiler_wl=''
8697 *Sun\ C*)
8698 # Sun C 5.9
8699 lt_prog_compiler_pic='-KPIC'
8700 lt_prog_compiler_static='-Bstatic'
8701 lt_prog_compiler_wl='-Wl,'
8703 esac
8705 esac
8708 newsos6)
8709 lt_prog_compiler_pic='-KPIC'
8710 lt_prog_compiler_static='-Bstatic'
8713 *nto* | *qnx*)
8714 # QNX uses GNU C++, but need to define -shared option too, otherwise
8715 # it will coredump.
8716 lt_prog_compiler_pic='-fPIC -shared'
8719 osf3* | osf4* | osf5*)
8720 lt_prog_compiler_wl='-Wl,'
8721 # All OSF/1 code is PIC.
8722 lt_prog_compiler_static='-non_shared'
8725 rdos*)
8726 lt_prog_compiler_static='-non_shared'
8729 solaris*)
8730 lt_prog_compiler_pic='-KPIC'
8731 lt_prog_compiler_static='-Bstatic'
8732 case $cc_basename in
8733 f77* | f90* | f95*)
8734 lt_prog_compiler_wl='-Qoption ld ';;
8736 lt_prog_compiler_wl='-Wl,';;
8737 esac
8740 sunos4*)
8741 lt_prog_compiler_wl='-Qoption ld '
8742 lt_prog_compiler_pic='-PIC'
8743 lt_prog_compiler_static='-Bstatic'
8746 sysv4 | sysv4.2uw2* | sysv4.3*)
8747 lt_prog_compiler_wl='-Wl,'
8748 lt_prog_compiler_pic='-KPIC'
8749 lt_prog_compiler_static='-Bstatic'
8752 sysv4*MP*)
8753 if test -d /usr/nec ;then
8754 lt_prog_compiler_pic='-Kconform_pic'
8755 lt_prog_compiler_static='-Bstatic'
8759 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8760 lt_prog_compiler_wl='-Wl,'
8761 lt_prog_compiler_pic='-KPIC'
8762 lt_prog_compiler_static='-Bstatic'
8765 unicos*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_can_build_shared=no
8770 uts4*)
8771 lt_prog_compiler_pic='-pic'
8772 lt_prog_compiler_static='-Bstatic'
8776 lt_prog_compiler_can_build_shared=no
8778 esac
8781 case $host_os in
8782 # For platforms which do not support PIC, -DPIC is meaningless:
8783 *djgpp*)
8784 lt_prog_compiler_pic=
8787 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8789 esac
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8791 $as_echo "$lt_prog_compiler_pic" >&6; }
8799 # Check to make sure the PIC flag actually works.
8801 if test -n "$lt_prog_compiler_pic"; then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8803 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8804 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8805 $as_echo_n "(cached) " >&6
8806 else
8807 lt_cv_prog_compiler_pic_works=no
8808 ac_outfile=conftest.$ac_objext
8809 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8810 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8811 # Insert the option either (1) after the last *FLAGS variable, or
8812 # (2) before a word containing "conftest.", or (3) at the end.
8813 # Note that $ac_compile itself does not contain backslashes and begins
8814 # with a dollar sign (not a hyphen), so the echo should work correctly.
8815 # The option is referenced via a variable to avoid confusing sed.
8816 lt_compile=`echo "$ac_compile" | $SED \
8817 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8818 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8819 -e 's:$: $lt_compiler_flag:'`
8820 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8821 (eval "$lt_compile" 2>conftest.err)
8822 ac_status=$?
8823 cat conftest.err >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 if (exit $ac_status) && test -s "$ac_outfile"; then
8826 # The compiler can only warn and ignore the option if not recognized
8827 # So say no if there are warnings other than the usual output.
8828 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8829 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8830 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8831 lt_cv_prog_compiler_pic_works=yes
8834 $RM conftest*
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8838 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8840 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8841 case $lt_prog_compiler_pic in
8842 "" | " "*) ;;
8843 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8844 esac
8845 else
8846 lt_prog_compiler_pic=
8847 lt_prog_compiler_can_build_shared=no
8858 # Check to make sure the static flag actually works.
8860 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8862 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8863 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 lt_cv_prog_compiler_static_works=no
8867 save_LDFLAGS="$LDFLAGS"
8868 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8869 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8870 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8871 # The linker can only warn and ignore the option if not recognized
8872 # So say no if there are warnings
8873 if test -s conftest.err; then
8874 # Append any errors to the config.log.
8875 cat conftest.err 1>&5
8876 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8877 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8878 if diff conftest.exp conftest.er2 >/dev/null; then
8879 lt_cv_prog_compiler_static_works=yes
8881 else
8882 lt_cv_prog_compiler_static_works=yes
8885 $RM -r conftest*
8886 LDFLAGS="$save_LDFLAGS"
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8890 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8892 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8894 else
8895 lt_prog_compiler_static=
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8905 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8906 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8907 $as_echo_n "(cached) " >&6
8908 else
8909 lt_cv_prog_compiler_c_o=no
8910 $RM -r conftest 2>/dev/null
8911 mkdir conftest
8912 cd conftest
8913 mkdir out
8914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8916 lt_compiler_flag="-o out/conftest2.$ac_objext"
8917 # Insert the option either (1) after the last *FLAGS variable, or
8918 # (2) before a word containing "conftest.", or (3) at the end.
8919 # Note that $ac_compile itself does not contain backslashes and begins
8920 # with a dollar sign (not a hyphen), so the echo should work correctly.
8921 lt_compile=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>out/conftest.err)
8927 ac_status=$?
8928 cat out/conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8931 then
8932 # The compiler can only warn and ignore the option if not recognized
8933 # So say no if there are warnings
8934 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8935 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8936 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8937 lt_cv_prog_compiler_c_o=yes
8940 chmod u+w . 2>&5
8941 $RM conftest*
8942 # SGI C++ compiler will create directory out/ii_files/ for
8943 # template instantiation
8944 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8945 $RM out/* && rmdir out
8946 cd ..
8947 $RM -r conftest
8948 $RM conftest*
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8952 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8960 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8961 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8962 $as_echo_n "(cached) " >&6
8963 else
8964 lt_cv_prog_compiler_c_o=no
8965 $RM -r conftest 2>/dev/null
8966 mkdir conftest
8967 cd conftest
8968 mkdir out
8969 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8971 lt_compiler_flag="-o out/conftest2.$ac_objext"
8972 # Insert the option either (1) after the last *FLAGS variable, or
8973 # (2) before a word containing "conftest.", or (3) at the end.
8974 # Note that $ac_compile itself does not contain backslashes and begins
8975 # with a dollar sign (not a hyphen), so the echo should work correctly.
8976 lt_compile=`echo "$ac_compile" | $SED \
8977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8979 -e 's:$: $lt_compiler_flag:'`
8980 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8981 (eval "$lt_compile" 2>out/conftest.err)
8982 ac_status=$?
8983 cat out/conftest.err >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8986 then
8987 # The compiler can only warn and ignore the option if not recognized
8988 # So say no if there are warnings
8989 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8990 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8991 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8992 lt_cv_prog_compiler_c_o=yes
8995 chmod u+w . 2>&5
8996 $RM conftest*
8997 # SGI C++ compiler will create directory out/ii_files/ for
8998 # template instantiation
8999 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9000 $RM out/* && rmdir out
9001 cd ..
9002 $RM -r conftest
9003 $RM conftest*
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9007 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9012 hard_links="nottested"
9013 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9014 # do not overwrite the value of need_locks provided by the user
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9016 $as_echo_n "checking if we can lock with hard links... " >&6; }
9017 hard_links=yes
9018 $RM conftest*
9019 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9020 touch conftest.a
9021 ln conftest.a conftest.b 2>&5 || hard_links=no
9022 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9024 $as_echo "$hard_links" >&6; }
9025 if test "$hard_links" = no; then
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9027 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9028 need_locks=warn
9030 else
9031 need_locks=no
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9040 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9042 runpath_var=
9043 allow_undefined_flag=
9044 always_export_symbols=no
9045 archive_cmds=
9046 archive_expsym_cmds=
9047 compiler_needs_object=no
9048 enable_shared_with_static_runtimes=no
9049 export_dynamic_flag_spec=
9050 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9051 hardcode_automatic=no
9052 hardcode_direct=no
9053 hardcode_direct_absolute=no
9054 hardcode_libdir_flag_spec=
9055 hardcode_libdir_flag_spec_ld=
9056 hardcode_libdir_separator=
9057 hardcode_minus_L=no
9058 hardcode_shlibpath_var=unsupported
9059 inherit_rpath=no
9060 link_all_deplibs=unknown
9061 module_cmds=
9062 module_expsym_cmds=
9063 old_archive_from_new_cmds=
9064 old_archive_from_expsyms_cmds=
9065 thread_safe_flag_spec=
9066 whole_archive_flag_spec=
9067 # include_expsyms should be a list of space-separated symbols to be *always*
9068 # included in the symbol list
9069 include_expsyms=
9070 # exclude_expsyms can be an extended regexp of symbols to exclude
9071 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9072 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9073 # as well as any symbol that contains `d'.
9074 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9075 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9076 # platforms (ab)use it in PIC code, but their linkers get confused if
9077 # the symbol is explicitly referenced. Since portable code cannot
9078 # rely on this symbol name, it's probably fine to never include it in
9079 # preloaded symbol tables.
9080 # Exclude shared library initialization/finalization symbols.
9081 extract_expsyms_cmds=
9083 case $host_os in
9084 cygwin* | mingw* | pw32* | cegcc*)
9085 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9086 # When not using gcc, we currently assume that we are using
9087 # Microsoft Visual C++.
9088 if test "$GCC" != yes; then
9089 with_gnu_ld=no
9092 interix*)
9093 # we just hope/assume this is gcc and not c89 (= MSVC++)
9094 with_gnu_ld=yes
9096 openbsd*)
9097 with_gnu_ld=no
9099 esac
9101 ld_shlibs=yes
9103 # On some targets, GNU ld is compatible enough with the native linker
9104 # that we're better off using the native interface for both.
9105 lt_use_gnu_ld_interface=no
9106 if test "$with_gnu_ld" = yes; then
9107 case $host_os in
9108 aix*)
9109 # The AIX port of GNU ld has always aspired to compatibility
9110 # with the native linker. However, as the warning in the GNU ld
9111 # block says, versions before 2.19.5* couldn't really create working
9112 # shared libraries, regardless of the interface used.
9113 case `$LD -v 2>&1` in
9114 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9115 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9116 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9118 lt_use_gnu_ld_interface=yes
9120 esac
9123 lt_use_gnu_ld_interface=yes
9125 esac
9128 if test "$lt_use_gnu_ld_interface" = yes; then
9129 # If archive_cmds runs LD, not CC, wlarc should be empty
9130 wlarc='${wl}'
9132 # Set some defaults for GNU ld with shared library support. These
9133 # are reset later if shared libraries are not supported. Putting them
9134 # here allows them to be overridden if necessary.
9135 runpath_var=LD_RUN_PATH
9136 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9137 export_dynamic_flag_spec='${wl}--export-dynamic'
9138 # ancient GNU ld didn't support --whole-archive et. al.
9139 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9140 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9141 else
9142 whole_archive_flag_spec=
9144 supports_anon_versioning=no
9145 case `$LD -v 2>&1` in
9146 *GNU\ gold*) supports_anon_versioning=yes ;;
9147 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9148 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9149 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9150 *\ 2.11.*) ;; # other 2.11 versions
9151 *) supports_anon_versioning=yes ;;
9152 esac
9154 # See if GNU ld supports shared libraries.
9155 case $host_os in
9156 aix[3-9]*)
9157 # On AIX/PPC, the GNU linker is very broken
9158 if test "$host_cpu" != ia64; then
9159 ld_shlibs=no
9160 cat <<_LT_EOF 1>&2
9162 *** Warning: the GNU linker, at least up to release 2.19, is reported
9163 *** to be unable to reliably create shared libraries on AIX.
9164 *** Therefore, libtool is disabling shared libraries support. If you
9165 *** really care for shared libraries, you may want to install binutils
9166 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9167 *** You will then need to restart the configuration process.
9169 _LT_EOF
9173 amigaos*)
9174 case $host_cpu in
9175 powerpc)
9176 # see comment about AmigaOS4 .so support
9177 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178 archive_expsym_cmds=''
9180 m68k)
9181 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)'
9182 hardcode_libdir_flag_spec='-L$libdir'
9183 hardcode_minus_L=yes
9185 esac
9188 beos*)
9189 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9190 allow_undefined_flag=unsupported
9191 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9192 # support --undefined. This deserves some investigation. FIXME
9193 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9194 else
9195 ld_shlibs=no
9199 cygwin* | mingw* | pw32* | cegcc*)
9200 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9201 # as there is no search path for DLLs.
9202 hardcode_libdir_flag_spec='-L$libdir'
9203 export_dynamic_flag_spec='${wl}--export-all-symbols'
9204 allow_undefined_flag=unsupported
9205 always_export_symbols=no
9206 enable_shared_with_static_runtimes=yes
9207 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9209 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9210 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9211 # If the export-symbols file already is a .def file (1st line
9212 # is EXPORTS), use it as is; otherwise, prepend...
9213 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9214 cp $export_symbols $output_objdir/$soname.def;
9215 else
9216 echo EXPORTS > $output_objdir/$soname.def;
9217 cat $export_symbols >> $output_objdir/$soname.def;
9219 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9220 else
9221 ld_shlibs=no
9225 haiku*)
9226 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9227 link_all_deplibs=yes
9230 interix[3-9]*)
9231 hardcode_direct=no
9232 hardcode_shlibpath_var=no
9233 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9234 export_dynamic_flag_spec='${wl}-E'
9235 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9236 # Instead, shared libraries are loaded at an image base (0x10000000 by
9237 # default) and relocated if they conflict, which is a slow very memory
9238 # consuming and fragmenting process. To avoid this, we pick a random,
9239 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9240 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9241 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9242 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'
9245 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9246 tmp_diet=no
9247 if test "$host_os" = linux-dietlibc; then
9248 case $cc_basename in
9249 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9250 esac
9252 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9253 && test "$tmp_diet" = no
9254 then
9255 tmp_addflag=
9256 tmp_sharedflag='-shared'
9257 case $cc_basename,$host_cpu in
9258 pgcc*) # Portland Group C compiler
9259 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'
9260 tmp_addflag=' $pic_flag'
9262 pgf77* | pgf90* | pgf95* | pgfortran*)
9263 # Portland Group f77 and f90 compilers
9264 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'
9265 tmp_addflag=' $pic_flag -Mnomain' ;;
9266 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9267 tmp_addflag=' -i_dynamic' ;;
9268 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9269 tmp_addflag=' -i_dynamic -nofor_main' ;;
9270 ifc* | ifort*) # Intel Fortran compiler
9271 tmp_addflag=' -nofor_main' ;;
9272 lf95*) # Lahey Fortran 8.1
9273 whole_archive_flag_spec=
9274 tmp_sharedflag='--shared' ;;
9275 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9276 tmp_sharedflag='-qmkshrobj'
9277 tmp_addflag= ;;
9278 nvcc*) # Cuda Compiler Driver 2.2
9279 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'
9280 compiler_needs_object=yes
9282 esac
9283 case `$CC -V 2>&1 | sed 5q` in
9284 *Sun\ C*) # Sun C 5.9
9285 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'
9286 compiler_needs_object=yes
9287 tmp_sharedflag='-G' ;;
9288 *Sun\ F*) # Sun Fortran 8.3
9289 tmp_sharedflag='-G' ;;
9290 esac
9291 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9293 if test "x$supports_anon_versioning" = xyes; then
9294 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9295 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9296 echo "local: *; };" >> $output_objdir/$libname.ver~
9297 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9300 case $cc_basename in
9301 xlf* | bgf* | bgxlf* | mpixlf*)
9302 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9303 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9304 hardcode_libdir_flag_spec=
9305 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9306 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9307 if test "x$supports_anon_versioning" = xyes; then
9308 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9309 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9310 echo "local: *; };" >> $output_objdir/$libname.ver~
9311 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9314 esac
9315 else
9316 ld_shlibs=no
9320 netbsd*)
9321 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9322 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9323 wlarc=
9324 else
9325 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9326 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9330 solaris*)
9331 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9332 ld_shlibs=no
9333 cat <<_LT_EOF 1>&2
9335 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9336 *** create shared libraries on Solaris systems. Therefore, libtool
9337 *** is disabling shared libraries support. We urge you to upgrade GNU
9338 *** binutils to release 2.9.1 or newer. Another option is to modify
9339 *** your PATH or compiler configuration so that the native linker is
9340 *** used, and then restart.
9342 _LT_EOF
9343 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9344 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9346 else
9347 ld_shlibs=no
9351 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9352 case `$LD -v 2>&1` in
9353 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9354 ld_shlibs=no
9355 cat <<_LT_EOF 1>&2
9357 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9358 *** reliably create shared libraries on SCO systems. Therefore, libtool
9359 *** is disabling shared libraries support. We urge you to upgrade GNU
9360 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9361 *** your PATH or compiler configuration so that the native linker is
9362 *** used, and then restart.
9364 _LT_EOF
9367 # For security reasons, it is highly recommended that you always
9368 # use absolute paths for naming shared libraries, and exclude the
9369 # DT_RUNPATH tag from executables and libraries. But doing so
9370 # requires that you compile everything twice, which is a pain.
9371 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9372 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9373 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9375 else
9376 ld_shlibs=no
9379 esac
9382 sunos4*)
9383 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9384 wlarc=
9385 hardcode_direct=yes
9386 hardcode_shlibpath_var=no
9390 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9391 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9392 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9393 else
9394 ld_shlibs=no
9397 esac
9399 if test "$ld_shlibs" = no; then
9400 runpath_var=
9401 hardcode_libdir_flag_spec=
9402 export_dynamic_flag_spec=
9403 whole_archive_flag_spec=
9405 else
9406 # PORTME fill in a description of your system's linker (not GNU ld)
9407 case $host_os in
9408 aix3*)
9409 allow_undefined_flag=unsupported
9410 always_export_symbols=yes
9411 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'
9412 # Note: this linker hardcodes the directories in LIBPATH if there
9413 # are no directories specified by -L.
9414 hardcode_minus_L=yes
9415 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9416 # Neither direct hardcoding nor static linking is supported with a
9417 # broken collect2.
9418 hardcode_direct=unsupported
9422 aix[4-9]*)
9423 if test "$host_cpu" = ia64; then
9424 # On IA64, the linker does run time linking by default, so we don't
9425 # have to do anything special.
9426 aix_use_runtimelinking=no
9427 exp_sym_flag='-Bexport'
9428 no_entry_flag=""
9429 else
9430 # If we're using GNU nm, then we don't want the "-C" option.
9431 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9432 # Also, AIX nm treats weak defined symbols like other global
9433 # defined symbols, whereas GNU nm marks them as "W".
9434 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9435 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'
9436 else
9437 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'
9439 aix_use_runtimelinking=no
9441 # Test if we are trying to use run time linking or normal
9442 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9443 # need to do runtime linking.
9444 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9445 for ld_flag in $LDFLAGS; do
9446 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9447 aix_use_runtimelinking=yes
9448 break
9450 done
9452 esac
9454 exp_sym_flag='-bexport'
9455 no_entry_flag='-bnoentry'
9458 # When large executables or shared objects are built, AIX ld can
9459 # have problems creating the table of contents. If linking a library
9460 # or program results in "error TOC overflow" add -mminimal-toc to
9461 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9462 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9464 archive_cmds=''
9465 hardcode_direct=yes
9466 hardcode_direct_absolute=yes
9467 hardcode_libdir_separator=':'
9468 link_all_deplibs=yes
9469 file_list_spec='${wl}-f,'
9471 if test "$GCC" = yes; then
9472 case $host_os in aix4.[012]|aix4.[012].*)
9473 # We only want to do this on AIX 4.2 and lower, the check
9474 # below for broken collect2 doesn't work under 4.3+
9475 collect2name=`${CC} -print-prog-name=collect2`
9476 if test -f "$collect2name" &&
9477 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9478 then
9479 # We have reworked collect2
9481 else
9482 # We have old collect2
9483 hardcode_direct=unsupported
9484 # It fails to find uninstalled libraries when the uninstalled
9485 # path is not listed in the libpath. Setting hardcode_minus_L
9486 # to unsupported forces relinking
9487 hardcode_minus_L=yes
9488 hardcode_libdir_flag_spec='-L$libdir'
9489 hardcode_libdir_separator=
9492 esac
9493 shared_flag='-shared'
9494 if test "$aix_use_runtimelinking" = yes; then
9495 shared_flag="$shared_flag "'${wl}-G'
9497 else
9498 # not using gcc
9499 if test "$host_cpu" = ia64; then
9500 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9501 # chokes on -Wl,-G. The following line is correct:
9502 shared_flag='-G'
9503 else
9504 if test "$aix_use_runtimelinking" = yes; then
9505 shared_flag='${wl}-G'
9506 else
9507 shared_flag='${wl}-bM:SRE'
9512 export_dynamic_flag_spec='${wl}-bexpall'
9513 # It seems that -bexpall does not export symbols beginning with
9514 # underscore (_), so it is better to generate a list of symbols to export.
9515 always_export_symbols=yes
9516 if test "$aix_use_runtimelinking" = yes; then
9517 # Warning - without using the other runtime loading flags (-brtl),
9518 # -berok will link without error, but may produce a broken library.
9519 allow_undefined_flag='-berok'
9520 # Determine the default libpath from the value encoded in an
9521 # empty executable.
9522 if test x$gcc_no_link = xyes; then
9523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9529 main ()
9533 return 0;
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9538 lt_aix_libpath_sed='
9539 /Import File Strings/,/^$/ {
9540 /^0/ {
9541 s/^0 *\(.*\)$/\1/
9545 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9546 # Check for a 64-bit object if we didn't find anything.
9547 if test -z "$aix_libpath"; then
9548 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9555 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9556 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"
9557 else
9558 if test "$host_cpu" = ia64; then
9559 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9560 allow_undefined_flag="-z nodefs"
9561 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"
9562 else
9563 # Determine the default libpath from the value encoded in an
9564 # empty executable.
9565 if test x$gcc_no_link = xyes; then
9566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9572 main ()
9576 return 0;
9578 _ACEOF
9579 if ac_fn_c_try_link "$LINENO"; then :
9581 lt_aix_libpath_sed='
9582 /Import File Strings/,/^$/ {
9583 /^0/ {
9584 s/^0 *\(.*\)$/\1/
9588 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589 # Check for a 64-bit object if we didn't find anything.
9590 if test -z "$aix_libpath"; then
9591 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9598 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9599 # Warning - without using the other run time loading flags,
9600 # -berok will link without error, but may produce a broken library.
9601 no_undefined_flag=' ${wl}-bernotok'
9602 allow_undefined_flag=' ${wl}-berok'
9603 if test "$with_gnu_ld" = yes; then
9604 # We only use this code for GNU lds that support --whole-archive.
9605 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9606 else
9607 # Exported symbols can be pulled into shared objects from archives
9608 whole_archive_flag_spec='$convenience'
9610 archive_cmds_need_lc=yes
9611 # This is similar to how AIX traditionally builds its shared libraries.
9612 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'
9617 amigaos*)
9618 case $host_cpu in
9619 powerpc)
9620 # see comment about AmigaOS4 .so support
9621 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9622 archive_expsym_cmds=''
9624 m68k)
9625 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)'
9626 hardcode_libdir_flag_spec='-L$libdir'
9627 hardcode_minus_L=yes
9629 esac
9632 bsdi[45]*)
9633 export_dynamic_flag_spec=-rdynamic
9636 cygwin* | mingw* | pw32* | cegcc*)
9637 # When not using gcc, we currently assume that we are using
9638 # Microsoft Visual C++.
9639 # hardcode_libdir_flag_spec is actually meaningless, as there is
9640 # no search path for DLLs.
9641 hardcode_libdir_flag_spec=' '
9642 allow_undefined_flag=unsupported
9643 # Tell ltmain to make .lib files, not .a files.
9644 libext=lib
9645 # Tell ltmain to make .dll files, not .so files.
9646 shrext_cmds=".dll"
9647 # FIXME: Setting linknames here is a bad hack.
9648 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9649 # The linker will automatically build a .lib file if we build a DLL.
9650 old_archive_from_new_cmds='true'
9651 # FIXME: Should let the user specify the lib program.
9652 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9653 fix_srcfile_path='`cygpath -w "$srcfile"`'
9654 enable_shared_with_static_runtimes=yes
9657 darwin* | rhapsody*)
9660 archive_cmds_need_lc=no
9661 hardcode_direct=no
9662 hardcode_automatic=yes
9663 hardcode_shlibpath_var=unsupported
9664 if test "$lt_cv_ld_force_load" = "yes"; then
9665 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\"`'
9666 else
9667 whole_archive_flag_spec=''
9669 link_all_deplibs=yes
9670 allow_undefined_flag="$_lt_dar_allow_undefined"
9671 case $cc_basename in
9672 ifort*) _lt_dar_can_shared=yes ;;
9673 *) _lt_dar_can_shared=$GCC ;;
9674 esac
9675 if test "$_lt_dar_can_shared" = "yes"; then
9676 output_verbose_link_cmd=func_echo_all
9677 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9678 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9679 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}"
9680 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}"
9682 else
9683 ld_shlibs=no
9688 dgux*)
9689 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9690 hardcode_libdir_flag_spec='-L$libdir'
9691 hardcode_shlibpath_var=no
9694 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9695 # support. Future versions do this automatically, but an explicit c++rt0.o
9696 # does not break anything, and helps significantly (at the cost of a little
9697 # extra space).
9698 freebsd2.2*)
9699 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9700 hardcode_libdir_flag_spec='-R$libdir'
9701 hardcode_direct=yes
9702 hardcode_shlibpath_var=no
9705 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9706 freebsd2*)
9707 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9708 hardcode_direct=yes
9709 hardcode_minus_L=yes
9710 hardcode_shlibpath_var=no
9713 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9714 freebsd* | dragonfly*)
9715 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9716 hardcode_libdir_flag_spec='-R$libdir'
9717 hardcode_direct=yes
9718 hardcode_shlibpath_var=no
9721 hpux9*)
9722 if test "$GCC" = yes; then
9723 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'
9724 else
9725 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'
9727 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9728 hardcode_libdir_separator=:
9729 hardcode_direct=yes
9731 # hardcode_minus_L: Not really in the search PATH,
9732 # but as the default location of the library.
9733 hardcode_minus_L=yes
9734 export_dynamic_flag_spec='${wl}-E'
9737 hpux10*)
9738 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9739 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9740 else
9741 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9743 if test "$with_gnu_ld" = no; then
9744 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9745 hardcode_libdir_flag_spec_ld='+b $libdir'
9746 hardcode_libdir_separator=:
9747 hardcode_direct=yes
9748 hardcode_direct_absolute=yes
9749 export_dynamic_flag_spec='${wl}-E'
9750 # hardcode_minus_L: Not really in the search PATH,
9751 # but as the default location of the library.
9752 hardcode_minus_L=yes
9756 hpux11*)
9757 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9758 case $host_cpu in
9759 hppa*64*)
9760 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9762 ia64*)
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9766 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9768 esac
9769 else
9770 case $host_cpu in
9771 hppa*64*)
9772 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9774 ia64*)
9775 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9779 # Older versions of the 11.00 compiler do not understand -b yet
9780 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9782 $as_echo_n "checking if $CC understands -b... " >&6; }
9783 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9784 $as_echo_n "(cached) " >&6
9785 else
9786 lt_cv_prog_compiler__b=no
9787 save_LDFLAGS="$LDFLAGS"
9788 LDFLAGS="$LDFLAGS -b"
9789 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9790 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9791 # The linker can only warn and ignore the option if not recognized
9792 # So say no if there are warnings
9793 if test -s conftest.err; then
9794 # Append any errors to the config.log.
9795 cat conftest.err 1>&5
9796 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9797 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9798 if diff conftest.exp conftest.er2 >/dev/null; then
9799 lt_cv_prog_compiler__b=yes
9801 else
9802 lt_cv_prog_compiler__b=yes
9805 $RM -r conftest*
9806 LDFLAGS="$save_LDFLAGS"
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9810 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9812 if test x"$lt_cv_prog_compiler__b" = xyes; then
9813 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9814 else
9815 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9819 esac
9821 if test "$with_gnu_ld" = no; then
9822 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9823 hardcode_libdir_separator=:
9825 case $host_cpu in
9826 hppa*64*|ia64*)
9827 hardcode_direct=no
9828 hardcode_shlibpath_var=no
9831 hardcode_direct=yes
9832 hardcode_direct_absolute=yes
9833 export_dynamic_flag_spec='${wl}-E'
9835 # hardcode_minus_L: Not really in the search PATH,
9836 # but as the default location of the library.
9837 hardcode_minus_L=yes
9839 esac
9843 irix5* | irix6* | nonstopux*)
9844 if test "$GCC" = yes; then
9845 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'
9846 # Try to use the -exported_symbol ld option, if it does not
9847 # work, assume that -exports_file does not work either and
9848 # implicitly export all symbols.
9849 save_LDFLAGS="$LDFLAGS"
9850 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9851 if test x$gcc_no_link = xyes; then
9852 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9856 int foo(void) {}
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859 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'
9862 rm -f core conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9864 LDFLAGS="$save_LDFLAGS"
9865 else
9866 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'
9867 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'
9869 archive_cmds_need_lc='no'
9870 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9871 hardcode_libdir_separator=:
9872 inherit_rpath=yes
9873 link_all_deplibs=yes
9876 netbsd*)
9877 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9878 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9879 else
9880 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9882 hardcode_libdir_flag_spec='-R$libdir'
9883 hardcode_direct=yes
9884 hardcode_shlibpath_var=no
9887 newsos6)
9888 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9889 hardcode_direct=yes
9890 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9891 hardcode_libdir_separator=:
9892 hardcode_shlibpath_var=no
9895 *nto* | *qnx*)
9898 openbsd*)
9899 if test -f /usr/libexec/ld.so; then
9900 hardcode_direct=yes
9901 hardcode_shlibpath_var=no
9902 hardcode_direct_absolute=yes
9903 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9904 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9905 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9906 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9907 export_dynamic_flag_spec='${wl}-E'
9908 else
9909 case $host_os in
9910 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9911 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9912 hardcode_libdir_flag_spec='-R$libdir'
9915 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9916 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9918 esac
9920 else
9921 ld_shlibs=no
9925 os2*)
9926 hardcode_libdir_flag_spec='-L$libdir'
9927 hardcode_minus_L=yes
9928 allow_undefined_flag=unsupported
9929 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'
9930 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9933 osf3*)
9934 if test "$GCC" = yes; then
9935 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9936 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'
9937 else
9938 allow_undefined_flag=' -expect_unresolved \*'
9939 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'
9941 archive_cmds_need_lc='no'
9942 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9943 hardcode_libdir_separator=:
9946 osf4* | osf5*) # as osf3* with the addition of -msym flag
9947 if test "$GCC" = yes; then
9948 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9949 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'
9950 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951 else
9952 allow_undefined_flag=' -expect_unresolved \*'
9953 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'
9954 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~
9955 $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'
9957 # Both c and cxx compiler support -rpath directly
9958 hardcode_libdir_flag_spec='-rpath $libdir'
9960 archive_cmds_need_lc='no'
9961 hardcode_libdir_separator=:
9964 solaris*)
9965 no_undefined_flag=' -z defs'
9966 if test "$GCC" = yes; then
9967 wlarc='${wl}'
9968 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9969 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9970 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9971 else
9972 case `$CC -V 2>&1` in
9973 *"Compilers 5.0"*)
9974 wlarc=''
9975 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9976 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9977 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9980 wlarc='${wl}'
9981 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9982 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9983 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9985 esac
9987 hardcode_libdir_flag_spec='-R$libdir'
9988 hardcode_shlibpath_var=no
9989 case $host_os in
9990 solaris2.[0-5] | solaris2.[0-5].*) ;;
9992 # The compiler driver will combine and reorder linker options,
9993 # but understands `-z linker_flag'. GCC discards it without `$wl',
9994 # but is careful enough not to reorder.
9995 # Supported since Solaris 2.6 (maybe 2.5.1?)
9996 if test "$GCC" = yes; then
9997 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9998 else
9999 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10002 esac
10003 link_all_deplibs=yes
10006 sunos4*)
10007 if test "x$host_vendor" = xsequent; then
10008 # Use $CC to link under sequent, because it throws in some extra .o
10009 # files that make .init and .fini sections work.
10010 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10011 else
10012 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10014 hardcode_libdir_flag_spec='-L$libdir'
10015 hardcode_direct=yes
10016 hardcode_minus_L=yes
10017 hardcode_shlibpath_var=no
10020 sysv4)
10021 case $host_vendor in
10022 sni)
10023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024 hardcode_direct=yes # is this really true???
10026 siemens)
10027 ## LD is ld it makes a PLAMLIB
10028 ## CC just makes a GrossModule.
10029 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10030 reload_cmds='$CC -r -o $output$reload_objs'
10031 hardcode_direct=no
10033 motorola)
10034 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10037 esac
10038 runpath_var='LD_RUN_PATH'
10039 hardcode_shlibpath_var=no
10042 sysv4.3*)
10043 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10044 hardcode_shlibpath_var=no
10045 export_dynamic_flag_spec='-Bexport'
10048 sysv4*MP*)
10049 if test -d /usr/nec; then
10050 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_shlibpath_var=no
10052 runpath_var=LD_RUN_PATH
10053 hardcode_runpath_var=yes
10054 ld_shlibs=yes
10058 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10059 no_undefined_flag='${wl}-z,text'
10060 archive_cmds_need_lc=no
10061 hardcode_shlibpath_var=no
10062 runpath_var='LD_RUN_PATH'
10064 if test "$GCC" = yes; then
10065 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 else
10068 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10073 sysv5* | sco3.2v5* | sco5v6*)
10074 # Note: We can NOT use -z defs as we might desire, because we do not
10075 # link with -lc, and that would cause any symbols used from libc to
10076 # always be unresolved, which means just about no library would
10077 # ever link correctly. If we're not using GNU ld we use -z text
10078 # though, which does catch some bad symbols but isn't as heavy-handed
10079 # as -z defs.
10080 no_undefined_flag='${wl}-z,text'
10081 allow_undefined_flag='${wl}-z,nodefs'
10082 archive_cmds_need_lc=no
10083 hardcode_shlibpath_var=no
10084 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10085 hardcode_libdir_separator=':'
10086 link_all_deplibs=yes
10087 export_dynamic_flag_spec='${wl}-Bexport'
10088 runpath_var='LD_RUN_PATH'
10090 if test "$GCC" = yes; then
10091 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 else
10094 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099 uts4*)
10100 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10101 hardcode_libdir_flag_spec='-L$libdir'
10102 hardcode_shlibpath_var=no
10106 ld_shlibs=no
10108 esac
10110 if test x$host_vendor = xsni; then
10111 case $host in
10112 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10113 export_dynamic_flag_spec='${wl}-Blargedynsym'
10115 esac
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10120 $as_echo "$ld_shlibs" >&6; }
10121 test "$ld_shlibs" = no && can_build_shared=no
10123 with_gnu_ld=$with_gnu_ld
10140 # Do we need to explicitly link libc?
10142 case "x$archive_cmds_need_lc" in
10143 x|xyes)
10144 # Assume -lc should be added
10145 archive_cmds_need_lc=yes
10147 if test "$enable_shared" = yes && test "$GCC" = yes; then
10148 case $archive_cmds in
10149 *'~'*)
10150 # FIXME: we may have to deal with multi-command sequences.
10152 '$CC '*)
10153 # Test whether the compiler implicitly links with -lc since on some
10154 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10155 # to ld, don't add -lc before -lgcc.
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10157 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10158 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10159 $as_echo_n "(cached) " >&6
10160 else
10161 $RM conftest*
10162 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10164 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10165 (eval $ac_compile) 2>&5
10166 ac_status=$?
10167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10168 test $ac_status = 0; } 2>conftest.err; then
10169 soname=conftest
10170 lib=conftest
10171 libobjs=conftest.$ac_objext
10172 deplibs=
10173 wl=$lt_prog_compiler_wl
10174 pic_flag=$lt_prog_compiler_pic
10175 compiler_flags=-v
10176 linker_flags=-v
10177 verstring=
10178 output_objdir=.
10179 libname=conftest
10180 lt_save_allow_undefined_flag=$allow_undefined_flag
10181 allow_undefined_flag=
10182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10183 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10184 ac_status=$?
10185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10186 test $ac_status = 0; }
10187 then
10188 lt_cv_archive_cmds_need_lc=no
10189 else
10190 lt_cv_archive_cmds_need_lc=yes
10192 allow_undefined_flag=$lt_save_allow_undefined_flag
10193 else
10194 cat conftest.err 1>&5
10196 $RM conftest*
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10200 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10201 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10203 esac
10206 esac
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10365 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10367 if test "$GCC" = yes; then
10368 case $host_os in
10369 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10370 *) lt_awk_arg="/^libraries:/" ;;
10371 esac
10372 case $host_os in
10373 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10374 *) lt_sed_strip_eq="s,=/,/,g" ;;
10375 esac
10376 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10377 case $lt_search_path_spec in
10378 *\;*)
10379 # if the path contains ";" then we assume it to be the separator
10380 # otherwise default to the standard path separator (i.e. ":") - it is
10381 # assumed that no part of a normal pathname contains ";" but that should
10382 # okay in the real world where ";" in dirpaths is itself problematic.
10383 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10386 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10388 esac
10389 # Ok, now we have the path, separated by spaces, we can step through it
10390 # and add multilib dir if necessary.
10391 lt_tmp_lt_search_path_spec=
10392 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10393 for lt_sys_path in $lt_search_path_spec; do
10394 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10395 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10396 else
10397 test -d "$lt_sys_path" && \
10398 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10400 done
10401 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10402 BEGIN {RS=" "; FS="/|\n";} {
10403 lt_foo="";
10404 lt_count=0;
10405 for (lt_i = NF; lt_i > 0; lt_i--) {
10406 if ($lt_i != "" && $lt_i != ".") {
10407 if ($lt_i == "..") {
10408 lt_count++;
10409 } else {
10410 if (lt_count == 0) {
10411 lt_foo="/" $lt_i lt_foo;
10412 } else {
10413 lt_count--;
10418 if (lt_foo != "") { lt_freq[lt_foo]++; }
10419 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10421 # AWK program above erroneously prepends '/' to C:/dos/paths
10422 # for these hosts.
10423 case $host_os in
10424 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10425 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10426 esac
10427 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10428 else
10429 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10431 library_names_spec=
10432 libname_spec='lib$name'
10433 soname_spec=
10434 shrext_cmds=".so"
10435 postinstall_cmds=
10436 postuninstall_cmds=
10437 finish_cmds=
10438 finish_eval=
10439 shlibpath_var=
10440 shlibpath_overrides_runpath=unknown
10441 version_type=none
10442 dynamic_linker="$host_os ld.so"
10443 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10444 need_lib_prefix=unknown
10445 hardcode_into_libs=no
10447 # when you set need_version to no, make sure it does not cause -set_version
10448 # flags to be left without arguments
10449 need_version=unknown
10451 case $host_os in
10452 aix3*)
10453 version_type=linux
10454 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10455 shlibpath_var=LIBPATH
10457 # AIX 3 has no versioning support, so we append a major version to the name.
10458 soname_spec='${libname}${release}${shared_ext}$major'
10461 aix[4-9]*)
10462 version_type=linux
10463 need_lib_prefix=no
10464 need_version=no
10465 hardcode_into_libs=yes
10466 if test "$host_cpu" = ia64; then
10467 # AIX 5 supports IA64
10468 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10469 shlibpath_var=LD_LIBRARY_PATH
10470 else
10471 # With GCC up to 2.95.x, collect2 would create an import file
10472 # for dependence libraries. The import file would start with
10473 # the line `#! .'. This would cause the generated library to
10474 # depend on `.', always an invalid library. This was fixed in
10475 # development snapshots of GCC prior to 3.0.
10476 case $host_os in
10477 aix4 | aix4.[01] | aix4.[01].*)
10478 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10479 echo ' yes '
10480 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10482 else
10483 can_build_shared=no
10486 esac
10487 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10488 # soname into executable. Probably we can add versioning support to
10489 # collect2, so additional links can be useful in future.
10490 if test "$aix_use_runtimelinking" = yes; then
10491 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10492 # instead of lib<name>.a to let people know that these are not
10493 # typical AIX shared libraries.
10494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10495 else
10496 # We preserve .a as extension for shared libraries through AIX4.2
10497 # and later when we are not doing run time linking.
10498 library_names_spec='${libname}${release}.a $libname.a'
10499 soname_spec='${libname}${release}${shared_ext}$major'
10501 shlibpath_var=LIBPATH
10505 amigaos*)
10506 case $host_cpu in
10507 powerpc)
10508 # Since July 2007 AmigaOS4 officially supports .so libraries.
10509 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10512 m68k)
10513 library_names_spec='$libname.ixlibrary $libname.a'
10514 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10515 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'
10517 esac
10520 beos*)
10521 library_names_spec='${libname}${shared_ext}'
10522 dynamic_linker="$host_os ld.so"
10523 shlibpath_var=LIBRARY_PATH
10526 bsdi[45]*)
10527 version_type=linux
10528 need_version=no
10529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530 soname_spec='${libname}${release}${shared_ext}$major'
10531 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10532 shlibpath_var=LD_LIBRARY_PATH
10533 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10534 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10535 # the default ld.so.conf also contains /usr/contrib/lib and
10536 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10537 # libtool to hard-code these into programs
10540 cygwin* | mingw* | pw32* | cegcc*)
10541 version_type=windows
10542 shrext_cmds=".dll"
10543 need_version=no
10544 need_lib_prefix=no
10546 case $GCC,$host_os in
10547 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10548 library_names_spec='$libname.dll.a'
10549 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10550 postinstall_cmds='base_file=`basename \${file}`~
10551 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10552 dldir=$destdir/`dirname \$dlpath`~
10553 test -d \$dldir || mkdir -p \$dldir~
10554 $install_prog $dir/$dlname \$dldir/$dlname~
10555 chmod a+x \$dldir/$dlname~
10556 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10557 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10559 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10560 dlpath=$dir/\$dldll~
10561 $RM \$dlpath'
10562 shlibpath_overrides_runpath=yes
10564 case $host_os in
10565 cygwin*)
10566 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10567 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10569 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10571 mingw* | cegcc*)
10572 # MinGW DLLs use traditional 'lib' prefix
10573 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10575 pw32*)
10576 # pw32 DLLs use 'pw' prefix rather than 'lib'
10577 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10579 esac
10583 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10585 esac
10586 dynamic_linker='Win32 ld.exe'
10587 # FIXME: first we should search . and the directory the executable is in
10588 shlibpath_var=PATH
10591 darwin* | rhapsody*)
10592 dynamic_linker="$host_os dyld"
10593 version_type=darwin
10594 need_lib_prefix=no
10595 need_version=no
10596 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10597 soname_spec='${libname}${release}${major}$shared_ext'
10598 shlibpath_overrides_runpath=yes
10599 shlibpath_var=DYLD_LIBRARY_PATH
10600 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10602 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10603 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10606 dgux*)
10607 version_type=linux
10608 need_lib_prefix=no
10609 need_version=no
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10611 soname_spec='${libname}${release}${shared_ext}$major'
10612 shlibpath_var=LD_LIBRARY_PATH
10615 freebsd* | dragonfly*)
10616 # DragonFly does not have aout. When/if they implement a new
10617 # versioning mechanism, adjust this.
10618 if test -x /usr/bin/objformat; then
10619 objformat=`/usr/bin/objformat`
10620 else
10621 case $host_os in
10622 freebsd[123]*) objformat=aout ;;
10623 *) objformat=elf ;;
10624 esac
10626 version_type=freebsd-$objformat
10627 case $version_type in
10628 freebsd-elf*)
10629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10630 need_version=no
10631 need_lib_prefix=no
10633 freebsd-*)
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10635 need_version=yes
10637 esac
10638 shlibpath_var=LD_LIBRARY_PATH
10639 case $host_os in
10640 freebsd2*)
10641 shlibpath_overrides_runpath=yes
10643 freebsd3.[01]* | freebsdelf3.[01]*)
10644 shlibpath_overrides_runpath=yes
10645 hardcode_into_libs=yes
10647 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10648 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10649 shlibpath_overrides_runpath=no
10650 hardcode_into_libs=yes
10652 *) # from 4.6 on, and DragonFly
10653 shlibpath_overrides_runpath=yes
10654 hardcode_into_libs=yes
10656 esac
10659 gnu*)
10660 version_type=linux
10661 need_lib_prefix=no
10662 need_version=no
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10664 soname_spec='${libname}${release}${shared_ext}$major'
10665 shlibpath_var=LD_LIBRARY_PATH
10666 hardcode_into_libs=yes
10669 haiku*)
10670 version_type=linux
10671 need_lib_prefix=no
10672 need_version=no
10673 dynamic_linker="$host_os runtime_loader"
10674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10675 soname_spec='${libname}${release}${shared_ext}$major'
10676 shlibpath_var=LIBRARY_PATH
10677 shlibpath_overrides_runpath=yes
10678 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10679 hardcode_into_libs=yes
10682 hpux9* | hpux10* | hpux11*)
10683 # Give a soname corresponding to the major version so that dld.sl refuses to
10684 # link against other versions.
10685 version_type=sunos
10686 need_lib_prefix=no
10687 need_version=no
10688 case $host_cpu in
10689 ia64*)
10690 shrext_cmds='.so'
10691 hardcode_into_libs=yes
10692 dynamic_linker="$host_os dld.so"
10693 shlibpath_var=LD_LIBRARY_PATH
10694 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696 soname_spec='${libname}${release}${shared_ext}$major'
10697 if test "X$HPUX_IA64_MODE" = X32; then
10698 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10699 else
10700 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10702 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10704 hppa*64*)
10705 shrext_cmds='.sl'
10706 hardcode_into_libs=yes
10707 dynamic_linker="$host_os dld.sl"
10708 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10709 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 soname_spec='${libname}${release}${shared_ext}$major'
10712 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10713 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10716 shrext_cmds='.sl'
10717 dynamic_linker="$host_os dld.sl"
10718 shlibpath_var=SHLIB_PATH
10719 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10721 soname_spec='${libname}${release}${shared_ext}$major'
10723 esac
10724 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10725 postinstall_cmds='chmod 555 $lib'
10726 # or fails outright, so override atomically:
10727 install_override_mode=555
10730 interix[3-9]*)
10731 version_type=linux
10732 need_lib_prefix=no
10733 need_version=no
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10737 shlibpath_var=LD_LIBRARY_PATH
10738 shlibpath_overrides_runpath=no
10739 hardcode_into_libs=yes
10742 irix5* | irix6* | nonstopux*)
10743 case $host_os in
10744 nonstopux*) version_type=nonstopux ;;
10746 if test "$lt_cv_prog_gnu_ld" = yes; then
10747 version_type=linux
10748 else
10749 version_type=irix
10750 fi ;;
10751 esac
10752 need_lib_prefix=no
10753 need_version=no
10754 soname_spec='${libname}${release}${shared_ext}$major'
10755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10756 case $host_os in
10757 irix5* | nonstopux*)
10758 libsuff= shlibsuff=
10761 case $LD in # libtool.m4 will add one of these switches to LD
10762 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10763 libsuff= shlibsuff= libmagic=32-bit;;
10764 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10765 libsuff=32 shlibsuff=N32 libmagic=N32;;
10766 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10767 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10768 *) libsuff= shlibsuff= libmagic=never-match;;
10769 esac
10771 esac
10772 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10773 shlibpath_overrides_runpath=no
10774 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10775 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10776 hardcode_into_libs=yes
10779 # No shared lib support for Linux oldld, aout, or coff.
10780 linux*oldld* | linux*aout* | linux*coff*)
10781 dynamic_linker=no
10784 # This must be Linux ELF.
10785 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10786 version_type=linux
10787 need_lib_prefix=no
10788 need_version=no
10789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10790 soname_spec='${libname}${release}${shared_ext}$major'
10791 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10792 shlibpath_var=LD_LIBRARY_PATH
10793 shlibpath_overrides_runpath=no
10795 # Some binutils ld are patched to set DT_RUNPATH
10796 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10797 $as_echo_n "(cached) " >&6
10798 else
10799 lt_cv_shlibpath_overrides_runpath=no
10800 save_LDFLAGS=$LDFLAGS
10801 save_libdir=$libdir
10802 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10803 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10804 if test x$gcc_no_link = xyes; then
10805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10811 main ()
10815 return 0;
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"; then :
10819 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10820 lt_cv_shlibpath_overrides_runpath=yes
10823 rm -f core conftest.err conftest.$ac_objext \
10824 conftest$ac_exeext conftest.$ac_ext
10825 LDFLAGS=$save_LDFLAGS
10826 libdir=$save_libdir
10830 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10832 # This implies no fast_install, which is unacceptable.
10833 # Some rework will be needed to allow for fast_install
10834 # before this can be enabled.
10835 hardcode_into_libs=yes
10837 # Append ld.so.conf contents to the search path
10838 if test -f /etc/ld.so.conf; then
10839 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' ' '`
10840 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10843 # We used to test for /lib/ld.so.1 and disable shared libraries on
10844 # powerpc, because MkLinux only supported shared libraries with the
10845 # GNU dynamic linker. Since this was broken with cross compilers,
10846 # most powerpc-linux boxes support dynamic linking these days and
10847 # people can always --disable-shared, the test was removed, and we
10848 # assume the GNU/Linux dynamic linker is in use.
10849 dynamic_linker='GNU/Linux ld.so'
10852 netbsd*)
10853 version_type=sunos
10854 need_lib_prefix=no
10855 need_version=no
10856 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10858 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10859 dynamic_linker='NetBSD (a.out) ld.so'
10860 else
10861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10862 soname_spec='${libname}${release}${shared_ext}$major'
10863 dynamic_linker='NetBSD ld.elf_so'
10865 shlibpath_var=LD_LIBRARY_PATH
10866 shlibpath_overrides_runpath=yes
10867 hardcode_into_libs=yes
10870 newsos6)
10871 version_type=linux
10872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 shlibpath_var=LD_LIBRARY_PATH
10874 shlibpath_overrides_runpath=yes
10877 *nto* | *qnx*)
10878 version_type=qnx
10879 need_lib_prefix=no
10880 need_version=no
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10882 soname_spec='${libname}${release}${shared_ext}$major'
10883 shlibpath_var=LD_LIBRARY_PATH
10884 shlibpath_overrides_runpath=no
10885 hardcode_into_libs=yes
10886 dynamic_linker='ldqnx.so'
10889 openbsd*)
10890 version_type=sunos
10891 sys_lib_dlsearch_path_spec="/usr/lib"
10892 need_lib_prefix=no
10893 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10894 case $host_os in
10895 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10896 *) need_version=no ;;
10897 esac
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10900 shlibpath_var=LD_LIBRARY_PATH
10901 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10902 case $host_os in
10903 openbsd2.[89] | openbsd2.[89].*)
10904 shlibpath_overrides_runpath=no
10907 shlibpath_overrides_runpath=yes
10909 esac
10910 else
10911 shlibpath_overrides_runpath=yes
10915 os2*)
10916 libname_spec='$name'
10917 shrext_cmds=".dll"
10918 need_lib_prefix=no
10919 library_names_spec='$libname${shared_ext} $libname.a'
10920 dynamic_linker='OS/2 ld.exe'
10921 shlibpath_var=LIBPATH
10924 osf3* | osf4* | osf5*)
10925 version_type=osf
10926 need_lib_prefix=no
10927 need_version=no
10928 soname_spec='${libname}${release}${shared_ext}$major'
10929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10930 shlibpath_var=LD_LIBRARY_PATH
10931 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10932 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10935 rdos*)
10936 dynamic_linker=no
10939 solaris*)
10940 version_type=linux
10941 need_lib_prefix=no
10942 need_version=no
10943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10944 soname_spec='${libname}${release}${shared_ext}$major'
10945 shlibpath_var=LD_LIBRARY_PATH
10946 shlibpath_overrides_runpath=yes
10947 hardcode_into_libs=yes
10948 # ldd complains unless libraries are executable
10949 postinstall_cmds='chmod +x $lib'
10952 sunos4*)
10953 version_type=sunos
10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10955 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10956 shlibpath_var=LD_LIBRARY_PATH
10957 shlibpath_overrides_runpath=yes
10958 if test "$with_gnu_ld" = yes; then
10959 need_lib_prefix=no
10961 need_version=yes
10964 sysv4 | sysv4.3*)
10965 version_type=linux
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 shlibpath_var=LD_LIBRARY_PATH
10969 case $host_vendor in
10970 sni)
10971 shlibpath_overrides_runpath=no
10972 need_lib_prefix=no
10973 runpath_var=LD_RUN_PATH
10975 siemens)
10976 need_lib_prefix=no
10978 motorola)
10979 need_lib_prefix=no
10980 need_version=no
10981 shlibpath_overrides_runpath=no
10982 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10984 esac
10987 sysv4*MP*)
10988 if test -d /usr/nec ;then
10989 version_type=linux
10990 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10991 soname_spec='$libname${shared_ext}.$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10996 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10997 version_type=freebsd-elf
10998 need_lib_prefix=no
10999 need_version=no
11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11001 soname_spec='${libname}${release}${shared_ext}$major'
11002 shlibpath_var=LD_LIBRARY_PATH
11003 shlibpath_overrides_runpath=yes
11004 hardcode_into_libs=yes
11005 if test "$with_gnu_ld" = yes; then
11006 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11007 else
11008 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11009 case $host_os in
11010 sco3.2v5*)
11011 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11013 esac
11015 sys_lib_dlsearch_path_spec='/usr/lib'
11018 tpf*)
11019 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11020 version_type=linux
11021 need_lib_prefix=no
11022 need_version=no
11023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11024 shlibpath_var=LD_LIBRARY_PATH
11025 shlibpath_overrides_runpath=no
11026 hardcode_into_libs=yes
11029 uts4*)
11030 version_type=linux
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11032 soname_spec='${libname}${release}${shared_ext}$major'
11033 shlibpath_var=LD_LIBRARY_PATH
11037 dynamic_linker=no
11039 esac
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11041 $as_echo "$dynamic_linker" >&6; }
11042 test "$dynamic_linker" = no && can_build_shared=no
11044 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11045 if test "$GCC" = yes; then
11046 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11049 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11050 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11052 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11053 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11148 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11149 hardcode_action=
11150 if test -n "$hardcode_libdir_flag_spec" ||
11151 test -n "$runpath_var" ||
11152 test "X$hardcode_automatic" = "Xyes" ; then
11154 # We can hardcode non-existent directories.
11155 if test "$hardcode_direct" != no &&
11156 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11157 # have to relink, otherwise we might link with an installed library
11158 # when we should be linking with a yet-to-be-installed one
11159 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11160 test "$hardcode_minus_L" != no; then
11161 # Linking always hardcodes the temporary library directory.
11162 hardcode_action=relink
11163 else
11164 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11165 hardcode_action=immediate
11167 else
11168 # We cannot hardcode anything, or else we can only hardcode existing
11169 # directories.
11170 hardcode_action=unsupported
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11173 $as_echo "$hardcode_action" >&6; }
11175 if test "$hardcode_action" = relink ||
11176 test "$inherit_rpath" = yes; then
11177 # Fast installation is not supported
11178 enable_fast_install=no
11179 elif test "$shlibpath_overrides_runpath" = yes ||
11180 test "$enable_shared" = no; then
11181 # Fast installation is not necessary
11182 enable_fast_install=needless
11190 if test "x$enable_dlopen" != xyes; then
11191 enable_dlopen=unknown
11192 enable_dlopen_self=unknown
11193 enable_dlopen_self_static=unknown
11194 else
11195 lt_cv_dlopen=no
11196 lt_cv_dlopen_libs=
11198 case $host_os in
11199 beos*)
11200 lt_cv_dlopen="load_add_on"
11201 lt_cv_dlopen_libs=
11202 lt_cv_dlopen_self=yes
11205 mingw* | pw32* | cegcc*)
11206 lt_cv_dlopen="LoadLibrary"
11207 lt_cv_dlopen_libs=
11210 cygwin*)
11211 lt_cv_dlopen="dlopen"
11212 lt_cv_dlopen_libs=
11215 darwin*)
11216 # if libdl is installed we need to link against it
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11218 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11219 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11220 $as_echo_n "(cached) " >&6
11221 else
11222 ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-ldl $LIBS"
11224 if test x$gcc_no_link = xyes; then
11225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11233 #ifdef __cplusplus
11234 extern "C"
11235 #endif
11236 char dlopen ();
11238 main ()
11240 return dlopen ();
11242 return 0;
11244 _ACEOF
11245 if ac_fn_c_try_link "$LINENO"; then :
11246 ac_cv_lib_dl_dlopen=yes
11247 else
11248 ac_cv_lib_dl_dlopen=no
11250 rm -f core conftest.err conftest.$ac_objext \
11251 conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_lib_save_LIBS
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11255 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11256 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11257 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11258 else
11260 lt_cv_dlopen="dyld"
11261 lt_cv_dlopen_libs=
11262 lt_cv_dlopen_self=yes
11269 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11270 if test "x$ac_cv_func_shl_load" = x""yes; then :
11271 lt_cv_dlopen="shl_load"
11272 else
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11274 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11275 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11276 $as_echo_n "(cached) " >&6
11277 else
11278 ac_check_lib_save_LIBS=$LIBS
11279 LIBS="-ldld $LIBS"
11280 if test x$gcc_no_link = xyes; then
11281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11289 #ifdef __cplusplus
11290 extern "C"
11291 #endif
11292 char shl_load ();
11294 main ()
11296 return shl_load ();
11298 return 0;
11300 _ACEOF
11301 if ac_fn_c_try_link "$LINENO"; then :
11302 ac_cv_lib_dld_shl_load=yes
11303 else
11304 ac_cv_lib_dld_shl_load=no
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11311 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11312 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11313 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11314 else
11315 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11316 if test "x$ac_cv_func_dlopen" = x""yes; then :
11317 lt_cv_dlopen="dlopen"
11318 else
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11320 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11321 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11322 $as_echo_n "(cached) " >&6
11323 else
11324 ac_check_lib_save_LIBS=$LIBS
11325 LIBS="-ldl $LIBS"
11326 if test x$gcc_no_link = xyes; then
11327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11332 /* Override any GCC internal prototype to avoid an error.
11333 Use char because int might match the return type of a GCC
11334 builtin and then its argument prototype would still apply. */
11335 #ifdef __cplusplus
11336 extern "C"
11337 #endif
11338 char dlopen ();
11340 main ()
11342 return dlopen ();
11344 return 0;
11346 _ACEOF
11347 if ac_fn_c_try_link "$LINENO"; then :
11348 ac_cv_lib_dl_dlopen=yes
11349 else
11350 ac_cv_lib_dl_dlopen=no
11352 rm -f core conftest.err conftest.$ac_objext \
11353 conftest$ac_exeext conftest.$ac_ext
11354 LIBS=$ac_check_lib_save_LIBS
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11357 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11358 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11359 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11360 else
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11362 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11363 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11364 $as_echo_n "(cached) " >&6
11365 else
11366 ac_check_lib_save_LIBS=$LIBS
11367 LIBS="-lsvld $LIBS"
11368 if test x$gcc_no_link = xyes; then
11369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char dlopen ();
11382 main ()
11384 return dlopen ();
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 ac_cv_lib_svld_dlopen=yes
11391 else
11392 ac_cv_lib_svld_dlopen=no
11394 rm -f core conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11399 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11400 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11401 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11402 else
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11404 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11405 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_lib_save_LIBS=$LIBS
11409 LIBS="-ldld $LIBS"
11410 if test x$gcc_no_link = xyes; then
11411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char dld_link ();
11424 main ()
11426 return dld_link ();
11428 return 0;
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_dld_dld_link=yes
11433 else
11434 ac_cv_lib_dld_dld_link=no
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11441 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11442 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11443 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11462 esac
11464 if test "x$lt_cv_dlopen" != xno; then
11465 enable_dlopen=yes
11466 else
11467 enable_dlopen=no
11470 case $lt_cv_dlopen in
11471 dlopen)
11472 save_CPPFLAGS="$CPPFLAGS"
11473 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11475 save_LDFLAGS="$LDFLAGS"
11476 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11478 save_LIBS="$LIBS"
11479 LIBS="$lt_cv_dlopen_libs $LIBS"
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11482 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11483 if test "${lt_cv_dlopen_self+set}" = set; then :
11484 $as_echo_n "(cached) " >&6
11485 else
11486 if test "$cross_compiling" = yes; then :
11487 lt_cv_dlopen_self=cross
11488 else
11489 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11490 lt_status=$lt_dlunknown
11491 cat > conftest.$ac_ext <<_LT_EOF
11492 #line 11492 "configure"
11493 #include "confdefs.h"
11495 #if HAVE_DLFCN_H
11496 #include <dlfcn.h>
11497 #endif
11499 #include <stdio.h>
11501 #ifdef RTLD_GLOBAL
11502 # define LT_DLGLOBAL RTLD_GLOBAL
11503 #else
11504 # ifdef DL_GLOBAL
11505 # define LT_DLGLOBAL DL_GLOBAL
11506 # else
11507 # define LT_DLGLOBAL 0
11508 # endif
11509 #endif
11511 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11512 find out it does not work in some platform. */
11513 #ifndef LT_DLLAZY_OR_NOW
11514 # ifdef RTLD_LAZY
11515 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11516 # else
11517 # ifdef DL_LAZY
11518 # define LT_DLLAZY_OR_NOW DL_LAZY
11519 # else
11520 # ifdef RTLD_NOW
11521 # define LT_DLLAZY_OR_NOW RTLD_NOW
11522 # else
11523 # ifdef DL_NOW
11524 # define LT_DLLAZY_OR_NOW DL_NOW
11525 # else
11526 # define LT_DLLAZY_OR_NOW 0
11527 # endif
11528 # endif
11529 # endif
11530 # endif
11531 #endif
11533 /* When -fvisbility=hidden is used, assume the code has been annotated
11534 correspondingly for the symbols needed. */
11535 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11536 void fnord () __attribute__((visibility("default")));
11537 #endif
11539 void fnord () { int i=42; }
11540 int main ()
11542 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11543 int status = $lt_dlunknown;
11545 if (self)
11547 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11548 else
11550 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11551 else puts (dlerror ());
11553 /* dlclose (self); */
11555 else
11556 puts (dlerror ());
11558 return status;
11560 _LT_EOF
11561 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11562 (eval $ac_link) 2>&5
11563 ac_status=$?
11564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11565 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11566 (./conftest; exit; ) >&5 2>/dev/null
11567 lt_status=$?
11568 case x$lt_status in
11569 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11570 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11571 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11572 esac
11573 else :
11574 # compilation failed
11575 lt_cv_dlopen_self=no
11578 rm -fr conftest*
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11583 $as_echo "$lt_cv_dlopen_self" >&6; }
11585 if test "x$lt_cv_dlopen_self" = xyes; then
11586 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11588 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11589 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11590 $as_echo_n "(cached) " >&6
11591 else
11592 if test "$cross_compiling" = yes; then :
11593 lt_cv_dlopen_self_static=cross
11594 else
11595 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11596 lt_status=$lt_dlunknown
11597 cat > conftest.$ac_ext <<_LT_EOF
11598 #line 11598 "configure"
11599 #include "confdefs.h"
11601 #if HAVE_DLFCN_H
11602 #include <dlfcn.h>
11603 #endif
11605 #include <stdio.h>
11607 #ifdef RTLD_GLOBAL
11608 # define LT_DLGLOBAL RTLD_GLOBAL
11609 #else
11610 # ifdef DL_GLOBAL
11611 # define LT_DLGLOBAL DL_GLOBAL
11612 # else
11613 # define LT_DLGLOBAL 0
11614 # endif
11615 #endif
11617 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11618 find out it does not work in some platform. */
11619 #ifndef LT_DLLAZY_OR_NOW
11620 # ifdef RTLD_LAZY
11621 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11622 # else
11623 # ifdef DL_LAZY
11624 # define LT_DLLAZY_OR_NOW DL_LAZY
11625 # else
11626 # ifdef RTLD_NOW
11627 # define LT_DLLAZY_OR_NOW RTLD_NOW
11628 # else
11629 # ifdef DL_NOW
11630 # define LT_DLLAZY_OR_NOW DL_NOW
11631 # else
11632 # define LT_DLLAZY_OR_NOW 0
11633 # endif
11634 # endif
11635 # endif
11636 # endif
11637 #endif
11639 /* When -fvisbility=hidden is used, assume the code has been annotated
11640 correspondingly for the symbols needed. */
11641 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11642 void fnord () __attribute__((visibility("default")));
11643 #endif
11645 void fnord () { int i=42; }
11646 int main ()
11648 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11649 int status = $lt_dlunknown;
11651 if (self)
11653 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11654 else
11656 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11657 else puts (dlerror ());
11659 /* dlclose (self); */
11661 else
11662 puts (dlerror ());
11664 return status;
11666 _LT_EOF
11667 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11668 (eval $ac_link) 2>&5
11669 ac_status=$?
11670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11671 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11672 (./conftest; exit; ) >&5 2>/dev/null
11673 lt_status=$?
11674 case x$lt_status in
11675 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11676 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11677 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11678 esac
11679 else :
11680 # compilation failed
11681 lt_cv_dlopen_self_static=no
11684 rm -fr conftest*
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11689 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11692 CPPFLAGS="$save_CPPFLAGS"
11693 LDFLAGS="$save_LDFLAGS"
11694 LIBS="$save_LIBS"
11696 esac
11698 case $lt_cv_dlopen_self in
11699 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11700 *) enable_dlopen_self=unknown ;;
11701 esac
11703 case $lt_cv_dlopen_self_static in
11704 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11705 *) enable_dlopen_self_static=unknown ;;
11706 esac
11725 striplib=
11726 old_striplib=
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11728 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11729 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11730 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11731 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11733 $as_echo "yes" >&6; }
11734 else
11735 # FIXME - insert some real tests, host_os isn't really good enough
11736 case $host_os in
11737 darwin*)
11738 if test -n "$STRIP" ; then
11739 striplib="$STRIP -x"
11740 old_striplib="$STRIP -S"
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11742 $as_echo "yes" >&6; }
11743 else
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11745 $as_echo "no" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11750 $as_echo "no" >&6; }
11752 esac
11766 # Report which library types will actually be built
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11768 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11770 $as_echo "$can_build_shared" >&6; }
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11773 $as_echo_n "checking whether to build shared libraries... " >&6; }
11774 test "$can_build_shared" = "no" && enable_shared=no
11776 # On AIX, shared libraries and static libraries use the same namespace, and
11777 # are all built from PIC.
11778 case $host_os in
11779 aix3*)
11780 test "$enable_shared" = yes && enable_static=no
11781 if test -n "$RANLIB"; then
11782 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11783 postinstall_cmds='$RANLIB $lib'
11787 aix[4-9]*)
11788 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11789 test "$enable_shared" = yes && enable_static=no
11792 esac
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11794 $as_echo "$enable_shared" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11797 $as_echo_n "checking whether to build static libraries... " >&6; }
11798 # Make sure either enable_shared or enable_static is yes.
11799 test "$enable_shared" = yes || enable_static=yes
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11801 $as_echo "$enable_static" >&6; }
11807 ac_ext=c
11808 ac_cpp='$CPP $CPPFLAGS'
11809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11813 CC="$lt_save_CC"
11815 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11816 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11817 (test "X$CXX" != "Xg++"))) ; then
11818 ac_ext=cpp
11819 ac_cpp='$CXXCPP $CPPFLAGS'
11820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11824 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11825 if test -z "$CXXCPP"; then
11826 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11827 $as_echo_n "(cached) " >&6
11828 else
11829 # Double quotes because CXXCPP needs to be expanded
11830 for CXXCPP in "$CXX -E" "/lib/cpp"
11832 ac_preproc_ok=false
11833 for ac_cxx_preproc_warn_flag in '' yes
11835 # Use a header file that comes with gcc, so configuring glibc
11836 # with a fresh cross-compiler works.
11837 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11838 # <limits.h> exists even on freestanding compilers.
11839 # On the NeXT, cc -E runs the code through the compiler's parser,
11840 # not just through cpp. "Syntax error" is here to catch this case.
11841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11843 #ifdef __STDC__
11844 # include <limits.h>
11845 #else
11846 # include <assert.h>
11847 #endif
11848 Syntax error
11849 _ACEOF
11850 if ac_fn_cxx_try_cpp "$LINENO"; then :
11852 else
11853 # Broken: fails on valid input.
11854 continue
11856 rm -f conftest.err conftest.$ac_ext
11858 # OK, works on sane cases. Now check whether nonexistent headers
11859 # can be detected and how.
11860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h. */
11862 #include <ac_nonexistent.h>
11863 _ACEOF
11864 if ac_fn_cxx_try_cpp "$LINENO"; then :
11865 # Broken: success on invalid input.
11866 continue
11867 else
11868 # Passes both tests.
11869 ac_preproc_ok=:
11870 break
11872 rm -f conftest.err conftest.$ac_ext
11874 done
11875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11876 rm -f conftest.err conftest.$ac_ext
11877 if $ac_preproc_ok; then :
11878 break
11881 done
11882 ac_cv_prog_CXXCPP=$CXXCPP
11885 CXXCPP=$ac_cv_prog_CXXCPP
11886 else
11887 ac_cv_prog_CXXCPP=$CXXCPP
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11890 $as_echo "$CXXCPP" >&6; }
11891 ac_preproc_ok=false
11892 for ac_cxx_preproc_warn_flag in '' yes
11894 # Use a header file that comes with gcc, so configuring glibc
11895 # with a fresh cross-compiler works.
11896 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11897 # <limits.h> exists even on freestanding compilers.
11898 # On the NeXT, cc -E runs the code through the compiler's parser,
11899 # not just through cpp. "Syntax error" is here to catch this case.
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11902 #ifdef __STDC__
11903 # include <limits.h>
11904 #else
11905 # include <assert.h>
11906 #endif
11907 Syntax error
11908 _ACEOF
11909 if ac_fn_cxx_try_cpp "$LINENO"; then :
11911 else
11912 # Broken: fails on valid input.
11913 continue
11915 rm -f conftest.err conftest.$ac_ext
11917 # OK, works on sane cases. Now check whether nonexistent headers
11918 # can be detected and how.
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11921 #include <ac_nonexistent.h>
11922 _ACEOF
11923 if ac_fn_cxx_try_cpp "$LINENO"; then :
11924 # Broken: success on invalid input.
11925 continue
11926 else
11927 # Passes both tests.
11928 ac_preproc_ok=:
11929 break
11931 rm -f conftest.err conftest.$ac_ext
11933 done
11934 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11935 rm -f conftest.err conftest.$ac_ext
11936 if $ac_preproc_ok; then :
11938 else
11939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11941 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11942 See \`config.log' for more details." "$LINENO" 5; }
11945 ac_ext=c
11946 ac_cpp='$CPP $CPPFLAGS'
11947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11951 else
11952 _lt_caught_CXX_error=yes
11955 ac_ext=cpp
11956 ac_cpp='$CXXCPP $CPPFLAGS'
11957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11961 archive_cmds_need_lc_CXX=no
11962 allow_undefined_flag_CXX=
11963 always_export_symbols_CXX=no
11964 archive_expsym_cmds_CXX=
11965 compiler_needs_object_CXX=no
11966 export_dynamic_flag_spec_CXX=
11967 hardcode_direct_CXX=no
11968 hardcode_direct_absolute_CXX=no
11969 hardcode_libdir_flag_spec_CXX=
11970 hardcode_libdir_flag_spec_ld_CXX=
11971 hardcode_libdir_separator_CXX=
11972 hardcode_minus_L_CXX=no
11973 hardcode_shlibpath_var_CXX=unsupported
11974 hardcode_automatic_CXX=no
11975 inherit_rpath_CXX=no
11976 module_cmds_CXX=
11977 module_expsym_cmds_CXX=
11978 link_all_deplibs_CXX=unknown
11979 old_archive_cmds_CXX=$old_archive_cmds
11980 reload_flag_CXX=$reload_flag
11981 reload_cmds_CXX=$reload_cmds
11982 no_undefined_flag_CXX=
11983 whole_archive_flag_spec_CXX=
11984 enable_shared_with_static_runtimes_CXX=no
11986 # Source file extension for C++ test sources.
11987 ac_ext=cpp
11989 # Object file extension for compiled C++ test sources.
11990 objext=o
11991 objext_CXX=$objext
11993 # No sense in running all these tests if we already determined that
11994 # the CXX compiler isn't working. Some variables (like enable_shared)
11995 # are currently assumed to apply to all compilers on this platform,
11996 # and will be corrupted by setting them based on a non-working compiler.
11997 if test "$_lt_caught_CXX_error" != yes; then
11998 # Code to be used in simple compile tests
11999 lt_simple_compile_test_code="int some_variable = 0;"
12001 # Code to be used in simple link tests
12002 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12004 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12011 # If no C compiler was specified, use CC.
12012 LTCC=${LTCC-"$CC"}
12014 # If no C compiler flags were specified, use CFLAGS.
12015 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12017 # Allow CC to be a program name with arguments.
12018 compiler=$CC
12021 # save warnings/boilerplate of simple test code
12022 ac_outfile=conftest.$ac_objext
12023 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12024 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12025 _lt_compiler_boilerplate=`cat conftest.err`
12026 $RM conftest*
12028 ac_outfile=conftest.$ac_objext
12029 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12030 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12031 _lt_linker_boilerplate=`cat conftest.err`
12032 $RM -r conftest*
12035 # Allow CC to be a program name with arguments.
12036 lt_save_CC=$CC
12037 lt_save_LD=$LD
12038 lt_save_GCC=$GCC
12039 GCC=$GXX
12040 lt_save_with_gnu_ld=$with_gnu_ld
12041 lt_save_path_LD=$lt_cv_path_LD
12042 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12043 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12044 else
12045 $as_unset lt_cv_prog_gnu_ld
12047 if test -n "${lt_cv_path_LDCXX+set}"; then
12048 lt_cv_path_LD=$lt_cv_path_LDCXX
12049 else
12050 $as_unset lt_cv_path_LD
12052 test -z "${LDCXX+set}" || LD=$LDCXX
12053 CC=${CXX-"c++"}
12054 compiler=$CC
12055 compiler_CXX=$CC
12056 for cc_temp in $compiler""; do
12057 case $cc_temp in
12058 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12059 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12060 \-*) ;;
12061 *) break;;
12062 esac
12063 done
12064 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12067 if test -n "$compiler"; then
12068 # We don't want -fno-exception when compiling C++ code, so set the
12069 # no_builtin_flag separately
12070 if test "$GXX" = yes; then
12071 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12072 else
12073 lt_prog_compiler_no_builtin_flag_CXX=
12076 if test "$GXX" = yes; then
12077 # Set up default GNU C++ configuration
12081 # Check whether --with-gnu-ld was given.
12082 if test "${with_gnu_ld+set}" = set; then :
12083 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12084 else
12085 with_gnu_ld=no
12088 ac_prog=ld
12089 if test "$GCC" = yes; then
12090 # Check if gcc -print-prog-name=ld gives a path.
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12092 $as_echo_n "checking for ld used by $CC... " >&6; }
12093 case $host in
12094 *-*-mingw*)
12095 # gcc leaves a trailing carriage return which upsets mingw
12096 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12098 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12099 esac
12100 case $ac_prog in
12101 # Accept absolute paths.
12102 [\\/]* | ?:[\\/]*)
12103 re_direlt='/[^/][^/]*/\.\./'
12104 # Canonicalize the pathname of ld
12105 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12106 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12107 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12108 done
12109 test -z "$LD" && LD="$ac_prog"
12112 # If it fails, then pretend we aren't using GCC.
12113 ac_prog=ld
12116 # If it is relative, then search for the first ld in PATH.
12117 with_gnu_ld=unknown
12119 esac
12120 elif test "$with_gnu_ld" = yes; then
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12122 $as_echo_n "checking for GNU ld... " >&6; }
12123 else
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12125 $as_echo_n "checking for non-GNU ld... " >&6; }
12127 if test "${lt_cv_path_LD+set}" = set; then :
12128 $as_echo_n "(cached) " >&6
12129 else
12130 if test -z "$LD"; then
12131 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12132 for ac_dir in $PATH; do
12133 IFS="$lt_save_ifs"
12134 test -z "$ac_dir" && ac_dir=.
12135 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12136 lt_cv_path_LD="$ac_dir/$ac_prog"
12137 # Check to see if the program is GNU ld. I'd rather use --version,
12138 # but apparently some variants of GNU ld only accept -v.
12139 # Break only if it was the GNU/non-GNU ld that we prefer.
12140 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12141 *GNU* | *'with BFD'*)
12142 test "$with_gnu_ld" != no && break
12145 test "$with_gnu_ld" != yes && break
12147 esac
12149 done
12150 IFS="$lt_save_ifs"
12151 else
12152 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12156 LD="$lt_cv_path_LD"
12157 if test -n "$LD"; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12159 $as_echo "$LD" >&6; }
12160 else
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12162 $as_echo "no" >&6; }
12164 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12166 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12167 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12168 $as_echo_n "(cached) " >&6
12169 else
12170 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12171 case `$LD -v 2>&1 </dev/null` in
12172 *GNU* | *'with BFD'*)
12173 lt_cv_prog_gnu_ld=yes
12176 lt_cv_prog_gnu_ld=no
12178 esac
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12181 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12182 with_gnu_ld=$lt_cv_prog_gnu_ld
12190 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12191 # archiving commands below assume that GNU ld is being used.
12192 if test "$with_gnu_ld" = yes; then
12193 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12194 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'
12196 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12197 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12199 # If archive_cmds runs LD, not CC, wlarc should be empty
12200 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12201 # investigate it a little bit more. (MM)
12202 wlarc='${wl}'
12204 # ancient GNU ld didn't support --whole-archive et. al.
12205 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12206 $GREP 'no-whole-archive' > /dev/null; then
12207 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12208 else
12209 whole_archive_flag_spec_CXX=
12211 else
12212 with_gnu_ld=no
12213 wlarc=
12215 # A generic and very simple default shared library creation
12216 # command for GNU C++ for the case where it uses the native
12217 # linker, instead of GNU ld. If possible, this setting should
12218 # overridden to take advantage of the native linker features on
12219 # the platform it is being used on.
12220 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12223 # Commands to make compiler produce verbose output that lists
12224 # what "hidden" libraries, object files and flags are used when
12225 # linking a shared library.
12226 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12228 else
12229 GXX=no
12230 with_gnu_ld=no
12231 wlarc=
12234 # PORTME: fill in a description of your system's C++ link characteristics
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12236 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12237 ld_shlibs_CXX=yes
12238 case $host_os in
12239 aix3*)
12240 # FIXME: insert proper C++ library support
12241 ld_shlibs_CXX=no
12243 aix[4-9]*)
12244 if test "$host_cpu" = ia64; then
12245 # On IA64, the linker does run time linking by default, so we don't
12246 # have to do anything special.
12247 aix_use_runtimelinking=no
12248 exp_sym_flag='-Bexport'
12249 no_entry_flag=""
12250 else
12251 aix_use_runtimelinking=no
12253 # Test if we are trying to use run time linking or normal
12254 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12255 # need to do runtime linking.
12256 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12257 for ld_flag in $LDFLAGS; do
12258 case $ld_flag in
12259 *-brtl*)
12260 aix_use_runtimelinking=yes
12261 break
12263 esac
12264 done
12266 esac
12268 exp_sym_flag='-bexport'
12269 no_entry_flag='-bnoentry'
12272 # When large executables or shared objects are built, AIX ld can
12273 # have problems creating the table of contents. If linking a library
12274 # or program results in "error TOC overflow" add -mminimal-toc to
12275 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12276 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12278 archive_cmds_CXX=''
12279 hardcode_direct_CXX=yes
12280 hardcode_direct_absolute_CXX=yes
12281 hardcode_libdir_separator_CXX=':'
12282 link_all_deplibs_CXX=yes
12283 file_list_spec_CXX='${wl}-f,'
12285 if test "$GXX" = yes; then
12286 case $host_os in aix4.[012]|aix4.[012].*)
12287 # We only want to do this on AIX 4.2 and lower, the check
12288 # below for broken collect2 doesn't work under 4.3+
12289 collect2name=`${CC} -print-prog-name=collect2`
12290 if test -f "$collect2name" &&
12291 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12292 then
12293 # We have reworked collect2
12295 else
12296 # We have old collect2
12297 hardcode_direct_CXX=unsupported
12298 # It fails to find uninstalled libraries when the uninstalled
12299 # path is not listed in the libpath. Setting hardcode_minus_L
12300 # to unsupported forces relinking
12301 hardcode_minus_L_CXX=yes
12302 hardcode_libdir_flag_spec_CXX='-L$libdir'
12303 hardcode_libdir_separator_CXX=
12305 esac
12306 shared_flag='-shared'
12307 if test "$aix_use_runtimelinking" = yes; then
12308 shared_flag="$shared_flag "'${wl}-G'
12310 else
12311 # not using gcc
12312 if test "$host_cpu" = ia64; then
12313 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12314 # chokes on -Wl,-G. The following line is correct:
12315 shared_flag='-G'
12316 else
12317 if test "$aix_use_runtimelinking" = yes; then
12318 shared_flag='${wl}-G'
12319 else
12320 shared_flag='${wl}-bM:SRE'
12325 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12326 # It seems that -bexpall does not export symbols beginning with
12327 # underscore (_), so it is better to generate a list of symbols to
12328 # export.
12329 always_export_symbols_CXX=yes
12330 if test "$aix_use_runtimelinking" = yes; then
12331 # Warning - without using the other runtime loading flags (-brtl),
12332 # -berok will link without error, but may produce a broken library.
12333 allow_undefined_flag_CXX='-berok'
12334 # Determine the default libpath from the value encoded in an empty
12335 # executable.
12336 if test x$gcc_no_link = xyes; then
12337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12343 main ()
12347 return 0;
12349 _ACEOF
12350 if ac_fn_cxx_try_link "$LINENO"; then :
12352 lt_aix_libpath_sed='
12353 /Import File Strings/,/^$/ {
12354 /^0/ {
12355 s/^0 *\(.*\)$/\1/
12359 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12360 # Check for a 64-bit object if we didn't find anything.
12361 if test -z "$aix_libpath"; then
12362 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12365 rm -f core conftest.err conftest.$ac_objext \
12366 conftest$ac_exeext conftest.$ac_ext
12367 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12369 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12371 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"
12372 else
12373 if test "$host_cpu" = ia64; then
12374 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12375 allow_undefined_flag_CXX="-z nodefs"
12376 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"
12377 else
12378 # Determine the default libpath from the value encoded in an
12379 # empty executable.
12380 if test x$gcc_no_link = xyes; then
12381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12387 main ()
12391 return 0;
12393 _ACEOF
12394 if ac_fn_cxx_try_link "$LINENO"; then :
12396 lt_aix_libpath_sed='
12397 /Import File Strings/,/^$/ {
12398 /^0/ {
12399 s/^0 *\(.*\)$/\1/
12403 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12404 # Check for a 64-bit object if we didn't find anything.
12405 if test -z "$aix_libpath"; then
12406 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12409 rm -f core conftest.err conftest.$ac_objext \
12410 conftest$ac_exeext conftest.$ac_ext
12411 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12413 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12414 # Warning - without using the other run time loading flags,
12415 # -berok will link without error, but may produce a broken library.
12416 no_undefined_flag_CXX=' ${wl}-bernotok'
12417 allow_undefined_flag_CXX=' ${wl}-berok'
12418 if test "$with_gnu_ld" = yes; then
12419 # We only use this code for GNU lds that support --whole-archive.
12420 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12421 else
12422 # Exported symbols can be pulled into shared objects from archives
12423 whole_archive_flag_spec_CXX='$convenience'
12425 archive_cmds_need_lc_CXX=yes
12426 # This is similar to how AIX traditionally builds its shared
12427 # libraries.
12428 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'
12433 beos*)
12434 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12435 allow_undefined_flag_CXX=unsupported
12436 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12437 # support --undefined. This deserves some investigation. FIXME
12438 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12439 else
12440 ld_shlibs_CXX=no
12444 chorus*)
12445 case $cc_basename in
12447 # FIXME: insert proper C++ library support
12448 ld_shlibs_CXX=no
12450 esac
12453 cygwin* | mingw* | pw32* | cegcc*)
12454 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12455 # as there is no search path for DLLs.
12456 hardcode_libdir_flag_spec_CXX='-L$libdir'
12457 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12458 allow_undefined_flag_CXX=unsupported
12459 always_export_symbols_CXX=no
12460 enable_shared_with_static_runtimes_CXX=yes
12462 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12463 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'
12464 # If the export-symbols file already is a .def file (1st line
12465 # is EXPORTS), use it as is; otherwise, prepend...
12466 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12467 cp $export_symbols $output_objdir/$soname.def;
12468 else
12469 echo EXPORTS > $output_objdir/$soname.def;
12470 cat $export_symbols >> $output_objdir/$soname.def;
12472 $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'
12473 else
12474 ld_shlibs_CXX=no
12477 darwin* | rhapsody*)
12480 archive_cmds_need_lc_CXX=no
12481 hardcode_direct_CXX=no
12482 hardcode_automatic_CXX=yes
12483 hardcode_shlibpath_var_CXX=unsupported
12484 if test "$lt_cv_ld_force_load" = "yes"; then
12485 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\"`'
12486 else
12487 whole_archive_flag_spec_CXX=''
12489 link_all_deplibs_CXX=yes
12490 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12491 case $cc_basename in
12492 ifort*) _lt_dar_can_shared=yes ;;
12493 *) _lt_dar_can_shared=$GCC ;;
12494 esac
12495 if test "$_lt_dar_can_shared" = "yes"; then
12496 output_verbose_link_cmd=func_echo_all
12497 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}"
12498 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12499 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}"
12500 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}"
12501 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12502 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}"
12503 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}"
12506 else
12507 ld_shlibs_CXX=no
12512 dgux*)
12513 case $cc_basename in
12514 ec++*)
12515 # FIXME: insert proper C++ library support
12516 ld_shlibs_CXX=no
12518 ghcx*)
12519 # Green Hills C++ Compiler
12520 # FIXME: insert proper C++ library support
12521 ld_shlibs_CXX=no
12524 # FIXME: insert proper C++ library support
12525 ld_shlibs_CXX=no
12527 esac
12530 freebsd[12]*)
12531 # C++ shared libraries reported to be fairly broken before
12532 # switch to ELF
12533 ld_shlibs_CXX=no
12536 freebsd-elf*)
12537 archive_cmds_need_lc_CXX=no
12540 freebsd* | dragonfly*)
12541 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12542 # conventions
12543 ld_shlibs_CXX=yes
12546 gnu*)
12549 haiku*)
12550 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12551 link_all_deplibs_CXX=yes
12554 hpux9*)
12555 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12556 hardcode_libdir_separator_CXX=:
12557 export_dynamic_flag_spec_CXX='${wl}-E'
12558 hardcode_direct_CXX=yes
12559 hardcode_minus_L_CXX=yes # Not in the search PATH,
12560 # but as the default
12561 # location of the library.
12563 case $cc_basename in
12564 CC*)
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12568 aCC*)
12569 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'
12570 # Commands to make compiler produce verbose output that lists
12571 # what "hidden" libraries, object files and flags are used when
12572 # linking a shared library.
12574 # There doesn't appear to be a way to prevent this compiler from
12575 # explicitly linking system object files so we need to strip them
12576 # from the output so that they don't get included in the library
12577 # dependencies.
12578 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"'
12581 if test "$GXX" = yes; then
12582 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'
12583 else
12584 # FIXME: insert proper C++ library support
12585 ld_shlibs_CXX=no
12588 esac
12591 hpux10*|hpux11*)
12592 if test $with_gnu_ld = no; then
12593 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12594 hardcode_libdir_separator_CXX=:
12596 case $host_cpu in
12597 hppa*64*|ia64*)
12600 export_dynamic_flag_spec_CXX='${wl}-E'
12602 esac
12604 case $host_cpu in
12605 hppa*64*|ia64*)
12606 hardcode_direct_CXX=no
12607 hardcode_shlibpath_var_CXX=no
12610 hardcode_direct_CXX=yes
12611 hardcode_direct_absolute_CXX=yes
12612 hardcode_minus_L_CXX=yes # Not in the search PATH,
12613 # but as the default
12614 # location of the library.
12616 esac
12618 case $cc_basename in
12619 CC*)
12620 # FIXME: insert proper C++ library support
12621 ld_shlibs_CXX=no
12623 aCC*)
12624 case $host_cpu in
12625 hppa*64*)
12626 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12628 ia64*)
12629 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12632 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12634 esac
12635 # Commands to make compiler produce verbose output that lists
12636 # what "hidden" libraries, object files and flags are used when
12637 # linking a shared library.
12639 # There doesn't appear to be a way to prevent this compiler from
12640 # explicitly linking system object files so we need to strip them
12641 # from the output so that they don't get included in the library
12642 # dependencies.
12643 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"'
12646 if test "$GXX" = yes; then
12647 if test $with_gnu_ld = no; then
12648 case $host_cpu in
12649 hppa*64*)
12650 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12652 ia64*)
12653 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12656 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'
12658 esac
12660 else
12661 # FIXME: insert proper C++ library support
12662 ld_shlibs_CXX=no
12665 esac
12668 interix[3-9]*)
12669 hardcode_direct_CXX=no
12670 hardcode_shlibpath_var_CXX=no
12671 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12672 export_dynamic_flag_spec_CXX='${wl}-E'
12673 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12674 # Instead, shared libraries are loaded at an image base (0x10000000 by
12675 # default) and relocated if they conflict, which is a slow very memory
12676 # consuming and fragmenting process. To avoid this, we pick a random,
12677 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12678 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12679 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'
12680 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'
12682 irix5* | irix6*)
12683 case $cc_basename in
12684 CC*)
12685 # SGI C++
12686 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'
12688 # Archives containing C++ object files must be created using
12689 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12690 # necessary to make sure instantiated templates are included
12691 # in the archive.
12692 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12695 if test "$GXX" = yes; then
12696 if test "$with_gnu_ld" = no; then
12697 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'
12698 else
12699 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'
12702 link_all_deplibs_CXX=yes
12704 esac
12705 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12706 hardcode_libdir_separator_CXX=:
12707 inherit_rpath_CXX=yes
12710 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12711 case $cc_basename in
12712 KCC*)
12713 # Kuck and Associates, Inc. (KAI) C++ Compiler
12715 # KCC will only create a shared library if the output file
12716 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12717 # to its proper name (with version) after linking.
12718 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'
12719 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'
12720 # Commands to make compiler produce verbose output that lists
12721 # what "hidden" libraries, object files and flags are used when
12722 # linking a shared library.
12724 # There doesn't appear to be a way to prevent this compiler from
12725 # explicitly linking system object files so we need to strip them
12726 # from the output so that they don't get included in the library
12727 # dependencies.
12728 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"'
12730 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12731 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12733 # Archives containing C++ object files must be created using
12734 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12735 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12737 icpc* | ecpc* )
12738 # Intel C++
12739 with_gnu_ld=yes
12740 # version 8.0 and above of icpc choke on multiply defined symbols
12741 # if we add $predep_objects and $postdep_objects, however 7.1 and
12742 # earlier do not add the objects themselves.
12743 case `$CC -V 2>&1` in
12744 *"Version 7."*)
12745 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12746 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'
12748 *) # Version 8.0 or newer
12749 tmp_idyn=
12750 case $host_cpu in
12751 ia64*) tmp_idyn=' -i_dynamic';;
12752 esac
12753 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12754 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'
12756 esac
12757 archive_cmds_need_lc_CXX=no
12758 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12759 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12760 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12762 pgCC* | pgcpp*)
12763 # Portland Group C++ compiler
12764 case `$CC -V` in
12765 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12766 prelink_cmds_CXX='tpldir=Template.dir~
12767 rm -rf $tpldir~
12768 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12769 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12770 old_archive_cmds_CXX='tpldir=Template.dir~
12771 rm -rf $tpldir~
12772 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12773 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12774 $RANLIB $oldlib'
12775 archive_cmds_CXX='tpldir=Template.dir~
12776 rm -rf $tpldir~
12777 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12778 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12779 archive_expsym_cmds_CXX='tpldir=Template.dir~
12780 rm -rf $tpldir~
12781 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12782 $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'
12784 *) # Version 6 and above use weak symbols
12785 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12786 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'
12788 esac
12790 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12791 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12792 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'
12794 cxx*)
12795 # Compaq C++
12796 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12797 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'
12799 runpath_var=LD_RUN_PATH
12800 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12801 hardcode_libdir_separator_CXX=:
12803 # Commands to make compiler produce verbose output that lists
12804 # what "hidden" libraries, object files and flags are used when
12805 # linking a shared library.
12807 # There doesn't appear to be a way to prevent this compiler from
12808 # explicitly linking system object files so we need to strip them
12809 # from the output so that they don't get included in the library
12810 # dependencies.
12811 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'
12813 xl* | mpixl* | bgxl*)
12814 # IBM XL 8.0 on PPC, with GNU ld
12815 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12816 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12817 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12818 if test "x$supports_anon_versioning" = xyes; then
12819 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12820 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12821 echo "local: *; };" >> $output_objdir/$libname.ver~
12822 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12826 case `$CC -V 2>&1 | sed 5q` in
12827 *Sun\ C*)
12828 # Sun C++ 5.9
12829 no_undefined_flag_CXX=' -zdefs'
12830 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12831 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'
12832 hardcode_libdir_flag_spec_CXX='-R$libdir'
12833 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'
12834 compiler_needs_object_CXX=yes
12836 # Not sure whether something based on
12837 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12838 # would be better.
12839 output_verbose_link_cmd='func_echo_all'
12841 # Archives containing C++ object files must be created using
12842 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12843 # necessary to make sure instantiated templates are included
12844 # in the archive.
12845 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12847 esac
12849 esac
12852 lynxos*)
12853 # FIXME: insert proper C++ library support
12854 ld_shlibs_CXX=no
12857 m88k*)
12858 # FIXME: insert proper C++ library support
12859 ld_shlibs_CXX=no
12862 mvs*)
12863 case $cc_basename in
12864 cxx*)
12865 # FIXME: insert proper C++ library support
12866 ld_shlibs_CXX=no
12869 # FIXME: insert proper C++ library support
12870 ld_shlibs_CXX=no
12872 esac
12875 netbsd*)
12876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12877 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12878 wlarc=
12879 hardcode_libdir_flag_spec_CXX='-R$libdir'
12880 hardcode_direct_CXX=yes
12881 hardcode_shlibpath_var_CXX=no
12883 # Workaround some broken pre-1.5 toolchains
12884 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12887 *nto* | *qnx*)
12888 ld_shlibs_CXX=yes
12891 openbsd2*)
12892 # C++ shared libraries are fairly broken
12893 ld_shlibs_CXX=no
12896 openbsd*)
12897 if test -f /usr/libexec/ld.so; then
12898 hardcode_direct_CXX=yes
12899 hardcode_shlibpath_var_CXX=no
12900 hardcode_direct_absolute_CXX=yes
12901 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12902 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12903 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12904 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12905 export_dynamic_flag_spec_CXX='${wl}-E'
12906 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12908 output_verbose_link_cmd=func_echo_all
12909 else
12910 ld_shlibs_CXX=no
12914 osf3* | osf4* | osf5*)
12915 case $cc_basename in
12916 KCC*)
12917 # Kuck and Associates, Inc. (KAI) C++ Compiler
12919 # KCC will only create a shared library if the output file
12920 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12921 # to its proper name (with version) after linking.
12922 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'
12924 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12925 hardcode_libdir_separator_CXX=:
12927 # Archives containing C++ object files must be created using
12928 # the KAI C++ compiler.
12929 case $host in
12930 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12931 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12932 esac
12934 RCC*)
12935 # Rational C++ 2.4.1
12936 # FIXME: insert proper C++ library support
12937 ld_shlibs_CXX=no
12939 cxx*)
12940 case $host in
12941 osf3*)
12942 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12943 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'
12944 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12947 allow_undefined_flag_CXX=' -expect_unresolved \*'
12948 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'
12949 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12950 echo "-hidden">> $lib.exp~
12951 $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~
12952 $RM $lib.exp'
12953 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12955 esac
12957 hardcode_libdir_separator_CXX=:
12959 # Commands to make compiler produce verbose output that lists
12960 # what "hidden" libraries, object files and flags are used when
12961 # linking a shared library.
12963 # There doesn't appear to be a way to prevent this compiler from
12964 # explicitly linking system object files so we need to strip them
12965 # from the output so that they don't get included in the library
12966 # dependencies.
12967 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"'
12970 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12971 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12972 case $host in
12973 osf3*)
12974 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'
12977 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'
12979 esac
12981 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12982 hardcode_libdir_separator_CXX=:
12984 # Commands to make compiler produce verbose output that lists
12985 # what "hidden" libraries, object files and flags are used when
12986 # linking a shared library.
12987 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12989 else
12990 # FIXME: insert proper C++ library support
12991 ld_shlibs_CXX=no
12994 esac
12997 psos*)
12998 # FIXME: insert proper C++ library support
12999 ld_shlibs_CXX=no
13002 sunos4*)
13003 case $cc_basename in
13004 CC*)
13005 # Sun C++ 4.x
13006 # FIXME: insert proper C++ library support
13007 ld_shlibs_CXX=no
13009 lcc*)
13010 # Lucid
13011 # FIXME: insert proper C++ library support
13012 ld_shlibs_CXX=no
13015 # FIXME: insert proper C++ library support
13016 ld_shlibs_CXX=no
13018 esac
13021 solaris*)
13022 case $cc_basename in
13023 CC*)
13024 # Sun C++ 4.2, 5.x and Centerline C++
13025 archive_cmds_need_lc_CXX=yes
13026 no_undefined_flag_CXX=' -zdefs'
13027 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13028 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13029 $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'
13031 hardcode_libdir_flag_spec_CXX='-R$libdir'
13032 hardcode_shlibpath_var_CXX=no
13033 case $host_os in
13034 solaris2.[0-5] | solaris2.[0-5].*) ;;
13036 # The compiler driver will combine and reorder linker options,
13037 # but understands `-z linker_flag'.
13038 # Supported since Solaris 2.6 (maybe 2.5.1?)
13039 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13041 esac
13042 link_all_deplibs_CXX=yes
13044 output_verbose_link_cmd='func_echo_all'
13046 # Archives containing C++ object files must be created using
13047 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13048 # necessary to make sure instantiated templates are included
13049 # in the archive.
13050 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13052 gcx*)
13053 # Green Hills C++ Compiler
13054 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13056 # The C++ compiler must be used to create the archive.
13057 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13060 # GNU C++ compiler with Solaris linker
13061 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13062 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13063 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13064 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13065 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13068 # Commands to make compiler produce verbose output that lists
13069 # what "hidden" libraries, object files and flags are used when
13070 # linking a shared library.
13071 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13072 else
13073 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13074 # platform.
13075 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13076 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13077 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13079 # Commands to make compiler produce verbose output that lists
13080 # what "hidden" libraries, object files and flags are used when
13081 # linking a shared library.
13082 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13085 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13086 case $host_os in
13087 solaris2.[0-5] | solaris2.[0-5].*) ;;
13089 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13091 esac
13094 esac
13097 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13098 no_undefined_flag_CXX='${wl}-z,text'
13099 archive_cmds_need_lc_CXX=no
13100 hardcode_shlibpath_var_CXX=no
13101 runpath_var='LD_RUN_PATH'
13103 case $cc_basename in
13104 CC*)
13105 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13112 esac
13115 sysv5* | sco3.2v5* | sco5v6*)
13116 # Note: We can NOT use -z defs as we might desire, because we do not
13117 # link with -lc, and that would cause any symbols used from libc to
13118 # always be unresolved, which means just about no library would
13119 # ever link correctly. If we're not using GNU ld we use -z text
13120 # though, which does catch some bad symbols but isn't as heavy-handed
13121 # as -z defs.
13122 no_undefined_flag_CXX='${wl}-z,text'
13123 allow_undefined_flag_CXX='${wl}-z,nodefs'
13124 archive_cmds_need_lc_CXX=no
13125 hardcode_shlibpath_var_CXX=no
13126 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13127 hardcode_libdir_separator_CXX=':'
13128 link_all_deplibs_CXX=yes
13129 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13130 runpath_var='LD_RUN_PATH'
13132 case $cc_basename in
13133 CC*)
13134 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13137 '"$old_archive_cmds_CXX"
13138 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13139 '"$reload_cmds_CXX"
13142 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13145 esac
13148 tandem*)
13149 case $cc_basename in
13150 NCC*)
13151 # NonStop-UX NCC 3.20
13152 # FIXME: insert proper C++ library support
13153 ld_shlibs_CXX=no
13156 # FIXME: insert proper C++ library support
13157 ld_shlibs_CXX=no
13159 esac
13162 vxworks*)
13163 # FIXME: insert proper C++ library support
13164 ld_shlibs_CXX=no
13168 # FIXME: insert proper C++ library support
13169 ld_shlibs_CXX=no
13171 esac
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13174 $as_echo "$ld_shlibs_CXX" >&6; }
13175 test "$ld_shlibs_CXX" = no && can_build_shared=no
13177 GCC_CXX="$GXX"
13178 LD_CXX="$LD"
13180 ## CAVEAT EMPTOR:
13181 ## There is no encapsulation within the following macros, do not change
13182 ## the running order or otherwise move them around unless you know exactly
13183 ## what you are doing...
13184 # Dependencies to place before and after the object being linked:
13185 predep_objects_CXX=
13186 postdep_objects_CXX=
13187 predeps_CXX=
13188 postdeps_CXX=
13189 compiler_lib_search_path_CXX=
13191 cat > conftest.$ac_ext <<_LT_EOF
13192 class Foo
13194 public:
13195 Foo (void) { a = 0; }
13196 private:
13197 int a;
13199 _LT_EOF
13201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13202 (eval $ac_compile) 2>&5
13203 ac_status=$?
13204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13205 test $ac_status = 0; }; then
13206 # Parse the compiler output and extract the necessary
13207 # objects, libraries and library flags.
13209 # Sentinel used to keep track of whether or not we are before
13210 # the conftest object file.
13211 pre_test_object_deps_done=no
13213 for p in `eval "$output_verbose_link_cmd"`; do
13214 case $p in
13216 -L* | -R* | -l*)
13217 # Some compilers place space between "-{L,R}" and the path.
13218 # Remove the space.
13219 if test $p = "-L" ||
13220 test $p = "-R"; then
13221 prev=$p
13222 continue
13223 else
13224 prev=
13227 if test "$pre_test_object_deps_done" = no; then
13228 case $p in
13229 -L* | -R*)
13230 # Internal compiler library paths should come after those
13231 # provided the user. The postdeps already come after the
13232 # user supplied libs so there is no need to process them.
13233 if test -z "$compiler_lib_search_path_CXX"; then
13234 compiler_lib_search_path_CXX="${prev}${p}"
13235 else
13236 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13239 # The "-l" case would never come before the object being
13240 # linked, so don't bother handling this case.
13241 esac
13242 else
13243 if test -z "$postdeps_CXX"; then
13244 postdeps_CXX="${prev}${p}"
13245 else
13246 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13251 *.$objext)
13252 # This assumes that the test object file only shows up
13253 # once in the compiler output.
13254 if test "$p" = "conftest.$objext"; then
13255 pre_test_object_deps_done=yes
13256 continue
13259 if test "$pre_test_object_deps_done" = no; then
13260 if test -z "$predep_objects_CXX"; then
13261 predep_objects_CXX="$p"
13262 else
13263 predep_objects_CXX="$predep_objects_CXX $p"
13265 else
13266 if test -z "$postdep_objects_CXX"; then
13267 postdep_objects_CXX="$p"
13268 else
13269 postdep_objects_CXX="$postdep_objects_CXX $p"
13274 *) ;; # Ignore the rest.
13276 esac
13277 done
13279 # Clean up.
13280 rm -f a.out a.exe
13281 else
13282 echo "libtool.m4: error: problem compiling CXX test program"
13285 $RM -f confest.$objext
13287 # PORTME: override above test on systems where it is broken
13288 case $host_os in
13289 interix[3-9]*)
13290 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13291 # hack all around it, let's just trust "g++" to DTRT.
13292 predep_objects_CXX=
13293 postdep_objects_CXX=
13294 postdeps_CXX=
13297 linux*)
13298 case `$CC -V 2>&1 | sed 5q` in
13299 *Sun\ C*)
13300 # Sun C++ 5.9
13302 # The more standards-conforming stlport4 library is
13303 # incompatible with the Cstd library. Avoid specifying
13304 # it if it's in CXXFLAGS. Ignore libCrun as
13305 # -library=stlport4 depends on it.
13306 case " $CXX $CXXFLAGS " in
13307 *" -library=stlport4 "*)
13308 solaris_use_stlport4=yes
13310 esac
13312 if test "$solaris_use_stlport4" != yes; then
13313 postdeps_CXX='-library=Cstd -library=Crun'
13316 esac
13319 solaris*)
13320 case $cc_basename in
13321 CC*)
13322 # The more standards-conforming stlport4 library is
13323 # incompatible with the Cstd library. Avoid specifying
13324 # it if it's in CXXFLAGS. Ignore libCrun as
13325 # -library=stlport4 depends on it.
13326 case " $CXX $CXXFLAGS " in
13327 *" -library=stlport4 "*)
13328 solaris_use_stlport4=yes
13330 esac
13332 # Adding this requires a known-good setup of shared libraries for
13333 # Sun compiler versions before 5.6, else PIC objects from an old
13334 # archive will be linked into the output, leading to subtle bugs.
13335 if test "$solaris_use_stlport4" != yes; then
13336 postdeps_CXX='-library=Cstd -library=Crun'
13339 esac
13341 esac
13344 case " $postdeps_CXX " in
13345 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13346 esac
13347 compiler_lib_search_dirs_CXX=
13348 if test -n "${compiler_lib_search_path_CXX}"; then
13349 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13382 lt_prog_compiler_wl_CXX=
13383 lt_prog_compiler_pic_CXX=
13384 lt_prog_compiler_static_CXX=
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13387 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13389 # C++ specific cases for pic, static, wl, etc.
13390 if test "$GXX" = yes; then
13391 lt_prog_compiler_wl_CXX='-Wl,'
13392 lt_prog_compiler_static_CXX='-static'
13394 case $host_os in
13395 aix*)
13396 # All AIX code is PIC.
13397 if test "$host_cpu" = ia64; then
13398 # AIX 5 now supports IA64 processor
13399 lt_prog_compiler_static_CXX='-Bstatic'
13403 amigaos*)
13404 case $host_cpu in
13405 powerpc)
13406 # see comment about AmigaOS4 .so support
13407 lt_prog_compiler_pic_CXX='-fPIC'
13409 m68k)
13410 # FIXME: we need at least 68020 code to build shared libraries, but
13411 # adding the `-m68020' flag to GCC prevents building anything better,
13412 # like `-m68040'.
13413 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13415 esac
13418 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13419 # PIC is the default for these OSes.
13421 mingw* | cygwin* | os2* | pw32* | cegcc*)
13422 # This hack is so that the source file can tell whether it is being
13423 # built for inclusion in a dll (and should export symbols for example).
13424 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13425 # (--disable-auto-import) libraries
13426 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13428 darwin* | rhapsody*)
13429 # PIC is the default on this platform
13430 # Common symbols not allowed in MH_DYLIB files
13431 lt_prog_compiler_pic_CXX='-fno-common'
13433 *djgpp*)
13434 # DJGPP does not support shared libraries at all
13435 lt_prog_compiler_pic_CXX=
13437 haiku*)
13438 # PIC is the default for Haiku.
13439 # The "-static" flag exists, but is broken.
13440 lt_prog_compiler_static_CXX=
13442 interix[3-9]*)
13443 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13444 # Instead, we relocate shared libraries at runtime.
13446 sysv4*MP*)
13447 if test -d /usr/nec; then
13448 lt_prog_compiler_pic_CXX=-Kconform_pic
13451 hpux*)
13452 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13453 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13454 # sets the default TLS model and affects inlining.
13455 case $host_cpu in
13456 hppa*64*)
13459 lt_prog_compiler_pic_CXX='-fPIC'
13461 esac
13463 *qnx* | *nto*)
13464 # QNX uses GNU C++, but need to define -shared option too, otherwise
13465 # it will coredump.
13466 lt_prog_compiler_pic_CXX='-fPIC -shared'
13469 lt_prog_compiler_pic_CXX='-fPIC'
13471 esac
13472 else
13473 case $host_os in
13474 aix[4-9]*)
13475 # All AIX code is PIC.
13476 if test "$host_cpu" = ia64; then
13477 # AIX 5 now supports IA64 processor
13478 lt_prog_compiler_static_CXX='-Bstatic'
13479 else
13480 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13483 chorus*)
13484 case $cc_basename in
13485 cxch68*)
13486 # Green Hills C++ Compiler
13487 # _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"
13489 esac
13491 dgux*)
13492 case $cc_basename in
13493 ec++*)
13494 lt_prog_compiler_pic_CXX='-KPIC'
13496 ghcx*)
13497 # Green Hills C++ Compiler
13498 lt_prog_compiler_pic_CXX='-pic'
13502 esac
13504 freebsd* | dragonfly*)
13505 # FreeBSD uses GNU C++
13507 hpux9* | hpux10* | hpux11*)
13508 case $cc_basename in
13509 CC*)
13510 lt_prog_compiler_wl_CXX='-Wl,'
13511 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13512 if test "$host_cpu" != ia64; then
13513 lt_prog_compiler_pic_CXX='+Z'
13516 aCC*)
13517 lt_prog_compiler_wl_CXX='-Wl,'
13518 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13519 case $host_cpu in
13520 hppa*64*|ia64*)
13521 # +Z the default
13524 lt_prog_compiler_pic_CXX='+Z'
13526 esac
13530 esac
13532 interix*)
13533 # This is c89, which is MS Visual C++ (no shared libs)
13534 # Anyone wants to do a port?
13536 irix5* | irix6* | nonstopux*)
13537 case $cc_basename in
13538 CC*)
13539 lt_prog_compiler_wl_CXX='-Wl,'
13540 lt_prog_compiler_static_CXX='-non_shared'
13541 # CC pic flag -KPIC is the default.
13545 esac
13547 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13548 case $cc_basename in
13549 KCC*)
13550 # KAI C++ Compiler
13551 lt_prog_compiler_wl_CXX='--backend -Wl,'
13552 lt_prog_compiler_pic_CXX='-fPIC'
13554 ecpc* )
13555 # old Intel C++ for x86_64 which still supported -KPIC.
13556 lt_prog_compiler_wl_CXX='-Wl,'
13557 lt_prog_compiler_pic_CXX='-KPIC'
13558 lt_prog_compiler_static_CXX='-static'
13560 icpc* )
13561 # Intel C++, used to be incompatible with GCC.
13562 # ICC 10 doesn't accept -KPIC any more.
13563 lt_prog_compiler_wl_CXX='-Wl,'
13564 lt_prog_compiler_pic_CXX='-fPIC'
13565 lt_prog_compiler_static_CXX='-static'
13567 pgCC* | pgcpp*)
13568 # Portland Group C++ compiler
13569 lt_prog_compiler_wl_CXX='-Wl,'
13570 lt_prog_compiler_pic_CXX='-fpic'
13571 lt_prog_compiler_static_CXX='-Bstatic'
13573 cxx*)
13574 # Compaq C++
13575 # Make sure the PIC flag is empty. It appears that all Alpha
13576 # Linux and Compaq Tru64 Unix objects are PIC.
13577 lt_prog_compiler_pic_CXX=
13578 lt_prog_compiler_static_CXX='-non_shared'
13580 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13581 # IBM XL 8.0, 9.0 on PPC and BlueGene
13582 lt_prog_compiler_wl_CXX='-Wl,'
13583 lt_prog_compiler_pic_CXX='-qpic'
13584 lt_prog_compiler_static_CXX='-qstaticlink'
13587 case `$CC -V 2>&1 | sed 5q` in
13588 *Sun\ C*)
13589 # Sun C++ 5.9
13590 lt_prog_compiler_pic_CXX='-KPIC'
13591 lt_prog_compiler_static_CXX='-Bstatic'
13592 lt_prog_compiler_wl_CXX='-Qoption ld '
13594 esac
13596 esac
13598 lynxos*)
13600 m88k*)
13602 mvs*)
13603 case $cc_basename in
13604 cxx*)
13605 lt_prog_compiler_pic_CXX='-W c,exportall'
13609 esac
13611 netbsd*)
13613 *qnx* | *nto*)
13614 # QNX uses GNU C++, but need to define -shared option too, otherwise
13615 # it will coredump.
13616 lt_prog_compiler_pic_CXX='-fPIC -shared'
13618 osf3* | osf4* | osf5*)
13619 case $cc_basename in
13620 KCC*)
13621 lt_prog_compiler_wl_CXX='--backend -Wl,'
13623 RCC*)
13624 # Rational C++ 2.4.1
13625 lt_prog_compiler_pic_CXX='-pic'
13627 cxx*)
13628 # Digital/Compaq C++
13629 lt_prog_compiler_wl_CXX='-Wl,'
13630 # Make sure the PIC flag is empty. It appears that all Alpha
13631 # Linux and Compaq Tru64 Unix objects are PIC.
13632 lt_prog_compiler_pic_CXX=
13633 lt_prog_compiler_static_CXX='-non_shared'
13637 esac
13639 psos*)
13641 solaris*)
13642 case $cc_basename in
13643 CC*)
13644 # Sun C++ 4.2, 5.x and Centerline C++
13645 lt_prog_compiler_pic_CXX='-KPIC'
13646 lt_prog_compiler_static_CXX='-Bstatic'
13647 lt_prog_compiler_wl_CXX='-Qoption ld '
13649 gcx*)
13650 # Green Hills C++ Compiler
13651 lt_prog_compiler_pic_CXX='-PIC'
13655 esac
13657 sunos4*)
13658 case $cc_basename in
13659 CC*)
13660 # Sun C++ 4.x
13661 lt_prog_compiler_pic_CXX='-pic'
13662 lt_prog_compiler_static_CXX='-Bstatic'
13664 lcc*)
13665 # Lucid
13666 lt_prog_compiler_pic_CXX='-pic'
13670 esac
13672 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13673 case $cc_basename in
13674 CC*)
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-KPIC'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13679 esac
13681 tandem*)
13682 case $cc_basename in
13683 NCC*)
13684 # NonStop-UX NCC 3.20
13685 lt_prog_compiler_pic_CXX='-KPIC'
13689 esac
13691 vxworks*)
13694 lt_prog_compiler_can_build_shared_CXX=no
13696 esac
13699 case $host_os in
13700 # For platforms which do not support PIC, -DPIC is meaningless:
13701 *djgpp*)
13702 lt_prog_compiler_pic_CXX=
13705 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13707 esac
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13709 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13714 # Check to make sure the PIC flag actually works.
13716 if test -n "$lt_prog_compiler_pic_CXX"; then
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13718 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13719 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13720 $as_echo_n "(cached) " >&6
13721 else
13722 lt_cv_prog_compiler_pic_works_CXX=no
13723 ac_outfile=conftest.$ac_objext
13724 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13725 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13726 # Insert the option either (1) after the last *FLAGS variable, or
13727 # (2) before a word containing "conftest.", or (3) at the end.
13728 # Note that $ac_compile itself does not contain backslashes and begins
13729 # with a dollar sign (not a hyphen), so the echo should work correctly.
13730 # The option is referenced via a variable to avoid confusing sed.
13731 lt_compile=`echo "$ac_compile" | $SED \
13732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13734 -e 's:$: $lt_compiler_flag:'`
13735 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13736 (eval "$lt_compile" 2>conftest.err)
13737 ac_status=$?
13738 cat conftest.err >&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 if (exit $ac_status) && test -s "$ac_outfile"; then
13741 # The compiler can only warn and ignore the option if not recognized
13742 # So say no if there are warnings other than the usual output.
13743 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13744 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13745 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13746 lt_cv_prog_compiler_pic_works_CXX=yes
13749 $RM conftest*
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13753 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13755 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13756 case $lt_prog_compiler_pic_CXX in
13757 "" | " "*) ;;
13758 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13759 esac
13760 else
13761 lt_prog_compiler_pic_CXX=
13762 lt_prog_compiler_can_build_shared_CXX=no
13770 # Check to make sure the static flag actually works.
13772 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13774 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13775 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13776 $as_echo_n "(cached) " >&6
13777 else
13778 lt_cv_prog_compiler_static_works_CXX=no
13779 save_LDFLAGS="$LDFLAGS"
13780 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13781 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13782 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13783 # The linker can only warn and ignore the option if not recognized
13784 # So say no if there are warnings
13785 if test -s conftest.err; then
13786 # Append any errors to the config.log.
13787 cat conftest.err 1>&5
13788 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13789 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13790 if diff conftest.exp conftest.er2 >/dev/null; then
13791 lt_cv_prog_compiler_static_works_CXX=yes
13793 else
13794 lt_cv_prog_compiler_static_works_CXX=yes
13797 $RM -r conftest*
13798 LDFLAGS="$save_LDFLAGS"
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13802 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13804 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13806 else
13807 lt_prog_compiler_static_CXX=
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13814 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13815 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13816 $as_echo_n "(cached) " >&6
13817 else
13818 lt_cv_prog_compiler_c_o_CXX=no
13819 $RM -r conftest 2>/dev/null
13820 mkdir conftest
13821 cd conftest
13822 mkdir out
13823 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13825 lt_compiler_flag="-o out/conftest2.$ac_objext"
13826 # Insert the option either (1) after the last *FLAGS variable, or
13827 # (2) before a word containing "conftest.", or (3) at the end.
13828 # Note that $ac_compile itself does not contain backslashes and begins
13829 # with a dollar sign (not a hyphen), so the echo should work correctly.
13830 lt_compile=`echo "$ac_compile" | $SED \
13831 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13832 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13833 -e 's:$: $lt_compiler_flag:'`
13834 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13835 (eval "$lt_compile" 2>out/conftest.err)
13836 ac_status=$?
13837 cat out/conftest.err >&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13840 then
13841 # The compiler can only warn and ignore the option if not recognized
13842 # So say no if there are warnings
13843 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13844 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13845 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13846 lt_cv_prog_compiler_c_o_CXX=yes
13849 chmod u+w . 2>&5
13850 $RM conftest*
13851 # SGI C++ compiler will create directory out/ii_files/ for
13852 # template instantiation
13853 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13854 $RM out/* && rmdir out
13855 cd ..
13856 $RM -r conftest
13857 $RM conftest*
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13861 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13866 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13867 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13868 $as_echo_n "(cached) " >&6
13869 else
13870 lt_cv_prog_compiler_c_o_CXX=no
13871 $RM -r conftest 2>/dev/null
13872 mkdir conftest
13873 cd conftest
13874 mkdir out
13875 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13877 lt_compiler_flag="-o out/conftest2.$ac_objext"
13878 # Insert the option either (1) after the last *FLAGS variable, or
13879 # (2) before a word containing "conftest.", or (3) at the end.
13880 # Note that $ac_compile itself does not contain backslashes and begins
13881 # with a dollar sign (not a hyphen), so the echo should work correctly.
13882 lt_compile=`echo "$ac_compile" | $SED \
13883 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13885 -e 's:$: $lt_compiler_flag:'`
13886 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13887 (eval "$lt_compile" 2>out/conftest.err)
13888 ac_status=$?
13889 cat out/conftest.err >&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13892 then
13893 # The compiler can only warn and ignore the option if not recognized
13894 # So say no if there are warnings
13895 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13896 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13897 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13898 lt_cv_prog_compiler_c_o_CXX=yes
13901 chmod u+w . 2>&5
13902 $RM conftest*
13903 # SGI C++ compiler will create directory out/ii_files/ for
13904 # template instantiation
13905 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13906 $RM out/* && rmdir out
13907 cd ..
13908 $RM -r conftest
13909 $RM conftest*
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13913 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13918 hard_links="nottested"
13919 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13920 # do not overwrite the value of need_locks provided by the user
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13922 $as_echo_n "checking if we can lock with hard links... " >&6; }
13923 hard_links=yes
13924 $RM conftest*
13925 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13926 touch conftest.a
13927 ln conftest.a conftest.b 2>&5 || hard_links=no
13928 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13930 $as_echo "$hard_links" >&6; }
13931 if test "$hard_links" = no; then
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13933 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13934 need_locks=warn
13936 else
13937 need_locks=no
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13943 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13945 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13946 case $host_os in
13947 aix[4-9]*)
13948 # If we're using GNU nm, then we don't want the "-C" option.
13949 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13950 # Also, AIX nm treats weak defined symbols like other global defined
13951 # symbols, whereas GNU nm marks them as "W".
13952 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13953 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'
13954 else
13955 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'
13958 pw32*)
13959 export_symbols_cmds_CXX="$ltdll_cmds"
13961 cygwin* | mingw* | cegcc*)
13962 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'
13965 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13967 esac
13968 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13971 $as_echo "$ld_shlibs_CXX" >&6; }
13972 test "$ld_shlibs_CXX" = no && can_build_shared=no
13974 with_gnu_ld_CXX=$with_gnu_ld
13982 # Do we need to explicitly link libc?
13984 case "x$archive_cmds_need_lc_CXX" in
13985 x|xyes)
13986 # Assume -lc should be added
13987 archive_cmds_need_lc_CXX=yes
13989 if test "$enable_shared" = yes && test "$GCC" = yes; then
13990 case $archive_cmds_CXX in
13991 *'~'*)
13992 # FIXME: we may have to deal with multi-command sequences.
13994 '$CC '*)
13995 # Test whether the compiler implicitly links with -lc since on some
13996 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13997 # to ld, don't add -lc before -lgcc.
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13999 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14000 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 $RM conftest*
14004 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14007 (eval $ac_compile) 2>&5
14008 ac_status=$?
14009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14010 test $ac_status = 0; } 2>conftest.err; then
14011 soname=conftest
14012 lib=conftest
14013 libobjs=conftest.$ac_objext
14014 deplibs=
14015 wl=$lt_prog_compiler_wl_CXX
14016 pic_flag=$lt_prog_compiler_pic_CXX
14017 compiler_flags=-v
14018 linker_flags=-v
14019 verstring=
14020 output_objdir=.
14021 libname=conftest
14022 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14023 allow_undefined_flag_CXX=
14024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14025 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14026 ac_status=$?
14027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14028 test $ac_status = 0; }
14029 then
14030 lt_cv_archive_cmds_need_lc_CXX=no
14031 else
14032 lt_cv_archive_cmds_need_lc_CXX=yes
14034 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14035 else
14036 cat conftest.err 1>&5
14038 $RM conftest*
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14042 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14043 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14045 esac
14048 esac
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14114 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14116 library_names_spec=
14117 libname_spec='lib$name'
14118 soname_spec=
14119 shrext_cmds=".so"
14120 postinstall_cmds=
14121 postuninstall_cmds=
14122 finish_cmds=
14123 finish_eval=
14124 shlibpath_var=
14125 shlibpath_overrides_runpath=unknown
14126 version_type=none
14127 dynamic_linker="$host_os ld.so"
14128 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14129 need_lib_prefix=unknown
14130 hardcode_into_libs=no
14132 # when you set need_version to no, make sure it does not cause -set_version
14133 # flags to be left without arguments
14134 need_version=unknown
14136 case $host_os in
14137 aix3*)
14138 version_type=linux
14139 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14140 shlibpath_var=LIBPATH
14142 # AIX 3 has no versioning support, so we append a major version to the name.
14143 soname_spec='${libname}${release}${shared_ext}$major'
14146 aix[4-9]*)
14147 version_type=linux
14148 need_lib_prefix=no
14149 need_version=no
14150 hardcode_into_libs=yes
14151 if test "$host_cpu" = ia64; then
14152 # AIX 5 supports IA64
14153 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14154 shlibpath_var=LD_LIBRARY_PATH
14155 else
14156 # With GCC up to 2.95.x, collect2 would create an import file
14157 # for dependence libraries. The import file would start with
14158 # the line `#! .'. This would cause the generated library to
14159 # depend on `.', always an invalid library. This was fixed in
14160 # development snapshots of GCC prior to 3.0.
14161 case $host_os in
14162 aix4 | aix4.[01] | aix4.[01].*)
14163 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14164 echo ' yes '
14165 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14167 else
14168 can_build_shared=no
14171 esac
14172 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14173 # soname into executable. Probably we can add versioning support to
14174 # collect2, so additional links can be useful in future.
14175 if test "$aix_use_runtimelinking" = yes; then
14176 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14177 # instead of lib<name>.a to let people know that these are not
14178 # typical AIX shared libraries.
14179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180 else
14181 # We preserve .a as extension for shared libraries through AIX4.2
14182 # and later when we are not doing run time linking.
14183 library_names_spec='${libname}${release}.a $libname.a'
14184 soname_spec='${libname}${release}${shared_ext}$major'
14186 shlibpath_var=LIBPATH
14190 amigaos*)
14191 case $host_cpu in
14192 powerpc)
14193 # Since July 2007 AmigaOS4 officially supports .so libraries.
14194 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14197 m68k)
14198 library_names_spec='$libname.ixlibrary $libname.a'
14199 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14200 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'
14202 esac
14205 beos*)
14206 library_names_spec='${libname}${shared_ext}'
14207 dynamic_linker="$host_os ld.so"
14208 shlibpath_var=LIBRARY_PATH
14211 bsdi[45]*)
14212 version_type=linux
14213 need_version=no
14214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14215 soname_spec='${libname}${release}${shared_ext}$major'
14216 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14217 shlibpath_var=LD_LIBRARY_PATH
14218 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14219 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14220 # the default ld.so.conf also contains /usr/contrib/lib and
14221 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14222 # libtool to hard-code these into programs
14225 cygwin* | mingw* | pw32* | cegcc*)
14226 version_type=windows
14227 shrext_cmds=".dll"
14228 need_version=no
14229 need_lib_prefix=no
14231 case $GCC,$host_os in
14232 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14233 library_names_spec='$libname.dll.a'
14234 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14235 postinstall_cmds='base_file=`basename \${file}`~
14236 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14237 dldir=$destdir/`dirname \$dlpath`~
14238 test -d \$dldir || mkdir -p \$dldir~
14239 $install_prog $dir/$dlname \$dldir/$dlname~
14240 chmod a+x \$dldir/$dlname~
14241 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14242 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14244 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14245 dlpath=$dir/\$dldll~
14246 $RM \$dlpath'
14247 shlibpath_overrides_runpath=yes
14249 case $host_os in
14250 cygwin*)
14251 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14252 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14255 mingw* | cegcc*)
14256 # MinGW DLLs use traditional 'lib' prefix
14257 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14259 pw32*)
14260 # pw32 DLLs use 'pw' prefix rather than 'lib'
14261 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14263 esac
14267 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14269 esac
14270 dynamic_linker='Win32 ld.exe'
14271 # FIXME: first we should search . and the directory the executable is in
14272 shlibpath_var=PATH
14275 darwin* | rhapsody*)
14276 dynamic_linker="$host_os dyld"
14277 version_type=darwin
14278 need_lib_prefix=no
14279 need_version=no
14280 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14281 soname_spec='${libname}${release}${major}$shared_ext'
14282 shlibpath_overrides_runpath=yes
14283 shlibpath_var=DYLD_LIBRARY_PATH
14284 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14286 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14289 dgux*)
14290 version_type=linux
14291 need_lib_prefix=no
14292 need_version=no
14293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14294 soname_spec='${libname}${release}${shared_ext}$major'
14295 shlibpath_var=LD_LIBRARY_PATH
14298 freebsd* | dragonfly*)
14299 # DragonFly does not have aout. When/if they implement a new
14300 # versioning mechanism, adjust this.
14301 if test -x /usr/bin/objformat; then
14302 objformat=`/usr/bin/objformat`
14303 else
14304 case $host_os in
14305 freebsd[123]*) objformat=aout ;;
14306 *) objformat=elf ;;
14307 esac
14309 version_type=freebsd-$objformat
14310 case $version_type in
14311 freebsd-elf*)
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14313 need_version=no
14314 need_lib_prefix=no
14316 freebsd-*)
14317 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14318 need_version=yes
14320 esac
14321 shlibpath_var=LD_LIBRARY_PATH
14322 case $host_os in
14323 freebsd2*)
14324 shlibpath_overrides_runpath=yes
14326 freebsd3.[01]* | freebsdelf3.[01]*)
14327 shlibpath_overrides_runpath=yes
14328 hardcode_into_libs=yes
14330 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14331 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14332 shlibpath_overrides_runpath=no
14333 hardcode_into_libs=yes
14335 *) # from 4.6 on, and DragonFly
14336 shlibpath_overrides_runpath=yes
14337 hardcode_into_libs=yes
14339 esac
14342 gnu*)
14343 version_type=linux
14344 need_lib_prefix=no
14345 need_version=no
14346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14347 soname_spec='${libname}${release}${shared_ext}$major'
14348 shlibpath_var=LD_LIBRARY_PATH
14349 hardcode_into_libs=yes
14352 haiku*)
14353 version_type=linux
14354 need_lib_prefix=no
14355 need_version=no
14356 dynamic_linker="$host_os runtime_loader"
14357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14358 soname_spec='${libname}${release}${shared_ext}$major'
14359 shlibpath_var=LIBRARY_PATH
14360 shlibpath_overrides_runpath=yes
14361 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14362 hardcode_into_libs=yes
14365 hpux9* | hpux10* | hpux11*)
14366 # Give a soname corresponding to the major version so that dld.sl refuses to
14367 # link against other versions.
14368 version_type=sunos
14369 need_lib_prefix=no
14370 need_version=no
14371 case $host_cpu in
14372 ia64*)
14373 shrext_cmds='.so'
14374 hardcode_into_libs=yes
14375 dynamic_linker="$host_os dld.so"
14376 shlibpath_var=LD_LIBRARY_PATH
14377 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 if test "X$HPUX_IA64_MODE" = X32; then
14381 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14382 else
14383 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14385 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14387 hppa*64*)
14388 shrext_cmds='.sl'
14389 hardcode_into_libs=yes
14390 dynamic_linker="$host_os dld.sl"
14391 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14392 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14394 soname_spec='${libname}${release}${shared_ext}$major'
14395 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14396 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14399 shrext_cmds='.sl'
14400 dynamic_linker="$host_os dld.sl"
14401 shlibpath_var=SHLIB_PATH
14402 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec='${libname}${release}${shared_ext}$major'
14406 esac
14407 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14408 postinstall_cmds='chmod 555 $lib'
14409 # or fails outright, so override atomically:
14410 install_override_mode=555
14413 interix[3-9]*)
14414 version_type=linux
14415 need_lib_prefix=no
14416 need_version=no
14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14418 soname_spec='${libname}${release}${shared_ext}$major'
14419 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14420 shlibpath_var=LD_LIBRARY_PATH
14421 shlibpath_overrides_runpath=no
14422 hardcode_into_libs=yes
14425 irix5* | irix6* | nonstopux*)
14426 case $host_os in
14427 nonstopux*) version_type=nonstopux ;;
14429 if test "$lt_cv_prog_gnu_ld" = yes; then
14430 version_type=linux
14431 else
14432 version_type=irix
14433 fi ;;
14434 esac
14435 need_lib_prefix=no
14436 need_version=no
14437 soname_spec='${libname}${release}${shared_ext}$major'
14438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14439 case $host_os in
14440 irix5* | nonstopux*)
14441 libsuff= shlibsuff=
14444 case $LD in # libtool.m4 will add one of these switches to LD
14445 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14446 libsuff= shlibsuff= libmagic=32-bit;;
14447 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14448 libsuff=32 shlibsuff=N32 libmagic=N32;;
14449 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14450 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14451 *) libsuff= shlibsuff= libmagic=never-match;;
14452 esac
14454 esac
14455 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14456 shlibpath_overrides_runpath=no
14457 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14458 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14459 hardcode_into_libs=yes
14462 # No shared lib support for Linux oldld, aout, or coff.
14463 linux*oldld* | linux*aout* | linux*coff*)
14464 dynamic_linker=no
14467 # This must be Linux ELF.
14468 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14469 version_type=linux
14470 need_lib_prefix=no
14471 need_version=no
14472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14473 soname_spec='${libname}${release}${shared_ext}$major'
14474 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14475 shlibpath_var=LD_LIBRARY_PATH
14476 shlibpath_overrides_runpath=no
14478 # Some binutils ld are patched to set DT_RUNPATH
14479 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14480 $as_echo_n "(cached) " >&6
14481 else
14482 lt_cv_shlibpath_overrides_runpath=no
14483 save_LDFLAGS=$LDFLAGS
14484 save_libdir=$libdir
14485 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14486 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14487 if test x$gcc_no_link = xyes; then
14488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14494 main ()
14498 return 0;
14500 _ACEOF
14501 if ac_fn_cxx_try_link "$LINENO"; then :
14502 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14503 lt_cv_shlibpath_overrides_runpath=yes
14506 rm -f core conftest.err conftest.$ac_objext \
14507 conftest$ac_exeext conftest.$ac_ext
14508 LDFLAGS=$save_LDFLAGS
14509 libdir=$save_libdir
14513 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14515 # This implies no fast_install, which is unacceptable.
14516 # Some rework will be needed to allow for fast_install
14517 # before this can be enabled.
14518 hardcode_into_libs=yes
14520 # Append ld.so.conf contents to the search path
14521 if test -f /etc/ld.so.conf; then
14522 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' ' '`
14523 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14526 # We used to test for /lib/ld.so.1 and disable shared libraries on
14527 # powerpc, because MkLinux only supported shared libraries with the
14528 # GNU dynamic linker. Since this was broken with cross compilers,
14529 # most powerpc-linux boxes support dynamic linking these days and
14530 # people can always --disable-shared, the test was removed, and we
14531 # assume the GNU/Linux dynamic linker is in use.
14532 dynamic_linker='GNU/Linux ld.so'
14535 netbsd*)
14536 version_type=sunos
14537 need_lib_prefix=no
14538 need_version=no
14539 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14541 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14542 dynamic_linker='NetBSD (a.out) ld.so'
14543 else
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14545 soname_spec='${libname}${release}${shared_ext}$major'
14546 dynamic_linker='NetBSD ld.elf_so'
14548 shlibpath_var=LD_LIBRARY_PATH
14549 shlibpath_overrides_runpath=yes
14550 hardcode_into_libs=yes
14553 newsos6)
14554 version_type=linux
14555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14556 shlibpath_var=LD_LIBRARY_PATH
14557 shlibpath_overrides_runpath=yes
14560 *nto* | *qnx*)
14561 version_type=qnx
14562 need_lib_prefix=no
14563 need_version=no
14564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14565 soname_spec='${libname}${release}${shared_ext}$major'
14566 shlibpath_var=LD_LIBRARY_PATH
14567 shlibpath_overrides_runpath=no
14568 hardcode_into_libs=yes
14569 dynamic_linker='ldqnx.so'
14572 openbsd*)
14573 version_type=sunos
14574 sys_lib_dlsearch_path_spec="/usr/lib"
14575 need_lib_prefix=no
14576 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14577 case $host_os in
14578 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14579 *) need_version=no ;;
14580 esac
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14583 shlibpath_var=LD_LIBRARY_PATH
14584 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14585 case $host_os in
14586 openbsd2.[89] | openbsd2.[89].*)
14587 shlibpath_overrides_runpath=no
14590 shlibpath_overrides_runpath=yes
14592 esac
14593 else
14594 shlibpath_overrides_runpath=yes
14598 os2*)
14599 libname_spec='$name'
14600 shrext_cmds=".dll"
14601 need_lib_prefix=no
14602 library_names_spec='$libname${shared_ext} $libname.a'
14603 dynamic_linker='OS/2 ld.exe'
14604 shlibpath_var=LIBPATH
14607 osf3* | osf4* | osf5*)
14608 version_type=osf
14609 need_lib_prefix=no
14610 need_version=no
14611 soname_spec='${libname}${release}${shared_ext}$major'
14612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14613 shlibpath_var=LD_LIBRARY_PATH
14614 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14615 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14618 rdos*)
14619 dynamic_linker=no
14622 solaris*)
14623 version_type=linux
14624 need_lib_prefix=no
14625 need_version=no
14626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14627 soname_spec='${libname}${release}${shared_ext}$major'
14628 shlibpath_var=LD_LIBRARY_PATH
14629 shlibpath_overrides_runpath=yes
14630 hardcode_into_libs=yes
14631 # ldd complains unless libraries are executable
14632 postinstall_cmds='chmod +x $lib'
14635 sunos4*)
14636 version_type=sunos
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14638 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14639 shlibpath_var=LD_LIBRARY_PATH
14640 shlibpath_overrides_runpath=yes
14641 if test "$with_gnu_ld" = yes; then
14642 need_lib_prefix=no
14644 need_version=yes
14647 sysv4 | sysv4.3*)
14648 version_type=linux
14649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14650 soname_spec='${libname}${release}${shared_ext}$major'
14651 shlibpath_var=LD_LIBRARY_PATH
14652 case $host_vendor in
14653 sni)
14654 shlibpath_overrides_runpath=no
14655 need_lib_prefix=no
14656 runpath_var=LD_RUN_PATH
14658 siemens)
14659 need_lib_prefix=no
14661 motorola)
14662 need_lib_prefix=no
14663 need_version=no
14664 shlibpath_overrides_runpath=no
14665 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14667 esac
14670 sysv4*MP*)
14671 if test -d /usr/nec ;then
14672 version_type=linux
14673 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14674 soname_spec='$libname${shared_ext}.$major'
14675 shlibpath_var=LD_LIBRARY_PATH
14679 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14680 version_type=freebsd-elf
14681 need_lib_prefix=no
14682 need_version=no
14683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14684 soname_spec='${libname}${release}${shared_ext}$major'
14685 shlibpath_var=LD_LIBRARY_PATH
14686 shlibpath_overrides_runpath=yes
14687 hardcode_into_libs=yes
14688 if test "$with_gnu_ld" = yes; then
14689 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14690 else
14691 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14692 case $host_os in
14693 sco3.2v5*)
14694 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14696 esac
14698 sys_lib_dlsearch_path_spec='/usr/lib'
14701 tpf*)
14702 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14703 version_type=linux
14704 need_lib_prefix=no
14705 need_version=no
14706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14707 shlibpath_var=LD_LIBRARY_PATH
14708 shlibpath_overrides_runpath=no
14709 hardcode_into_libs=yes
14712 uts4*)
14713 version_type=linux
14714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715 soname_spec='${libname}${release}${shared_ext}$major'
14716 shlibpath_var=LD_LIBRARY_PATH
14720 dynamic_linker=no
14722 esac
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14724 $as_echo "$dynamic_linker" >&6; }
14725 test "$dynamic_linker" = no && can_build_shared=no
14727 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14728 if test "$GCC" = yes; then
14729 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14732 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14733 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14735 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14736 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14777 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14778 hardcode_action_CXX=
14779 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14780 test -n "$runpath_var_CXX" ||
14781 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14783 # We can hardcode non-existent directories.
14784 if test "$hardcode_direct_CXX" != no &&
14785 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14786 # have to relink, otherwise we might link with an installed library
14787 # when we should be linking with a yet-to-be-installed one
14788 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14789 test "$hardcode_minus_L_CXX" != no; then
14790 # Linking always hardcodes the temporary library directory.
14791 hardcode_action_CXX=relink
14792 else
14793 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14794 hardcode_action_CXX=immediate
14796 else
14797 # We cannot hardcode anything, or else we can only hardcode existing
14798 # directories.
14799 hardcode_action_CXX=unsupported
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14802 $as_echo "$hardcode_action_CXX" >&6; }
14804 if test "$hardcode_action_CXX" = relink ||
14805 test "$inherit_rpath_CXX" = yes; then
14806 # Fast installation is not supported
14807 enable_fast_install=no
14808 elif test "$shlibpath_overrides_runpath" = yes ||
14809 test "$enable_shared" = no; then
14810 # Fast installation is not necessary
14811 enable_fast_install=needless
14820 fi # test -n "$compiler"
14822 CC=$lt_save_CC
14823 LDCXX=$LD
14824 LD=$lt_save_LD
14825 GCC=$lt_save_GCC
14826 with_gnu_ld=$lt_save_with_gnu_ld
14827 lt_cv_path_LDCXX=$lt_cv_path_LD
14828 lt_cv_path_LD=$lt_save_path_LD
14829 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14830 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14831 fi # test "$_lt_caught_CXX_error" != yes
14833 ac_ext=c
14834 ac_cpp='$CPP $CPPFLAGS'
14835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14851 ac_config_commands="$ac_config_commands libtool"
14856 # Only expand once:
14862 case $host in
14863 *-cygwin* | *-mingw*)
14864 # 'host' will be top-level target in the case of a target lib,
14865 # we must compare to with_cross_host to decide if this is a native
14866 # or cross-compiler and select where to install dlls appropriately.
14867 if test -n "$with_cross_host" &&
14868 test x"$with_cross_host" != x"no"; then
14869 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14870 else
14871 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14875 lt_host_flags=
14877 esac
14884 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14885 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14887 # Possibly disable most of the library.
14888 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14889 ## than just ignoring the results. Faster /and/ more correct, win win.
14891 # Check whether --enable-hosted-libstdcxx was given.
14892 if test "${enable_hosted_libstdcxx+set}" = set; then :
14893 enableval=$enable_hosted_libstdcxx;
14894 else
14895 case "$host" in
14896 arm*-*-symbianelf*)
14897 enable_hosted_libstdcxx=no
14900 enable_hosted_libstdcxx=yes
14902 esac
14905 if test "$enable_hosted_libstdcxx" = no; then
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14907 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14908 is_hosted=no
14909 hosted_define=0
14910 enable_abi_check=no
14911 enable_libstdcxx_pch=no
14912 else
14913 is_hosted=yes
14914 hosted_define=1
14918 cat >>confdefs.h <<_ACEOF
14919 #define _GLIBCXX_HOSTED $hosted_define
14920 _ACEOF
14924 # Enable compiler support that doesn't require linking.
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14927 $as_echo_n "checking for exception model to use... " >&6; }
14929 ac_ext=cpp
14930 ac_cpp='$CXXCPP $CPPFLAGS'
14931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14935 # Check whether --enable-sjlj-exceptions was given.
14936 if test "${enable_sjlj_exceptions+set}" = set; then :
14937 enableval=$enable_sjlj_exceptions;
14938 case "$enableval" in
14939 yes|no|auto) ;;
14940 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14941 esac
14943 else
14944 enable_sjlj_exceptions=auto
14949 if test $enable_sjlj_exceptions = auto; then
14950 # Botheration. Now we've got to detect the exception model. Link tests
14951 # against libgcc.a are problematic since we've not been given proper -L
14952 # bits for single-tree newlib and libgloss.
14954 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14955 cat > conftest.$ac_ext << EOF
14956 #line 14956 "configure"
14957 struct S { ~S(); };
14958 void bar();
14959 void foo()
14961 S s;
14962 bar();
14965 old_CXXFLAGS="$CXXFLAGS"
14966 CXXFLAGS=-S
14967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14968 (eval $ac_compile) 2>&5
14969 ac_status=$?
14970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14971 test $ac_status = 0; }; then
14972 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14973 enable_sjlj_exceptions=yes
14974 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14975 enable_sjlj_exceptions=no
14976 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14977 enable_sjlj_exceptions=no
14980 CXXFLAGS="$old_CXXFLAGS"
14981 rm -f conftest*
14984 # This is a tad weird, for hysterical raisins. We have to map
14985 # enable/disable to two different models.
14986 case $enable_sjlj_exceptions in
14987 yes)
14989 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14991 ac_exception_model_name=sjlj
14994 ac_exception_model_name="call frame"
14997 as_fn_error "unable to detect exception model" "$LINENO" 5
14999 esac
15000 ac_ext=c
15001 ac_cpp='$CPP $CPPFLAGS'
15002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15007 $as_echo "$ac_exception_model_name" >&6; }
15010 # Check whether --enable-libstdcxx-pch was given.
15011 if test "${enable_libstdcxx_pch+set}" = set; then :
15012 enableval=$enable_libstdcxx_pch;
15013 case "$enableval" in
15014 yes|no) ;;
15015 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15016 esac
15018 else
15019 enable_libstdcxx_pch=$is_hosted
15023 if test $enable_libstdcxx_pch = yes; then
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15025 $as_echo_n "checking for compiler with PCH support... " >&6; }
15026 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15027 $as_echo_n "(cached) " >&6
15028 else
15029 ac_save_CXXFLAGS="$CXXFLAGS"
15030 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15032 ac_ext=cpp
15033 ac_cpp='$CXXCPP $CPPFLAGS'
15034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15038 echo '#include <math.h>' > conftest.h
15039 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15040 -o conftest.h.gch 1>&5 2>&1 &&
15041 echo '#error "pch failed"' > conftest.h &&
15042 echo '#include "conftest.h"' > conftest.cc &&
15043 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15044 then
15045 glibcxx_cv_prog_CXX_pch=yes
15046 else
15047 glibcxx_cv_prog_CXX_pch=no
15049 rm -f conftest*
15050 CXXFLAGS=$ac_save_CXXFLAGS
15051 ac_ext=c
15052 ac_cpp='$CPP $CPPFLAGS'
15053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15060 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15061 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15065 $as_echo_n "checking for enabled PCH... " >&6; }
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15067 $as_echo "$enable_libstdcxx_pch" >&6; }
15070 if test $enable_libstdcxx_pch = yes; then
15071 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15072 else
15073 glibcxx_PCHFLAGS=""
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15079 $as_echo_n "checking for thread model used by GCC... " >&6; }
15080 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15082 $as_echo "$target_thread_file" >&6; }
15084 if test $target_thread_file != single; then
15086 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15090 glibcxx_thread_h=gthr-$target_thread_file.h
15092 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15093 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15094 enable_thread=yes
15095 else
15096 enable_thread=no
15103 ac_ext=cpp
15104 ac_cpp='$CXXCPP $CPPFLAGS'
15105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15109 old_CXXFLAGS="$CXXFLAGS"
15111 # Do link tests if possible, instead asm tests, limited to some platforms
15112 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15113 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15114 atomic_builtins_link_tests=no
15115 if test x$gcc_no_link != xyes; then
15116 # Can do link tests. Limit to some tested platforms
15117 case "$host" in
15118 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15119 atomic_builtins_link_tests=yes
15121 esac
15124 if test x$atomic_builtins_link_tests = xyes; then
15126 # Do link tests.
15128 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15131 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15132 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15136 if test x$gcc_no_link = xyes; then
15137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15143 main ()
15145 typedef bool atomic_type;
15146 atomic_type c1;
15147 atomic_type c2;
15148 const atomic_type c3(0);
15149 __sync_fetch_and_add(&c1, c2);
15150 __sync_val_compare_and_swap(&c1, c3, c2);
15151 __sync_lock_test_and_set(&c1, c3);
15152 __sync_lock_release(&c1);
15153 __sync_synchronize();
15155 return 0;
15157 _ACEOF
15158 if ac_fn_cxx_try_link "$LINENO"; then :
15159 glibcxx_cv_atomic_bool=yes
15160 else
15161 glibcxx_cv_atomic_bool=no
15163 rm -f core conftest.err conftest.$ac_objext \
15164 conftest$ac_exeext conftest.$ac_ext
15168 if test $glibcxx_cv_atomic_bool = yes; then
15170 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15174 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15177 $as_echo_n "checking for atomic builtins for short... " >&6; }
15178 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15179 $as_echo_n "(cached) " >&6
15180 else
15182 if test x$gcc_no_link = xyes; then
15183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15189 main ()
15191 typedef short atomic_type;
15192 atomic_type c1;
15193 atomic_type c2;
15194 const atomic_type c3(0);
15195 __sync_fetch_and_add(&c1, c2);
15196 __sync_val_compare_and_swap(&c1, c3, c2);
15197 __sync_lock_test_and_set(&c1, c3);
15198 __sync_lock_release(&c1);
15199 __sync_synchronize();
15201 return 0;
15203 _ACEOF
15204 if ac_fn_cxx_try_link "$LINENO"; then :
15205 glibcxx_cv_atomic_short=yes
15206 else
15207 glibcxx_cv_atomic_short=no
15209 rm -f core conftest.err conftest.$ac_objext \
15210 conftest$ac_exeext conftest.$ac_ext
15214 if test $glibcxx_cv_atomic_short = yes; then
15216 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15220 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15223 $as_echo_n "checking for atomic builtins for int... " >&6; }
15224 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15225 $as_echo_n "(cached) " >&6
15226 else
15228 if test x$gcc_no_link = xyes; then
15229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15232 /* end confdefs.h. */
15235 main ()
15237 typedef int atomic_type;
15238 atomic_type c1;
15239 atomic_type c2;
15240 const atomic_type c3(0);
15241 __sync_fetch_and_add(&c1, c2);
15242 __sync_val_compare_and_swap(&c1, c3, c2);
15243 __sync_lock_test_and_set(&c1, c3);
15244 __sync_lock_release(&c1);
15245 __sync_synchronize();
15247 return 0;
15249 _ACEOF
15250 if ac_fn_cxx_try_link "$LINENO"; then :
15251 glibcxx_cv_atomic_int=yes
15252 else
15253 glibcxx_cv_atomic_int=no
15255 rm -f core conftest.err conftest.$ac_objext \
15256 conftest$ac_exeext conftest.$ac_ext
15260 if test $glibcxx_cv_atomic_int = yes; then
15262 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15266 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15269 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15270 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15271 $as_echo_n "(cached) " >&6
15272 else
15274 if test x$gcc_no_link = xyes; then
15275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15281 main ()
15283 typedef long long atomic_type;
15284 atomic_type c1;
15285 atomic_type c2;
15286 const atomic_type c3(0);
15287 __sync_fetch_and_add(&c1, c2);
15288 __sync_val_compare_and_swap(&c1, c3, c2);
15289 __sync_lock_test_and_set(&c1, c3);
15290 __sync_lock_release(&c1);
15291 __sync_synchronize();
15293 return 0;
15295 _ACEOF
15296 if ac_fn_cxx_try_link "$LINENO"; then :
15297 glibcxx_cv_atomic_long_long=yes
15298 else
15299 glibcxx_cv_atomic_long_long=no
15301 rm -f core conftest.err conftest.$ac_objext \
15302 conftest$ac_exeext conftest.$ac_ext
15306 if test $glibcxx_cv_atomic_long_long = yes; then
15308 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15312 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15314 else
15316 # Do asm tests.
15318 # Compile unoptimized.
15319 CXXFLAGS='-O0 -S'
15321 # Fake what AC_TRY_COMPILE does.
15323 cat > conftest.$ac_ext << EOF
15324 #line 15324 "configure"
15325 int main()
15327 typedef bool atomic_type;
15328 atomic_type c1;
15329 atomic_type c2;
15330 const atomic_type c3(0);
15331 __sync_fetch_and_add(&c1, c2);
15332 __sync_val_compare_and_swap(&c1, c3, c2);
15333 __sync_lock_test_and_set(&c1, c3);
15334 __sync_lock_release(&c1);
15335 __sync_synchronize();
15336 return 0;
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15341 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15343 (eval $ac_compile) 2>&5
15344 ac_status=$?
15345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15346 test $ac_status = 0; }; then
15347 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15348 glibcxx_cv_atomic_bool=no
15349 else
15351 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15353 glibcxx_cv_atomic_bool=yes
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15357 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15358 rm -f conftest*
15360 cat > conftest.$ac_ext << EOF
15361 #line 15361 "configure"
15362 int main()
15364 typedef short atomic_type;
15365 atomic_type c1;
15366 atomic_type c2;
15367 const atomic_type c3(0);
15368 __sync_fetch_and_add(&c1, c2);
15369 __sync_val_compare_and_swap(&c1, c3, c2);
15370 __sync_lock_test_and_set(&c1, c3);
15371 __sync_lock_release(&c1);
15372 __sync_synchronize();
15373 return 0;
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15378 $as_echo_n "checking for atomic builtins for short... " >&6; }
15379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15380 (eval $ac_compile) 2>&5
15381 ac_status=$?
15382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15383 test $ac_status = 0; }; then
15384 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15385 glibcxx_cv_atomic_short=no
15386 else
15388 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15390 glibcxx_cv_atomic_short=yes
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15394 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15395 rm -f conftest*
15397 cat > conftest.$ac_ext << EOF
15398 #line 15398 "configure"
15399 int main()
15401 // NB: _Atomic_word not necessarily int.
15402 typedef int atomic_type;
15403 atomic_type c1;
15404 atomic_type c2;
15405 const atomic_type c3(0);
15406 __sync_fetch_and_add(&c1, c2);
15407 __sync_val_compare_and_swap(&c1, c3, c2);
15408 __sync_lock_test_and_set(&c1, c3);
15409 __sync_lock_release(&c1);
15410 __sync_synchronize();
15411 return 0;
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15416 $as_echo_n "checking for atomic builtins for int... " >&6; }
15417 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15418 (eval $ac_compile) 2>&5
15419 ac_status=$?
15420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15421 test $ac_status = 0; }; then
15422 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15423 glibcxx_cv_atomic_int=no
15424 else
15426 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15428 glibcxx_cv_atomic_int=yes
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15432 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15433 rm -f conftest*
15435 cat > conftest.$ac_ext << EOF
15436 #line 15436 "configure"
15437 int main()
15439 typedef long long atomic_type;
15440 atomic_type c1;
15441 atomic_type c2;
15442 const atomic_type c3(0);
15443 __sync_fetch_and_add(&c1, c2);
15444 __sync_val_compare_and_swap(&c1, c3, c2);
15445 __sync_lock_test_and_set(&c1, c3);
15446 __sync_lock_release(&c1);
15447 __sync_synchronize();
15448 return 0;
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15453 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15455 (eval $ac_compile) 2>&5
15456 ac_status=$?
15457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15458 test $ac_status = 0; }; then
15459 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15460 glibcxx_cv_atomic_long_long=no
15461 else
15463 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15465 glibcxx_cv_atomic_long_long=yes
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15469 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15470 rm -f conftest*
15474 CXXFLAGS="$old_CXXFLAGS"
15475 ac_ext=c
15476 ac_cpp='$CPP $CPPFLAGS'
15477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15482 # Set atomicity_dir to builtins if either of above tests pass.
15483 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15484 atomicity_dir=cpu/generic/atomicity_builtins
15487 # If still generic, set to mutex.
15488 if test $atomicity_dir = "cpu/generic" ; then
15489 atomicity_dir=cpu/generic/atomicity_mutex
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15491 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15492 if test "x$target_thread_file" = xsingle; then
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15494 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15496 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15497 else
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15499 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15501 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15508 # Fake what AC_TRY_COMPILE does, without linking as this is
15509 # unnecessary for this test.
15511 cat > conftest.$ac_ext << EOF
15512 #line 15512 "configure"
15513 int main()
15515 _Decimal32 d1;
15516 _Decimal64 d2;
15517 _Decimal128 d3;
15518 return 0;
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15523 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15524 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15525 (eval $ac_compile) 2>&5
15526 ac_status=$?
15527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15528 test $ac_status = 0; }; then
15530 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15532 enable_dfp=yes
15533 else
15534 enable_dfp=no
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15537 $as_echo "$enable_dfp" >&6; }
15538 rm -f conftest*
15541 # Checks for compiler support that doesn't require linking.
15543 # All these tests are for C++; save the language and the compiler flags.
15544 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15545 # found in GLIBCXX_CONFIGURE.
15547 ac_ext=cpp
15548 ac_cpp='$CXXCPP $CPPFLAGS'
15549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15553 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15554 ac_save_CXXFLAGS="$CXXFLAGS"
15556 # Check for maintainer-mode bits.
15557 if test x"$USE_MAINTAINER_MODE" = xno; then
15558 WERROR=''
15559 else
15560 WERROR='-Werror'
15563 # Check for -ffunction-sections -fdata-sections
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15565 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15566 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h. */
15569 int foo; void bar() { };
15571 main ()
15575 return 0;
15577 _ACEOF
15578 if ac_fn_cxx_try_compile "$LINENO"; then :
15579 ac_fdsections=yes
15580 else
15581 ac_fdsections=no
15583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584 if test "$ac_test_CXXFLAGS" = set; then
15585 CXXFLAGS="$ac_save_CXXFLAGS"
15586 else
15587 # this is the suspicious part
15588 CXXFLAGS=''
15590 if test x"$ac_fdsections" = x"yes"; then
15591 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15594 $as_echo "$ac_fdsections" >&6; }
15596 ac_ext=c
15597 ac_cpp='$CPP $CPPFLAGS'
15598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15606 # Enable all the variable C++ runtime options that don't require linking.
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15609 $as_echo_n "checking for underlying I/O to use... " >&6; }
15610 # Check whether --enable-cstdio was given.
15611 if test "${enable_cstdio+set}" = set; then :
15612 enableval=$enable_cstdio;
15613 case "$enableval" in
15614 stdio) ;;
15615 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15616 esac
15618 else
15619 enable_cstdio=stdio
15624 # Now that libio has been removed, you can have any color you want as long
15625 # as it's black. This is one big no-op until other packages are added, but
15626 # showing the framework never hurts.
15627 case ${enable_cstdio} in
15628 stdio)
15629 CSTDIO_H=config/io/c_io_stdio.h
15630 BASIC_FILE_H=config/io/basic_file_stdio.h
15631 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15633 $as_echo "stdio" >&6; }
15635 esac
15642 # Check whether --enable-clocale was given.
15643 if test "${enable_clocale+set}" = set; then :
15644 enableval=$enable_clocale;
15645 case "$enableval" in
15646 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15647 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15648 esac
15650 else
15651 enable_clocale=auto
15656 # Deal with gettext issues. Default to not using it (=no) until we detect
15657 # support for it later. Let the user turn it off via --e/d, but let that
15658 # default to on for easier handling.
15659 USE_NLS=no
15660 # Check whether --enable-nls was given.
15661 if test "${enable_nls+set}" = set; then :
15662 enableval=$enable_nls;
15663 else
15664 enable_nls=yes
15668 # Either a known package, or "auto"
15669 if test $enable_clocale = no || test $enable_clocale = yes; then
15670 enable_clocale=auto
15672 enable_clocale_flag=$enable_clocale
15674 # Probe for locale model to use if none specified.
15675 # Default to "generic".
15676 if test $enable_clocale_flag = auto; then
15677 case ${target_os} in
15678 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15679 enable_clocale_flag=gnu
15681 darwin* | freebsd*)
15682 enable_clocale_flag=darwin
15685 if test x"$with_newlib" = x"yes"; then
15686 enable_clocale_flag=newlib
15687 else
15688 enable_clocale_flag=generic
15691 esac
15694 # Sanity check model, and test for special functionality.
15695 if test $enable_clocale_flag = gnu; then
15696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h. */
15699 #include <features.h>
15700 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15701 _GLIBCXX_ok
15702 #endif
15704 _ACEOF
15705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15706 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15707 enable_clocale_flag=gnu
15708 else
15709 enable_clocale_flag=generic
15711 rm -f conftest*
15714 # Set it to scream when it hurts.
15715 ac_save_CFLAGS="$CFLAGS"
15716 CFLAGS="-Wimplicit-function-declaration -Werror"
15718 # Use strxfrm_l if available.
15719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15721 #define _GNU_SOURCE 1
15722 #include <string.h>
15723 #include <locale.h>
15725 main ()
15727 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15729 return 0;
15731 _ACEOF
15732 if ac_fn_c_try_compile "$LINENO"; then :
15734 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15739 # Use strerror_l if available.
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15742 #define _GNU_SOURCE 1
15743 #include <string.h>
15744 #include <locale.h>
15746 main ()
15748 __locale_t loc; strerror_l(5, loc);
15750 return 0;
15752 _ACEOF
15753 if ac_fn_c_try_compile "$LINENO"; then :
15755 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15760 CFLAGS="$ac_save_CFLAGS"
15763 # Perhaps use strerror_r if available, and strerror_l isn't.
15764 ac_save_CFLAGS="$CFLAGS"
15765 CFLAGS="-Wimplicit-function-declaration -Werror"
15766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h. */
15768 #define _GNU_SOURCE 1
15769 #include <string.h>
15770 #include <locale.h>
15772 main ()
15774 char s[128]; strerror_r(5, s, 128);
15776 return 0;
15778 _ACEOF
15779 if ac_fn_c_try_compile "$LINENO"; then :
15781 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15785 CFLAGS="$ac_save_CFLAGS"
15787 # Set configure bits for specified locale package
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15789 $as_echo_n "checking for C locale to use... " >&6; }
15790 case ${enable_clocale_flag} in
15791 generic)
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15793 $as_echo "generic" >&6; }
15795 CLOCALE_H=config/locale/generic/c_locale.h
15796 CLOCALE_CC=config/locale/generic/c_locale.cc
15797 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15798 CCOLLATE_CC=config/locale/generic/collate_members.cc
15799 CCTYPE_CC=config/locale/generic/ctype_members.cc
15800 CMESSAGES_H=config/locale/generic/messages_members.h
15801 CMESSAGES_CC=config/locale/generic/messages_members.cc
15802 CMONEY_CC=config/locale/generic/monetary_members.cc
15803 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15804 CTIME_H=config/locale/generic/time_members.h
15805 CTIME_CC=config/locale/generic/time_members.cc
15806 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15808 darwin)
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15810 $as_echo "darwin or freebsd" >&6; }
15812 CLOCALE_H=config/locale/generic/c_locale.h
15813 CLOCALE_CC=config/locale/generic/c_locale.cc
15814 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15815 CCOLLATE_CC=config/locale/generic/collate_members.cc
15816 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15817 CMESSAGES_H=config/locale/generic/messages_members.h
15818 CMESSAGES_CC=config/locale/generic/messages_members.cc
15819 CMONEY_CC=config/locale/generic/monetary_members.cc
15820 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15821 CTIME_H=config/locale/generic/time_members.h
15822 CTIME_CC=config/locale/generic/time_members.cc
15823 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15826 gnu)
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15828 $as_echo "gnu" >&6; }
15830 # Declare intention to use gettext, and add support for specific
15831 # languages.
15832 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15833 ALL_LINGUAS="de fr"
15835 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15836 # Extract the first word of "msgfmt", so it can be a program name with args.
15837 set dummy msgfmt; ac_word=$2
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15839 $as_echo_n "checking for $ac_word... " >&6; }
15840 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15841 $as_echo_n "(cached) " >&6
15842 else
15843 if test -n "$check_msgfmt"; then
15844 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15845 else
15846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15847 for as_dir in $PATH
15849 IFS=$as_save_IFS
15850 test -z "$as_dir" && as_dir=.
15851 for ac_exec_ext in '' $ac_executable_extensions; do
15852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15853 ac_cv_prog_check_msgfmt="yes"
15854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15855 break 2
15857 done
15858 done
15859 IFS=$as_save_IFS
15861 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15864 check_msgfmt=$ac_cv_prog_check_msgfmt
15865 if test -n "$check_msgfmt"; then
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15867 $as_echo "$check_msgfmt" >&6; }
15868 else
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15870 $as_echo "no" >&6; }
15874 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15875 USE_NLS=yes
15877 # Export the build objects.
15878 for ling in $ALL_LINGUAS; do \
15879 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15880 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15881 done
15885 CLOCALE_H=config/locale/gnu/c_locale.h
15886 CLOCALE_CC=config/locale/gnu/c_locale.cc
15887 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15888 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15889 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15890 CMESSAGES_H=config/locale/gnu/messages_members.h
15891 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15892 CMONEY_CC=config/locale/gnu/monetary_members.cc
15893 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15894 CTIME_H=config/locale/gnu/time_members.h
15895 CTIME_CC=config/locale/gnu/time_members.cc
15896 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15898 ieee_1003.1-2001)
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15900 $as_echo "IEEE 1003.1" >&6; }
15902 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15903 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15904 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15905 CCOLLATE_CC=config/locale/generic/collate_members.cc
15906 CCTYPE_CC=config/locale/generic/ctype_members.cc
15907 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15908 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15909 CMONEY_CC=config/locale/generic/monetary_members.cc
15910 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15911 CTIME_H=config/locale/generic/time_members.h
15912 CTIME_CC=config/locale/generic/time_members.cc
15913 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15915 newlib)
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15917 $as_echo "newlib" >&6; }
15919 CLOCALE_H=config/locale/generic/c_locale.h
15920 CLOCALE_CC=config/locale/generic/c_locale.cc
15921 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15922 CCOLLATE_CC=config/locale/generic/collate_members.cc
15923 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15924 CMESSAGES_H=config/locale/generic/messages_members.h
15925 CMESSAGES_CC=config/locale/generic/messages_members.cc
15926 CMONEY_CC=config/locale/generic/monetary_members.cc
15927 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15928 CTIME_H=config/locale/generic/time_members.h
15929 CTIME_CC=config/locale/generic/time_members.cc
15930 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15932 esac
15934 # This is where the testsuite looks for locale catalogs, using the
15935 # -DLOCALEDIR define during testsuite compilation.
15936 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15939 # A standalone libintl (e.g., GNU libintl) may be in use.
15940 if test $USE_NLS = yes; then
15941 for ac_header in libintl.h
15942 do :
15943 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15944 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15945 cat >>confdefs.h <<_ACEOF
15946 #define HAVE_LIBINTL_H 1
15947 _ACEOF
15949 else
15950 USE_NLS=no
15953 done
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15956 $as_echo_n "checking for library containing gettext... " >&6; }
15957 if test "${ac_cv_search_gettext+set}" = set; then :
15958 $as_echo_n "(cached) " >&6
15959 else
15960 ac_func_search_save_LIBS=$LIBS
15961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15962 /* end confdefs.h. */
15964 /* Override any GCC internal prototype to avoid an error.
15965 Use char because int might match the return type of a GCC
15966 builtin and then its argument prototype would still apply. */
15967 #ifdef __cplusplus
15968 extern "C"
15969 #endif
15970 char gettext ();
15972 main ()
15974 return gettext ();
15976 return 0;
15978 _ACEOF
15979 for ac_lib in '' intl; do
15980 if test -z "$ac_lib"; then
15981 ac_res="none required"
15982 else
15983 ac_res=-l$ac_lib
15984 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15986 if test x$gcc_no_link = xyes; then
15987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15989 if ac_fn_c_try_link "$LINENO"; then :
15990 ac_cv_search_gettext=$ac_res
15992 rm -f core conftest.err conftest.$ac_objext \
15993 conftest$ac_exeext
15994 if test "${ac_cv_search_gettext+set}" = set; then :
15995 break
15997 done
15998 if test "${ac_cv_search_gettext+set}" = set; then :
16000 else
16001 ac_cv_search_gettext=no
16003 rm conftest.$ac_ext
16004 LIBS=$ac_func_search_save_LIBS
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16007 $as_echo "$ac_cv_search_gettext" >&6; }
16008 ac_res=$ac_cv_search_gettext
16009 if test "$ac_res" != no; then :
16010 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16012 else
16013 USE_NLS=no
16017 if test $USE_NLS = yes; then
16019 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16039 $as_echo_n "checking for std::allocator base class... " >&6; }
16040 # Check whether --enable-libstdcxx-allocator was given.
16041 if test "${enable_libstdcxx_allocator+set}" = set; then :
16042 enableval=$enable_libstdcxx_allocator;
16043 case "$enableval" in
16044 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16045 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16046 esac
16048 else
16049 enable_libstdcxx_allocator=auto
16054 # If they didn't use this option switch, or if they specified --enable
16055 # with no specific model, we'll have to look for one. If they
16056 # specified --disable (???), do likewise.
16057 if test $enable_libstdcxx_allocator = no ||
16058 test $enable_libstdcxx_allocator = yes;
16059 then
16060 enable_libstdcxx_allocator=auto
16063 # Either a known package, or "auto". Auto implies the default choice
16064 # for a particular platform.
16065 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16067 # Probe for host-specific support if no specific model is specified.
16068 # Default to "new".
16069 if test $enable_libstdcxx_allocator_flag = auto; then
16070 case ${target_os} in
16071 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16072 enable_libstdcxx_allocator_flag=new
16075 enable_libstdcxx_allocator_flag=new
16077 esac
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16080 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16083 # Set configure bits for specified locale package
16084 case ${enable_libstdcxx_allocator_flag} in
16085 bitmap)
16086 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16087 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16089 malloc)
16090 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16091 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16094 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16095 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16097 new)
16098 ALLOCATOR_H=config/allocator/new_allocator_base.h
16099 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16101 pool)
16102 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16103 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16105 esac
16111 # Check whether --enable-cheaders was given.
16112 if test "${enable_cheaders+set}" = set; then :
16113 enableval=$enable_cheaders;
16114 case "$enableval" in
16115 c|c_std|c_global) ;;
16116 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16117 esac
16119 else
16120 enable_cheaders=$c_model
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16125 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16127 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16129 # Allow overrides to configure.host here.
16130 if test $enable_cheaders = c_global; then
16131 c_compatibility=yes
16140 # Check whether --enable-long-long was given.
16141 if test "${enable_long_long+set}" = set; then :
16142 enableval=$enable_long_long;
16143 case "$enableval" in
16144 yes|no) ;;
16145 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16146 esac
16148 else
16149 enable_long_long=yes
16153 if test $enable_long_long = yes; then
16155 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16159 $as_echo_n "checking for enabled long long specializations... " >&6; }
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16161 $as_echo "$enable_long_long" >&6; }
16164 # Check whether --enable-wchar_t was given.
16165 if test "${enable_wchar_t+set}" = set; then :
16166 enableval=$enable_wchar_t;
16167 case "$enableval" in
16168 yes|no) ;;
16169 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16170 esac
16172 else
16173 enable_wchar_t=yes
16178 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16179 for ac_header in wchar.h
16180 do :
16181 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16182 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16183 cat >>confdefs.h <<_ACEOF
16184 #define HAVE_WCHAR_H 1
16185 _ACEOF
16186 ac_has_wchar_h=yes
16187 else
16188 ac_has_wchar_h=no
16191 done
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16194 $as_echo_n "checking for mbstate_t... " >&6; }
16195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16196 /* end confdefs.h. */
16197 #include <wchar.h>
16199 main ()
16201 mbstate_t teststate;
16203 return 0;
16205 _ACEOF
16206 if ac_fn_c_try_compile "$LINENO"; then :
16207 have_mbstate_t=yes
16208 else
16209 have_mbstate_t=no
16211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16213 $as_echo "$have_mbstate_t" >&6; }
16214 if test x"$have_mbstate_t" = xyes; then
16216 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16220 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16221 # ac_has_wchar_h.
16222 for ac_header in wctype.h
16223 do :
16224 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16225 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16226 cat >>confdefs.h <<_ACEOF
16227 #define HAVE_WCTYPE_H 1
16228 _ACEOF
16229 ac_has_wctype_h=yes
16230 else
16231 ac_has_wctype_h=no
16234 done
16237 if test x"$enable_wchar_t" = x"yes"; then
16240 ac_ext=cpp
16241 ac_cpp='$CXXCPP $CPPFLAGS'
16242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16247 if test x"$ac_has_wchar_h" = xyes &&
16248 test x"$ac_has_wctype_h" = xyes; then
16249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16250 /* end confdefs.h. */
16251 #include <wchar.h>
16252 #include <stddef.h>
16253 wint_t i;
16254 long l = WEOF;
16255 long j = WCHAR_MIN;
16256 long k = WCHAR_MAX;
16257 namespace test
16259 using ::btowc;
16260 using ::fgetwc;
16261 using ::fgetws;
16262 using ::fputwc;
16263 using ::fputws;
16264 using ::fwide;
16265 using ::fwprintf;
16266 using ::fwscanf;
16267 using ::getwc;
16268 using ::getwchar;
16269 using ::mbrlen;
16270 using ::mbrtowc;
16271 using ::mbsinit;
16272 using ::mbsrtowcs;
16273 using ::putwc;
16274 using ::putwchar;
16275 using ::swprintf;
16276 using ::swscanf;
16277 using ::ungetwc;
16278 using ::vfwprintf;
16279 using ::vswprintf;
16280 using ::vwprintf;
16281 using ::wcrtomb;
16282 using ::wcscat;
16283 using ::wcschr;
16284 using ::wcscmp;
16285 using ::wcscoll;
16286 using ::wcscpy;
16287 using ::wcscspn;
16288 using ::wcsftime;
16289 using ::wcslen;
16290 using ::wcsncat;
16291 using ::wcsncmp;
16292 using ::wcsncpy;
16293 using ::wcspbrk;
16294 using ::wcsrchr;
16295 using ::wcsrtombs;
16296 using ::wcsspn;
16297 using ::wcsstr;
16298 using ::wcstod;
16299 using ::wcstok;
16300 using ::wcstol;
16301 using ::wcstoul;
16302 using ::wcsxfrm;
16303 using ::wctob;
16304 using ::wmemchr;
16305 using ::wmemcmp;
16306 using ::wmemcpy;
16307 using ::wmemmove;
16308 using ::wmemset;
16309 using ::wprintf;
16310 using ::wscanf;
16314 main ()
16318 return 0;
16320 _ACEOF
16321 if ac_fn_cxx_try_compile "$LINENO"; then :
16323 else
16324 enable_wchar_t=no
16326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16327 else
16328 enable_wchar_t=no
16331 ac_ext=c
16332 ac_cpp='$CPP $CPPFLAGS'
16333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16339 if test x"$enable_wchar_t" = x"yes"; then
16341 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16346 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16348 $as_echo "$enable_wchar_t" >&6; }
16352 # Check whether --enable-c99 was given.
16353 if test "${enable_c99+set}" = set; then :
16354 enableval=$enable_c99;
16355 case "$enableval" in
16356 yes|no) ;;
16357 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16358 esac
16360 else
16361 enable_c99=yes
16366 if test x"$enable_c99" = x"yes"; then
16369 ac_ext=cpp
16370 ac_cpp='$CXXCPP $CPPFLAGS'
16371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16376 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16377 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16378 # spuriously enabled.
16379 # Long term, -std=c++0x could be even better, could manage to explicitely
16380 # request C99 facilities to the underlying C headers.
16381 ac_save_CXXFLAGS="$CXXFLAGS"
16382 CXXFLAGS="$CXXFLAGS -std=c++98"
16383 ac_save_LIBS="$LIBS"
16384 ac_save_gcc_no_link="$gcc_no_link"
16386 if test x$gcc_no_link != xyes; then
16387 # Use -fno-exceptions to that the C driver can link these tests without
16388 # hitting undefined references to personality routines.
16389 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16391 $as_echo_n "checking for sin in -lm... " >&6; }
16392 if test "${ac_cv_lib_m_sin+set}" = set; then :
16393 $as_echo_n "(cached) " >&6
16394 else
16395 ac_check_lib_save_LIBS=$LIBS
16396 LIBS="-lm $LIBS"
16397 if test x$gcc_no_link = xyes; then
16398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16401 /* end confdefs.h. */
16403 /* Override any GCC internal prototype to avoid an error.
16404 Use char because int might match the return type of a GCC
16405 builtin and then its argument prototype would still apply. */
16406 #ifdef __cplusplus
16407 extern "C"
16408 #endif
16409 char sin ();
16411 main ()
16413 return sin ();
16415 return 0;
16417 _ACEOF
16418 if ac_fn_cxx_try_link "$LINENO"; then :
16419 ac_cv_lib_m_sin=yes
16420 else
16421 ac_cv_lib_m_sin=no
16423 rm -f core conftest.err conftest.$ac_objext \
16424 conftest$ac_exeext conftest.$ac_ext
16425 LIBS=$ac_check_lib_save_LIBS
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16428 $as_echo "$ac_cv_lib_m_sin" >&6; }
16429 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16431 LIBS="$LIBS -lm"
16433 else
16435 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16436 gcc_no_link=yes
16442 # Check for the existence of <math.h> functions used if C99 is enabled.
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16444 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16445 if test "${glibcxx_cv_c99_math+set}" = set; then :
16446 $as_echo_n "(cached) " >&6
16447 else
16449 if test x$gcc_no_link = xyes; then
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #include <math.h>
16453 volatile double d1, d2;
16454 volatile int i;
16456 main ()
16458 i = fpclassify(d1);
16459 i = isfinite(d1);
16460 i = isinf(d1);
16461 i = isnan(d1);
16462 i = isnormal(d1);
16463 i = signbit(d1);
16464 i = isgreater(d1, d2);
16465 i = isgreaterequal(d1, d2);
16466 i = isless(d1, d2);
16467 i = islessequal(d1, d2);
16468 i = islessgreater(d1, d2);
16469 i = islessgreater(d1, d2);
16470 i = isunordered(d1, d2);
16473 return 0;
16475 _ACEOF
16476 if ac_fn_cxx_try_compile "$LINENO"; then :
16477 glibcxx_cv_c99_math=yes
16478 else
16479 glibcxx_cv_c99_math=no
16481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482 else
16483 if test x$gcc_no_link = xyes; then
16484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h. */
16488 #include <math.h>
16489 volatile double d1, d2;
16490 volatile int i;
16492 main ()
16494 i = fpclassify(d1);
16495 i = isfinite(d1);
16496 i = isinf(d1);
16497 i = isnan(d1);
16498 i = isnormal(d1);
16499 i = signbit(d1);
16500 i = isgreater(d1, d2);
16501 i = isgreaterequal(d1, d2);
16502 i = isless(d1, d2);
16503 i = islessequal(d1, d2);
16504 i = islessgreater(d1, d2);
16505 i = islessgreater(d1, d2);
16506 i = isunordered(d1, d2);
16509 return 0;
16511 _ACEOF
16512 if ac_fn_cxx_try_link "$LINENO"; then :
16513 glibcxx_cv_c99_math=yes
16514 else
16515 glibcxx_cv_c99_math=no
16517 rm -f core conftest.err conftest.$ac_objext \
16518 conftest$ac_exeext conftest.$ac_ext
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16524 $as_echo "$glibcxx_cv_c99_math" >&6; }
16525 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16527 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16531 # Check for the existence of <complex.h> complex math functions.
16532 # This is necessary even though libstdc++ uses the builtin versions
16533 # of these functions, because if the builtin cannot be used, a reference
16534 # to the library function is emitted.
16535 for ac_header in tgmath.h
16536 do :
16537 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16538 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16539 cat >>confdefs.h <<_ACEOF
16540 #define HAVE_TGMATH_H 1
16541 _ACEOF
16542 ac_has_tgmath_h=yes
16543 else
16544 ac_has_tgmath_h=no
16547 done
16549 for ac_header in complex.h
16550 do :
16551 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16552 if test "x$ac_cv_header_complex_h" = x""yes; then :
16553 cat >>confdefs.h <<_ACEOF
16554 #define HAVE_COMPLEX_H 1
16555 _ACEOF
16556 ac_has_complex_h=yes
16557 else
16558 ac_has_complex_h=no
16561 done
16563 glibcxx_cv_c99_complex=no;
16564 if test x"$ac_has_complex_h" = x"yes"; then
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16566 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16567 if test x$gcc_no_link = xyes; then
16568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16570 #include <complex.h>
16571 typedef __complex__ float float_type;
16572 typedef __complex__ double double_type;
16573 typedef __complex__ long double ld_type;
16574 volatile float_type tmpf;
16575 volatile double_type tmpd;
16576 volatile ld_type tmpld;
16577 volatile float f;
16578 volatile double d;
16579 volatile long double ld;
16581 main ()
16583 f = cabsf(tmpf);
16584 f = cargf(tmpf);
16585 tmpf = ccosf(tmpf);
16586 tmpf = ccoshf(tmpf);
16587 tmpf = cexpf(tmpf);
16588 tmpf = clogf(tmpf);
16589 tmpf = csinf(tmpf);
16590 tmpf = csinhf(tmpf);
16591 tmpf = csqrtf(tmpf);
16592 tmpf = ctanf(tmpf);
16593 tmpf = ctanhf(tmpf);
16594 tmpf = cpowf(tmpf, tmpf);
16595 tmpf = cprojf(tmpf);
16596 d = cabs(tmpd);
16597 d = carg(tmpd);
16598 tmpd = ccos(tmpd);
16599 tmpd = ccosh(tmpd);
16600 tmpd = cexp(tmpd);
16601 tmpd = clog(tmpd);
16602 tmpd = csin(tmpd);
16603 tmpd = csinh(tmpd);
16604 tmpd = csqrt(tmpd);
16605 tmpd = ctan(tmpd);
16606 tmpd = ctanh(tmpd);
16607 tmpd = cpow(tmpd, tmpd);
16608 tmpd = cproj(tmpd);
16609 ld = cabsl(tmpld);
16610 ld = cargl(tmpld);
16611 tmpld = ccosl(tmpld);
16612 tmpld = ccoshl(tmpld);
16613 tmpld = cexpl(tmpld);
16614 tmpld = clogl(tmpld);
16615 tmpld = csinl(tmpld);
16616 tmpld = csinhl(tmpld);
16617 tmpld = csqrtl(tmpld);
16618 tmpld = ctanl(tmpld);
16619 tmpld = ctanhl(tmpld);
16620 tmpld = cpowl(tmpld, tmpld);
16621 tmpld = cprojl(tmpld);
16624 return 0;
16626 _ACEOF
16627 if ac_fn_cxx_try_compile "$LINENO"; then :
16628 glibcxx_cv_c99_complex=yes
16629 else
16630 glibcxx_cv_c99_complex=no
16632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16633 else
16634 if test x$gcc_no_link = xyes; then
16635 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16639 #include <complex.h>
16640 typedef __complex__ float float_type;
16641 typedef __complex__ double double_type;
16642 typedef __complex__ long double ld_type;
16643 volatile float_type tmpf;
16644 volatile double_type tmpd;
16645 volatile ld_type tmpld;
16646 volatile float f;
16647 volatile double d;
16648 volatile long double ld;
16650 main ()
16652 f = cabsf(tmpf);
16653 f = cargf(tmpf);
16654 tmpf = ccosf(tmpf);
16655 tmpf = ccoshf(tmpf);
16656 tmpf = cexpf(tmpf);
16657 tmpf = clogf(tmpf);
16658 tmpf = csinf(tmpf);
16659 tmpf = csinhf(tmpf);
16660 tmpf = csqrtf(tmpf);
16661 tmpf = ctanf(tmpf);
16662 tmpf = ctanhf(tmpf);
16663 tmpf = cpowf(tmpf, tmpf);
16664 tmpf = cprojf(tmpf);
16665 d = cabs(tmpd);
16666 d = carg(tmpd);
16667 tmpd = ccos(tmpd);
16668 tmpd = ccosh(tmpd);
16669 tmpd = cexp(tmpd);
16670 tmpd = clog(tmpd);
16671 tmpd = csin(tmpd);
16672 tmpd = csinh(tmpd);
16673 tmpd = csqrt(tmpd);
16674 tmpd = ctan(tmpd);
16675 tmpd = ctanh(tmpd);
16676 tmpd = cpow(tmpd, tmpd);
16677 tmpd = cproj(tmpd);
16678 ld = cabsl(tmpld);
16679 ld = cargl(tmpld);
16680 tmpld = ccosl(tmpld);
16681 tmpld = ccoshl(tmpld);
16682 tmpld = cexpl(tmpld);
16683 tmpld = clogl(tmpld);
16684 tmpld = csinl(tmpld);
16685 tmpld = csinhl(tmpld);
16686 tmpld = csqrtl(tmpld);
16687 tmpld = ctanl(tmpld);
16688 tmpld = ctanhl(tmpld);
16689 tmpld = cpowl(tmpld, tmpld);
16690 tmpld = cprojl(tmpld);
16693 return 0;
16695 _ACEOF
16696 if ac_fn_cxx_try_link "$LINENO"; then :
16697 glibcxx_cv_c99_complex=yes
16698 else
16699 glibcxx_cv_c99_complex=no
16701 rm -f core conftest.err conftest.$ac_objext \
16702 conftest$ac_exeext conftest.$ac_ext
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16706 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16707 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16709 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16713 # Check for the existence in <stdio.h> of vscanf, et. al.
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16715 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16716 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16717 $as_echo_n "(cached) " >&6
16718 else
16720 if test x$gcc_no_link = xyes; then
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #include <stdio.h>
16724 #include <stdarg.h>
16725 void foo(char* fmt, ...)
16727 va_list args; va_start(args, fmt);
16728 vfscanf(stderr, "%i", args);
16729 vscanf("%i", args);
16730 vsnprintf(fmt, 0, "%i", args);
16731 vsscanf(fmt, "%i", args);
16734 main ()
16736 snprintf("12", 0, "%i");
16738 return 0;
16740 _ACEOF
16741 if ac_fn_cxx_try_compile "$LINENO"; then :
16742 glibcxx_cv_c99_stdio=yes
16743 else
16744 glibcxx_cv_c99_stdio=no
16746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16747 else
16748 if test x$gcc_no_link = xyes; then
16749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16753 #include <stdio.h>
16754 #include <stdarg.h>
16755 void foo(char* fmt, ...)
16757 va_list args; va_start(args, fmt);
16758 vfscanf(stderr, "%i", args);
16759 vscanf("%i", args);
16760 vsnprintf(fmt, 0, "%i", args);
16761 vsscanf(fmt, "%i", args);
16764 main ()
16766 snprintf("12", 0, "%i");
16768 return 0;
16770 _ACEOF
16771 if ac_fn_cxx_try_link "$LINENO"; then :
16772 glibcxx_cv_c99_stdio=yes
16773 else
16774 glibcxx_cv_c99_stdio=no
16776 rm -f core conftest.err conftest.$ac_objext \
16777 conftest$ac_exeext conftest.$ac_ext
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16783 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16785 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16787 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16788 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16789 $as_echo_n "(cached) " >&6
16790 else
16792 if test x$gcc_no_link = xyes; then
16793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16794 /* end confdefs.h. */
16795 #include <stdlib.h>
16796 volatile float f;
16797 volatile long double ld;
16798 volatile unsigned long long ll;
16799 lldiv_t mydivt;
16801 main ()
16803 char* tmp;
16804 f = strtof("gnu", &tmp);
16805 ld = strtold("gnu", &tmp);
16806 ll = strtoll("gnu", &tmp, 10);
16807 ll = strtoull("gnu", &tmp, 10);
16808 ll = llabs(10);
16809 mydivt = lldiv(10,1);
16810 ll = mydivt.quot;
16811 ll = mydivt.rem;
16812 ll = atoll("10");
16813 _Exit(0);
16816 return 0;
16818 _ACEOF
16819 if ac_fn_cxx_try_compile "$LINENO"; then :
16820 glibcxx_cv_c99_stdlib=yes
16821 else
16822 glibcxx_cv_c99_stdlib=no
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825 else
16826 if test x$gcc_no_link = xyes; then
16827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16831 #include <stdlib.h>
16832 volatile float f;
16833 volatile long double ld;
16834 volatile unsigned long long ll;
16835 lldiv_t mydivt;
16837 main ()
16839 char* tmp;
16840 f = strtof("gnu", &tmp);
16841 ld = strtold("gnu", &tmp);
16842 ll = strtoll("gnu", &tmp, 10);
16843 ll = strtoull("gnu", &tmp, 10);
16844 ll = llabs(10);
16845 mydivt = lldiv(10,1);
16846 ll = mydivt.quot;
16847 ll = mydivt.rem;
16848 ll = atoll("10");
16849 _Exit(0);
16852 return 0;
16854 _ACEOF
16855 if ac_fn_cxx_try_link "$LINENO"; then :
16856 glibcxx_cv_c99_stdlib=yes
16857 else
16858 glibcxx_cv_c99_stdlib=no
16860 rm -f core conftest.err conftest.$ac_objext \
16861 conftest$ac_exeext conftest.$ac_ext
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16867 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16869 # Check for the existence in <wchar.h> of wcstold, etc.
16870 glibcxx_cv_c99_wchar=no;
16871 if test x"$ac_has_wchar_h" = xyes &&
16872 test x"$ac_has_wctype_h" = xyes; then
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16874 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16877 #include <wchar.h>
16878 namespace test
16880 using ::wcstold;
16881 using ::wcstoll;
16882 using ::wcstoull;
16886 main ()
16890 return 0;
16892 _ACEOF
16893 if ac_fn_cxx_try_compile "$LINENO"; then :
16894 glibcxx_cv_c99_wchar=yes
16895 else
16896 glibcxx_cv_c99_wchar=no
16898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16900 # Checks for wide character functions that may not be present.
16901 # Injection of these is wrapped with guard macros.
16902 # NB: only put functions here, instead of immediately above, if
16903 # absolutely necessary.
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16906 #include <wchar.h>
16907 namespace test { using ::vfwscanf; }
16909 main ()
16913 return 0;
16915 _ACEOF
16916 if ac_fn_cxx_try_compile "$LINENO"; then :
16918 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h. */
16925 #include <wchar.h>
16926 namespace test { using ::vswscanf; }
16928 main ()
16932 return 0;
16934 _ACEOF
16935 if ac_fn_cxx_try_compile "$LINENO"; then :
16937 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16944 #include <wchar.h>
16945 namespace test { using ::vwscanf; }
16947 main ()
16951 return 0;
16953 _ACEOF
16954 if ac_fn_cxx_try_compile "$LINENO"; then :
16956 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16962 /* end confdefs.h. */
16963 #include <wchar.h>
16964 namespace test { using ::wcstof; }
16966 main ()
16970 return 0;
16972 _ACEOF
16973 if ac_fn_cxx_try_compile "$LINENO"; then :
16975 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16982 #include <wctype.h>
16984 main ()
16986 wint_t t; int i = iswblank(t);
16988 return 0;
16990 _ACEOF
16991 if ac_fn_cxx_try_compile "$LINENO"; then :
16993 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16999 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17002 # Option parsed, now set things appropriately.
17003 if test x"$glibcxx_cv_c99_math" = x"no" ||
17004 test x"$glibcxx_cv_c99_complex" = x"no" ||
17005 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17006 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17007 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17008 enable_c99=no;
17009 else
17011 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17015 gcc_no_link="$ac_save_gcc_no_link"
17016 LIBS="$ac_save_LIBS"
17017 CXXFLAGS="$ac_save_CXXFLAGS"
17018 ac_ext=c
17019 ac_cpp='$CPP $CPPFLAGS'
17020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17027 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17029 $as_echo "$enable_c99" >&6; }
17032 # Check whether --enable-concept-checks was given.
17033 if test "${enable_concept_checks+set}" = set; then :
17034 enableval=$enable_concept_checks;
17035 case "$enableval" in
17036 yes|no) ;;
17037 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17038 esac
17040 else
17041 enable_concept_checks=no
17045 if test $enable_concept_checks = yes; then
17047 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17052 # Check whether --enable-libstdcxx-debug-flags was given.
17053 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17054 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17055 xno | x) enable_libstdcxx_debug_flags= ;;
17056 x-*) ;;
17057 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17058 esac
17059 else
17060 enable_libstdcxx_debug_flags="-g3 -O0"
17065 # Option parsed, now set things appropriately
17066 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17070 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17074 $as_echo_n "checking for additional debug build... " >&6; }
17075 # Check whether --enable-libstdcxx-debug was given.
17076 if test "${enable_libstdcxx_debug+set}" = set; then :
17077 enableval=$enable_libstdcxx_debug;
17078 case "$enableval" in
17079 yes|no) ;;
17080 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17081 esac
17083 else
17084 enable_libstdcxx_debug=no
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17089 $as_echo "$enable_libstdcxx_debug" >&6; }
17094 enable_parallel=no;
17096 # See if configured libgomp/omp.h exists. (libgomp may be in
17097 # noconfigdirs but not explicitly disabled.)
17098 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17099 enable_parallel=yes;
17100 else
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17102 $as_echo "$as_me: target-libgomp not built" >&6;}
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17106 $as_echo_n "checking for parallel mode support... " >&6; }
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17108 $as_echo "$enable_parallel" >&6; }
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17112 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17113 # Check whether --enable-cxx-flags was given.
17114 if test "${enable_cxx_flags+set}" = set; then :
17115 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17116 xno | x) enable_cxx_flags= ;;
17117 x-*) ;;
17118 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17119 esac
17120 else
17121 enable_cxx_flags=
17126 # Run through flags (either default or command-line) and set anything
17127 # extra (e.g., #defines) that must accompany particular g++ options.
17128 if test -n "$enable_cxx_flags"; then
17129 for f in $enable_cxx_flags; do
17130 case "$f" in
17131 -fhonor-std) ;;
17132 -*) ;;
17133 *) # and we're trying to pass /what/ exactly?
17134 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17135 esac
17136 done
17139 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17141 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17145 # Check whether --enable-fully-dynamic-string was given.
17146 if test "${enable_fully_dynamic_string+set}" = set; then :
17147 enableval=$enable_fully_dynamic_string;
17148 case "$enableval" in
17149 yes|no) ;;
17150 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17151 esac
17153 else
17154 enable_fully_dynamic_string=no
17158 if test $enable_fully_dynamic_string = yes; then
17160 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17166 # Check whether --enable-extern-template was given.
17167 if test "${enable_extern_template+set}" = set; then :
17168 enableval=$enable_extern_template;
17169 case "$enableval" in
17170 yes|no) ;;
17171 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17172 esac
17174 else
17175 enable_extern_template=yes
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17181 $as_echo_n "checking for extern template support... " >&6; }
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17183 $as_echo "$enable_extern_template" >&6; }
17188 # Checks for operating systems support that doesn't require linking.
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17192 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17193 if test "${glibcxx_cv_system_error1+set}" = set; then :
17194 $as_echo_n "(cached) " >&6
17195 else
17197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17198 /* end confdefs.h. */
17199 #include <errno.h>
17201 main ()
17203 int i = EOWNERDEAD;
17205 return 0;
17207 _ACEOF
17208 if ac_fn_c_try_compile "$LINENO"; then :
17209 glibcxx_cv_system_error1=yes
17210 else
17211 glibcxx_cv_system_error1=no
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17218 $as_echo "$glibcxx_cv_system_error1" >&6; }
17219 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17221 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17225 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17226 if test "${glibcxx_cv_system_error2+set}" = set; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17232 #include <errno.h>
17234 main ()
17236 int i = ENOTRECOVERABLE;
17238 return 0;
17240 _ACEOF
17241 if ac_fn_c_try_compile "$LINENO"; then :
17242 glibcxx_cv_system_error2=yes
17243 else
17244 glibcxx_cv_system_error2=no
17246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17251 $as_echo "$glibcxx_cv_system_error2" >&6; }
17252 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17254 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17258 $as_echo_n "checking for ENOLINK... " >&6; }
17259 if test "${glibcxx_cv_system_error3+set}" = set; then :
17260 $as_echo_n "(cached) " >&6
17261 else
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17265 #include <errno.h>
17267 main ()
17269 int i = ENOLINK;
17271 return 0;
17273 _ACEOF
17274 if ac_fn_c_try_compile "$LINENO"; then :
17275 glibcxx_cv_system_error3=yes
17276 else
17277 glibcxx_cv_system_error3=no
17279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17284 $as_echo "$glibcxx_cv_system_error3" >&6; }
17285 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17287 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17291 $as_echo_n "checking for EPROTO... " >&6; }
17292 if test "${glibcxx_cv_system_error4+set}" = set; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 #include <errno.h>
17300 main ()
17302 int i = EPROTO;
17304 return 0;
17306 _ACEOF
17307 if ac_fn_c_try_compile "$LINENO"; then :
17308 glibcxx_cv_system_error4=yes
17309 else
17310 glibcxx_cv_system_error4=no
17312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17317 $as_echo "$glibcxx_cv_system_error4" >&6; }
17318 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17320 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17324 $as_echo_n "checking for ENODATA... " >&6; }
17325 if test "${glibcxx_cv_system_error5+set}" = set; then :
17326 $as_echo_n "(cached) " >&6
17327 else
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #include <errno.h>
17333 main ()
17335 int i = ENODATA;
17337 return 0;
17339 _ACEOF
17340 if ac_fn_c_try_compile "$LINENO"; then :
17341 glibcxx_cv_system_error5=yes
17342 else
17343 glibcxx_cv_system_error5=no
17345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17350 $as_echo "$glibcxx_cv_system_error5" >&6; }
17351 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17353 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17357 $as_echo_n "checking for ENOSR... " >&6; }
17358 if test "${glibcxx_cv_system_error6+set}" = set; then :
17359 $as_echo_n "(cached) " >&6
17360 else
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #include <errno.h>
17366 main ()
17368 int i = ENOSR;
17370 return 0;
17372 _ACEOF
17373 if ac_fn_c_try_compile "$LINENO"; then :
17374 glibcxx_cv_system_error6=yes
17375 else
17376 glibcxx_cv_system_error6=no
17378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17383 $as_echo "$glibcxx_cv_system_error6" >&6; }
17384 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17386 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17390 $as_echo_n "checking for ENOSTR... " >&6; }
17391 if test "${glibcxx_cv_system_error7+set}" = set; then :
17392 $as_echo_n "(cached) " >&6
17393 else
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17397 #include <errno.h>
17399 main ()
17401 int i = ENOSTR;
17403 return 0;
17405 _ACEOF
17406 if ac_fn_c_try_compile "$LINENO"; then :
17407 glibcxx_cv_system_error7=yes
17408 else
17409 glibcxx_cv_system_error7=no
17411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17416 $as_echo "$glibcxx_cv_system_error7" >&6; }
17417 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17419 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17423 $as_echo_n "checking for ETIME... " >&6; }
17424 if test "${glibcxx_cv_system_error8+set}" = set; then :
17425 $as_echo_n "(cached) " >&6
17426 else
17428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17429 /* end confdefs.h. */
17430 #include <errno.h>
17432 main ()
17434 int i = ETIME;
17436 return 0;
17438 _ACEOF
17439 if ac_fn_c_try_compile "$LINENO"; then :
17440 glibcxx_cv_system_error8=yes
17441 else
17442 glibcxx_cv_system_error8=no
17444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17449 $as_echo "$glibcxx_cv_system_error8" >&6; }
17450 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17452 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17456 $as_echo_n "checking for EBADMSG... " >&6; }
17457 if test "${glibcxx_cv_system_error9+set}" = set; then :
17458 $as_echo_n "(cached) " >&6
17459 else
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17463 #include <errno.h>
17465 main ()
17467 int i = EBADMSG;
17469 return 0;
17471 _ACEOF
17472 if ac_fn_c_try_compile "$LINENO"; then :
17473 glibcxx_cv_system_error9=yes
17474 else
17475 glibcxx_cv_system_error9=no
17477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17482 $as_echo "$glibcxx_cv_system_error9" >&6; }
17483 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17485 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17489 $as_echo_n "checking for ECANCELED... " >&6; }
17490 if test "${glibcxx_cv_system_error10+set}" = set; then :
17491 $as_echo_n "(cached) " >&6
17492 else
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 #include <errno.h>
17498 main ()
17500 int i = ECANCELED;
17502 return 0;
17504 _ACEOF
17505 if ac_fn_c_try_compile "$LINENO"; then :
17506 glibcxx_cv_system_error10=yes
17507 else
17508 glibcxx_cv_system_error10=no
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17515 $as_echo "$glibcxx_cv_system_error10" >&6; }
17516 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17518 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17522 $as_echo_n "checking for EOVERFLOW... " >&6; }
17523 if test "${glibcxx_cv_system_error11+set}" = set; then :
17524 $as_echo_n "(cached) " >&6
17525 else
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17529 #include <errno.h>
17531 main ()
17533 int i = EOVERFLOW;
17535 return 0;
17537 _ACEOF
17538 if ac_fn_c_try_compile "$LINENO"; then :
17539 glibcxx_cv_system_error11=yes
17540 else
17541 glibcxx_cv_system_error11=no
17543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17548 $as_echo "$glibcxx_cv_system_error11" >&6; }
17549 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17551 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17555 $as_echo_n "checking for ENOTSUP... " >&6; }
17556 if test "${glibcxx_cv_system_error12+set}" = set; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17562 #include <errno.h>
17564 main ()
17566 int i = ENOTSUP;
17568 return 0;
17570 _ACEOF
17571 if ac_fn_c_try_compile "$LINENO"; then :
17572 glibcxx_cv_system_error12=yes
17573 else
17574 glibcxx_cv_system_error12=no
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17581 $as_echo "$glibcxx_cv_system_error12" >&6; }
17582 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17584 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17588 $as_echo_n "checking for EIDRM... " >&6; }
17589 if test "${glibcxx_cv_system_error13+set}" = set; then :
17590 $as_echo_n "(cached) " >&6
17591 else
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 #include <errno.h>
17597 main ()
17599 int i = EIDRM;
17601 return 0;
17603 _ACEOF
17604 if ac_fn_c_try_compile "$LINENO"; then :
17605 glibcxx_cv_system_error13=yes
17606 else
17607 glibcxx_cv_system_error13=no
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17614 $as_echo "$glibcxx_cv_system_error13" >&6; }
17615 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17617 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17621 $as_echo_n "checking for ETXTBSY... " >&6; }
17622 if test "${glibcxx_cv_system_error14+set}" = set; then :
17623 $as_echo_n "(cached) " >&6
17624 else
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17628 #include <errno.h>
17630 main ()
17632 int i = ETXTBSY;
17634 return 0;
17636 _ACEOF
17637 if ac_fn_c_try_compile "$LINENO"; then :
17638 glibcxx_cv_system_error14=yes
17639 else
17640 glibcxx_cv_system_error14=no
17642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17647 $as_echo "$glibcxx_cv_system_error14" >&6; }
17648 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17650 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17656 # For the streamoff typedef.
17660 ac_ext=cpp
17661 ac_cpp='$CXXCPP $CPPFLAGS'
17662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17668 $as_echo_n "checking for int64_t... " >&6; }
17669 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17670 $as_echo_n "(cached) " >&6
17671 else
17673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17675 #include <stdint.h>
17677 main ()
17679 int64_t var;
17681 return 0;
17683 _ACEOF
17684 if ac_fn_cxx_try_compile "$LINENO"; then :
17685 glibcxx_cv_INT64_T=yes
17686 else
17687 glibcxx_cv_INT64_T=no
17689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17694 if test $glibcxx_cv_INT64_T = yes; then
17696 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17699 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17702 $as_echo_n "checking for int64_t as long... " >&6; }
17703 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17704 $as_echo_n "(cached) " >&6
17705 else
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17709 #include <stdint.h>
17710 template<typename, typename> struct same { enum { value = -1 }; };
17711 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17712 int array[same<int64_t, long>::value];
17714 main ()
17718 return 0;
17720 _ACEOF
17721 if ac_fn_cxx_try_compile "$LINENO"; then :
17722 glibcxx_cv_int64_t_long=yes
17723 else
17724 glibcxx_cv_int64_t_long=no
17726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17731 if test $glibcxx_cv_int64_t_long = yes; then
17733 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17736 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17740 $as_echo_n "checking for int64_t as long long... " >&6; }
17741 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17742 $as_echo_n "(cached) " >&6
17743 else
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 #include <stdint.h>
17748 template<typename, typename> struct same { enum { value = -1 }; };
17749 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17750 int array[same<int64_t, long long>::value];
17752 main ()
17756 return 0;
17758 _ACEOF
17759 if ac_fn_cxx_try_compile "$LINENO"; then :
17760 glibcxx_cv_int64_t_long_long=yes
17761 else
17762 glibcxx_cv_int64_t_long_long=no
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17769 if test $glibcxx_cv_int64_t_long_long = yes; then
17771 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17774 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17778 ac_ext=c
17779 ac_cpp='$CPP $CPPFLAGS'
17780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17786 # For LFS support.
17789 ac_ext=cpp
17790 ac_cpp='$CXXCPP $CPPFLAGS'
17791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17795 ac_save_CXXFLAGS="$CXXFLAGS"
17796 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17798 $as_echo_n "checking for LFS support... " >&6; }
17799 if test "${glibcxx_cv_LFS+set}" = set; then :
17800 $as_echo_n "(cached) " >&6
17801 else
17803 if test x$gcc_no_link = xyes; then
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 #include <unistd.h>
17807 #include <stdio.h>
17808 #include <sys/stat.h>
17811 main ()
17813 FILE* fp;
17814 fopen64("t", "w");
17815 fseeko64(fp, 0, SEEK_CUR);
17816 ftello64(fp);
17817 lseek64(1, 0, SEEK_CUR);
17818 struct stat64 buf;
17819 fstat64(1, &buf);
17821 return 0;
17823 _ACEOF
17824 if ac_fn_cxx_try_compile "$LINENO"; then :
17825 glibcxx_cv_LFS=yes
17826 else
17827 glibcxx_cv_LFS=no
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830 else
17831 if test x$gcc_no_link = xyes; then
17832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17836 #include <unistd.h>
17837 #include <stdio.h>
17838 #include <sys/stat.h>
17841 main ()
17843 FILE* fp;
17844 fopen64("t", "w");
17845 fseeko64(fp, 0, SEEK_CUR);
17846 ftello64(fp);
17847 lseek64(1, 0, SEEK_CUR);
17848 struct stat64 buf;
17849 fstat64(1, &buf);
17851 return 0;
17853 _ACEOF
17854 if ac_fn_cxx_try_link "$LINENO"; then :
17855 glibcxx_cv_LFS=yes
17856 else
17857 glibcxx_cv_LFS=no
17859 rm -f core conftest.err conftest.$ac_objext \
17860 conftest$ac_exeext conftest.$ac_ext
17865 if test $glibcxx_cv_LFS = yes; then
17867 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17871 $as_echo "$glibcxx_cv_LFS" >&6; }
17872 CXXFLAGS="$ac_save_CXXFLAGS"
17873 ac_ext=c
17874 ac_cpp='$CPP $CPPFLAGS'
17875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17881 # For showmanyc_helper().
17882 for ac_header in sys/ioctl.h sys/filio.h
17883 do :
17884 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17885 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17886 eval as_val=\$$as_ac_Header
17887 if test "x$as_val" = x""yes; then :
17888 cat >>confdefs.h <<_ACEOF
17889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17890 _ACEOF
17894 done
17899 ac_ext=cpp
17900 ac_cpp='$CXXCPP $CPPFLAGS'
17901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17905 ac_save_CXXFLAGS="$CXXFLAGS"
17906 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17909 $as_echo_n "checking for poll... " >&6; }
17910 if test "${glibcxx_cv_POLL+set}" = set; then :
17911 $as_echo_n "(cached) " >&6
17912 else
17914 if test x$gcc_no_link = xyes; then
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 #include <poll.h>
17919 main ()
17921 struct pollfd pfd[1];
17922 pfd[0].events = POLLIN;
17923 poll(pfd, 1, 0);
17925 return 0;
17927 _ACEOF
17928 if ac_fn_cxx_try_compile "$LINENO"; then :
17929 glibcxx_cv_POLL=yes
17930 else
17931 glibcxx_cv_POLL=no
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934 else
17935 if test x$gcc_no_link = xyes; then
17936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17940 #include <poll.h>
17942 main ()
17944 struct pollfd pfd[1];
17945 pfd[0].events = POLLIN;
17946 poll(pfd, 1, 0);
17948 return 0;
17950 _ACEOF
17951 if ac_fn_cxx_try_link "$LINENO"; then :
17952 glibcxx_cv_POLL=yes
17953 else
17954 glibcxx_cv_POLL=no
17956 rm -f core conftest.err conftest.$ac_objext \
17957 conftest$ac_exeext conftest.$ac_ext
17962 if test $glibcxx_cv_POLL = yes; then
17964 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17968 $as_echo "$glibcxx_cv_POLL" >&6; }
17970 CXXFLAGS="$ac_save_CXXFLAGS"
17971 ac_ext=c
17972 ac_cpp='$CPP $CPPFLAGS'
17973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17981 ac_ext=cpp
17982 ac_cpp='$CXXCPP $CPPFLAGS'
17983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17987 ac_save_CXXFLAGS="$CXXFLAGS"
17988 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17991 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17992 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17993 $as_echo_n "(cached) " >&6
17994 else
17996 if test x$gcc_no_link = xyes; then
17997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998 /* end confdefs.h. */
17999 #include <sys/stat.h>
18001 main ()
18003 struct stat buffer;
18004 fstat(0, &buffer);
18005 S_ISREG(buffer.st_mode);
18007 return 0;
18009 _ACEOF
18010 if ac_fn_cxx_try_compile "$LINENO"; then :
18011 glibcxx_cv_S_ISREG=yes
18012 else
18013 glibcxx_cv_S_ISREG=no
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18016 else
18017 if test x$gcc_no_link = xyes; then
18018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18022 #include <sys/stat.h>
18024 main ()
18026 struct stat buffer;
18027 fstat(0, &buffer);
18028 S_ISREG(buffer.st_mode);
18030 return 0;
18032 _ACEOF
18033 if ac_fn_cxx_try_link "$LINENO"; then :
18034 glibcxx_cv_S_ISREG=yes
18035 else
18036 glibcxx_cv_S_ISREG=no
18038 rm -f core conftest.err conftest.$ac_objext \
18039 conftest$ac_exeext conftest.$ac_ext
18044 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18045 $as_echo_n "(cached) " >&6
18046 else
18048 if test x$gcc_no_link = xyes; then
18049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18051 #include <sys/stat.h>
18053 main ()
18055 struct stat buffer;
18056 fstat(0, &buffer);
18057 S_IFREG & buffer.st_mode;
18059 return 0;
18061 _ACEOF
18062 if ac_fn_cxx_try_compile "$LINENO"; then :
18063 glibcxx_cv_S_IFREG=yes
18064 else
18065 glibcxx_cv_S_IFREG=no
18067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18068 else
18069 if test x$gcc_no_link = xyes; then
18070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18073 /* end confdefs.h. */
18074 #include <sys/stat.h>
18076 main ()
18078 struct stat buffer;
18079 fstat(0, &buffer);
18080 S_IFREG & buffer.st_mode;
18082 return 0;
18084 _ACEOF
18085 if ac_fn_cxx_try_link "$LINENO"; then :
18086 glibcxx_cv_S_IFREG=yes
18087 else
18088 glibcxx_cv_S_IFREG=no
18090 rm -f core conftest.err conftest.$ac_objext \
18091 conftest$ac_exeext conftest.$ac_ext
18096 res=no
18097 if test $glibcxx_cv_S_ISREG = yes; then
18099 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18101 res=S_ISREG
18102 elif test $glibcxx_cv_S_IFREG = yes; then
18104 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18106 res=S_IFREG
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18109 $as_echo "$res" >&6; }
18111 CXXFLAGS="$ac_save_CXXFLAGS"
18112 ac_ext=c
18113 ac_cpp='$CPP $CPPFLAGS'
18114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18120 # For xsputn_2().
18121 for ac_header in sys/uio.h
18122 do :
18123 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18124 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18125 cat >>confdefs.h <<_ACEOF
18126 #define HAVE_SYS_UIO_H 1
18127 _ACEOF
18131 done
18136 ac_ext=cpp
18137 ac_cpp='$CXXCPP $CPPFLAGS'
18138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18142 ac_save_CXXFLAGS="$CXXFLAGS"
18143 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18146 $as_echo_n "checking for writev... " >&6; }
18147 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18148 $as_echo_n "(cached) " >&6
18149 else
18151 if test x$gcc_no_link = xyes; then
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_compile "$LINENO"; then :
18165 glibcxx_cv_WRITEV=yes
18166 else
18167 glibcxx_cv_WRITEV=no
18169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18170 else
18171 if test x$gcc_no_link = xyes; then
18172 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18176 #include <sys/uio.h>
18178 main ()
18180 struct iovec iov[2];
18181 writev(0, iov, 0);
18183 return 0;
18185 _ACEOF
18186 if ac_fn_cxx_try_link "$LINENO"; then :
18187 glibcxx_cv_WRITEV=yes
18188 else
18189 glibcxx_cv_WRITEV=no
18191 rm -f core conftest.err conftest.$ac_objext \
18192 conftest$ac_exeext conftest.$ac_ext
18197 if test $glibcxx_cv_WRITEV = yes; then
18199 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18203 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18205 CXXFLAGS="$ac_save_CXXFLAGS"
18206 ac_ext=c
18207 ac_cpp='$CPP $CPPFLAGS'
18208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18214 # For C99 support to TR1.
18218 ac_ext=cpp
18219 ac_cpp='$CXXCPP $CPPFLAGS'
18220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18225 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18226 # undefined and fake C99 facilities may be spuriously enabled.
18227 ac_save_CXXFLAGS="$CXXFLAGS"
18228 CXXFLAGS="$CXXFLAGS -std=c++98"
18230 # Check for the existence of <complex.h> complex math functions used
18231 # by tr1/complex.
18232 for ac_header in complex.h
18233 do :
18234 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18235 if test "x$ac_cv_header_complex_h" = x""yes; then :
18236 cat >>confdefs.h <<_ACEOF
18237 #define HAVE_COMPLEX_H 1
18238 _ACEOF
18239 ac_has_complex_h=yes
18240 else
18241 ac_has_complex_h=no
18244 done
18246 ac_c99_complex_tr1=no;
18247 if test x"$ac_has_complex_h" = x"yes"; then
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18249 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18251 /* end confdefs.h. */
18252 #include <complex.h>
18254 main ()
18256 typedef __complex__ float float_type; float_type tmpf;
18257 cacosf(tmpf);
18258 casinf(tmpf);
18259 catanf(tmpf);
18260 cacoshf(tmpf);
18261 casinhf(tmpf);
18262 catanhf(tmpf);
18263 typedef __complex__ double double_type; double_type tmpd;
18264 cacos(tmpd);
18265 casin(tmpd);
18266 catan(tmpd);
18267 cacosh(tmpd);
18268 casinh(tmpd);
18269 catanh(tmpd);
18270 typedef __complex__ long double ld_type; ld_type tmpld;
18271 cacosl(tmpld);
18272 casinl(tmpld);
18273 catanl(tmpld);
18274 cacoshl(tmpld);
18275 casinhl(tmpld);
18276 catanhl(tmpld);
18279 return 0;
18281 _ACEOF
18282 if ac_fn_cxx_try_compile "$LINENO"; then :
18283 ac_c99_complex_tr1=yes
18284 else
18285 ac_c99_complex_tr1=no
18287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18290 $as_echo "$ac_c99_complex_tr1" >&6; }
18291 if test x"$ac_c99_complex_tr1" = x"yes"; then
18293 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18297 # Check for the existence of <ctype.h> functions.
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18299 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18300 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18301 $as_echo_n "(cached) " >&6
18302 else
18304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18305 /* end confdefs.h. */
18306 #include <ctype.h>
18308 main ()
18310 int ch;
18311 int ret;
18312 ret = isblank(ch);
18315 return 0;
18317 _ACEOF
18318 if ac_fn_cxx_try_compile "$LINENO"; then :
18319 glibcxx_cv_c99_ctype_tr1=yes
18320 else
18321 glibcxx_cv_c99_ctype_tr1=no
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18328 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18329 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18331 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18335 # Check for the existence of <fenv.h> functions.
18336 for ac_header in fenv.h
18337 do :
18338 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18339 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18340 cat >>confdefs.h <<_ACEOF
18341 #define HAVE_FENV_H 1
18342 _ACEOF
18343 ac_has_fenv_h=yes
18344 else
18345 ac_has_fenv_h=no
18348 done
18350 ac_c99_fenv_tr1=no;
18351 if test x"$ac_has_fenv_h" = x"yes"; then
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18353 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18355 /* end confdefs.h. */
18356 #include <fenv.h>
18358 main ()
18360 int except, mode;
18361 fexcept_t* pflag;
18362 fenv_t* penv;
18363 int ret;
18364 ret = feclearexcept(except);
18365 ret = fegetexceptflag(pflag, except);
18366 ret = feraiseexcept(except);
18367 ret = fesetexceptflag(pflag, except);
18368 ret = fetestexcept(except);
18369 ret = fegetround();
18370 ret = fesetround(mode);
18371 ret = fegetenv(penv);
18372 ret = feholdexcept(penv);
18373 ret = fesetenv(penv);
18374 ret = feupdateenv(penv);
18377 return 0;
18379 _ACEOF
18380 if ac_fn_cxx_try_compile "$LINENO"; then :
18381 ac_c99_fenv_tr1=yes
18382 else
18383 ac_c99_fenv_tr1=no
18385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18388 $as_echo "$ac_c99_fenv_tr1" >&6; }
18389 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18391 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18395 # Check for the existence of <stdint.h> types.
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18397 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18398 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18399 $as_echo_n "(cached) " >&6
18400 else
18402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h. */
18404 #define __STDC_LIMIT_MACROS
18405 #define __STDC_CONSTANT_MACROS
18406 #include <stdint.h>
18408 main ()
18410 typedef int8_t my_int8_t;
18411 my_int8_t i8 = INT8_MIN;
18412 i8 = INT8_MAX;
18413 typedef int16_t my_int16_t;
18414 my_int16_t i16 = INT16_MIN;
18415 i16 = INT16_MAX;
18416 typedef int32_t my_int32_t;
18417 my_int32_t i32 = INT32_MIN;
18418 i32 = INT32_MAX;
18419 typedef int64_t my_int64_t;
18420 my_int64_t i64 = INT64_MIN;
18421 i64 = INT64_MAX;
18422 typedef int_fast8_t my_int_fast8_t;
18423 my_int_fast8_t if8 = INT_FAST8_MIN;
18424 if8 = INT_FAST8_MAX;
18425 typedef int_fast16_t my_int_fast16_t;
18426 my_int_fast16_t if16 = INT_FAST16_MIN;
18427 if16 = INT_FAST16_MAX;
18428 typedef int_fast32_t my_int_fast32_t;
18429 my_int_fast32_t if32 = INT_FAST32_MIN;
18430 if32 = INT_FAST32_MAX;
18431 typedef int_fast64_t my_int_fast64_t;
18432 my_int_fast64_t if64 = INT_FAST64_MIN;
18433 if64 = INT_FAST64_MAX;
18434 typedef int_least8_t my_int_least8_t;
18435 my_int_least8_t il8 = INT_LEAST8_MIN;
18436 il8 = INT_LEAST8_MAX;
18437 typedef int_least16_t my_int_least16_t;
18438 my_int_least16_t il16 = INT_LEAST16_MIN;
18439 il16 = INT_LEAST16_MAX;
18440 typedef int_least32_t my_int_least32_t;
18441 my_int_least32_t il32 = INT_LEAST32_MIN;
18442 il32 = INT_LEAST32_MAX;
18443 typedef int_least64_t my_int_least64_t;
18444 my_int_least64_t il64 = INT_LEAST64_MIN;
18445 il64 = INT_LEAST64_MAX;
18446 typedef intmax_t my_intmax_t;
18447 my_intmax_t im = INTMAX_MAX;
18448 im = INTMAX_MIN;
18449 typedef intptr_t my_intptr_t;
18450 my_intptr_t ip = INTPTR_MAX;
18451 ip = INTPTR_MIN;
18452 typedef uint8_t my_uint8_t;
18453 my_uint8_t ui8 = UINT8_MAX;
18454 ui8 = UINT8_MAX;
18455 typedef uint16_t my_uint16_t;
18456 my_uint16_t ui16 = UINT16_MAX;
18457 ui16 = UINT16_MAX;
18458 typedef uint32_t my_uint32_t;
18459 my_uint32_t ui32 = UINT32_MAX;
18460 ui32 = UINT32_MAX;
18461 typedef uint64_t my_uint64_t;
18462 my_uint64_t ui64 = UINT64_MAX;
18463 ui64 = UINT64_MAX;
18464 typedef uint_fast8_t my_uint_fast8_t;
18465 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18466 uif8 = UINT_FAST8_MAX;
18467 typedef uint_fast16_t my_uint_fast16_t;
18468 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18469 uif16 = UINT_FAST16_MAX;
18470 typedef uint_fast32_t my_uint_fast32_t;
18471 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18472 uif32 = UINT_FAST32_MAX;
18473 typedef uint_fast64_t my_uint_fast64_t;
18474 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18475 uif64 = UINT_FAST64_MAX;
18476 typedef uint_least8_t my_uint_least8_t;
18477 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18478 uil8 = UINT_LEAST8_MAX;
18479 typedef uint_least16_t my_uint_least16_t;
18480 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18481 uil16 = UINT_LEAST16_MAX;
18482 typedef uint_least32_t my_uint_least32_t;
18483 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18484 uil32 = UINT_LEAST32_MAX;
18485 typedef uint_least64_t my_uint_least64_t;
18486 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18487 uil64 = UINT_LEAST64_MAX;
18488 typedef uintmax_t my_uintmax_t;
18489 my_uintmax_t uim = UINTMAX_MAX;
18490 uim = UINTMAX_MAX;
18491 typedef uintptr_t my_uintptr_t;
18492 my_uintptr_t uip = UINTPTR_MAX;
18493 uip = UINTPTR_MAX;
18496 return 0;
18498 _ACEOF
18499 if ac_fn_cxx_try_compile "$LINENO"; then :
18500 glibcxx_cv_c99_stdint_tr1=yes
18501 else
18502 glibcxx_cv_c99_stdint_tr1=no
18504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18509 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18510 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18512 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18516 # Check for the existence of <math.h> functions.
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18518 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18519 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18520 $as_echo_n "(cached) " >&6
18521 else
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18525 #include <math.h>
18527 main ()
18529 typedef double_t my_double_t;
18530 typedef float_t my_float_t;
18531 acosh(0.0);
18532 acoshf(0.0f);
18533 acoshl(0.0l);
18534 asinh(0.0);
18535 asinhf(0.0f);
18536 asinhl(0.0l);
18537 atanh(0.0);
18538 atanhf(0.0f);
18539 atanhl(0.0l);
18540 cbrt(0.0);
18541 cbrtf(0.0f);
18542 cbrtl(0.0l);
18543 copysign(0.0, 0.0);
18544 copysignf(0.0f, 0.0f);
18545 copysignl(0.0l, 0.0l);
18546 erf(0.0);
18547 erff(0.0f);
18548 erfl(0.0l);
18549 erfc(0.0);
18550 erfcf(0.0f);
18551 erfcl(0.0l);
18552 exp2(0.0);
18553 exp2f(0.0f);
18554 exp2l(0.0l);
18555 expm1(0.0);
18556 expm1f(0.0f);
18557 expm1l(0.0l);
18558 fdim(0.0, 0.0);
18559 fdimf(0.0f, 0.0f);
18560 fdiml(0.0l, 0.0l);
18561 fma(0.0, 0.0, 0.0);
18562 fmaf(0.0f, 0.0f, 0.0f);
18563 fmal(0.0l, 0.0l, 0.0l);
18564 fmax(0.0, 0.0);
18565 fmaxf(0.0f, 0.0f);
18566 fmaxl(0.0l, 0.0l);
18567 fmin(0.0, 0.0);
18568 fminf(0.0f, 0.0f);
18569 fminl(0.0l, 0.0l);
18570 hypot(0.0, 0.0);
18571 hypotf(0.0f, 0.0f);
18572 hypotl(0.0l, 0.0l);
18573 ilogb(0.0);
18574 ilogbf(0.0f);
18575 ilogbl(0.0l);
18576 lgamma(0.0);
18577 lgammaf(0.0f);
18578 lgammal(0.0l);
18579 llrint(0.0);
18580 llrintf(0.0f);
18581 llrintl(0.0l);
18582 llround(0.0);
18583 llroundf(0.0f);
18584 llroundl(0.0l);
18585 log1p(0.0);
18586 log1pf(0.0f);
18587 log1pl(0.0l);
18588 log2(0.0);
18589 log2f(0.0f);
18590 log2l(0.0l);
18591 logb(0.0);
18592 logbf(0.0f);
18593 logbl(0.0l);
18594 lrint(0.0);
18595 lrintf(0.0f);
18596 lrintl(0.0l);
18597 lround(0.0);
18598 lroundf(0.0f);
18599 lroundl(0.0l);
18600 nan(0);
18601 nanf(0);
18602 nanl(0);
18603 nearbyint(0.0);
18604 nearbyintf(0.0f);
18605 nearbyintl(0.0l);
18606 nextafter(0.0, 0.0);
18607 nextafterf(0.0f, 0.0f);
18608 nextafterl(0.0l, 0.0l);
18609 nexttoward(0.0, 0.0);
18610 nexttowardf(0.0f, 0.0f);
18611 nexttowardl(0.0l, 0.0l);
18612 remainder(0.0, 0.0);
18613 remainderf(0.0f, 0.0f);
18614 remainderl(0.0l, 0.0l);
18615 remquo(0.0, 0.0, 0);
18616 remquof(0.0f, 0.0f, 0);
18617 remquol(0.0l, 0.0l, 0);
18618 rint(0.0);
18619 rintf(0.0f);
18620 rintl(0.0l);
18621 round(0.0);
18622 roundf(0.0f);
18623 roundl(0.0l);
18624 scalbln(0.0, 0l);
18625 scalblnf(0.0f, 0l);
18626 scalblnl(0.0l, 0l);
18627 scalbn(0.0, 0);
18628 scalbnf(0.0f, 0);
18629 scalbnl(0.0l, 0);
18630 tgamma(0.0);
18631 tgammaf(0.0f);
18632 tgammal(0.0l);
18633 trunc(0.0);
18634 truncf(0.0f);
18635 truncl(0.0l);
18638 return 0;
18640 _ACEOF
18641 if ac_fn_cxx_try_compile "$LINENO"; then :
18642 glibcxx_cv_c99_math_tr1=yes
18643 else
18644 glibcxx_cv_c99_math_tr1=no
18646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18651 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18652 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18654 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18658 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18659 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18660 ac_c99_inttypes_tr1=no;
18661 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18663 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 #include <inttypes.h>
18668 main ()
18670 intmax_t i, numer, denom, base;
18671 const char* s;
18672 char** endptr;
18673 intmax_t ret = imaxabs(i);
18674 imaxdiv_t dret = imaxdiv(numer, denom);
18675 ret = strtoimax(s, endptr, base);
18676 uintmax_t uret = strtoumax(s, endptr, base);
18679 return 0;
18681 _ACEOF
18682 if ac_fn_cxx_try_compile "$LINENO"; then :
18683 ac_c99_inttypes_tr1=yes
18684 else
18685 ac_c99_inttypes_tr1=no
18687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18690 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18691 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18693 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18697 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18698 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18699 ac_c99_inttypes_wchar_t_tr1=no;
18700 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18702 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 #include <inttypes.h>
18707 main ()
18709 intmax_t base;
18710 const wchar_t* s;
18711 wchar_t** endptr;
18712 intmax_t ret = wcstoimax(s, endptr, base);
18713 uintmax_t uret = wcstoumax(s, endptr, base);
18716 return 0;
18718 _ACEOF
18719 if ac_fn_cxx_try_compile "$LINENO"; then :
18720 ac_c99_inttypes_wchar_t_tr1=yes
18721 else
18722 ac_c99_inttypes_wchar_t_tr1=no
18724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18727 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18728 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18730 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18734 # Check for the existence of the <stdbool.h> header.
18735 for ac_header in stdbool.h
18736 do :
18737 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18738 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18739 cat >>confdefs.h <<_ACEOF
18740 #define HAVE_STDBOOL_H 1
18741 _ACEOF
18745 done
18748 CXXFLAGS="$ac_save_CXXFLAGS"
18749 ac_ext=c
18750 ac_cpp='$CPP $CPPFLAGS'
18751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18757 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18761 $as_echo_n "checking for the value of EOF... " >&6; }
18762 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18763 $as_echo_n "(cached) " >&6
18764 else
18766 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18768 else
18769 as_fn_error "computing EOF failed" "$LINENO" 5
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18775 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18777 cat >>confdefs.h <<_ACEOF
18778 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18779 _ACEOF
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18783 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18784 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18785 $as_echo_n "(cached) " >&6
18786 else
18788 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18790 else
18791 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18797 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18799 cat >>confdefs.h <<_ACEOF
18800 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18801 _ACEOF
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18805 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18806 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18807 $as_echo_n "(cached) " >&6
18808 else
18810 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18812 else
18813 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18819 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18821 cat >>confdefs.h <<_ACEOF
18822 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18823 _ACEOF
18827 # For gettimeofday support.
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18831 $as_echo_n "checking for gettimeofday... " >&6; }
18834 ac_ext=cpp
18835 ac_cpp='$CXXCPP $CPPFLAGS'
18836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18840 ac_save_CXXFLAGS="$CXXFLAGS"
18841 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18843 ac_has_gettimeofday=no;
18844 for ac_header in sys/time.h
18845 do :
18846 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18847 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18848 cat >>confdefs.h <<_ACEOF
18849 #define HAVE_SYS_TIME_H 1
18850 _ACEOF
18851 ac_has_sys_time_h=yes
18852 else
18853 ac_has_sys_time_h=no
18856 done
18858 if test x"$ac_has_sys_time_h" = x"yes"; then
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18860 $as_echo_n "checking for gettimeofday... " >&6; }
18861 if test x$gcc_no_link = xyes; then
18862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h. */
18864 #include <sys/time.h>
18866 main ()
18868 timeval tv; gettimeofday(&tv, 0);
18870 return 0;
18872 _ACEOF
18873 if ac_fn_cxx_try_compile "$LINENO"; then :
18874 ac_has_gettimeofday=yes
18875 else
18876 ac_has_gettimeofday=no
18878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18879 else
18880 if test x$gcc_no_link = xyes; then
18881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 #include <sys/time.h>
18887 main ()
18889 timeval tv; gettimeofday(&tv, 0);
18891 return 0;
18893 _ACEOF
18894 if ac_fn_cxx_try_link "$LINENO"; then :
18895 ac_has_gettimeofday=yes
18896 else
18897 ac_has_gettimeofday=no
18899 rm -f core conftest.err conftest.$ac_objext \
18900 conftest$ac_exeext conftest.$ac_ext
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18904 $as_echo "$ac_has_gettimeofday" >&6; }
18907 if test x"$ac_has_gettimeofday" = x"yes"; then
18909 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18913 CXXFLAGS="$ac_save_CXXFLAGS"
18914 ac_ext=c
18915 ac_cpp='$CPP $CPPFLAGS'
18916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18922 # For clock_gettime, nanosleep and sched_yield support.
18923 # NB: The default is [no], because otherwise it requires linking.
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18927 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18928 # Check whether --enable-libstdcxx-time was given.
18929 if test "${enable_libstdcxx_time+set}" = set; then :
18930 enableval=$enable_libstdcxx_time;
18931 case "$enableval" in
18932 yes|no|rt) ;;
18933 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18934 esac
18936 else
18937 enable_libstdcxx_time=no
18943 ac_ext=cpp
18944 ac_cpp='$CXXCPP $CPPFLAGS'
18945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18949 ac_save_CXXFLAGS="$CXXFLAGS"
18950 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18951 ac_save_LIBS="$LIBS"
18953 ac_has_clock_monotonic=no
18954 ac_has_clock_realtime=no
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18956 $as_echo "$enable_libstdcxx_time" >&6; }
18958 if test x"$enable_libstdcxx_time" != x"no"; then
18960 if test x"$enable_libstdcxx_time" = x"rt"; then
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18962 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18963 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18964 $as_echo_n "(cached) " >&6
18965 else
18966 ac_func_search_save_LIBS=$LIBS
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18970 /* Override any GCC internal prototype to avoid an error.
18971 Use char because int might match the return type of a GCC
18972 builtin and then its argument prototype would still apply. */
18973 #ifdef __cplusplus
18974 extern "C"
18975 #endif
18976 char clock_gettime ();
18978 main ()
18980 return clock_gettime ();
18982 return 0;
18984 _ACEOF
18985 for ac_lib in '' rt posix4; do
18986 if test -z "$ac_lib"; then
18987 ac_res="none required"
18988 else
18989 ac_res=-l$ac_lib
18990 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18992 if test x$gcc_no_link = xyes; then
18993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18995 if ac_fn_cxx_try_link "$LINENO"; then :
18996 ac_cv_search_clock_gettime=$ac_res
18998 rm -f core conftest.err conftest.$ac_objext \
18999 conftest$ac_exeext
19000 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19001 break
19003 done
19004 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19006 else
19007 ac_cv_search_clock_gettime=no
19009 rm conftest.$ac_ext
19010 LIBS=$ac_func_search_save_LIBS
19012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19013 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19014 ac_res=$ac_cv_search_clock_gettime
19015 if test "$ac_res" != no; then :
19016 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19021 $as_echo_n "checking for library containing nanosleep... " >&6; }
19022 if test "${ac_cv_search_nanosleep+set}" = set; then :
19023 $as_echo_n "(cached) " >&6
19024 else
19025 ac_func_search_save_LIBS=$LIBS
19026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19027 /* end confdefs.h. */
19029 /* Override any GCC internal prototype to avoid an error.
19030 Use char because int might match the return type of a GCC
19031 builtin and then its argument prototype would still apply. */
19032 #ifdef __cplusplus
19033 extern "C"
19034 #endif
19035 char nanosleep ();
19037 main ()
19039 return nanosleep ();
19041 return 0;
19043 _ACEOF
19044 for ac_lib in '' rt posix4; do
19045 if test -z "$ac_lib"; then
19046 ac_res="none required"
19047 else
19048 ac_res=-l$ac_lib
19049 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19051 if test x$gcc_no_link = xyes; then
19052 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19054 if ac_fn_cxx_try_link "$LINENO"; then :
19055 ac_cv_search_nanosleep=$ac_res
19057 rm -f core conftest.err conftest.$ac_objext \
19058 conftest$ac_exeext
19059 if test "${ac_cv_search_nanosleep+set}" = set; then :
19060 break
19062 done
19063 if test "${ac_cv_search_nanosleep+set}" = set; then :
19065 else
19066 ac_cv_search_nanosleep=no
19068 rm conftest.$ac_ext
19069 LIBS=$ac_func_search_save_LIBS
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19072 $as_echo "$ac_cv_search_nanosleep" >&6; }
19073 ac_res=$ac_cv_search_nanosleep
19074 if test "$ac_res" != no; then :
19075 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19079 else
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19081 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19082 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19083 $as_echo_n "(cached) " >&6
19084 else
19085 ac_func_search_save_LIBS=$LIBS
19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19087 /* end confdefs.h. */
19089 /* Override any GCC internal prototype to avoid an error.
19090 Use char because int might match the return type of a GCC
19091 builtin and then its argument prototype would still apply. */
19092 #ifdef __cplusplus
19093 extern "C"
19094 #endif
19095 char clock_gettime ();
19097 main ()
19099 return clock_gettime ();
19101 return 0;
19103 _ACEOF
19104 for ac_lib in '' posix4; do
19105 if test -z "$ac_lib"; then
19106 ac_res="none required"
19107 else
19108 ac_res=-l$ac_lib
19109 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19111 if test x$gcc_no_link = xyes; then
19112 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19114 if ac_fn_cxx_try_link "$LINENO"; then :
19115 ac_cv_search_clock_gettime=$ac_res
19117 rm -f core conftest.err conftest.$ac_objext \
19118 conftest$ac_exeext
19119 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19120 break
19122 done
19123 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19125 else
19126 ac_cv_search_clock_gettime=no
19128 rm conftest.$ac_ext
19129 LIBS=$ac_func_search_save_LIBS
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19132 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19133 ac_res=$ac_cv_search_clock_gettime
19134 if test "$ac_res" != no; then :
19135 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19140 $as_echo_n "checking for library containing nanosleep... " >&6; }
19141 if test "${ac_cv_search_nanosleep+set}" = set; then :
19142 $as_echo_n "(cached) " >&6
19143 else
19144 ac_func_search_save_LIBS=$LIBS
19145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19146 /* end confdefs.h. */
19148 /* Override any GCC internal prototype to avoid an error.
19149 Use char because int might match the return type of a GCC
19150 builtin and then its argument prototype would still apply. */
19151 #ifdef __cplusplus
19152 extern "C"
19153 #endif
19154 char nanosleep ();
19156 main ()
19158 return nanosleep ();
19160 return 0;
19162 _ACEOF
19163 for ac_lib in '' posix4; do
19164 if test -z "$ac_lib"; then
19165 ac_res="none required"
19166 else
19167 ac_res=-l$ac_lib
19168 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19170 if test x$gcc_no_link = xyes; then
19171 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19173 if ac_fn_cxx_try_link "$LINENO"; then :
19174 ac_cv_search_nanosleep=$ac_res
19176 rm -f core conftest.err conftest.$ac_objext \
19177 conftest$ac_exeext
19178 if test "${ac_cv_search_nanosleep+set}" = set; then :
19179 break
19181 done
19182 if test "${ac_cv_search_nanosleep+set}" = set; then :
19184 else
19185 ac_cv_search_nanosleep=no
19187 rm conftest.$ac_ext
19188 LIBS=$ac_func_search_save_LIBS
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19191 $as_echo "$ac_cv_search_nanosleep" >&6; }
19192 ac_res=$ac_cv_search_nanosleep
19193 if test "$ac_res" != no; then :
19194 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19200 case "$ac_cv_search_clock_gettime" in
19201 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19203 esac
19204 case "$ac_cv_search_nanosleep" in
19205 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19207 esac
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19210 $as_echo_n "checking for library containing sched_yield... " >&6; }
19211 if test "${ac_cv_search_sched_yield+set}" = set; then :
19212 $as_echo_n "(cached) " >&6
19213 else
19214 ac_func_search_save_LIBS=$LIBS
19215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19218 /* Override any GCC internal prototype to avoid an error.
19219 Use char because int might match the return type of a GCC
19220 builtin and then its argument prototype would still apply. */
19221 #ifdef __cplusplus
19222 extern "C"
19223 #endif
19224 char sched_yield ();
19226 main ()
19228 return sched_yield ();
19230 return 0;
19232 _ACEOF
19233 for ac_lib in '' rt posix4; do
19234 if test -z "$ac_lib"; then
19235 ac_res="none required"
19236 else
19237 ac_res=-l$ac_lib
19238 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19240 if test x$gcc_no_link = xyes; then
19241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19243 if ac_fn_cxx_try_link "$LINENO"; then :
19244 ac_cv_search_sched_yield=$ac_res
19246 rm -f core conftest.err conftest.$ac_objext \
19247 conftest$ac_exeext
19248 if test "${ac_cv_search_sched_yield+set}" = set; then :
19249 break
19251 done
19252 if test "${ac_cv_search_sched_yield+set}" = set; then :
19254 else
19255 ac_cv_search_sched_yield=no
19257 rm conftest.$ac_ext
19258 LIBS=$ac_func_search_save_LIBS
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19261 $as_echo "$ac_cv_search_sched_yield" >&6; }
19262 ac_res=$ac_cv_search_sched_yield
19263 if test "$ac_res" != no; then :
19264 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19269 case "$ac_cv_search_sched_yield" in
19270 -lposix4*)
19271 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19273 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19276 -lrt*)
19277 if test x"$enable_libstdcxx_time" = x"rt"; then
19278 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19280 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19286 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19289 esac
19291 for ac_header in unistd.h
19292 do :
19293 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19294 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19295 cat >>confdefs.h <<_ACEOF
19296 #define HAVE_UNISTD_H 1
19297 _ACEOF
19298 ac_has_unistd_h=yes
19299 else
19300 ac_has_unistd_h=no
19303 done
19306 if test x"$ac_has_unistd_h" = x"yes"; then
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19308 $as_echo_n "checking for monotonic clock... " >&6; }
19309 if test x$gcc_no_link = xyes; then
19310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h. */
19314 #include <unistd.h>
19315 #include <time.h>
19318 main ()
19320 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19321 timespec tp;
19322 #endif
19323 clock_gettime(CLOCK_MONOTONIC, &tp);
19326 return 0;
19328 _ACEOF
19329 if ac_fn_cxx_try_link "$LINENO"; then :
19330 ac_has_clock_monotonic=yes
19331 else
19332 ac_has_clock_monotonic=no
19334 rm -f core conftest.err conftest.$ac_objext \
19335 conftest$ac_exeext conftest.$ac_ext
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19338 $as_echo "$ac_has_clock_monotonic" >&6; }
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19341 $as_echo_n "checking for realtime clock... " >&6; }
19342 if test x$gcc_no_link = xyes; then
19343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19346 /* end confdefs.h. */
19347 #include <unistd.h>
19348 #include <time.h>
19351 main ()
19353 #if _POSIX_TIMERS > 0
19354 timespec tp;
19355 #endif
19356 clock_gettime(CLOCK_REALTIME, &tp);
19359 return 0;
19361 _ACEOF
19362 if ac_fn_cxx_try_link "$LINENO"; then :
19363 ac_has_clock_realtime=yes
19364 else
19365 ac_has_clock_realtime=no
19367 rm -f core conftest.err conftest.$ac_objext \
19368 conftest$ac_exeext conftest.$ac_ext
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19371 $as_echo "$ac_has_clock_realtime" >&6; }
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19374 $as_echo_n "checking for nanosleep... " >&6; }
19375 if test x$gcc_no_link = xyes; then
19376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19379 /* end confdefs.h. */
19380 #include <unistd.h>
19381 #include <time.h>
19384 main ()
19386 #if _POSIX_TIMERS > 0
19387 timespec tp;
19388 #endif
19389 nanosleep(&tp, 0);
19392 return 0;
19394 _ACEOF
19395 if ac_fn_cxx_try_link "$LINENO"; then :
19396 ac_has_nanosleep=yes
19397 else
19398 ac_has_nanosleep=no
19400 rm -f core conftest.err conftest.$ac_objext \
19401 conftest$ac_exeext conftest.$ac_ext
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19404 $as_echo "$ac_has_nanosleep" >&6; }
19408 if test x"$ac_has_clock_monotonic" = x"yes"; then
19410 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19414 if test x"$ac_has_clock_realtime" = x"yes"; then
19416 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19420 if test x"$ac_has_nanosleep" = x"yes"; then
19422 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19428 CXXFLAGS="$ac_save_CXXFLAGS"
19429 LIBS="$ac_save_LIBS"
19430 ac_ext=c
19431 ac_cpp='$CPP $CPPFLAGS'
19432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19438 # For gthread support
19441 ac_ext=cpp
19442 ac_cpp='$CXXCPP $CPPFLAGS'
19443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19448 ac_save_CXXFLAGS="$CXXFLAGS"
19449 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking check whether it can be safely assumed that mutex_timedlock is available" >&5
19452 $as_echo_n "checking check whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19455 /* end confdefs.h. */
19456 #include <unistd.h>
19458 main ()
19461 #if !defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS < 0
19462 #error
19463 #endif
19466 return 0;
19468 _ACEOF
19469 if ac_fn_cxx_try_compile "$LINENO"; then :
19470 ac_gthread_use_mutex_timedlock=1
19471 else
19472 ac_gthread_use_mutex_timedlock=0
19474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19477 cat >>confdefs.h <<_ACEOF
19478 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19479 _ACEOF
19482 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19483 else res_mutex_timedlock=no ; fi
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19485 $as_echo "$res_mutex_timedlock" >&6; }
19487 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19488 case $target_thread_file in
19489 posix)
19490 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19491 esac
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19494 $as_echo_n "checking for gthreads library... " >&6; }
19496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19499 #include "gthr.h"
19500 #include <unistd.h>
19503 main ()
19506 #ifndef __GTHREADS_CXX0X
19507 #error
19508 #endif
19510 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19511 #if (defined(_PTHREADS) \
19512 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19513 #error
19514 #endif
19517 return 0;
19519 _ACEOF
19520 if ac_fn_cxx_try_compile "$LINENO"; then :
19521 ac_has_gthreads=yes
19522 else
19523 ac_has_gthreads=no
19525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19528 $as_echo "$ac_has_gthreads" >&6; }
19530 if test x"$ac_has_gthreads" = x"yes"; then
19532 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19536 CXXFLAGS="$ac_save_CXXFLAGS"
19537 ac_ext=c
19538 ac_cpp='$CPP $CPPFLAGS'
19539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19546 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19547 if test "x$ac_cv_header_locale_h" = x""yes; then :
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19550 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19551 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19552 $as_echo_n "(cached) " >&6
19553 else
19554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19556 #include <locale.h>
19558 main ()
19560 return LC_MESSAGES
19562 return 0;
19564 _ACEOF
19565 if ac_fn_c_try_compile "$LINENO"; then :
19566 ac_cv_val_LC_MESSAGES=yes
19567 else
19568 ac_cv_val_LC_MESSAGES=no
19570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19573 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19574 if test $ac_cv_val_LC_MESSAGES = yes; then
19576 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19585 # For hardware_concurrency
19586 for ac_header in sys/sysinfo.h
19587 do :
19588 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19589 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19590 cat >>confdefs.h <<_ACEOF
19591 #define HAVE_SYS_SYSINFO_H 1
19592 _ACEOF
19596 done
19601 ac_ext=cpp
19602 ac_cpp='$CXXCPP $CPPFLAGS'
19603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19607 ac_save_CXXFLAGS="$CXXFLAGS"
19608 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19611 $as_echo_n "checking for get_nprocs... " >&6; }
19612 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19613 $as_echo_n "(cached) " >&6
19614 else
19616 if test x$gcc_no_link = xyes; then
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19619 #include <sys/sysinfo.h>
19621 main ()
19623 int n = get_nprocs();
19625 return 0;
19627 _ACEOF
19628 if ac_fn_cxx_try_compile "$LINENO"; then :
19629 glibcxx_cv_GET_NPROCS=yes
19630 else
19631 glibcxx_cv_GET_NPROCS=no
19633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19634 else
19635 if test x$gcc_no_link = xyes; then
19636 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19640 #include <sys/sysinfo.h>
19642 main ()
19644 int n = get_nprocs();
19646 return 0;
19648 _ACEOF
19649 if ac_fn_cxx_try_link "$LINENO"; then :
19650 glibcxx_cv_GET_NPROCS=yes
19651 else
19652 glibcxx_cv_GET_NPROCS=no
19654 rm -f core conftest.err conftest.$ac_objext \
19655 conftest$ac_exeext conftest.$ac_ext
19660 if test $glibcxx_cv_GET_NPROCS = yes; then
19662 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19666 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19668 CXXFLAGS="$ac_save_CXXFLAGS"
19669 ac_ext=c
19670 ac_cpp='$CPP $CPPFLAGS'
19671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19676 for ac_header in unistd.h
19677 do :
19678 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19679 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19680 cat >>confdefs.h <<_ACEOF
19681 #define HAVE_UNISTD_H 1
19682 _ACEOF
19686 done
19691 ac_ext=cpp
19692 ac_cpp='$CXXCPP $CPPFLAGS'
19693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19697 ac_save_CXXFLAGS="$CXXFLAGS"
19698 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19701 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19702 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19703 $as_echo_n "(cached) " >&6
19704 else
19706 if test x$gcc_no_link = xyes; then
19707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19708 /* end confdefs.h. */
19709 #include <unistd.h>
19711 main ()
19713 int n = sysconf(_SC_NPROCESSORS_ONLN);
19715 return 0;
19717 _ACEOF
19718 if ac_fn_cxx_try_compile "$LINENO"; then :
19719 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19720 else
19721 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19724 else
19725 if test x$gcc_no_link = xyes; then
19726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19730 #include <unistd.h>
19732 main ()
19734 int n = sysconf(_SC_NPROCESSORS_ONLN);
19736 return 0;
19738 _ACEOF
19739 if ac_fn_cxx_try_link "$LINENO"; then :
19740 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19741 else
19742 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19744 rm -f core conftest.err conftest.$ac_objext \
19745 conftest$ac_exeext conftest.$ac_ext
19750 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
19752 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
19756 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
19758 CXXFLAGS="$ac_save_CXXFLAGS"
19759 ac_ext=c
19760 ac_cpp='$CPP $CPPFLAGS'
19761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19767 # Check for available headers.
19768 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19769 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19770 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19771 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19772 wchar.h wctype.h
19773 do :
19774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19775 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19776 eval as_val=\$$as_ac_Header
19777 if test "x$as_val" = x""yes; then :
19778 cat >>confdefs.h <<_ACEOF
19779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19780 _ACEOF
19784 done
19787 # Only do link tests if native. Else, hardcode.
19788 if $GLIBCXX_IS_NATIVE; then
19790 # We can do more elaborate tests that assume a working linker.
19791 CANADIAN=no
19795 # Check whether --with-gnu-ld was given.
19796 if test "${with_gnu_ld+set}" = set; then :
19797 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19798 else
19799 with_gnu_ld=no
19802 ac_prog=ld
19803 if test "$GCC" = yes; then
19804 # Check if gcc -print-prog-name=ld gives a path.
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19806 $as_echo_n "checking for ld used by $CC... " >&6; }
19807 case $host in
19808 *-*-mingw*)
19809 # gcc leaves a trailing carriage return which upsets mingw
19810 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19812 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19813 esac
19814 case $ac_prog in
19815 # Accept absolute paths.
19816 [\\/]* | ?:[\\/]*)
19817 re_direlt='/[^/][^/]*/\.\./'
19818 # Canonicalize the pathname of ld
19819 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19820 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19821 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19822 done
19823 test -z "$LD" && LD="$ac_prog"
19826 # If it fails, then pretend we aren't using GCC.
19827 ac_prog=ld
19830 # If it is relative, then search for the first ld in PATH.
19831 with_gnu_ld=unknown
19833 esac
19834 elif test "$with_gnu_ld" = yes; then
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19836 $as_echo_n "checking for GNU ld... " >&6; }
19837 else
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19839 $as_echo_n "checking for non-GNU ld... " >&6; }
19841 if test "${lt_cv_path_LD+set}" = set; then :
19842 $as_echo_n "(cached) " >&6
19843 else
19844 if test -z "$LD"; then
19845 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19846 for ac_dir in $PATH; do
19847 IFS="$lt_save_ifs"
19848 test -z "$ac_dir" && ac_dir=.
19849 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19850 lt_cv_path_LD="$ac_dir/$ac_prog"
19851 # Check to see if the program is GNU ld. I'd rather use --version,
19852 # but apparently some variants of GNU ld only accept -v.
19853 # Break only if it was the GNU/non-GNU ld that we prefer.
19854 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19855 *GNU* | *'with BFD'*)
19856 test "$with_gnu_ld" != no && break
19859 test "$with_gnu_ld" != yes && break
19861 esac
19863 done
19864 IFS="$lt_save_ifs"
19865 else
19866 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19870 LD="$lt_cv_path_LD"
19871 if test -n "$LD"; then
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19873 $as_echo "$LD" >&6; }
19874 else
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19876 $as_echo "no" >&6; }
19878 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19880 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19881 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19882 $as_echo_n "(cached) " >&6
19883 else
19884 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19885 case `$LD -v 2>&1 </dev/null` in
19886 *GNU* | *'with BFD'*)
19887 lt_cv_prog_gnu_ld=yes
19890 lt_cv_prog_gnu_ld=no
19892 esac
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19895 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19896 with_gnu_ld=$lt_cv_prog_gnu_ld
19904 # If we're not using GNU ld, then there's no point in even trying these
19905 # tests. Check for that first. We should have already tested for gld
19906 # by now (in libtool), but require it now just to be safe...
19907 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19908 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19912 # The name set by libtool depends on the version of libtool. Shame on us
19913 # for depending on an impl detail, but c'est la vie. Older versions used
19914 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19915 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19916 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19917 # set (hence we're using an older libtool), then set it.
19918 if test x${with_gnu_ld+set} != xset; then
19919 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19920 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19921 with_gnu_ld=no
19922 else
19923 with_gnu_ld=$ac_cv_prog_gnu_ld
19927 # Start by getting the version number. I think the libtool test already
19928 # does some of this, but throws away the result.
19929 glibcxx_ld_is_gold=no
19930 if test x"$with_gnu_ld" = x"yes"; then
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19932 $as_echo_n "checking for ld version... " >&6; }
19934 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19935 glibcxx_ld_is_gold=yes
19937 ldver=`$LD --version 2>/dev/null |
19938 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'`
19940 glibcxx_gnu_ld_version=`echo $ldver | \
19941 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19943 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19946 # Set --gc-sections.
19947 glibcxx_have_gc_sections=no
19948 if test "$glibcxx_ld_is_gold" = "yes"; then
19949 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19950 glibcxx_have_gc_sections=yes
19952 else
19953 glibcxx_gcsections_min_ld=21602
19954 if test x"$with_gnu_ld" = x"yes" &&
19955 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19956 glibcxx_have_gc_sections=yes
19959 if test "$glibcxx_have_gc_sections" = "yes"; then
19960 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19961 # NB: This flag only works reliably after 2.16.1. Configure tests
19962 # for this are difficult, so hard wire a value that should work.
19964 ac_test_CFLAGS="${CFLAGS+set}"
19965 ac_save_CFLAGS="$CFLAGS"
19966 CFLAGS='-Wl,--gc-sections'
19968 # Check for -Wl,--gc-sections
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19970 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19971 if test x$gcc_no_link = xyes; then
19972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19975 /* end confdefs.h. */
19976 int one(void) { return 1; }
19977 int two(void) { return 2; }
19980 main ()
19982 two();
19984 return 0;
19986 _ACEOF
19987 if ac_fn_c_try_link "$LINENO"; then :
19988 ac_gcsections=yes
19989 else
19990 ac_gcsections=no
19992 rm -f core conftest.err conftest.$ac_objext \
19993 conftest$ac_exeext conftest.$ac_ext
19994 if test "$ac_gcsections" = "yes"; then
19995 rm -f conftest.c
19996 touch conftest.c
19997 if $CC -c conftest.c; then
19998 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19999 grep "Warning: gc-sections option ignored" > /dev/null; then
20000 ac_gcsections=no
20003 rm -f conftest.c conftest.o conftest
20005 if test "$ac_gcsections" = "yes"; then
20006 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20009 $as_echo "$ac_gcsections" >&6; }
20011 if test "$ac_test_CFLAGS" = set; then
20012 CFLAGS="$ac_save_CFLAGS"
20013 else
20014 # this is the suspicious part
20015 CFLAGS=''
20019 # Set -z,relro.
20020 # Note this is only for shared objects.
20021 ac_ld_relro=no
20022 if test x"$with_gnu_ld" = x"yes"; then
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20024 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20025 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20026 if test -n "$cxx_z_relo"; then
20027 OPT_LDFLAGS="-Wl,-z,relro"
20028 ac_ld_relro=yes
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20031 $as_echo "$ac_ld_relro" >&6; }
20034 # Set linker optimization flags.
20035 if test x"$with_gnu_ld" = x"yes"; then
20036 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20043 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20044 ac_save_CXXFLAGS="$CXXFLAGS"
20045 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20048 $as_echo_n "checking for sin in -lm... " >&6; }
20049 if test "${ac_cv_lib_m_sin+set}" = set; then :
20050 $as_echo_n "(cached) " >&6
20051 else
20052 ac_check_lib_save_LIBS=$LIBS
20053 LIBS="-lm $LIBS"
20054 if test x$gcc_no_link = xyes; then
20055 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058 /* end confdefs.h. */
20060 /* Override any GCC internal prototype to avoid an error.
20061 Use char because int might match the return type of a GCC
20062 builtin and then its argument prototype would still apply. */
20063 #ifdef __cplusplus
20064 extern "C"
20065 #endif
20066 char sin ();
20068 main ()
20070 return sin ();
20072 return 0;
20074 _ACEOF
20075 if ac_fn_c_try_link "$LINENO"; then :
20076 ac_cv_lib_m_sin=yes
20077 else
20078 ac_cv_lib_m_sin=no
20080 rm -f core conftest.err conftest.$ac_objext \
20081 conftest$ac_exeext conftest.$ac_ext
20082 LIBS=$ac_check_lib_save_LIBS
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20085 $as_echo "$ac_cv_lib_m_sin" >&6; }
20086 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20087 libm="-lm"
20090 ac_save_LIBS="$LIBS"
20091 LIBS="$LIBS $libm"
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20096 $as_echo_n "checking for isinf declaration... " >&6; }
20097 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20098 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20099 $as_echo_n "(cached) " >&6
20100 else
20103 ac_ext=cpp
20104 ac_cpp='$CXXCPP $CPPFLAGS'
20105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20110 /* end confdefs.h. */
20111 #include <math.h>
20112 #ifdef HAVE_IEEEFP_H
20113 #include <ieeefp.h>
20114 #endif
20117 main ()
20119 isinf(0);
20121 return 0;
20123 _ACEOF
20124 if ac_fn_cxx_try_compile "$LINENO"; then :
20125 glibcxx_cv_func_isinf_use=yes
20126 else
20127 glibcxx_cv_func_isinf_use=no
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20130 ac_ext=c
20131 ac_cpp='$CPP $CPPFLAGS'
20132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20141 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20143 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20144 for ac_func in isinf
20145 do :
20146 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20147 if test "x$ac_cv_func_isinf" = x""yes; then :
20148 cat >>confdefs.h <<_ACEOF
20149 #define HAVE_ISINF 1
20150 _ACEOF
20153 done
20155 else
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20158 $as_echo_n "checking for _isinf declaration... " >&6; }
20159 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20160 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20161 $as_echo_n "(cached) " >&6
20162 else
20165 ac_ext=cpp
20166 ac_cpp='$CXXCPP $CPPFLAGS'
20167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20172 /* end confdefs.h. */
20173 #include <math.h>
20174 #ifdef HAVE_IEEEFP_H
20175 #include <ieeefp.h>
20176 #endif
20179 main ()
20181 _isinf(0);
20183 return 0;
20185 _ACEOF
20186 if ac_fn_cxx_try_compile "$LINENO"; then :
20187 glibcxx_cv_func__isinf_use=yes
20188 else
20189 glibcxx_cv_func__isinf_use=no
20191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20192 ac_ext=c
20193 ac_cpp='$CPP $CPPFLAGS'
20194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20203 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20205 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20206 for ac_func in _isinf
20207 do :
20208 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20209 if test "x$ac_cv_func__isinf" = x""yes; then :
20210 cat >>confdefs.h <<_ACEOF
20211 #define HAVE__ISINF 1
20212 _ACEOF
20215 done
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20225 $as_echo_n "checking for isnan declaration... " >&6; }
20226 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20227 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20228 $as_echo_n "(cached) " >&6
20229 else
20232 ac_ext=cpp
20233 ac_cpp='$CXXCPP $CPPFLAGS'
20234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20239 /* end confdefs.h. */
20240 #include <math.h>
20241 #ifdef HAVE_IEEEFP_H
20242 #include <ieeefp.h>
20243 #endif
20246 main ()
20248 isnan(0);
20250 return 0;
20252 _ACEOF
20253 if ac_fn_cxx_try_compile "$LINENO"; then :
20254 glibcxx_cv_func_isnan_use=yes
20255 else
20256 glibcxx_cv_func_isnan_use=no
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20259 ac_ext=c
20260 ac_cpp='$CPP $CPPFLAGS'
20261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20270 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20272 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20273 for ac_func in isnan
20274 do :
20275 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20276 if test "x$ac_cv_func_isnan" = x""yes; then :
20277 cat >>confdefs.h <<_ACEOF
20278 #define HAVE_ISNAN 1
20279 _ACEOF
20282 done
20284 else
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20287 $as_echo_n "checking for _isnan declaration... " >&6; }
20288 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20289 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20290 $as_echo_n "(cached) " >&6
20291 else
20294 ac_ext=cpp
20295 ac_cpp='$CXXCPP $CPPFLAGS'
20296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20301 /* end confdefs.h. */
20302 #include <math.h>
20303 #ifdef HAVE_IEEEFP_H
20304 #include <ieeefp.h>
20305 #endif
20308 main ()
20310 _isnan(0);
20312 return 0;
20314 _ACEOF
20315 if ac_fn_cxx_try_compile "$LINENO"; then :
20316 glibcxx_cv_func__isnan_use=yes
20317 else
20318 glibcxx_cv_func__isnan_use=no
20320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20321 ac_ext=c
20322 ac_cpp='$CPP $CPPFLAGS'
20323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20332 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20334 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20335 for ac_func in _isnan
20336 do :
20337 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20338 if test "x$ac_cv_func__isnan" = x""yes; then :
20339 cat >>confdefs.h <<_ACEOF
20340 #define HAVE__ISNAN 1
20341 _ACEOF
20344 done
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20354 $as_echo_n "checking for finite declaration... " >&6; }
20355 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20356 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20357 $as_echo_n "(cached) " >&6
20358 else
20361 ac_ext=cpp
20362 ac_cpp='$CXXCPP $CPPFLAGS'
20363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20368 /* end confdefs.h. */
20369 #include <math.h>
20370 #ifdef HAVE_IEEEFP_H
20371 #include <ieeefp.h>
20372 #endif
20375 main ()
20377 finite(0);
20379 return 0;
20381 _ACEOF
20382 if ac_fn_cxx_try_compile "$LINENO"; then :
20383 glibcxx_cv_func_finite_use=yes
20384 else
20385 glibcxx_cv_func_finite_use=no
20387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20388 ac_ext=c
20389 ac_cpp='$CPP $CPPFLAGS'
20390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20399 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20401 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20402 for ac_func in finite
20403 do :
20404 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20405 if test "x$ac_cv_func_finite" = x""yes; then :
20406 cat >>confdefs.h <<_ACEOF
20407 #define HAVE_FINITE 1
20408 _ACEOF
20411 done
20413 else
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20416 $as_echo_n "checking for _finite declaration... " >&6; }
20417 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20418 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20419 $as_echo_n "(cached) " >&6
20420 else
20423 ac_ext=cpp
20424 ac_cpp='$CXXCPP $CPPFLAGS'
20425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20430 /* end confdefs.h. */
20431 #include <math.h>
20432 #ifdef HAVE_IEEEFP_H
20433 #include <ieeefp.h>
20434 #endif
20437 main ()
20439 _finite(0);
20441 return 0;
20443 _ACEOF
20444 if ac_fn_cxx_try_compile "$LINENO"; then :
20445 glibcxx_cv_func__finite_use=yes
20446 else
20447 glibcxx_cv_func__finite_use=no
20449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20450 ac_ext=c
20451 ac_cpp='$CPP $CPPFLAGS'
20452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20461 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20463 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20464 for ac_func in _finite
20465 do :
20466 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20467 if test "x$ac_cv_func__finite" = x""yes; then :
20468 cat >>confdefs.h <<_ACEOF
20469 #define HAVE__FINITE 1
20470 _ACEOF
20473 done
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20483 $as_echo_n "checking for sincos declaration... " >&6; }
20484 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20485 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20486 $as_echo_n "(cached) " >&6
20487 else
20490 ac_ext=cpp
20491 ac_cpp='$CXXCPP $CPPFLAGS'
20492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h. */
20498 #include <math.h>
20500 main ()
20502 sincos(0, 0, 0);
20504 return 0;
20506 _ACEOF
20507 if ac_fn_cxx_try_compile "$LINENO"; then :
20508 glibcxx_cv_func_sincos_use=yes
20509 else
20510 glibcxx_cv_func_sincos_use=no
20512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20513 ac_ext=c
20514 ac_cpp='$CPP $CPPFLAGS'
20515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20524 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20526 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20527 for ac_func in sincos
20528 do :
20529 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20530 if test "x$ac_cv_func_sincos" = x""yes; then :
20531 cat >>confdefs.h <<_ACEOF
20532 #define HAVE_SINCOS 1
20533 _ACEOF
20536 done
20538 else
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20541 $as_echo_n "checking for _sincos declaration... " >&6; }
20542 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20543 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20544 $as_echo_n "(cached) " >&6
20545 else
20548 ac_ext=cpp
20549 ac_cpp='$CXXCPP $CPPFLAGS'
20550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20555 /* end confdefs.h. */
20556 #include <math.h>
20558 main ()
20560 _sincos(0, 0, 0);
20562 return 0;
20564 _ACEOF
20565 if ac_fn_cxx_try_compile "$LINENO"; then :
20566 glibcxx_cv_func__sincos_use=yes
20567 else
20568 glibcxx_cv_func__sincos_use=no
20570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20571 ac_ext=c
20572 ac_cpp='$CPP $CPPFLAGS'
20573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20582 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20584 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20585 for ac_func in _sincos
20586 do :
20587 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20588 if test "x$ac_cv_func__sincos" = x""yes; then :
20589 cat >>confdefs.h <<_ACEOF
20590 #define HAVE__SINCOS 1
20591 _ACEOF
20594 done
20603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20604 $as_echo_n "checking for fpclass declaration... " >&6; }
20605 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20606 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20607 $as_echo_n "(cached) " >&6
20608 else
20611 ac_ext=cpp
20612 ac_cpp='$CXXCPP $CPPFLAGS'
20613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20618 /* end confdefs.h. */
20619 #include <math.h>
20620 #ifdef HAVE_IEEEFP_H
20621 #include <ieeefp.h>
20622 #endif
20625 main ()
20627 fpclass(0);
20629 return 0;
20631 _ACEOF
20632 if ac_fn_cxx_try_compile "$LINENO"; then :
20633 glibcxx_cv_func_fpclass_use=yes
20634 else
20635 glibcxx_cv_func_fpclass_use=no
20637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20638 ac_ext=c
20639 ac_cpp='$CPP $CPPFLAGS'
20640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20649 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20651 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20652 for ac_func in fpclass
20653 do :
20654 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20655 if test "x$ac_cv_func_fpclass" = x""yes; then :
20656 cat >>confdefs.h <<_ACEOF
20657 #define HAVE_FPCLASS 1
20658 _ACEOF
20661 done
20663 else
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20666 $as_echo_n "checking for _fpclass declaration... " >&6; }
20667 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20668 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20669 $as_echo_n "(cached) " >&6
20670 else
20673 ac_ext=cpp
20674 ac_cpp='$CXXCPP $CPPFLAGS'
20675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h. */
20681 #include <math.h>
20682 #ifdef HAVE_IEEEFP_H
20683 #include <ieeefp.h>
20684 #endif
20687 main ()
20689 _fpclass(0);
20691 return 0;
20693 _ACEOF
20694 if ac_fn_cxx_try_compile "$LINENO"; then :
20695 glibcxx_cv_func__fpclass_use=yes
20696 else
20697 glibcxx_cv_func__fpclass_use=no
20699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20700 ac_ext=c
20701 ac_cpp='$CPP $CPPFLAGS'
20702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20711 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20713 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20714 for ac_func in _fpclass
20715 do :
20716 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20717 if test "x$ac_cv_func__fpclass" = x""yes; then :
20718 cat >>confdefs.h <<_ACEOF
20719 #define HAVE__FPCLASS 1
20720 _ACEOF
20723 done
20732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20733 $as_echo_n "checking for qfpclass declaration... " >&6; }
20734 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20735 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20736 $as_echo_n "(cached) " >&6
20737 else
20740 ac_ext=cpp
20741 ac_cpp='$CXXCPP $CPPFLAGS'
20742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20747 /* end confdefs.h. */
20748 #include <math.h>
20749 #ifdef HAVE_IEEEFP_H
20750 #include <ieeefp.h>
20751 #endif
20754 main ()
20756 qfpclass(0);
20758 return 0;
20760 _ACEOF
20761 if ac_fn_cxx_try_compile "$LINENO"; then :
20762 glibcxx_cv_func_qfpclass_use=yes
20763 else
20764 glibcxx_cv_func_qfpclass_use=no
20766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20767 ac_ext=c
20768 ac_cpp='$CPP $CPPFLAGS'
20769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20778 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20780 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20781 for ac_func in qfpclass
20782 do :
20783 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20784 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20785 cat >>confdefs.h <<_ACEOF
20786 #define HAVE_QFPCLASS 1
20787 _ACEOF
20790 done
20792 else
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20795 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20796 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20797 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20798 $as_echo_n "(cached) " >&6
20799 else
20802 ac_ext=cpp
20803 ac_cpp='$CXXCPP $CPPFLAGS'
20804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20809 /* end confdefs.h. */
20810 #include <math.h>
20811 #ifdef HAVE_IEEEFP_H
20812 #include <ieeefp.h>
20813 #endif
20816 main ()
20818 _qfpclass(0);
20820 return 0;
20822 _ACEOF
20823 if ac_fn_cxx_try_compile "$LINENO"; then :
20824 glibcxx_cv_func__qfpclass_use=yes
20825 else
20826 glibcxx_cv_func__qfpclass_use=no
20828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20829 ac_ext=c
20830 ac_cpp='$CPP $CPPFLAGS'
20831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20840 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20842 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20843 for ac_func in _qfpclass
20844 do :
20845 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20846 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20847 cat >>confdefs.h <<_ACEOF
20848 #define HAVE__QFPCLASS 1
20849 _ACEOF
20852 done
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20862 $as_echo_n "checking for hypot declaration... " >&6; }
20863 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20864 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20865 $as_echo_n "(cached) " >&6
20866 else
20869 ac_ext=cpp
20870 ac_cpp='$CXXCPP $CPPFLAGS'
20871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20876 /* end confdefs.h. */
20877 #include <math.h>
20879 main ()
20881 hypot(0, 0);
20883 return 0;
20885 _ACEOF
20886 if ac_fn_cxx_try_compile "$LINENO"; then :
20887 glibcxx_cv_func_hypot_use=yes
20888 else
20889 glibcxx_cv_func_hypot_use=no
20891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20892 ac_ext=c
20893 ac_cpp='$CPP $CPPFLAGS'
20894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20903 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20905 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20906 for ac_func in hypot
20907 do :
20908 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20909 if test "x$ac_cv_func_hypot" = x""yes; then :
20910 cat >>confdefs.h <<_ACEOF
20911 #define HAVE_HYPOT 1
20912 _ACEOF
20915 done
20917 else
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20920 $as_echo_n "checking for _hypot declaration... " >&6; }
20921 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20922 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20923 $as_echo_n "(cached) " >&6
20924 else
20927 ac_ext=cpp
20928 ac_cpp='$CXXCPP $CPPFLAGS'
20929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h. */
20935 #include <math.h>
20937 main ()
20939 _hypot(0, 0);
20941 return 0;
20943 _ACEOF
20944 if ac_fn_cxx_try_compile "$LINENO"; then :
20945 glibcxx_cv_func__hypot_use=yes
20946 else
20947 glibcxx_cv_func__hypot_use=no
20949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20950 ac_ext=c
20951 ac_cpp='$CPP $CPPFLAGS'
20952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20961 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20963 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20964 for ac_func in _hypot
20965 do :
20966 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20967 if test "x$ac_cv_func__hypot" = x""yes; then :
20968 cat >>confdefs.h <<_ACEOF
20969 #define HAVE__HYPOT 1
20970 _ACEOF
20973 done
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20983 $as_echo_n "checking for float trig functions... " >&6; }
20984 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20985 $as_echo_n "(cached) " >&6
20986 else
20989 ac_ext=cpp
20990 ac_cpp='$CXXCPP $CPPFLAGS'
20991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20996 /* end confdefs.h. */
20997 #include <math.h>
20999 main ()
21001 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21003 return 0;
21005 _ACEOF
21006 if ac_fn_cxx_try_compile "$LINENO"; then :
21007 glibcxx_cv_func_float_trig_use=yes
21008 else
21009 glibcxx_cv_func_float_trig_use=no
21011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21012 ac_ext=c
21013 ac_cpp='$CPP $CPPFLAGS'
21014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21021 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21022 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21023 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21024 do :
21025 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21027 eval as_val=\$$as_ac_var
21028 if test "x$as_val" = x""yes; then :
21029 cat >>confdefs.h <<_ACEOF
21030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21031 _ACEOF
21034 done
21036 else
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21038 $as_echo_n "checking for _float trig functions... " >&6; }
21039 if test "${glibcxx_cv_func__float_trig_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 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21058 return 0;
21060 _ACEOF
21061 if ac_fn_cxx_try_compile "$LINENO"; then :
21062 glibcxx_cv_func__float_trig_use=yes
21063 else
21064 glibcxx_cv_func__float_trig_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_trig_use" >&5
21076 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21077 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21078 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
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
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21099 $as_echo_n "checking for float round functions... " >&6; }
21100 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21101 $as_echo_n "(cached) " >&6
21102 else
21105 ac_ext=cpp
21106 ac_cpp='$CXXCPP $CPPFLAGS'
21107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21112 /* end confdefs.h. */
21113 #include <math.h>
21115 main ()
21117 ceilf (0); floorf (0);
21119 return 0;
21121 _ACEOF
21122 if ac_fn_cxx_try_compile "$LINENO"; then :
21123 glibcxx_cv_func_float_round_use=yes
21124 else
21125 glibcxx_cv_func_float_round_use=no
21127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21128 ac_ext=c
21129 ac_cpp='$CPP $CPPFLAGS'
21130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21137 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21138 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21139 for ac_func in ceilf floorf
21140 do :
21141 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21142 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21143 eval as_val=\$$as_ac_var
21144 if test "x$as_val" = x""yes; then :
21145 cat >>confdefs.h <<_ACEOF
21146 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21147 _ACEOF
21150 done
21152 else
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21154 $as_echo_n "checking for _float round functions... " >&6; }
21155 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21156 $as_echo_n "(cached) " >&6
21157 else
21160 ac_ext=cpp
21161 ac_cpp='$CXXCPP $CPPFLAGS'
21162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21167 /* end confdefs.h. */
21168 #include <math.h>
21170 main ()
21172 _ceilf (0); _floorf (0);
21174 return 0;
21176 _ACEOF
21177 if ac_fn_cxx_try_compile "$LINENO"; then :
21178 glibcxx_cv_func__float_round_use=yes
21179 else
21180 glibcxx_cv_func__float_round_use=no
21182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21183 ac_ext=c
21184 ac_cpp='$CPP $CPPFLAGS'
21185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21192 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21193 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21194 for ac_func in _ceilf _floorf
21195 do :
21196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21198 eval as_val=\$$as_ac_var
21199 if test "x$as_val" = x""yes; then :
21200 cat >>confdefs.h <<_ACEOF
21201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21202 _ACEOF
21205 done
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21216 $as_echo_n "checking for expf declaration... " >&6; }
21217 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21218 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21219 $as_echo_n "(cached) " >&6
21220 else
21223 ac_ext=cpp
21224 ac_cpp='$CXXCPP $CPPFLAGS'
21225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21230 /* end confdefs.h. */
21231 #include <math.h>
21232 #ifdef HAVE_IEEEFP_H
21233 #include <ieeefp.h>
21234 #endif
21237 main ()
21239 expf(0);
21241 return 0;
21243 _ACEOF
21244 if ac_fn_cxx_try_compile "$LINENO"; then :
21245 glibcxx_cv_func_expf_use=yes
21246 else
21247 glibcxx_cv_func_expf_use=no
21249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21250 ac_ext=c
21251 ac_cpp='$CPP $CPPFLAGS'
21252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21261 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21263 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21264 for ac_func in expf
21265 do :
21266 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21267 if test "x$ac_cv_func_expf" = x""yes; then :
21268 cat >>confdefs.h <<_ACEOF
21269 #define HAVE_EXPF 1
21270 _ACEOF
21273 done
21275 else
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21278 $as_echo_n "checking for _expf declaration... " >&6; }
21279 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21280 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21281 $as_echo_n "(cached) " >&6
21282 else
21285 ac_ext=cpp
21286 ac_cpp='$CXXCPP $CPPFLAGS'
21287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21292 /* end confdefs.h. */
21293 #include <math.h>
21294 #ifdef HAVE_IEEEFP_H
21295 #include <ieeefp.h>
21296 #endif
21299 main ()
21301 _expf(0);
21303 return 0;
21305 _ACEOF
21306 if ac_fn_cxx_try_compile "$LINENO"; then :
21307 glibcxx_cv_func__expf_use=yes
21308 else
21309 glibcxx_cv_func__expf_use=no
21311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21312 ac_ext=c
21313 ac_cpp='$CPP $CPPFLAGS'
21314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21323 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21325 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21326 for ac_func in _expf
21327 do :
21328 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21329 if test "x$ac_cv_func__expf" = x""yes; then :
21330 cat >>confdefs.h <<_ACEOF
21331 #define HAVE__EXPF 1
21332 _ACEOF
21335 done
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21345 $as_echo_n "checking for isnanf declaration... " >&6; }
21346 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21347 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21348 $as_echo_n "(cached) " >&6
21349 else
21352 ac_ext=cpp
21353 ac_cpp='$CXXCPP $CPPFLAGS'
21354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21359 /* end confdefs.h. */
21360 #include <math.h>
21361 #ifdef HAVE_IEEEFP_H
21362 #include <ieeefp.h>
21363 #endif
21366 main ()
21368 isnanf(0);
21370 return 0;
21372 _ACEOF
21373 if ac_fn_cxx_try_compile "$LINENO"; then :
21374 glibcxx_cv_func_isnanf_use=yes
21375 else
21376 glibcxx_cv_func_isnanf_use=no
21378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21379 ac_ext=c
21380 ac_cpp='$CPP $CPPFLAGS'
21381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21390 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21392 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21393 for ac_func in isnanf
21394 do :
21395 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21396 if test "x$ac_cv_func_isnanf" = x""yes; then :
21397 cat >>confdefs.h <<_ACEOF
21398 #define HAVE_ISNANF 1
21399 _ACEOF
21402 done
21404 else
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21407 $as_echo_n "checking for _isnanf declaration... " >&6; }
21408 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21409 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21410 $as_echo_n "(cached) " >&6
21411 else
21414 ac_ext=cpp
21415 ac_cpp='$CXXCPP $CPPFLAGS'
21416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21421 /* end confdefs.h. */
21422 #include <math.h>
21423 #ifdef HAVE_IEEEFP_H
21424 #include <ieeefp.h>
21425 #endif
21428 main ()
21430 _isnanf(0);
21432 return 0;
21434 _ACEOF
21435 if ac_fn_cxx_try_compile "$LINENO"; then :
21436 glibcxx_cv_func__isnanf_use=yes
21437 else
21438 glibcxx_cv_func__isnanf_use=no
21440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441 ac_ext=c
21442 ac_cpp='$CPP $CPPFLAGS'
21443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21452 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21454 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21455 for ac_func in _isnanf
21456 do :
21457 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21458 if test "x$ac_cv_func__isnanf" = x""yes; then :
21459 cat >>confdefs.h <<_ACEOF
21460 #define HAVE__ISNANF 1
21461 _ACEOF
21464 done
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21474 $as_echo_n "checking for isinff declaration... " >&6; }
21475 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21476 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21477 $as_echo_n "(cached) " >&6
21478 else
21481 ac_ext=cpp
21482 ac_cpp='$CXXCPP $CPPFLAGS'
21483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21489 #include <math.h>
21490 #ifdef HAVE_IEEEFP_H
21491 #include <ieeefp.h>
21492 #endif
21495 main ()
21497 isinff(0);
21499 return 0;
21501 _ACEOF
21502 if ac_fn_cxx_try_compile "$LINENO"; then :
21503 glibcxx_cv_func_isinff_use=yes
21504 else
21505 glibcxx_cv_func_isinff_use=no
21507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21508 ac_ext=c
21509 ac_cpp='$CPP $CPPFLAGS'
21510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21519 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21521 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21522 for ac_func in isinff
21523 do :
21524 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21525 if test "x$ac_cv_func_isinff" = x""yes; then :
21526 cat >>confdefs.h <<_ACEOF
21527 #define HAVE_ISINFF 1
21528 _ACEOF
21531 done
21533 else
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21536 $as_echo_n "checking for _isinff declaration... " >&6; }
21537 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21538 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21539 $as_echo_n "(cached) " >&6
21540 else
21543 ac_ext=cpp
21544 ac_cpp='$CXXCPP $CPPFLAGS'
21545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21550 /* end confdefs.h. */
21551 #include <math.h>
21552 #ifdef HAVE_IEEEFP_H
21553 #include <ieeefp.h>
21554 #endif
21557 main ()
21559 _isinff(0);
21561 return 0;
21563 _ACEOF
21564 if ac_fn_cxx_try_compile "$LINENO"; then :
21565 glibcxx_cv_func__isinff_use=yes
21566 else
21567 glibcxx_cv_func__isinff_use=no
21569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21570 ac_ext=c
21571 ac_cpp='$CPP $CPPFLAGS'
21572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21581 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21583 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21584 for ac_func in _isinff
21585 do :
21586 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21587 if test "x$ac_cv_func__isinff" = x""yes; then :
21588 cat >>confdefs.h <<_ACEOF
21589 #define HAVE__ISINFF 1
21590 _ACEOF
21593 done
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21603 $as_echo_n "checking for atan2f declaration... " >&6; }
21604 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21605 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21606 $as_echo_n "(cached) " >&6
21607 else
21610 ac_ext=cpp
21611 ac_cpp='$CXXCPP $CPPFLAGS'
21612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21617 /* end confdefs.h. */
21618 #include <math.h>
21620 main ()
21622 atan2f(0, 0);
21624 return 0;
21626 _ACEOF
21627 if ac_fn_cxx_try_compile "$LINENO"; then :
21628 glibcxx_cv_func_atan2f_use=yes
21629 else
21630 glibcxx_cv_func_atan2f_use=no
21632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21633 ac_ext=c
21634 ac_cpp='$CPP $CPPFLAGS'
21635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21644 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21646 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21647 for ac_func in atan2f
21648 do :
21649 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21650 if test "x$ac_cv_func_atan2f" = x""yes; then :
21651 cat >>confdefs.h <<_ACEOF
21652 #define HAVE_ATAN2F 1
21653 _ACEOF
21656 done
21658 else
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21661 $as_echo_n "checking for _atan2f declaration... " >&6; }
21662 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21663 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21664 $as_echo_n "(cached) " >&6
21665 else
21668 ac_ext=cpp
21669 ac_cpp='$CXXCPP $CPPFLAGS'
21670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21675 /* end confdefs.h. */
21676 #include <math.h>
21678 main ()
21680 _atan2f(0, 0);
21682 return 0;
21684 _ACEOF
21685 if ac_fn_cxx_try_compile "$LINENO"; then :
21686 glibcxx_cv_func__atan2f_use=yes
21687 else
21688 glibcxx_cv_func__atan2f_use=no
21690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21691 ac_ext=c
21692 ac_cpp='$CPP $CPPFLAGS'
21693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21702 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21704 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21705 for ac_func in _atan2f
21706 do :
21707 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21708 if test "x$ac_cv_func__atan2f" = x""yes; then :
21709 cat >>confdefs.h <<_ACEOF
21710 #define HAVE__ATAN2F 1
21711 _ACEOF
21714 done
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21724 $as_echo_n "checking for fabsf declaration... " >&6; }
21725 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21726 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21727 $as_echo_n "(cached) " >&6
21728 else
21731 ac_ext=cpp
21732 ac_cpp='$CXXCPP $CPPFLAGS'
21733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21738 /* end confdefs.h. */
21739 #include <math.h>
21740 #ifdef HAVE_IEEEFP_H
21741 #include <ieeefp.h>
21742 #endif
21745 main ()
21747 fabsf(0);
21749 return 0;
21751 _ACEOF
21752 if ac_fn_cxx_try_compile "$LINENO"; then :
21753 glibcxx_cv_func_fabsf_use=yes
21754 else
21755 glibcxx_cv_func_fabsf_use=no
21757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21758 ac_ext=c
21759 ac_cpp='$CPP $CPPFLAGS'
21760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21769 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21771 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21772 for ac_func in fabsf
21773 do :
21774 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21775 if test "x$ac_cv_func_fabsf" = x""yes; then :
21776 cat >>confdefs.h <<_ACEOF
21777 #define HAVE_FABSF 1
21778 _ACEOF
21781 done
21783 else
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21786 $as_echo_n "checking for _fabsf declaration... " >&6; }
21787 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21788 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21789 $as_echo_n "(cached) " >&6
21790 else
21793 ac_ext=cpp
21794 ac_cpp='$CXXCPP $CPPFLAGS'
21795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21800 /* end confdefs.h. */
21801 #include <math.h>
21802 #ifdef HAVE_IEEEFP_H
21803 #include <ieeefp.h>
21804 #endif
21807 main ()
21809 _fabsf(0);
21811 return 0;
21813 _ACEOF
21814 if ac_fn_cxx_try_compile "$LINENO"; then :
21815 glibcxx_cv_func__fabsf_use=yes
21816 else
21817 glibcxx_cv_func__fabsf_use=no
21819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21820 ac_ext=c
21821 ac_cpp='$CPP $CPPFLAGS'
21822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21831 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21833 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21834 for ac_func in _fabsf
21835 do :
21836 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21837 if test "x$ac_cv_func__fabsf" = x""yes; then :
21838 cat >>confdefs.h <<_ACEOF
21839 #define HAVE__FABSF 1
21840 _ACEOF
21843 done
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21853 $as_echo_n "checking for fmodf declaration... " >&6; }
21854 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21855 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21856 $as_echo_n "(cached) " >&6
21857 else
21860 ac_ext=cpp
21861 ac_cpp='$CXXCPP $CPPFLAGS'
21862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21867 /* end confdefs.h. */
21868 #include <math.h>
21870 main ()
21872 fmodf(0, 0);
21874 return 0;
21876 _ACEOF
21877 if ac_fn_cxx_try_compile "$LINENO"; then :
21878 glibcxx_cv_func_fmodf_use=yes
21879 else
21880 glibcxx_cv_func_fmodf_use=no
21882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21883 ac_ext=c
21884 ac_cpp='$CPP $CPPFLAGS'
21885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21894 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21896 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21897 for ac_func in fmodf
21898 do :
21899 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21900 if test "x$ac_cv_func_fmodf" = x""yes; then :
21901 cat >>confdefs.h <<_ACEOF
21902 #define HAVE_FMODF 1
21903 _ACEOF
21906 done
21908 else
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21911 $as_echo_n "checking for _fmodf declaration... " >&6; }
21912 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21913 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21914 $as_echo_n "(cached) " >&6
21915 else
21918 ac_ext=cpp
21919 ac_cpp='$CXXCPP $CPPFLAGS'
21920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21925 /* end confdefs.h. */
21926 #include <math.h>
21928 main ()
21930 _fmodf(0, 0);
21932 return 0;
21934 _ACEOF
21935 if ac_fn_cxx_try_compile "$LINENO"; then :
21936 glibcxx_cv_func__fmodf_use=yes
21937 else
21938 glibcxx_cv_func__fmodf_use=no
21940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21941 ac_ext=c
21942 ac_cpp='$CPP $CPPFLAGS'
21943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21952 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21954 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21955 for ac_func in _fmodf
21956 do :
21957 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21958 if test "x$ac_cv_func__fmodf" = x""yes; then :
21959 cat >>confdefs.h <<_ACEOF
21960 #define HAVE__FMODF 1
21961 _ACEOF
21964 done
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21974 $as_echo_n "checking for frexpf declaration... " >&6; }
21975 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21976 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21977 $as_echo_n "(cached) " >&6
21978 else
21981 ac_ext=cpp
21982 ac_cpp='$CXXCPP $CPPFLAGS'
21983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21988 /* end confdefs.h. */
21989 #include <math.h>
21991 main ()
21993 frexpf(0, 0);
21995 return 0;
21997 _ACEOF
21998 if ac_fn_cxx_try_compile "$LINENO"; then :
21999 glibcxx_cv_func_frexpf_use=yes
22000 else
22001 glibcxx_cv_func_frexpf_use=no
22003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22004 ac_ext=c
22005 ac_cpp='$CPP $CPPFLAGS'
22006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22015 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22017 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22018 for ac_func in frexpf
22019 do :
22020 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22021 if test "x$ac_cv_func_frexpf" = x""yes; then :
22022 cat >>confdefs.h <<_ACEOF
22023 #define HAVE_FREXPF 1
22024 _ACEOF
22027 done
22029 else
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22032 $as_echo_n "checking for _frexpf declaration... " >&6; }
22033 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22034 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22035 $as_echo_n "(cached) " >&6
22036 else
22039 ac_ext=cpp
22040 ac_cpp='$CXXCPP $CPPFLAGS'
22041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22046 /* end confdefs.h. */
22047 #include <math.h>
22049 main ()
22051 _frexpf(0, 0);
22053 return 0;
22055 _ACEOF
22056 if ac_fn_cxx_try_compile "$LINENO"; then :
22057 glibcxx_cv_func__frexpf_use=yes
22058 else
22059 glibcxx_cv_func__frexpf_use=no
22061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22062 ac_ext=c
22063 ac_cpp='$CPP $CPPFLAGS'
22064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22073 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22075 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22076 for ac_func in _frexpf
22077 do :
22078 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22079 if test "x$ac_cv_func__frexpf" = x""yes; then :
22080 cat >>confdefs.h <<_ACEOF
22081 #define HAVE__FREXPF 1
22082 _ACEOF
22085 done
22094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22095 $as_echo_n "checking for hypotf declaration... " >&6; }
22096 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22097 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22098 $as_echo_n "(cached) " >&6
22099 else
22102 ac_ext=cpp
22103 ac_cpp='$CXXCPP $CPPFLAGS'
22104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22109 /* end confdefs.h. */
22110 #include <math.h>
22112 main ()
22114 hypotf(0, 0);
22116 return 0;
22118 _ACEOF
22119 if ac_fn_cxx_try_compile "$LINENO"; then :
22120 glibcxx_cv_func_hypotf_use=yes
22121 else
22122 glibcxx_cv_func_hypotf_use=no
22124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22125 ac_ext=c
22126 ac_cpp='$CPP $CPPFLAGS'
22127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22136 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22138 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22139 for ac_func in hypotf
22140 do :
22141 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22142 if test "x$ac_cv_func_hypotf" = x""yes; then :
22143 cat >>confdefs.h <<_ACEOF
22144 #define HAVE_HYPOTF 1
22145 _ACEOF
22148 done
22150 else
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22153 $as_echo_n "checking for _hypotf declaration... " >&6; }
22154 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22155 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22156 $as_echo_n "(cached) " >&6
22157 else
22160 ac_ext=cpp
22161 ac_cpp='$CXXCPP $CPPFLAGS'
22162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22167 /* end confdefs.h. */
22168 #include <math.h>
22170 main ()
22172 _hypotf(0, 0);
22174 return 0;
22176 _ACEOF
22177 if ac_fn_cxx_try_compile "$LINENO"; then :
22178 glibcxx_cv_func__hypotf_use=yes
22179 else
22180 glibcxx_cv_func__hypotf_use=no
22182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22183 ac_ext=c
22184 ac_cpp='$CPP $CPPFLAGS'
22185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22194 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22196 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22197 for ac_func in _hypotf
22198 do :
22199 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22200 if test "x$ac_cv_func__hypotf" = x""yes; then :
22201 cat >>confdefs.h <<_ACEOF
22202 #define HAVE__HYPOTF 1
22203 _ACEOF
22206 done
22215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22216 $as_echo_n "checking for ldexpf declaration... " >&6; }
22217 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22218 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22219 $as_echo_n "(cached) " >&6
22220 else
22223 ac_ext=cpp
22224 ac_cpp='$CXXCPP $CPPFLAGS'
22225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22230 /* end confdefs.h. */
22231 #include <math.h>
22233 main ()
22235 ldexpf(0, 0);
22237 return 0;
22239 _ACEOF
22240 if ac_fn_cxx_try_compile "$LINENO"; then :
22241 glibcxx_cv_func_ldexpf_use=yes
22242 else
22243 glibcxx_cv_func_ldexpf_use=no
22245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22246 ac_ext=c
22247 ac_cpp='$CPP $CPPFLAGS'
22248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22257 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22259 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22260 for ac_func in ldexpf
22261 do :
22262 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22263 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22264 cat >>confdefs.h <<_ACEOF
22265 #define HAVE_LDEXPF 1
22266 _ACEOF
22269 done
22271 else
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22274 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22275 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22276 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22277 $as_echo_n "(cached) " >&6
22278 else
22281 ac_ext=cpp
22282 ac_cpp='$CXXCPP $CPPFLAGS'
22283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h. */
22289 #include <math.h>
22291 main ()
22293 _ldexpf(0, 0);
22295 return 0;
22297 _ACEOF
22298 if ac_fn_cxx_try_compile "$LINENO"; then :
22299 glibcxx_cv_func__ldexpf_use=yes
22300 else
22301 glibcxx_cv_func__ldexpf_use=no
22303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22304 ac_ext=c
22305 ac_cpp='$CPP $CPPFLAGS'
22306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22315 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22317 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22318 for ac_func in _ldexpf
22319 do :
22320 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22321 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22322 cat >>confdefs.h <<_ACEOF
22323 #define HAVE__LDEXPF 1
22324 _ACEOF
22327 done
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22337 $as_echo_n "checking for logf declaration... " >&6; }
22338 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22339 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22340 $as_echo_n "(cached) " >&6
22341 else
22344 ac_ext=cpp
22345 ac_cpp='$CXXCPP $CPPFLAGS'
22346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22351 /* end confdefs.h. */
22352 #include <math.h>
22353 #ifdef HAVE_IEEEFP_H
22354 #include <ieeefp.h>
22355 #endif
22358 main ()
22360 logf(0);
22362 return 0;
22364 _ACEOF
22365 if ac_fn_cxx_try_compile "$LINENO"; then :
22366 glibcxx_cv_func_logf_use=yes
22367 else
22368 glibcxx_cv_func_logf_use=no
22370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22371 ac_ext=c
22372 ac_cpp='$CPP $CPPFLAGS'
22373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22382 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22384 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22385 for ac_func in logf
22386 do :
22387 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22388 if test "x$ac_cv_func_logf" = x""yes; then :
22389 cat >>confdefs.h <<_ACEOF
22390 #define HAVE_LOGF 1
22391 _ACEOF
22394 done
22396 else
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22399 $as_echo_n "checking for _logf declaration... " >&6; }
22400 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22401 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22402 $as_echo_n "(cached) " >&6
22403 else
22406 ac_ext=cpp
22407 ac_cpp='$CXXCPP $CPPFLAGS'
22408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22413 /* end confdefs.h. */
22414 #include <math.h>
22415 #ifdef HAVE_IEEEFP_H
22416 #include <ieeefp.h>
22417 #endif
22420 main ()
22422 _logf(0);
22424 return 0;
22426 _ACEOF
22427 if ac_fn_cxx_try_compile "$LINENO"; then :
22428 glibcxx_cv_func__logf_use=yes
22429 else
22430 glibcxx_cv_func__logf_use=no
22432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22433 ac_ext=c
22434 ac_cpp='$CPP $CPPFLAGS'
22435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22444 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22446 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22447 for ac_func in _logf
22448 do :
22449 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22450 if test "x$ac_cv_func__logf" = x""yes; then :
22451 cat >>confdefs.h <<_ACEOF
22452 #define HAVE__LOGF 1
22453 _ACEOF
22456 done
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22466 $as_echo_n "checking for log10f declaration... " >&6; }
22467 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22468 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22469 $as_echo_n "(cached) " >&6
22470 else
22473 ac_ext=cpp
22474 ac_cpp='$CXXCPP $CPPFLAGS'
22475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22480 /* end confdefs.h. */
22481 #include <math.h>
22482 #ifdef HAVE_IEEEFP_H
22483 #include <ieeefp.h>
22484 #endif
22487 main ()
22489 log10f(0);
22491 return 0;
22493 _ACEOF
22494 if ac_fn_cxx_try_compile "$LINENO"; then :
22495 glibcxx_cv_func_log10f_use=yes
22496 else
22497 glibcxx_cv_func_log10f_use=no
22499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22500 ac_ext=c
22501 ac_cpp='$CPP $CPPFLAGS'
22502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22511 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22513 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22514 for ac_func in log10f
22515 do :
22516 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22517 if test "x$ac_cv_func_log10f" = x""yes; then :
22518 cat >>confdefs.h <<_ACEOF
22519 #define HAVE_LOG10F 1
22520 _ACEOF
22523 done
22525 else
22527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22528 $as_echo_n "checking for _log10f declaration... " >&6; }
22529 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22530 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22531 $as_echo_n "(cached) " >&6
22532 else
22535 ac_ext=cpp
22536 ac_cpp='$CXXCPP $CPPFLAGS'
22537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22542 /* end confdefs.h. */
22543 #include <math.h>
22544 #ifdef HAVE_IEEEFP_H
22545 #include <ieeefp.h>
22546 #endif
22549 main ()
22551 _log10f(0);
22553 return 0;
22555 _ACEOF
22556 if ac_fn_cxx_try_compile "$LINENO"; then :
22557 glibcxx_cv_func__log10f_use=yes
22558 else
22559 glibcxx_cv_func__log10f_use=no
22561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22562 ac_ext=c
22563 ac_cpp='$CPP $CPPFLAGS'
22564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22573 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22575 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22576 for ac_func in _log10f
22577 do :
22578 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22579 if test "x$ac_cv_func__log10f" = x""yes; then :
22580 cat >>confdefs.h <<_ACEOF
22581 #define HAVE__LOG10F 1
22582 _ACEOF
22585 done
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22595 $as_echo_n "checking for modff declaration... " >&6; }
22596 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22597 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22598 $as_echo_n "(cached) " >&6
22599 else
22602 ac_ext=cpp
22603 ac_cpp='$CXXCPP $CPPFLAGS'
22604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22609 /* end confdefs.h. */
22610 #include <math.h>
22612 main ()
22614 modff(0, 0);
22616 return 0;
22618 _ACEOF
22619 if ac_fn_cxx_try_compile "$LINENO"; then :
22620 glibcxx_cv_func_modff_use=yes
22621 else
22622 glibcxx_cv_func_modff_use=no
22624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22625 ac_ext=c
22626 ac_cpp='$CPP $CPPFLAGS'
22627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22636 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22638 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22639 for ac_func in modff
22640 do :
22641 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22642 if test "x$ac_cv_func_modff" = x""yes; then :
22643 cat >>confdefs.h <<_ACEOF
22644 #define HAVE_MODFF 1
22645 _ACEOF
22648 done
22650 else
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22653 $as_echo_n "checking for _modff declaration... " >&6; }
22654 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22655 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22656 $as_echo_n "(cached) " >&6
22657 else
22660 ac_ext=cpp
22661 ac_cpp='$CXXCPP $CPPFLAGS'
22662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22667 /* end confdefs.h. */
22668 #include <math.h>
22670 main ()
22672 _modff(0, 0);
22674 return 0;
22676 _ACEOF
22677 if ac_fn_cxx_try_compile "$LINENO"; then :
22678 glibcxx_cv_func__modff_use=yes
22679 else
22680 glibcxx_cv_func__modff_use=no
22682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22683 ac_ext=c
22684 ac_cpp='$CPP $CPPFLAGS'
22685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22694 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22696 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22697 for ac_func in _modff
22698 do :
22699 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22700 if test "x$ac_cv_func__modff" = x""yes; then :
22701 cat >>confdefs.h <<_ACEOF
22702 #define HAVE__MODFF 1
22703 _ACEOF
22706 done
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22716 $as_echo_n "checking for modf declaration... " >&6; }
22717 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22718 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22719 $as_echo_n "(cached) " >&6
22720 else
22723 ac_ext=cpp
22724 ac_cpp='$CXXCPP $CPPFLAGS'
22725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22730 /* end confdefs.h. */
22731 #include <math.h>
22733 main ()
22735 modf(0, 0);
22737 return 0;
22739 _ACEOF
22740 if ac_fn_cxx_try_compile "$LINENO"; then :
22741 glibcxx_cv_func_modf_use=yes
22742 else
22743 glibcxx_cv_func_modf_use=no
22745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22746 ac_ext=c
22747 ac_cpp='$CPP $CPPFLAGS'
22748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22757 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22759 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22760 for ac_func in modf
22761 do :
22762 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22763 if test "x$ac_cv_func_modf" = x""yes; then :
22764 cat >>confdefs.h <<_ACEOF
22765 #define HAVE_MODF 1
22766 _ACEOF
22769 done
22771 else
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22774 $as_echo_n "checking for _modf declaration... " >&6; }
22775 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22776 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22777 $as_echo_n "(cached) " >&6
22778 else
22781 ac_ext=cpp
22782 ac_cpp='$CXXCPP $CPPFLAGS'
22783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22788 /* end confdefs.h. */
22789 #include <math.h>
22791 main ()
22793 _modf(0, 0);
22795 return 0;
22797 _ACEOF
22798 if ac_fn_cxx_try_compile "$LINENO"; then :
22799 glibcxx_cv_func__modf_use=yes
22800 else
22801 glibcxx_cv_func__modf_use=no
22803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804 ac_ext=c
22805 ac_cpp='$CPP $CPPFLAGS'
22806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22815 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22817 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22818 for ac_func in _modf
22819 do :
22820 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22821 if test "x$ac_cv_func__modf" = x""yes; then :
22822 cat >>confdefs.h <<_ACEOF
22823 #define HAVE__MODF 1
22824 _ACEOF
22827 done
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22837 $as_echo_n "checking for powf declaration... " >&6; }
22838 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22839 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22840 $as_echo_n "(cached) " >&6
22841 else
22844 ac_ext=cpp
22845 ac_cpp='$CXXCPP $CPPFLAGS'
22846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22851 /* end confdefs.h. */
22852 #include <math.h>
22854 main ()
22856 powf(0, 0);
22858 return 0;
22860 _ACEOF
22861 if ac_fn_cxx_try_compile "$LINENO"; then :
22862 glibcxx_cv_func_powf_use=yes
22863 else
22864 glibcxx_cv_func_powf_use=no
22866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22867 ac_ext=c
22868 ac_cpp='$CPP $CPPFLAGS'
22869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22878 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22880 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22881 for ac_func in powf
22882 do :
22883 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22884 if test "x$ac_cv_func_powf" = x""yes; then :
22885 cat >>confdefs.h <<_ACEOF
22886 #define HAVE_POWF 1
22887 _ACEOF
22890 done
22892 else
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22895 $as_echo_n "checking for _powf declaration... " >&6; }
22896 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22897 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22898 $as_echo_n "(cached) " >&6
22899 else
22902 ac_ext=cpp
22903 ac_cpp='$CXXCPP $CPPFLAGS'
22904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22909 /* end confdefs.h. */
22910 #include <math.h>
22912 main ()
22914 _powf(0, 0);
22916 return 0;
22918 _ACEOF
22919 if ac_fn_cxx_try_compile "$LINENO"; then :
22920 glibcxx_cv_func__powf_use=yes
22921 else
22922 glibcxx_cv_func__powf_use=no
22924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22925 ac_ext=c
22926 ac_cpp='$CPP $CPPFLAGS'
22927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22936 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22938 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22939 for ac_func in _powf
22940 do :
22941 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22942 if test "x$ac_cv_func__powf" = x""yes; then :
22943 cat >>confdefs.h <<_ACEOF
22944 #define HAVE__POWF 1
22945 _ACEOF
22948 done
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22958 $as_echo_n "checking for sqrtf declaration... " >&6; }
22959 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22960 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22961 $as_echo_n "(cached) " >&6
22962 else
22965 ac_ext=cpp
22966 ac_cpp='$CXXCPP $CPPFLAGS'
22967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22972 /* end confdefs.h. */
22973 #include <math.h>
22974 #ifdef HAVE_IEEEFP_H
22975 #include <ieeefp.h>
22976 #endif
22979 main ()
22981 sqrtf(0);
22983 return 0;
22985 _ACEOF
22986 if ac_fn_cxx_try_compile "$LINENO"; then :
22987 glibcxx_cv_func_sqrtf_use=yes
22988 else
22989 glibcxx_cv_func_sqrtf_use=no
22991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22992 ac_ext=c
22993 ac_cpp='$CPP $CPPFLAGS'
22994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23003 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23005 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23006 for ac_func in sqrtf
23007 do :
23008 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23009 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23010 cat >>confdefs.h <<_ACEOF
23011 #define HAVE_SQRTF 1
23012 _ACEOF
23015 done
23017 else
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23020 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23021 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23022 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23023 $as_echo_n "(cached) " >&6
23024 else
23027 ac_ext=cpp
23028 ac_cpp='$CXXCPP $CPPFLAGS'
23029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034 /* end confdefs.h. */
23035 #include <math.h>
23036 #ifdef HAVE_IEEEFP_H
23037 #include <ieeefp.h>
23038 #endif
23041 main ()
23043 _sqrtf(0);
23045 return 0;
23047 _ACEOF
23048 if ac_fn_cxx_try_compile "$LINENO"; then :
23049 glibcxx_cv_func__sqrtf_use=yes
23050 else
23051 glibcxx_cv_func__sqrtf_use=no
23053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23054 ac_ext=c
23055 ac_cpp='$CPP $CPPFLAGS'
23056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23065 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23067 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23068 for ac_func in _sqrtf
23069 do :
23070 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23071 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23072 cat >>confdefs.h <<_ACEOF
23073 #define HAVE__SQRTF 1
23074 _ACEOF
23077 done
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23087 $as_echo_n "checking for sincosf declaration... " >&6; }
23088 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23089 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23090 $as_echo_n "(cached) " >&6
23091 else
23094 ac_ext=cpp
23095 ac_cpp='$CXXCPP $CPPFLAGS'
23096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23101 /* end confdefs.h. */
23102 #include <math.h>
23104 main ()
23106 sincosf(0, 0, 0);
23108 return 0;
23110 _ACEOF
23111 if ac_fn_cxx_try_compile "$LINENO"; then :
23112 glibcxx_cv_func_sincosf_use=yes
23113 else
23114 glibcxx_cv_func_sincosf_use=no
23116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23117 ac_ext=c
23118 ac_cpp='$CPP $CPPFLAGS'
23119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23128 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23130 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23131 for ac_func in sincosf
23132 do :
23133 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23134 if test "x$ac_cv_func_sincosf" = x""yes; then :
23135 cat >>confdefs.h <<_ACEOF
23136 #define HAVE_SINCOSF 1
23137 _ACEOF
23140 done
23142 else
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23145 $as_echo_n "checking for _sincosf declaration... " >&6; }
23146 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23147 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23148 $as_echo_n "(cached) " >&6
23149 else
23152 ac_ext=cpp
23153 ac_cpp='$CXXCPP $CPPFLAGS'
23154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23159 /* end confdefs.h. */
23160 #include <math.h>
23162 main ()
23164 _sincosf(0, 0, 0);
23166 return 0;
23168 _ACEOF
23169 if ac_fn_cxx_try_compile "$LINENO"; then :
23170 glibcxx_cv_func__sincosf_use=yes
23171 else
23172 glibcxx_cv_func__sincosf_use=no
23174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23175 ac_ext=c
23176 ac_cpp='$CPP $CPPFLAGS'
23177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23186 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23188 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23189 for ac_func in _sincosf
23190 do :
23191 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23192 if test "x$ac_cv_func__sincosf" = x""yes; then :
23193 cat >>confdefs.h <<_ACEOF
23194 #define HAVE__SINCOSF 1
23195 _ACEOF
23198 done
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23208 $as_echo_n "checking for finitef declaration... " >&6; }
23209 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23210 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23211 $as_echo_n "(cached) " >&6
23212 else
23215 ac_ext=cpp
23216 ac_cpp='$CXXCPP $CPPFLAGS'
23217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h. */
23223 #include <math.h>
23224 #ifdef HAVE_IEEEFP_H
23225 #include <ieeefp.h>
23226 #endif
23229 main ()
23231 finitef(0);
23233 return 0;
23235 _ACEOF
23236 if ac_fn_cxx_try_compile "$LINENO"; then :
23237 glibcxx_cv_func_finitef_use=yes
23238 else
23239 glibcxx_cv_func_finitef_use=no
23241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23242 ac_ext=c
23243 ac_cpp='$CPP $CPPFLAGS'
23244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23253 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23255 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23256 for ac_func in finitef
23257 do :
23258 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23259 if test "x$ac_cv_func_finitef" = x""yes; then :
23260 cat >>confdefs.h <<_ACEOF
23261 #define HAVE_FINITEF 1
23262 _ACEOF
23265 done
23267 else
23269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23270 $as_echo_n "checking for _finitef declaration... " >&6; }
23271 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23272 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23273 $as_echo_n "(cached) " >&6
23274 else
23277 ac_ext=cpp
23278 ac_cpp='$CXXCPP $CPPFLAGS'
23279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23284 /* end confdefs.h. */
23285 #include <math.h>
23286 #ifdef HAVE_IEEEFP_H
23287 #include <ieeefp.h>
23288 #endif
23291 main ()
23293 _finitef(0);
23295 return 0;
23297 _ACEOF
23298 if ac_fn_cxx_try_compile "$LINENO"; then :
23299 glibcxx_cv_func__finitef_use=yes
23300 else
23301 glibcxx_cv_func__finitef_use=no
23303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23304 ac_ext=c
23305 ac_cpp='$CPP $CPPFLAGS'
23306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23315 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23317 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23318 for ac_func in _finitef
23319 do :
23320 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23321 if test "x$ac_cv_func__finitef" = x""yes; then :
23322 cat >>confdefs.h <<_ACEOF
23323 #define HAVE__FINITEF 1
23324 _ACEOF
23327 done
23336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23337 $as_echo_n "checking for long double trig functions... " >&6; }
23338 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23339 $as_echo_n "(cached) " >&6
23340 else
23343 ac_ext=cpp
23344 ac_cpp='$CXXCPP $CPPFLAGS'
23345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23350 /* end confdefs.h. */
23351 #include <math.h>
23353 main ()
23355 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23357 return 0;
23359 _ACEOF
23360 if ac_fn_cxx_try_compile "$LINENO"; then :
23361 glibcxx_cv_func_long_double_trig_use=yes
23362 else
23363 glibcxx_cv_func_long_double_trig_use=no
23365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23366 ac_ext=c
23367 ac_cpp='$CPP $CPPFLAGS'
23368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23375 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23376 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23377 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23378 do :
23379 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23380 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23381 eval as_val=\$$as_ac_var
23382 if test "x$as_val" = x""yes; then :
23383 cat >>confdefs.h <<_ACEOF
23384 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23385 _ACEOF
23388 done
23390 else
23391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23392 $as_echo_n "checking for _long double trig functions... " >&6; }
23393 if test "${glibcxx_cv_func__long_double_trig_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 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23412 return 0;
23414 _ACEOF
23415 if ac_fn_cxx_try_compile "$LINENO"; then :
23416 glibcxx_cv_func__long_double_trig_use=yes
23417 else
23418 glibcxx_cv_func__long_double_trig_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_trig_use" >&5
23430 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23431 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23432 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
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
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23453 $as_echo_n "checking for long double round functions... " >&6; }
23454 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23455 $as_echo_n "(cached) " >&6
23456 else
23459 ac_ext=cpp
23460 ac_cpp='$CXXCPP $CPPFLAGS'
23461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23466 /* end confdefs.h. */
23467 #include <math.h>
23469 main ()
23471 ceill (0); floorl (0);
23473 return 0;
23475 _ACEOF
23476 if ac_fn_cxx_try_compile "$LINENO"; then :
23477 glibcxx_cv_func_long_double_round_use=yes
23478 else
23479 glibcxx_cv_func_long_double_round_use=no
23481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23482 ac_ext=c
23483 ac_cpp='$CPP $CPPFLAGS'
23484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23491 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23492 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23493 for ac_func in ceill floorl
23494 do :
23495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23497 eval as_val=\$$as_ac_var
23498 if test "x$as_val" = x""yes; then :
23499 cat >>confdefs.h <<_ACEOF
23500 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23501 _ACEOF
23504 done
23506 else
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23508 $as_echo_n "checking for _long double round functions... " >&6; }
23509 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23510 $as_echo_n "(cached) " >&6
23511 else
23514 ac_ext=cpp
23515 ac_cpp='$CXXCPP $CPPFLAGS'
23516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23521 /* end confdefs.h. */
23522 #include <math.h>
23524 main ()
23526 _ceill (0); _floorl (0);
23528 return 0;
23530 _ACEOF
23531 if ac_fn_cxx_try_compile "$LINENO"; then :
23532 glibcxx_cv_func__long_double_round_use=yes
23533 else
23534 glibcxx_cv_func__long_double_round_use=no
23536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23537 ac_ext=c
23538 ac_cpp='$CPP $CPPFLAGS'
23539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23546 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23547 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23548 for ac_func in _ceill _floorl
23549 do :
23550 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23551 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23552 eval as_val=\$$as_ac_var
23553 if test "x$as_val" = x""yes; then :
23554 cat >>confdefs.h <<_ACEOF
23555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23556 _ACEOF
23559 done
23569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23570 $as_echo_n "checking for isnanl declaration... " >&6; }
23571 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23572 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23573 $as_echo_n "(cached) " >&6
23574 else
23577 ac_ext=cpp
23578 ac_cpp='$CXXCPP $CPPFLAGS'
23579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23584 /* end confdefs.h. */
23585 #include <math.h>
23586 #ifdef HAVE_IEEEFP_H
23587 #include <ieeefp.h>
23588 #endif
23591 main ()
23593 isnanl(0);
23595 return 0;
23597 _ACEOF
23598 if ac_fn_cxx_try_compile "$LINENO"; then :
23599 glibcxx_cv_func_isnanl_use=yes
23600 else
23601 glibcxx_cv_func_isnanl_use=no
23603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23604 ac_ext=c
23605 ac_cpp='$CPP $CPPFLAGS'
23606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23615 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23617 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23618 for ac_func in isnanl
23619 do :
23620 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23621 if test "x$ac_cv_func_isnanl" = x""yes; then :
23622 cat >>confdefs.h <<_ACEOF
23623 #define HAVE_ISNANL 1
23624 _ACEOF
23627 done
23629 else
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23632 $as_echo_n "checking for _isnanl declaration... " >&6; }
23633 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23634 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23635 $as_echo_n "(cached) " >&6
23636 else
23639 ac_ext=cpp
23640 ac_cpp='$CXXCPP $CPPFLAGS'
23641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23646 /* end confdefs.h. */
23647 #include <math.h>
23648 #ifdef HAVE_IEEEFP_H
23649 #include <ieeefp.h>
23650 #endif
23653 main ()
23655 _isnanl(0);
23657 return 0;
23659 _ACEOF
23660 if ac_fn_cxx_try_compile "$LINENO"; then :
23661 glibcxx_cv_func__isnanl_use=yes
23662 else
23663 glibcxx_cv_func__isnanl_use=no
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 ac_ext=c
23667 ac_cpp='$CPP $CPPFLAGS'
23668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23677 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23679 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23680 for ac_func in _isnanl
23681 do :
23682 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23683 if test "x$ac_cv_func__isnanl" = x""yes; then :
23684 cat >>confdefs.h <<_ACEOF
23685 #define HAVE__ISNANL 1
23686 _ACEOF
23689 done
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23699 $as_echo_n "checking for isinfl declaration... " >&6; }
23700 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23701 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23702 $as_echo_n "(cached) " >&6
23703 else
23706 ac_ext=cpp
23707 ac_cpp='$CXXCPP $CPPFLAGS'
23708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23713 /* end confdefs.h. */
23714 #include <math.h>
23715 #ifdef HAVE_IEEEFP_H
23716 #include <ieeefp.h>
23717 #endif
23720 main ()
23722 isinfl(0);
23724 return 0;
23726 _ACEOF
23727 if ac_fn_cxx_try_compile "$LINENO"; then :
23728 glibcxx_cv_func_isinfl_use=yes
23729 else
23730 glibcxx_cv_func_isinfl_use=no
23732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23733 ac_ext=c
23734 ac_cpp='$CPP $CPPFLAGS'
23735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23744 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23746 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23747 for ac_func in isinfl
23748 do :
23749 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23750 if test "x$ac_cv_func_isinfl" = x""yes; then :
23751 cat >>confdefs.h <<_ACEOF
23752 #define HAVE_ISINFL 1
23753 _ACEOF
23756 done
23758 else
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23761 $as_echo_n "checking for _isinfl declaration... " >&6; }
23762 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23763 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23764 $as_echo_n "(cached) " >&6
23765 else
23768 ac_ext=cpp
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23775 /* end confdefs.h. */
23776 #include <math.h>
23777 #ifdef HAVE_IEEEFP_H
23778 #include <ieeefp.h>
23779 #endif
23782 main ()
23784 _isinfl(0);
23786 return 0;
23788 _ACEOF
23789 if ac_fn_cxx_try_compile "$LINENO"; then :
23790 glibcxx_cv_func__isinfl_use=yes
23791 else
23792 glibcxx_cv_func__isinfl_use=no
23794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23795 ac_ext=c
23796 ac_cpp='$CPP $CPPFLAGS'
23797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23806 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23808 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23809 for ac_func in _isinfl
23810 do :
23811 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23812 if test "x$ac_cv_func__isinfl" = x""yes; then :
23813 cat >>confdefs.h <<_ACEOF
23814 #define HAVE__ISINFL 1
23815 _ACEOF
23818 done
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23828 $as_echo_n "checking for atan2l declaration... " >&6; }
23829 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23830 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23831 $as_echo_n "(cached) " >&6
23832 else
23835 ac_ext=cpp
23836 ac_cpp='$CXXCPP $CPPFLAGS'
23837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23842 /* end confdefs.h. */
23843 #include <math.h>
23845 main ()
23847 atan2l(0, 0);
23849 return 0;
23851 _ACEOF
23852 if ac_fn_cxx_try_compile "$LINENO"; then :
23853 glibcxx_cv_func_atan2l_use=yes
23854 else
23855 glibcxx_cv_func_atan2l_use=no
23857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23858 ac_ext=c
23859 ac_cpp='$CPP $CPPFLAGS'
23860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23869 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23871 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23872 for ac_func in atan2l
23873 do :
23874 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23875 if test "x$ac_cv_func_atan2l" = x""yes; then :
23876 cat >>confdefs.h <<_ACEOF
23877 #define HAVE_ATAN2L 1
23878 _ACEOF
23881 done
23883 else
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23886 $as_echo_n "checking for _atan2l declaration... " >&6; }
23887 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23888 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23889 $as_echo_n "(cached) " >&6
23890 else
23893 ac_ext=cpp
23894 ac_cpp='$CXXCPP $CPPFLAGS'
23895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23900 /* end confdefs.h. */
23901 #include <math.h>
23903 main ()
23905 _atan2l(0, 0);
23907 return 0;
23909 _ACEOF
23910 if ac_fn_cxx_try_compile "$LINENO"; then :
23911 glibcxx_cv_func__atan2l_use=yes
23912 else
23913 glibcxx_cv_func__atan2l_use=no
23915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23916 ac_ext=c
23917 ac_cpp='$CPP $CPPFLAGS'
23918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23927 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23929 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23930 for ac_func in _atan2l
23931 do :
23932 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23933 if test "x$ac_cv_func__atan2l" = x""yes; then :
23934 cat >>confdefs.h <<_ACEOF
23935 #define HAVE__ATAN2L 1
23936 _ACEOF
23939 done
23948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23949 $as_echo_n "checking for expl declaration... " >&6; }
23950 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23951 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23952 $as_echo_n "(cached) " >&6
23953 else
23956 ac_ext=cpp
23957 ac_cpp='$CXXCPP $CPPFLAGS'
23958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23963 /* end confdefs.h. */
23964 #include <math.h>
23965 #ifdef HAVE_IEEEFP_H
23966 #include <ieeefp.h>
23967 #endif
23970 main ()
23972 expl(0);
23974 return 0;
23976 _ACEOF
23977 if ac_fn_cxx_try_compile "$LINENO"; then :
23978 glibcxx_cv_func_expl_use=yes
23979 else
23980 glibcxx_cv_func_expl_use=no
23982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23983 ac_ext=c
23984 ac_cpp='$CPP $CPPFLAGS'
23985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23994 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23996 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23997 for ac_func in expl
23998 do :
23999 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24000 if test "x$ac_cv_func_expl" = x""yes; then :
24001 cat >>confdefs.h <<_ACEOF
24002 #define HAVE_EXPL 1
24003 _ACEOF
24006 done
24008 else
24010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24011 $as_echo_n "checking for _expl declaration... " >&6; }
24012 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24013 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24014 $as_echo_n "(cached) " >&6
24015 else
24018 ac_ext=cpp
24019 ac_cpp='$CXXCPP $CPPFLAGS'
24020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24025 /* end confdefs.h. */
24026 #include <math.h>
24027 #ifdef HAVE_IEEEFP_H
24028 #include <ieeefp.h>
24029 #endif
24032 main ()
24034 _expl(0);
24036 return 0;
24038 _ACEOF
24039 if ac_fn_cxx_try_compile "$LINENO"; then :
24040 glibcxx_cv_func__expl_use=yes
24041 else
24042 glibcxx_cv_func__expl_use=no
24044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24045 ac_ext=c
24046 ac_cpp='$CPP $CPPFLAGS'
24047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24056 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24058 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24059 for ac_func in _expl
24060 do :
24061 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24062 if test "x$ac_cv_func__expl" = x""yes; then :
24063 cat >>confdefs.h <<_ACEOF
24064 #define HAVE__EXPL 1
24065 _ACEOF
24068 done
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24078 $as_echo_n "checking for fabsl declaration... " >&6; }
24079 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24080 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24081 $as_echo_n "(cached) " >&6
24082 else
24085 ac_ext=cpp
24086 ac_cpp='$CXXCPP $CPPFLAGS'
24087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24092 /* end confdefs.h. */
24093 #include <math.h>
24094 #ifdef HAVE_IEEEFP_H
24095 #include <ieeefp.h>
24096 #endif
24099 main ()
24101 fabsl(0);
24103 return 0;
24105 _ACEOF
24106 if ac_fn_cxx_try_compile "$LINENO"; then :
24107 glibcxx_cv_func_fabsl_use=yes
24108 else
24109 glibcxx_cv_func_fabsl_use=no
24111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24112 ac_ext=c
24113 ac_cpp='$CPP $CPPFLAGS'
24114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24123 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24125 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24126 for ac_func in fabsl
24127 do :
24128 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24129 if test "x$ac_cv_func_fabsl" = x""yes; then :
24130 cat >>confdefs.h <<_ACEOF
24131 #define HAVE_FABSL 1
24132 _ACEOF
24135 done
24137 else
24139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24140 $as_echo_n "checking for _fabsl declaration... " >&6; }
24141 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24142 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24143 $as_echo_n "(cached) " >&6
24144 else
24147 ac_ext=cpp
24148 ac_cpp='$CXXCPP $CPPFLAGS'
24149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24154 /* end confdefs.h. */
24155 #include <math.h>
24156 #ifdef HAVE_IEEEFP_H
24157 #include <ieeefp.h>
24158 #endif
24161 main ()
24163 _fabsl(0);
24165 return 0;
24167 _ACEOF
24168 if ac_fn_cxx_try_compile "$LINENO"; then :
24169 glibcxx_cv_func__fabsl_use=yes
24170 else
24171 glibcxx_cv_func__fabsl_use=no
24173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24174 ac_ext=c
24175 ac_cpp='$CPP $CPPFLAGS'
24176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24185 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24187 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24188 for ac_func in _fabsl
24189 do :
24190 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24191 if test "x$ac_cv_func__fabsl" = x""yes; then :
24192 cat >>confdefs.h <<_ACEOF
24193 #define HAVE__FABSL 1
24194 _ACEOF
24197 done
24206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24207 $as_echo_n "checking for fmodl declaration... " >&6; }
24208 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24209 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24210 $as_echo_n "(cached) " >&6
24211 else
24214 ac_ext=cpp
24215 ac_cpp='$CXXCPP $CPPFLAGS'
24216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24221 /* end confdefs.h. */
24222 #include <math.h>
24224 main ()
24226 fmodl(0, 0);
24228 return 0;
24230 _ACEOF
24231 if ac_fn_cxx_try_compile "$LINENO"; then :
24232 glibcxx_cv_func_fmodl_use=yes
24233 else
24234 glibcxx_cv_func_fmodl_use=no
24236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24237 ac_ext=c
24238 ac_cpp='$CPP $CPPFLAGS'
24239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24248 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24250 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24251 for ac_func in fmodl
24252 do :
24253 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24254 if test "x$ac_cv_func_fmodl" = x""yes; then :
24255 cat >>confdefs.h <<_ACEOF
24256 #define HAVE_FMODL 1
24257 _ACEOF
24260 done
24262 else
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24265 $as_echo_n "checking for _fmodl declaration... " >&6; }
24266 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24267 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24272 ac_ext=cpp
24273 ac_cpp='$CXXCPP $CPPFLAGS'
24274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h. */
24280 #include <math.h>
24282 main ()
24284 _fmodl(0, 0);
24286 return 0;
24288 _ACEOF
24289 if ac_fn_cxx_try_compile "$LINENO"; then :
24290 glibcxx_cv_func__fmodl_use=yes
24291 else
24292 glibcxx_cv_func__fmodl_use=no
24294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24295 ac_ext=c
24296 ac_cpp='$CPP $CPPFLAGS'
24297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24306 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24308 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24309 for ac_func in _fmodl
24310 do :
24311 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24312 if test "x$ac_cv_func__fmodl" = x""yes; then :
24313 cat >>confdefs.h <<_ACEOF
24314 #define HAVE__FMODL 1
24315 _ACEOF
24318 done
24327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24328 $as_echo_n "checking for frexpl declaration... " >&6; }
24329 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24330 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24331 $as_echo_n "(cached) " >&6
24332 else
24335 ac_ext=cpp
24336 ac_cpp='$CXXCPP $CPPFLAGS'
24337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24342 /* end confdefs.h. */
24343 #include <math.h>
24345 main ()
24347 frexpl(0, 0);
24349 return 0;
24351 _ACEOF
24352 if ac_fn_cxx_try_compile "$LINENO"; then :
24353 glibcxx_cv_func_frexpl_use=yes
24354 else
24355 glibcxx_cv_func_frexpl_use=no
24357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24358 ac_ext=c
24359 ac_cpp='$CPP $CPPFLAGS'
24360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24369 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24371 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24372 for ac_func in frexpl
24373 do :
24374 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24375 if test "x$ac_cv_func_frexpl" = x""yes; then :
24376 cat >>confdefs.h <<_ACEOF
24377 #define HAVE_FREXPL 1
24378 _ACEOF
24381 done
24383 else
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24386 $as_echo_n "checking for _frexpl declaration... " >&6; }
24387 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24388 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24389 $as_echo_n "(cached) " >&6
24390 else
24393 ac_ext=cpp
24394 ac_cpp='$CXXCPP $CPPFLAGS'
24395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h. */
24401 #include <math.h>
24403 main ()
24405 _frexpl(0, 0);
24407 return 0;
24409 _ACEOF
24410 if ac_fn_cxx_try_compile "$LINENO"; then :
24411 glibcxx_cv_func__frexpl_use=yes
24412 else
24413 glibcxx_cv_func__frexpl_use=no
24415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24416 ac_ext=c
24417 ac_cpp='$CPP $CPPFLAGS'
24418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24427 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24429 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24430 for ac_func in _frexpl
24431 do :
24432 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24433 if test "x$ac_cv_func__frexpl" = x""yes; then :
24434 cat >>confdefs.h <<_ACEOF
24435 #define HAVE__FREXPL 1
24436 _ACEOF
24439 done
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24449 $as_echo_n "checking for hypotl declaration... " >&6; }
24450 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24451 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24452 $as_echo_n "(cached) " >&6
24453 else
24456 ac_ext=cpp
24457 ac_cpp='$CXXCPP $CPPFLAGS'
24458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24463 /* end confdefs.h. */
24464 #include <math.h>
24466 main ()
24468 hypotl(0, 0);
24470 return 0;
24472 _ACEOF
24473 if ac_fn_cxx_try_compile "$LINENO"; then :
24474 glibcxx_cv_func_hypotl_use=yes
24475 else
24476 glibcxx_cv_func_hypotl_use=no
24478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24479 ac_ext=c
24480 ac_cpp='$CPP $CPPFLAGS'
24481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24490 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24492 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24493 for ac_func in hypotl
24494 do :
24495 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24496 if test "x$ac_cv_func_hypotl" = x""yes; then :
24497 cat >>confdefs.h <<_ACEOF
24498 #define HAVE_HYPOTL 1
24499 _ACEOF
24502 done
24504 else
24506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24507 $as_echo_n "checking for _hypotl declaration... " >&6; }
24508 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24509 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24510 $as_echo_n "(cached) " >&6
24511 else
24514 ac_ext=cpp
24515 ac_cpp='$CXXCPP $CPPFLAGS'
24516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24521 /* end confdefs.h. */
24522 #include <math.h>
24524 main ()
24526 _hypotl(0, 0);
24528 return 0;
24530 _ACEOF
24531 if ac_fn_cxx_try_compile "$LINENO"; then :
24532 glibcxx_cv_func__hypotl_use=yes
24533 else
24534 glibcxx_cv_func__hypotl_use=no
24536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24537 ac_ext=c
24538 ac_cpp='$CPP $CPPFLAGS'
24539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24548 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24550 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24551 for ac_func in _hypotl
24552 do :
24553 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24554 if test "x$ac_cv_func__hypotl" = x""yes; then :
24555 cat >>confdefs.h <<_ACEOF
24556 #define HAVE__HYPOTL 1
24557 _ACEOF
24560 done
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24570 $as_echo_n "checking for ldexpl declaration... " >&6; }
24571 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24572 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24573 $as_echo_n "(cached) " >&6
24574 else
24577 ac_ext=cpp
24578 ac_cpp='$CXXCPP $CPPFLAGS'
24579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24584 /* end confdefs.h. */
24585 #include <math.h>
24587 main ()
24589 ldexpl(0, 0);
24591 return 0;
24593 _ACEOF
24594 if ac_fn_cxx_try_compile "$LINENO"; then :
24595 glibcxx_cv_func_ldexpl_use=yes
24596 else
24597 glibcxx_cv_func_ldexpl_use=no
24599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24600 ac_ext=c
24601 ac_cpp='$CPP $CPPFLAGS'
24602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24611 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24613 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24614 for ac_func in ldexpl
24615 do :
24616 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24617 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24618 cat >>confdefs.h <<_ACEOF
24619 #define HAVE_LDEXPL 1
24620 _ACEOF
24623 done
24625 else
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24628 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24629 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24630 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24631 $as_echo_n "(cached) " >&6
24632 else
24635 ac_ext=cpp
24636 ac_cpp='$CXXCPP $CPPFLAGS'
24637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24642 /* end confdefs.h. */
24643 #include <math.h>
24645 main ()
24647 _ldexpl(0, 0);
24649 return 0;
24651 _ACEOF
24652 if ac_fn_cxx_try_compile "$LINENO"; then :
24653 glibcxx_cv_func__ldexpl_use=yes
24654 else
24655 glibcxx_cv_func__ldexpl_use=no
24657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24658 ac_ext=c
24659 ac_cpp='$CPP $CPPFLAGS'
24660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24669 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24671 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24672 for ac_func in _ldexpl
24673 do :
24674 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24675 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24676 cat >>confdefs.h <<_ACEOF
24677 #define HAVE__LDEXPL 1
24678 _ACEOF
24681 done
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24691 $as_echo_n "checking for logl declaration... " >&6; }
24692 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24693 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24694 $as_echo_n "(cached) " >&6
24695 else
24698 ac_ext=cpp
24699 ac_cpp='$CXXCPP $CPPFLAGS'
24700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24705 /* end confdefs.h. */
24706 #include <math.h>
24707 #ifdef HAVE_IEEEFP_H
24708 #include <ieeefp.h>
24709 #endif
24712 main ()
24714 logl(0);
24716 return 0;
24718 _ACEOF
24719 if ac_fn_cxx_try_compile "$LINENO"; then :
24720 glibcxx_cv_func_logl_use=yes
24721 else
24722 glibcxx_cv_func_logl_use=no
24724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24725 ac_ext=c
24726 ac_cpp='$CPP $CPPFLAGS'
24727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24736 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24738 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24739 for ac_func in logl
24740 do :
24741 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24742 if test "x$ac_cv_func_logl" = x""yes; then :
24743 cat >>confdefs.h <<_ACEOF
24744 #define HAVE_LOGL 1
24745 _ACEOF
24748 done
24750 else
24752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24753 $as_echo_n "checking for _logl declaration... " >&6; }
24754 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24755 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24756 $as_echo_n "(cached) " >&6
24757 else
24760 ac_ext=cpp
24761 ac_cpp='$CXXCPP $CPPFLAGS'
24762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24767 /* end confdefs.h. */
24768 #include <math.h>
24769 #ifdef HAVE_IEEEFP_H
24770 #include <ieeefp.h>
24771 #endif
24774 main ()
24776 _logl(0);
24778 return 0;
24780 _ACEOF
24781 if ac_fn_cxx_try_compile "$LINENO"; then :
24782 glibcxx_cv_func__logl_use=yes
24783 else
24784 glibcxx_cv_func__logl_use=no
24786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24787 ac_ext=c
24788 ac_cpp='$CPP $CPPFLAGS'
24789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24798 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24800 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24801 for ac_func in _logl
24802 do :
24803 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24804 if test "x$ac_cv_func__logl" = x""yes; then :
24805 cat >>confdefs.h <<_ACEOF
24806 #define HAVE__LOGL 1
24807 _ACEOF
24810 done
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24820 $as_echo_n "checking for log10l declaration... " >&6; }
24821 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24822 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24823 $as_echo_n "(cached) " >&6
24824 else
24827 ac_ext=cpp
24828 ac_cpp='$CXXCPP $CPPFLAGS'
24829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24834 /* end confdefs.h. */
24835 #include <math.h>
24836 #ifdef HAVE_IEEEFP_H
24837 #include <ieeefp.h>
24838 #endif
24841 main ()
24843 log10l(0);
24845 return 0;
24847 _ACEOF
24848 if ac_fn_cxx_try_compile "$LINENO"; then :
24849 glibcxx_cv_func_log10l_use=yes
24850 else
24851 glibcxx_cv_func_log10l_use=no
24853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24854 ac_ext=c
24855 ac_cpp='$CPP $CPPFLAGS'
24856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24865 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24867 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24868 for ac_func in log10l
24869 do :
24870 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24871 if test "x$ac_cv_func_log10l" = x""yes; then :
24872 cat >>confdefs.h <<_ACEOF
24873 #define HAVE_LOG10L 1
24874 _ACEOF
24877 done
24879 else
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24882 $as_echo_n "checking for _log10l declaration... " >&6; }
24883 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24884 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24885 $as_echo_n "(cached) " >&6
24886 else
24889 ac_ext=cpp
24890 ac_cpp='$CXXCPP $CPPFLAGS'
24891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24896 /* end confdefs.h. */
24897 #include <math.h>
24898 #ifdef HAVE_IEEEFP_H
24899 #include <ieeefp.h>
24900 #endif
24903 main ()
24905 _log10l(0);
24907 return 0;
24909 _ACEOF
24910 if ac_fn_cxx_try_compile "$LINENO"; then :
24911 glibcxx_cv_func__log10l_use=yes
24912 else
24913 glibcxx_cv_func__log10l_use=no
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 ac_ext=c
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24927 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24929 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24930 for ac_func in _log10l
24931 do :
24932 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24933 if test "x$ac_cv_func__log10l" = x""yes; then :
24934 cat >>confdefs.h <<_ACEOF
24935 #define HAVE__LOG10L 1
24936 _ACEOF
24939 done
24948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24949 $as_echo_n "checking for modfl declaration... " >&6; }
24950 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24951 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24952 $as_echo_n "(cached) " >&6
24953 else
24956 ac_ext=cpp
24957 ac_cpp='$CXXCPP $CPPFLAGS'
24958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24963 /* end confdefs.h. */
24964 #include <math.h>
24966 main ()
24968 modfl(0, 0);
24970 return 0;
24972 _ACEOF
24973 if ac_fn_cxx_try_compile "$LINENO"; then :
24974 glibcxx_cv_func_modfl_use=yes
24975 else
24976 glibcxx_cv_func_modfl_use=no
24978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24979 ac_ext=c
24980 ac_cpp='$CPP $CPPFLAGS'
24981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24990 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24992 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24993 for ac_func in modfl
24994 do :
24995 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24996 if test "x$ac_cv_func_modfl" = x""yes; then :
24997 cat >>confdefs.h <<_ACEOF
24998 #define HAVE_MODFL 1
24999 _ACEOF
25002 done
25004 else
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25007 $as_echo_n "checking for _modfl declaration... " >&6; }
25008 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25009 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25010 $as_echo_n "(cached) " >&6
25011 else
25014 ac_ext=cpp
25015 ac_cpp='$CXXCPP $CPPFLAGS'
25016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25021 /* end confdefs.h. */
25022 #include <math.h>
25024 main ()
25026 _modfl(0, 0);
25028 return 0;
25030 _ACEOF
25031 if ac_fn_cxx_try_compile "$LINENO"; then :
25032 glibcxx_cv_func__modfl_use=yes
25033 else
25034 glibcxx_cv_func__modfl_use=no
25036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25037 ac_ext=c
25038 ac_cpp='$CPP $CPPFLAGS'
25039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25048 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25050 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25051 for ac_func in _modfl
25052 do :
25053 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25054 if test "x$ac_cv_func__modfl" = x""yes; then :
25055 cat >>confdefs.h <<_ACEOF
25056 #define HAVE__MODFL 1
25057 _ACEOF
25060 done
25069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25070 $as_echo_n "checking for powl declaration... " >&6; }
25071 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25072 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25073 $as_echo_n "(cached) " >&6
25074 else
25077 ac_ext=cpp
25078 ac_cpp='$CXXCPP $CPPFLAGS'
25079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25084 /* end confdefs.h. */
25085 #include <math.h>
25087 main ()
25089 powl(0, 0);
25091 return 0;
25093 _ACEOF
25094 if ac_fn_cxx_try_compile "$LINENO"; then :
25095 glibcxx_cv_func_powl_use=yes
25096 else
25097 glibcxx_cv_func_powl_use=no
25099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25100 ac_ext=c
25101 ac_cpp='$CPP $CPPFLAGS'
25102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25111 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25113 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25114 for ac_func in powl
25115 do :
25116 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25117 if test "x$ac_cv_func_powl" = x""yes; then :
25118 cat >>confdefs.h <<_ACEOF
25119 #define HAVE_POWL 1
25120 _ACEOF
25123 done
25125 else
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25128 $as_echo_n "checking for _powl declaration... " >&6; }
25129 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25130 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25131 $as_echo_n "(cached) " >&6
25132 else
25135 ac_ext=cpp
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h. */
25143 #include <math.h>
25145 main ()
25147 _powl(0, 0);
25149 return 0;
25151 _ACEOF
25152 if ac_fn_cxx_try_compile "$LINENO"; then :
25153 glibcxx_cv_func__powl_use=yes
25154 else
25155 glibcxx_cv_func__powl_use=no
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158 ac_ext=c
25159 ac_cpp='$CPP $CPPFLAGS'
25160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25169 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25171 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25172 for ac_func in _powl
25173 do :
25174 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25175 if test "x$ac_cv_func__powl" = x""yes; then :
25176 cat >>confdefs.h <<_ACEOF
25177 #define HAVE__POWL 1
25178 _ACEOF
25181 done
25190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25191 $as_echo_n "checking for sqrtl declaration... " >&6; }
25192 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25193 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25194 $as_echo_n "(cached) " >&6
25195 else
25198 ac_ext=cpp
25199 ac_cpp='$CXXCPP $CPPFLAGS'
25200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25205 /* end confdefs.h. */
25206 #include <math.h>
25207 #ifdef HAVE_IEEEFP_H
25208 #include <ieeefp.h>
25209 #endif
25212 main ()
25214 sqrtl(0);
25216 return 0;
25218 _ACEOF
25219 if ac_fn_cxx_try_compile "$LINENO"; then :
25220 glibcxx_cv_func_sqrtl_use=yes
25221 else
25222 glibcxx_cv_func_sqrtl_use=no
25224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25225 ac_ext=c
25226 ac_cpp='$CPP $CPPFLAGS'
25227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25236 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25238 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25239 for ac_func in sqrtl
25240 do :
25241 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25242 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25243 cat >>confdefs.h <<_ACEOF
25244 #define HAVE_SQRTL 1
25245 _ACEOF
25248 done
25250 else
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25253 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25254 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25255 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25256 $as_echo_n "(cached) " >&6
25257 else
25260 ac_ext=cpp
25261 ac_cpp='$CXXCPP $CPPFLAGS'
25262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25267 /* end confdefs.h. */
25268 #include <math.h>
25269 #ifdef HAVE_IEEEFP_H
25270 #include <ieeefp.h>
25271 #endif
25274 main ()
25276 _sqrtl(0);
25278 return 0;
25280 _ACEOF
25281 if ac_fn_cxx_try_compile "$LINENO"; then :
25282 glibcxx_cv_func__sqrtl_use=yes
25283 else
25284 glibcxx_cv_func__sqrtl_use=no
25286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25287 ac_ext=c
25288 ac_cpp='$CPP $CPPFLAGS'
25289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25298 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25300 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25301 for ac_func in _sqrtl
25302 do :
25303 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25304 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25305 cat >>confdefs.h <<_ACEOF
25306 #define HAVE__SQRTL 1
25307 _ACEOF
25310 done
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25320 $as_echo_n "checking for sincosl declaration... " >&6; }
25321 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25322 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25323 $as_echo_n "(cached) " >&6
25324 else
25327 ac_ext=cpp
25328 ac_cpp='$CXXCPP $CPPFLAGS'
25329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25334 /* end confdefs.h. */
25335 #include <math.h>
25337 main ()
25339 sincosl(0, 0, 0);
25341 return 0;
25343 _ACEOF
25344 if ac_fn_cxx_try_compile "$LINENO"; then :
25345 glibcxx_cv_func_sincosl_use=yes
25346 else
25347 glibcxx_cv_func_sincosl_use=no
25349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25350 ac_ext=c
25351 ac_cpp='$CPP $CPPFLAGS'
25352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25361 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25363 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25364 for ac_func in sincosl
25365 do :
25366 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25367 if test "x$ac_cv_func_sincosl" = x""yes; then :
25368 cat >>confdefs.h <<_ACEOF
25369 #define HAVE_SINCOSL 1
25370 _ACEOF
25373 done
25375 else
25377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25378 $as_echo_n "checking for _sincosl declaration... " >&6; }
25379 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25380 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25381 $as_echo_n "(cached) " >&6
25382 else
25385 ac_ext=cpp
25386 ac_cpp='$CXXCPP $CPPFLAGS'
25387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25392 /* end confdefs.h. */
25393 #include <math.h>
25395 main ()
25397 _sincosl(0, 0, 0);
25399 return 0;
25401 _ACEOF
25402 if ac_fn_cxx_try_compile "$LINENO"; then :
25403 glibcxx_cv_func__sincosl_use=yes
25404 else
25405 glibcxx_cv_func__sincosl_use=no
25407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25408 ac_ext=c
25409 ac_cpp='$CPP $CPPFLAGS'
25410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25419 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25421 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25422 for ac_func in _sincosl
25423 do :
25424 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25425 if test "x$ac_cv_func__sincosl" = x""yes; then :
25426 cat >>confdefs.h <<_ACEOF
25427 #define HAVE__SINCOSL 1
25428 _ACEOF
25431 done
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25441 $as_echo_n "checking for finitel declaration... " >&6; }
25442 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25443 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25444 $as_echo_n "(cached) " >&6
25445 else
25448 ac_ext=cpp
25449 ac_cpp='$CXXCPP $CPPFLAGS'
25450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25455 /* end confdefs.h. */
25456 #include <math.h>
25457 #ifdef HAVE_IEEEFP_H
25458 #include <ieeefp.h>
25459 #endif
25462 main ()
25464 finitel(0);
25466 return 0;
25468 _ACEOF
25469 if ac_fn_cxx_try_compile "$LINENO"; then :
25470 glibcxx_cv_func_finitel_use=yes
25471 else
25472 glibcxx_cv_func_finitel_use=no
25474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25475 ac_ext=c
25476 ac_cpp='$CPP $CPPFLAGS'
25477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25486 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25488 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25489 for ac_func in finitel
25490 do :
25491 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25492 if test "x$ac_cv_func_finitel" = x""yes; then :
25493 cat >>confdefs.h <<_ACEOF
25494 #define HAVE_FINITEL 1
25495 _ACEOF
25498 done
25500 else
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25503 $as_echo_n "checking for _finitel declaration... " >&6; }
25504 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25505 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25506 $as_echo_n "(cached) " >&6
25507 else
25510 ac_ext=cpp
25511 ac_cpp='$CXXCPP $CPPFLAGS'
25512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25517 /* end confdefs.h. */
25518 #include <math.h>
25519 #ifdef HAVE_IEEEFP_H
25520 #include <ieeefp.h>
25521 #endif
25524 main ()
25526 _finitel(0);
25528 return 0;
25530 _ACEOF
25531 if ac_fn_cxx_try_compile "$LINENO"; then :
25532 glibcxx_cv_func__finitel_use=yes
25533 else
25534 glibcxx_cv_func__finitel_use=no
25536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25537 ac_ext=c
25538 ac_cpp='$CPP $CPPFLAGS'
25539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25548 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25550 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25551 for ac_func in _finitel
25552 do :
25553 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25554 if test "x$ac_cv_func__finitel" = x""yes; then :
25555 cat >>confdefs.h <<_ACEOF
25556 #define HAVE__FINITEL 1
25557 _ACEOF
25560 done
25568 LIBS="$ac_save_LIBS"
25569 CXXFLAGS="$ac_save_CXXFLAGS"
25572 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25573 ac_save_CXXFLAGS="$CXXFLAGS"
25574 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25578 $as_echo_n "checking for strtold declaration... " >&6; }
25579 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25580 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25581 $as_echo_n "(cached) " >&6
25582 else
25585 ac_ext=cpp
25586 ac_cpp='$CXXCPP $CPPFLAGS'
25587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25592 /* end confdefs.h. */
25593 #include <stdlib.h>
25595 main ()
25597 strtold(0, 0);
25599 return 0;
25601 _ACEOF
25602 if ac_fn_cxx_try_compile "$LINENO"; then :
25603 glibcxx_cv_func_strtold_use=yes
25604 else
25605 glibcxx_cv_func_strtold_use=no
25607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25608 ac_ext=c
25609 ac_cpp='$CPP $CPPFLAGS'
25610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25619 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25620 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25621 for ac_func in strtold
25622 do :
25623 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25624 if test "x$ac_cv_func_strtold" = x""yes; then :
25625 cat >>confdefs.h <<_ACEOF
25626 #define HAVE_STRTOLD 1
25627 _ACEOF
25630 done
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25638 $as_echo_n "checking for strtof declaration... " >&6; }
25639 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25640 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25641 $as_echo_n "(cached) " >&6
25642 else
25645 ac_ext=cpp
25646 ac_cpp='$CXXCPP $CPPFLAGS'
25647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25652 /* end confdefs.h. */
25653 #include <stdlib.h>
25655 main ()
25657 strtof(0, 0);
25659 return 0;
25661 _ACEOF
25662 if ac_fn_cxx_try_compile "$LINENO"; then :
25663 glibcxx_cv_func_strtof_use=yes
25664 else
25665 glibcxx_cv_func_strtof_use=no
25667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25668 ac_ext=c
25669 ac_cpp='$CPP $CPPFLAGS'
25670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25679 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25680 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25681 for ac_func in strtof
25682 do :
25683 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25684 if test "x$ac_cv_func_strtof" = x""yes; then :
25685 cat >>confdefs.h <<_ACEOF
25686 #define HAVE_STRTOF 1
25687 _ACEOF
25690 done
25697 CXXFLAGS="$ac_save_CXXFLAGS"
25700 # For /dev/random and /dev/urandom for TR1.
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25704 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25705 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25706 $as_echo_n "(cached) " >&6
25707 else
25709 if test -r /dev/random && test -r /dev/urandom; then
25710 glibcxx_cv_random_tr1=yes;
25711 else
25712 glibcxx_cv_random_tr1=no;
25717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25718 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25720 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25722 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25728 # For TLS support.
25731 # Check whether --enable-tls was given.
25732 if test "${enable_tls+set}" = set; then :
25733 enableval=$enable_tls;
25734 case "$enableval" in
25735 yes|no) ;;
25736 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25737 esac
25739 else
25740 enable_tls=yes
25744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25745 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25746 if test "${gcc_cv_have_tls+set}" = set; then :
25747 $as_echo_n "(cached) " >&6
25748 else
25750 if test "$cross_compiling" = yes; then :
25751 if test x$gcc_no_link = xyes; then
25752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25755 /* end confdefs.h. */
25756 __thread int a; int b; int main() { return a = b; }
25757 _ACEOF
25758 if ac_fn_c_try_link "$LINENO"; then :
25759 chktls_save_LDFLAGS="$LDFLAGS"
25760 case $host in
25761 *-*-linux*)
25762 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25764 esac
25765 chktls_save_CFLAGS="$CFLAGS"
25766 CFLAGS="-fPIC $CFLAGS"
25767 if test x$gcc_no_link = xyes; then
25768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25771 /* end confdefs.h. */
25772 int f() { return 0; }
25773 _ACEOF
25774 if ac_fn_c_try_link "$LINENO"; then :
25775 if test x$gcc_no_link = xyes; then
25776 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25779 /* end confdefs.h. */
25780 __thread int a; int b; int f() { return a = b; }
25781 _ACEOF
25782 if ac_fn_c_try_link "$LINENO"; then :
25783 gcc_cv_have_tls=yes
25784 else
25785 gcc_cv_have_tls=no
25787 rm -f core conftest.err conftest.$ac_objext \
25788 conftest$ac_exeext conftest.$ac_ext
25789 else
25790 gcc_cv_have_tls=yes
25792 rm -f core conftest.err conftest.$ac_objext \
25793 conftest$ac_exeext conftest.$ac_ext
25794 CFLAGS="$chktls_save_CFLAGS"
25795 LDFLAGS="$chktls_save_LDFLAGS"
25796 else
25797 gcc_cv_have_tls=no
25799 rm -f core conftest.err conftest.$ac_objext \
25800 conftest$ac_exeext conftest.$ac_ext
25803 else
25804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25805 /* end confdefs.h. */
25806 __thread int a; int b; int main() { return a = b; }
25807 _ACEOF
25808 if ac_fn_c_try_run "$LINENO"; then :
25809 chktls_save_LDFLAGS="$LDFLAGS"
25810 LDFLAGS="-static $LDFLAGS"
25811 if test x$gcc_no_link = xyes; then
25812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25815 /* end confdefs.h. */
25816 int main() { return 0; }
25817 _ACEOF
25818 if ac_fn_c_try_link "$LINENO"; then :
25819 if test "$cross_compiling" = yes; then :
25820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25822 as_fn_error "cannot run test program while cross compiling
25823 See \`config.log' for more details." "$LINENO" 5; }
25824 else
25825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25826 /* end confdefs.h. */
25827 __thread int a; int b; int main() { return a = b; }
25828 _ACEOF
25829 if ac_fn_c_try_run "$LINENO"; then :
25830 gcc_cv_have_tls=yes
25831 else
25832 gcc_cv_have_tls=no
25834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25835 conftest.$ac_objext conftest.beam conftest.$ac_ext
25838 else
25839 gcc_cv_have_tls=yes
25841 rm -f core conftest.err conftest.$ac_objext \
25842 conftest$ac_exeext conftest.$ac_ext
25843 LDFLAGS="$chktls_save_LDFLAGS"
25844 if test $gcc_cv_have_tls = yes; then
25845 chktls_save_CFLAGS="$CFLAGS"
25846 thread_CFLAGS=failed
25847 for flag in '' '-pthread' '-lpthread'; do
25848 CFLAGS="$flag $chktls_save_CFLAGS"
25849 if test x$gcc_no_link = xyes; then
25850 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25853 /* end confdefs.h. */
25854 #include <pthread.h>
25855 void *g(void *d) { return NULL; }
25857 main ()
25859 pthread_t t; pthread_create(&t,NULL,g,NULL);
25861 return 0;
25863 _ACEOF
25864 if ac_fn_c_try_link "$LINENO"; then :
25865 thread_CFLAGS="$flag"
25867 rm -f core conftest.err conftest.$ac_objext \
25868 conftest$ac_exeext conftest.$ac_ext
25869 if test "X$thread_CFLAGS" != Xfailed; then
25870 break
25872 done
25873 CFLAGS="$chktls_save_CFLAGS"
25874 if test "X$thread_CFLAGS" != Xfailed; then
25875 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25876 if test "$cross_compiling" = yes; then :
25877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25879 as_fn_error "cannot run test program while cross compiling
25880 See \`config.log' for more details." "$LINENO" 5; }
25881 else
25882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25883 /* end confdefs.h. */
25884 #include <pthread.h>
25885 __thread int a;
25886 static int *volatile a_in_other_thread;
25887 static void *
25888 thread_func (void *arg)
25890 a_in_other_thread = &a;
25891 return (void *)0;
25894 main ()
25896 pthread_t thread;
25897 void *thread_retval;
25898 int *volatile a_in_main_thread;
25899 a_in_main_thread = &a;
25900 if (pthread_create (&thread, (pthread_attr_t *)0,
25901 thread_func, (void *)0))
25902 return 0;
25903 if (pthread_join (thread, &thread_retval))
25904 return 0;
25905 return (a_in_other_thread == a_in_main_thread);
25907 return 0;
25909 _ACEOF
25910 if ac_fn_c_try_run "$LINENO"; then :
25911 gcc_cv_have_tls=yes
25912 else
25913 gcc_cv_have_tls=no
25915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25916 conftest.$ac_objext conftest.beam conftest.$ac_ext
25919 CFLAGS="$chktls_save_CFLAGS"
25922 else
25923 gcc_cv_have_tls=no
25925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25926 conftest.$ac_objext conftest.beam conftest.$ac_ext
25930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25931 $as_echo "$gcc_cv_have_tls" >&6; }
25932 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25934 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25938 # For iconv support.
25940 if test "X$prefix" = "XNONE"; then
25941 acl_final_prefix="$ac_default_prefix"
25942 else
25943 acl_final_prefix="$prefix"
25945 if test "X$exec_prefix" = "XNONE"; then
25946 acl_final_exec_prefix='${prefix}'
25947 else
25948 acl_final_exec_prefix="$exec_prefix"
25950 acl_save_prefix="$prefix"
25951 prefix="$acl_final_prefix"
25952 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25953 prefix="$acl_save_prefix"
25956 # Check whether --with-gnu-ld was given.
25957 if test "${with_gnu_ld+set}" = set; then :
25958 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25959 else
25960 with_gnu_ld=no
25963 # Prepare PATH_SEPARATOR.
25964 # The user is always right.
25965 if test "${PATH_SEPARATOR+set}" != set; then
25966 echo "#! /bin/sh" >conf$$.sh
25967 echo "exit 0" >>conf$$.sh
25968 chmod +x conf$$.sh
25969 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25970 PATH_SEPARATOR=';'
25971 else
25972 PATH_SEPARATOR=:
25974 rm -f conf$$.sh
25976 ac_prog=ld
25977 if test "$GCC" = yes; then
25978 # Check if gcc -print-prog-name=ld gives a path.
25979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25980 $as_echo_n "checking for ld used by GCC... " >&6; }
25981 case $host in
25982 *-*-mingw*)
25983 # gcc leaves a trailing carriage return which upsets mingw
25984 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25986 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25987 esac
25988 case $ac_prog in
25989 # Accept absolute paths.
25990 [\\/]* | [A-Za-z]:[\\/]*)
25991 re_direlt='/[^/][^/]*/\.\./'
25992 # Canonicalize the path of ld
25993 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25994 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25995 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25996 done
25997 test -z "$LD" && LD="$ac_prog"
26000 # If it fails, then pretend we aren't using GCC.
26001 ac_prog=ld
26004 # If it is relative, then search for the first ld in PATH.
26005 with_gnu_ld=unknown
26007 esac
26008 elif test "$with_gnu_ld" = yes; then
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26010 $as_echo_n "checking for GNU ld... " >&6; }
26011 else
26012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26013 $as_echo_n "checking for non-GNU ld... " >&6; }
26015 if test "${acl_cv_path_LD+set}" = set; then :
26016 $as_echo_n "(cached) " >&6
26017 else
26018 if test -z "$LD"; then
26019 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26020 for ac_dir in $PATH; do
26021 test -z "$ac_dir" && ac_dir=.
26022 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26023 acl_cv_path_LD="$ac_dir/$ac_prog"
26024 # Check to see if the program is GNU ld. I'd rather use --version,
26025 # but apparently some GNU ld's only accept -v.
26026 # Break only if it was the GNU/non-GNU ld that we prefer.
26027 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26028 test "$with_gnu_ld" != no && break
26029 else
26030 test "$with_gnu_ld" != yes && break
26033 done
26034 IFS="$ac_save_ifs"
26035 else
26036 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26040 LD="$acl_cv_path_LD"
26041 if test -n "$LD"; then
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26043 $as_echo "$LD" >&6; }
26044 else
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26046 $as_echo "no" >&6; }
26048 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26050 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26051 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26052 $as_echo_n "(cached) " >&6
26053 else
26054 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26055 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26056 acl_cv_prog_gnu_ld=yes
26057 else
26058 acl_cv_prog_gnu_ld=no
26061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26062 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26063 with_gnu_ld=$acl_cv_prog_gnu_ld
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26068 $as_echo_n "checking for shared library run path origin... " >&6; }
26069 if test "${acl_cv_rpath+set}" = set; then :
26070 $as_echo_n "(cached) " >&6
26071 else
26073 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26074 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26075 . ./conftest.sh
26076 rm -f ./conftest.sh
26077 acl_cv_rpath=done
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26081 $as_echo "$acl_cv_rpath" >&6; }
26082 wl="$acl_cv_wl"
26083 libext="$acl_cv_libext"
26084 shlibext="$acl_cv_shlibext"
26085 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26086 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26087 hardcode_direct="$acl_cv_hardcode_direct"
26088 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26089 # Check whether --enable-rpath was given.
26090 if test "${enable_rpath+set}" = set; then :
26091 enableval=$enable_rpath; :
26092 else
26093 enable_rpath=yes
26103 use_additional=yes
26105 acl_save_prefix="$prefix"
26106 prefix="$acl_final_prefix"
26107 acl_save_exec_prefix="$exec_prefix"
26108 exec_prefix="$acl_final_exec_prefix"
26110 eval additional_includedir=\"$includedir\"
26111 eval additional_libdir=\"$libdir\"
26113 exec_prefix="$acl_save_exec_prefix"
26114 prefix="$acl_save_prefix"
26117 # Check whether --with-libiconv-prefix was given.
26118 if test "${with_libiconv_prefix+set}" = set; then :
26119 withval=$with_libiconv_prefix;
26120 if test "X$withval" = "Xno"; then
26121 use_additional=no
26122 else
26123 if test "X$withval" = "X"; then
26125 acl_save_prefix="$prefix"
26126 prefix="$acl_final_prefix"
26127 acl_save_exec_prefix="$exec_prefix"
26128 exec_prefix="$acl_final_exec_prefix"
26130 eval additional_includedir=\"$includedir\"
26131 eval additional_libdir=\"$libdir\"
26133 exec_prefix="$acl_save_exec_prefix"
26134 prefix="$acl_save_prefix"
26136 else
26137 additional_includedir="$withval/include"
26138 additional_libdir="$withval/lib"
26144 LIBICONV=
26145 LTLIBICONV=
26146 INCICONV=
26147 rpathdirs=
26148 ltrpathdirs=
26149 names_already_handled=
26150 names_next_round='iconv '
26151 while test -n "$names_next_round"; do
26152 names_this_round="$names_next_round"
26153 names_next_round=
26154 for name in $names_this_round; do
26155 already_handled=
26156 for n in $names_already_handled; do
26157 if test "$n" = "$name"; then
26158 already_handled=yes
26159 break
26161 done
26162 if test -z "$already_handled"; then
26163 names_already_handled="$names_already_handled $name"
26164 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26165 eval value=\"\$HAVE_LIB$uppername\"
26166 if test -n "$value"; then
26167 if test "$value" = yes; then
26168 eval value=\"\$LIB$uppername\"
26169 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26170 eval value=\"\$LTLIB$uppername\"
26171 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26172 else
26175 else
26176 found_dir=
26177 found_la=
26178 found_so=
26179 found_a=
26180 if test $use_additional = yes; then
26181 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26182 found_dir="$additional_libdir"
26183 found_so="$additional_libdir/lib$name.$shlibext"
26184 if test -f "$additional_libdir/lib$name.la"; then
26185 found_la="$additional_libdir/lib$name.la"
26187 else
26188 if test -f "$additional_libdir/lib$name.$libext"; then
26189 found_dir="$additional_libdir"
26190 found_a="$additional_libdir/lib$name.$libext"
26191 if test -f "$additional_libdir/lib$name.la"; then
26192 found_la="$additional_libdir/lib$name.la"
26197 if test "X$found_dir" = "X"; then
26198 for x in $LDFLAGS $LTLIBICONV; do
26200 acl_save_prefix="$prefix"
26201 prefix="$acl_final_prefix"
26202 acl_save_exec_prefix="$exec_prefix"
26203 exec_prefix="$acl_final_exec_prefix"
26204 eval x=\"$x\"
26205 exec_prefix="$acl_save_exec_prefix"
26206 prefix="$acl_save_prefix"
26208 case "$x" in
26209 -L*)
26210 dir=`echo "X$x" | sed -e 's/^X-L//'`
26211 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26212 found_dir="$dir"
26213 found_so="$dir/lib$name.$shlibext"
26214 if test -f "$dir/lib$name.la"; then
26215 found_la="$dir/lib$name.la"
26217 else
26218 if test -f "$dir/lib$name.$libext"; then
26219 found_dir="$dir"
26220 found_a="$dir/lib$name.$libext"
26221 if test -f "$dir/lib$name.la"; then
26222 found_la="$dir/lib$name.la"
26227 esac
26228 if test "X$found_dir" != "X"; then
26229 break
26231 done
26233 if test "X$found_dir" != "X"; then
26234 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26235 if test "X$found_so" != "X"; then
26236 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26237 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26238 else
26239 haveit=
26240 for x in $ltrpathdirs; do
26241 if test "X$x" = "X$found_dir"; then
26242 haveit=yes
26243 break
26245 done
26246 if test -z "$haveit"; then
26247 ltrpathdirs="$ltrpathdirs $found_dir"
26249 if test "$hardcode_direct" = yes; then
26250 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26251 else
26252 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26253 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26254 haveit=
26255 for x in $rpathdirs; do
26256 if test "X$x" = "X$found_dir"; then
26257 haveit=yes
26258 break
26260 done
26261 if test -z "$haveit"; then
26262 rpathdirs="$rpathdirs $found_dir"
26264 else
26265 haveit=
26266 for x in $LDFLAGS $LIBICONV; do
26268 acl_save_prefix="$prefix"
26269 prefix="$acl_final_prefix"
26270 acl_save_exec_prefix="$exec_prefix"
26271 exec_prefix="$acl_final_exec_prefix"
26272 eval x=\"$x\"
26273 exec_prefix="$acl_save_exec_prefix"
26274 prefix="$acl_save_prefix"
26276 if test "X$x" = "X-L$found_dir"; then
26277 haveit=yes
26278 break
26280 done
26281 if test -z "$haveit"; then
26282 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26284 if test "$hardcode_minus_L" != no; then
26285 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26286 else
26287 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26292 else
26293 if test "X$found_a" != "X"; then
26294 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26295 else
26296 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26299 additional_includedir=
26300 case "$found_dir" in
26301 */lib | */lib/)
26302 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26303 additional_includedir="$basedir/include"
26305 esac
26306 if test "X$additional_includedir" != "X"; then
26307 if test "X$additional_includedir" != "X/usr/include"; then
26308 haveit=
26309 if test "X$additional_includedir" = "X/usr/local/include"; then
26310 if test -n "$GCC"; then
26311 case $host_os in
26312 linux*) haveit=yes;;
26313 esac
26316 if test -z "$haveit"; then
26317 for x in $CPPFLAGS $INCICONV; do
26319 acl_save_prefix="$prefix"
26320 prefix="$acl_final_prefix"
26321 acl_save_exec_prefix="$exec_prefix"
26322 exec_prefix="$acl_final_exec_prefix"
26323 eval x=\"$x\"
26324 exec_prefix="$acl_save_exec_prefix"
26325 prefix="$acl_save_prefix"
26327 if test "X$x" = "X-I$additional_includedir"; then
26328 haveit=yes
26329 break
26331 done
26332 if test -z "$haveit"; then
26333 if test -d "$additional_includedir"; then
26334 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26340 if test -n "$found_la"; then
26341 save_libdir="$libdir"
26342 case "$found_la" in
26343 */* | *\\*) . "$found_la" ;;
26344 *) . "./$found_la" ;;
26345 esac
26346 libdir="$save_libdir"
26347 for dep in $dependency_libs; do
26348 case "$dep" in
26349 -L*)
26350 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26351 if test "X$additional_libdir" != "X/usr/lib"; then
26352 haveit=
26353 if test "X$additional_libdir" = "X/usr/local/lib"; then
26354 if test -n "$GCC"; then
26355 case $host_os in
26356 linux*) haveit=yes;;
26357 esac
26360 if test -z "$haveit"; then
26361 haveit=
26362 for x in $LDFLAGS $LIBICONV; do
26364 acl_save_prefix="$prefix"
26365 prefix="$acl_final_prefix"
26366 acl_save_exec_prefix="$exec_prefix"
26367 exec_prefix="$acl_final_exec_prefix"
26368 eval x=\"$x\"
26369 exec_prefix="$acl_save_exec_prefix"
26370 prefix="$acl_save_prefix"
26372 if test "X$x" = "X-L$additional_libdir"; then
26373 haveit=yes
26374 break
26376 done
26377 if test -z "$haveit"; then
26378 if test -d "$additional_libdir"; then
26379 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26382 haveit=
26383 for x in $LDFLAGS $LTLIBICONV; do
26385 acl_save_prefix="$prefix"
26386 prefix="$acl_final_prefix"
26387 acl_save_exec_prefix="$exec_prefix"
26388 exec_prefix="$acl_final_exec_prefix"
26389 eval x=\"$x\"
26390 exec_prefix="$acl_save_exec_prefix"
26391 prefix="$acl_save_prefix"
26393 if test "X$x" = "X-L$additional_libdir"; then
26394 haveit=yes
26395 break
26397 done
26398 if test -z "$haveit"; then
26399 if test -d "$additional_libdir"; then
26400 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26406 -R*)
26407 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26408 if test "$enable_rpath" != no; then
26409 haveit=
26410 for x in $rpathdirs; do
26411 if test "X$x" = "X$dir"; then
26412 haveit=yes
26413 break
26415 done
26416 if test -z "$haveit"; then
26417 rpathdirs="$rpathdirs $dir"
26419 haveit=
26420 for x in $ltrpathdirs; do
26421 if test "X$x" = "X$dir"; then
26422 haveit=yes
26423 break
26425 done
26426 if test -z "$haveit"; then
26427 ltrpathdirs="$ltrpathdirs $dir"
26431 -l*)
26432 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26434 *.la)
26435 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26438 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26439 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26441 esac
26442 done
26444 else
26445 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26446 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26450 done
26451 done
26452 if test "X$rpathdirs" != "X"; then
26453 if test -n "$hardcode_libdir_separator"; then
26454 alldirs=
26455 for found_dir in $rpathdirs; do
26456 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26457 done
26458 acl_save_libdir="$libdir"
26459 libdir="$alldirs"
26460 eval flag=\"$hardcode_libdir_flag_spec\"
26461 libdir="$acl_save_libdir"
26462 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26463 else
26464 for found_dir in $rpathdirs; do
26465 acl_save_libdir="$libdir"
26466 libdir="$found_dir"
26467 eval flag=\"$hardcode_libdir_flag_spec\"
26468 libdir="$acl_save_libdir"
26469 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26470 done
26473 if test "X$ltrpathdirs" != "X"; then
26474 for found_dir in $ltrpathdirs; do
26475 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26476 done
26485 am_save_CPPFLAGS="$CPPFLAGS"
26487 for element in $INCICONV; do
26488 haveit=
26489 for x in $CPPFLAGS; do
26491 acl_save_prefix="$prefix"
26492 prefix="$acl_final_prefix"
26493 acl_save_exec_prefix="$exec_prefix"
26494 exec_prefix="$acl_final_exec_prefix"
26495 eval x=\"$x\"
26496 exec_prefix="$acl_save_exec_prefix"
26497 prefix="$acl_save_prefix"
26499 if test "X$x" = "X$element"; then
26500 haveit=yes
26501 break
26503 done
26504 if test -z "$haveit"; then
26505 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26507 done
26510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26511 $as_echo_n "checking for iconv... " >&6; }
26512 if test "${am_cv_func_iconv+set}" = set; then :
26513 $as_echo_n "(cached) " >&6
26514 else
26516 am_cv_func_iconv="no, consider installing GNU libiconv"
26517 am_cv_lib_iconv=no
26518 if test x$gcc_no_link = xyes; then
26519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26522 /* end confdefs.h. */
26523 #include <stdlib.h>
26524 #include <iconv.h>
26526 main ()
26528 iconv_t cd = iconv_open("","");
26529 iconv(cd,NULL,NULL,NULL,NULL);
26530 iconv_close(cd);
26532 return 0;
26534 _ACEOF
26535 if ac_fn_c_try_link "$LINENO"; then :
26536 am_cv_func_iconv=yes
26538 rm -f core conftest.err conftest.$ac_objext \
26539 conftest$ac_exeext conftest.$ac_ext
26540 if test "$am_cv_func_iconv" != yes; then
26541 am_save_LIBS="$LIBS"
26542 LIBS="$LIBS $LIBICONV"
26543 if test x$gcc_no_link = xyes; then
26544 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26547 /* end confdefs.h. */
26548 #include <stdlib.h>
26549 #include <iconv.h>
26551 main ()
26553 iconv_t cd = iconv_open("","");
26554 iconv(cd,NULL,NULL,NULL,NULL);
26555 iconv_close(cd);
26557 return 0;
26559 _ACEOF
26560 if ac_fn_c_try_link "$LINENO"; then :
26561 am_cv_lib_iconv=yes
26562 am_cv_func_iconv=yes
26564 rm -f core conftest.err conftest.$ac_objext \
26565 conftest$ac_exeext conftest.$ac_ext
26566 LIBS="$am_save_LIBS"
26570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26571 $as_echo "$am_cv_func_iconv" >&6; }
26572 if test "$am_cv_func_iconv" = yes; then
26574 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26577 if test "$am_cv_lib_iconv" = yes; then
26578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26579 $as_echo_n "checking how to link with libiconv... " >&6; }
26580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26581 $as_echo "$LIBICONV" >&6; }
26582 else
26583 CPPFLAGS="$am_save_CPPFLAGS"
26584 LIBICONV=
26585 LTLIBICONV=
26590 if test "$am_cv_func_iconv" = yes; then
26591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26592 $as_echo_n "checking for iconv declaration... " >&6; }
26593 if test "${am_cv_proto_iconv+set}" = set; then :
26594 $as_echo_n "(cached) " >&6
26595 else
26597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26598 /* end confdefs.h. */
26600 #include <stdlib.h>
26601 #include <iconv.h>
26602 extern
26603 #ifdef __cplusplus
26605 #endif
26606 #if defined(__STDC__) || defined(__cplusplus)
26607 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26608 #else
26609 size_t iconv();
26610 #endif
26613 main ()
26617 return 0;
26619 _ACEOF
26620 if ac_fn_c_try_compile "$LINENO"; then :
26621 am_cv_proto_iconv_arg1=""
26622 else
26623 am_cv_proto_iconv_arg1="const"
26625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26626 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);"
26629 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26631 }$am_cv_proto_iconv" >&5
26632 $as_echo "${ac_t:-
26633 }$am_cv_proto_iconv" >&6; }
26635 cat >>confdefs.h <<_ACEOF
26636 #define ICONV_CONST $am_cv_proto_iconv_arg1
26637 _ACEOF
26642 else
26644 # This lets us hard-code the functionality we know we'll have in the cross
26645 # target environment. "Let" is a sugar-coated word placed on an especially
26646 # dull and tedious hack, actually.
26648 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26649 # that involve linking, can't be used:
26650 # "cannot open sim-crt0.o"
26651 # "cannot open crt0.o"
26652 # etc. All this is because there currently exists no unified, consistent
26653 # way for top level CC information to be passed down to target directories:
26654 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26655 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26656 # crosses can be removed.
26658 # If Canadian cross, then don't pick up tools from the build directory.
26659 # Used only in GLIBCXX_EXPORT_INCLUDES.
26660 if test -n "$with_cross_host" &&
26661 test x"$build_alias" != x"$with_cross_host" &&
26662 test x"$build" != x"$target";
26663 then
26664 CANADIAN=yes
26665 else
26666 CANADIAN=no
26669 # Construct crosses by hand, eliminating bits that need ld...
26670 # GLIBCXX_CHECK_MATH_SUPPORT
26672 # First, test for "known" system libraries. We may be using newlib even
26673 # on a hosted environment.
26674 if test "x${with_newlib}" = "xyes"; then
26675 os_include_dir="os/newlib"
26676 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26679 # GLIBCXX_CHECK_STDLIB_SUPPORT
26680 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26683 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26685 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26687 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26689 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26691 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26693 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26695 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26697 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26699 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26701 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26703 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26705 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26707 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26709 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26711 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26713 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26715 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26717 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26719 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26721 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26723 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26725 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26728 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26730 else
26732 # Base decisions on target environment.
26733 case "${host}" in
26734 arm*-*-symbianelf*)
26735 # This is a freestanding configuration; there is nothing to do here.
26738 mips*-sde-elf*)
26739 # These definitions are for the SDE C library rather than newlib.
26740 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26743 # All these tests are for C++; save the language and the compiler flags.
26744 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26745 # found in GLIBCXX_CONFIGURE.
26747 ac_ext=cpp
26748 ac_cpp='$CXXCPP $CPPFLAGS'
26749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26753 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26754 ac_save_CXXFLAGS="$CXXFLAGS"
26756 # Check for maintainer-mode bits.
26757 if test x"$USE_MAINTAINER_MODE" = xno; then
26758 WERROR=''
26759 else
26760 WERROR='-Werror'
26763 # Check for -ffunction-sections -fdata-sections
26764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26765 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26766 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26768 /* end confdefs.h. */
26769 int foo; void bar() { };
26771 main ()
26775 return 0;
26777 _ACEOF
26778 if ac_fn_cxx_try_compile "$LINENO"; then :
26779 ac_fdsections=yes
26780 else
26781 ac_fdsections=no
26783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26784 if test "$ac_test_CXXFLAGS" = set; then
26785 CXXFLAGS="$ac_save_CXXFLAGS"
26786 else
26787 # this is the suspicious part
26788 CXXFLAGS=''
26790 if test x"$ac_fdsections" = x"yes"; then
26791 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26794 $as_echo "$ac_fdsections" >&6; }
26796 ac_ext=c
26797 ac_cpp='$CPP $CPPFLAGS'
26798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26806 # If we're not using GNU ld, then there's no point in even trying these
26807 # tests. Check for that first. We should have already tested for gld
26808 # by now (in libtool), but require it now just to be safe...
26809 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26810 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26814 # The name set by libtool depends on the version of libtool. Shame on us
26815 # for depending on an impl detail, but c'est la vie. Older versions used
26816 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26817 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26818 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26819 # set (hence we're using an older libtool), then set it.
26820 if test x${with_gnu_ld+set} != xset; then
26821 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26822 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26823 with_gnu_ld=no
26824 else
26825 with_gnu_ld=$ac_cv_prog_gnu_ld
26829 # Start by getting the version number. I think the libtool test already
26830 # does some of this, but throws away the result.
26831 glibcxx_ld_is_gold=no
26832 if test x"$with_gnu_ld" = x"yes"; then
26833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26834 $as_echo_n "checking for ld version... " >&6; }
26836 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26837 glibcxx_ld_is_gold=yes
26839 ldver=`$LD --version 2>/dev/null |
26840 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'`
26842 glibcxx_gnu_ld_version=`echo $ldver | \
26843 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26845 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26848 # Set --gc-sections.
26849 glibcxx_have_gc_sections=no
26850 if test "$glibcxx_ld_is_gold" = "yes"; then
26851 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26852 glibcxx_have_gc_sections=yes
26854 else
26855 glibcxx_gcsections_min_ld=21602
26856 if test x"$with_gnu_ld" = x"yes" &&
26857 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26858 glibcxx_have_gc_sections=yes
26861 if test "$glibcxx_have_gc_sections" = "yes"; then
26862 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26863 # NB: This flag only works reliably after 2.16.1. Configure tests
26864 # for this are difficult, so hard wire a value that should work.
26866 ac_test_CFLAGS="${CFLAGS+set}"
26867 ac_save_CFLAGS="$CFLAGS"
26868 CFLAGS='-Wl,--gc-sections'
26870 # Check for -Wl,--gc-sections
26871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26872 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26873 if test x$gcc_no_link = xyes; then
26874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26877 /* end confdefs.h. */
26878 int one(void) { return 1; }
26879 int two(void) { return 2; }
26882 main ()
26884 two();
26886 return 0;
26888 _ACEOF
26889 if ac_fn_c_try_link "$LINENO"; then :
26890 ac_gcsections=yes
26891 else
26892 ac_gcsections=no
26894 rm -f core conftest.err conftest.$ac_objext \
26895 conftest$ac_exeext conftest.$ac_ext
26896 if test "$ac_gcsections" = "yes"; then
26897 rm -f conftest.c
26898 touch conftest.c
26899 if $CC -c conftest.c; then
26900 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26901 grep "Warning: gc-sections option ignored" > /dev/null; then
26902 ac_gcsections=no
26905 rm -f conftest.c conftest.o conftest
26907 if test "$ac_gcsections" = "yes"; then
26908 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26911 $as_echo "$ac_gcsections" >&6; }
26913 if test "$ac_test_CFLAGS" = set; then
26914 CFLAGS="$ac_save_CFLAGS"
26915 else
26916 # this is the suspicious part
26917 CFLAGS=''
26921 # Set -z,relro.
26922 # Note this is only for shared objects.
26923 ac_ld_relro=no
26924 if test x"$with_gnu_ld" = x"yes"; then
26925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26926 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26927 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26928 if test -n "$cxx_z_relo"; then
26929 OPT_LDFLAGS="-Wl,-z,relro"
26930 ac_ld_relro=yes
26932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26933 $as_echo "$ac_ld_relro" >&6; }
26936 # Set linker optimization flags.
26937 if test x"$with_gnu_ld" = x"yes"; then
26938 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26945 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26946 ac_save_CXXFLAGS="$CXXFLAGS"
26947 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26950 $as_echo_n "checking for sin in -lm... " >&6; }
26951 if test "${ac_cv_lib_m_sin+set}" = set; then :
26952 $as_echo_n "(cached) " >&6
26953 else
26954 ac_check_lib_save_LIBS=$LIBS
26955 LIBS="-lm $LIBS"
26956 if test x$gcc_no_link = xyes; then
26957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h. */
26962 /* Override any GCC internal prototype to avoid an error.
26963 Use char because int might match the return type of a GCC
26964 builtin and then its argument prototype would still apply. */
26965 #ifdef __cplusplus
26966 extern "C"
26967 #endif
26968 char sin ();
26970 main ()
26972 return sin ();
26974 return 0;
26976 _ACEOF
26977 if ac_fn_c_try_link "$LINENO"; then :
26978 ac_cv_lib_m_sin=yes
26979 else
26980 ac_cv_lib_m_sin=no
26982 rm -f core conftest.err conftest.$ac_objext \
26983 conftest$ac_exeext conftest.$ac_ext
26984 LIBS=$ac_check_lib_save_LIBS
26986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26987 $as_echo "$ac_cv_lib_m_sin" >&6; }
26988 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26989 libm="-lm"
26992 ac_save_LIBS="$LIBS"
26993 LIBS="$LIBS $libm"
26997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26998 $as_echo_n "checking for isinf declaration... " >&6; }
26999 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27000 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27001 $as_echo_n "(cached) " >&6
27002 else
27005 ac_ext=cpp
27006 ac_cpp='$CXXCPP $CPPFLAGS'
27007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27012 /* end confdefs.h. */
27013 #include <math.h>
27014 #ifdef HAVE_IEEEFP_H
27015 #include <ieeefp.h>
27016 #endif
27019 main ()
27021 isinf(0);
27023 return 0;
27025 _ACEOF
27026 if ac_fn_cxx_try_compile "$LINENO"; then :
27027 glibcxx_cv_func_isinf_use=yes
27028 else
27029 glibcxx_cv_func_isinf_use=no
27031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27032 ac_ext=c
27033 ac_cpp='$CPP $CPPFLAGS'
27034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27043 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27045 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27046 for ac_func in isinf
27047 do :
27048 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27049 if test "x$ac_cv_func_isinf" = x""yes; then :
27050 cat >>confdefs.h <<_ACEOF
27051 #define HAVE_ISINF 1
27052 _ACEOF
27055 done
27057 else
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27060 $as_echo_n "checking for _isinf declaration... " >&6; }
27061 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27062 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27063 $as_echo_n "(cached) " >&6
27064 else
27067 ac_ext=cpp
27068 ac_cpp='$CXXCPP $CPPFLAGS'
27069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27074 /* end confdefs.h. */
27075 #include <math.h>
27076 #ifdef HAVE_IEEEFP_H
27077 #include <ieeefp.h>
27078 #endif
27081 main ()
27083 _isinf(0);
27085 return 0;
27087 _ACEOF
27088 if ac_fn_cxx_try_compile "$LINENO"; then :
27089 glibcxx_cv_func__isinf_use=yes
27090 else
27091 glibcxx_cv_func__isinf_use=no
27093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27094 ac_ext=c
27095 ac_cpp='$CPP $CPPFLAGS'
27096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27105 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27107 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27108 for ac_func in _isinf
27109 do :
27110 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27111 if test "x$ac_cv_func__isinf" = x""yes; then :
27112 cat >>confdefs.h <<_ACEOF
27113 #define HAVE__ISINF 1
27114 _ACEOF
27117 done
27126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27127 $as_echo_n "checking for isnan declaration... " >&6; }
27128 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27129 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27130 $as_echo_n "(cached) " >&6
27131 else
27134 ac_ext=cpp
27135 ac_cpp='$CXXCPP $CPPFLAGS'
27136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27141 /* end confdefs.h. */
27142 #include <math.h>
27143 #ifdef HAVE_IEEEFP_H
27144 #include <ieeefp.h>
27145 #endif
27148 main ()
27150 isnan(0);
27152 return 0;
27154 _ACEOF
27155 if ac_fn_cxx_try_compile "$LINENO"; then :
27156 glibcxx_cv_func_isnan_use=yes
27157 else
27158 glibcxx_cv_func_isnan_use=no
27160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27161 ac_ext=c
27162 ac_cpp='$CPP $CPPFLAGS'
27163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27172 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27174 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27175 for ac_func in isnan
27176 do :
27177 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27178 if test "x$ac_cv_func_isnan" = x""yes; then :
27179 cat >>confdefs.h <<_ACEOF
27180 #define HAVE_ISNAN 1
27181 _ACEOF
27184 done
27186 else
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27189 $as_echo_n "checking for _isnan declaration... " >&6; }
27190 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27191 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27192 $as_echo_n "(cached) " >&6
27193 else
27196 ac_ext=cpp
27197 ac_cpp='$CXXCPP $CPPFLAGS'
27198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27203 /* end confdefs.h. */
27204 #include <math.h>
27205 #ifdef HAVE_IEEEFP_H
27206 #include <ieeefp.h>
27207 #endif
27210 main ()
27212 _isnan(0);
27214 return 0;
27216 _ACEOF
27217 if ac_fn_cxx_try_compile "$LINENO"; then :
27218 glibcxx_cv_func__isnan_use=yes
27219 else
27220 glibcxx_cv_func__isnan_use=no
27222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27223 ac_ext=c
27224 ac_cpp='$CPP $CPPFLAGS'
27225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27234 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27236 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27237 for ac_func in _isnan
27238 do :
27239 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27240 if test "x$ac_cv_func__isnan" = x""yes; then :
27241 cat >>confdefs.h <<_ACEOF
27242 #define HAVE__ISNAN 1
27243 _ACEOF
27246 done
27255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27256 $as_echo_n "checking for finite declaration... " >&6; }
27257 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27258 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27259 $as_echo_n "(cached) " >&6
27260 else
27263 ac_ext=cpp
27264 ac_cpp='$CXXCPP $CPPFLAGS'
27265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27270 /* end confdefs.h. */
27271 #include <math.h>
27272 #ifdef HAVE_IEEEFP_H
27273 #include <ieeefp.h>
27274 #endif
27277 main ()
27279 finite(0);
27281 return 0;
27283 _ACEOF
27284 if ac_fn_cxx_try_compile "$LINENO"; then :
27285 glibcxx_cv_func_finite_use=yes
27286 else
27287 glibcxx_cv_func_finite_use=no
27289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27290 ac_ext=c
27291 ac_cpp='$CPP $CPPFLAGS'
27292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27301 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27303 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27304 for ac_func in finite
27305 do :
27306 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27307 if test "x$ac_cv_func_finite" = x""yes; then :
27308 cat >>confdefs.h <<_ACEOF
27309 #define HAVE_FINITE 1
27310 _ACEOF
27313 done
27315 else
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27318 $as_echo_n "checking for _finite declaration... " >&6; }
27319 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27320 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27321 $as_echo_n "(cached) " >&6
27322 else
27325 ac_ext=cpp
27326 ac_cpp='$CXXCPP $CPPFLAGS'
27327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27332 /* end confdefs.h. */
27333 #include <math.h>
27334 #ifdef HAVE_IEEEFP_H
27335 #include <ieeefp.h>
27336 #endif
27339 main ()
27341 _finite(0);
27343 return 0;
27345 _ACEOF
27346 if ac_fn_cxx_try_compile "$LINENO"; then :
27347 glibcxx_cv_func__finite_use=yes
27348 else
27349 glibcxx_cv_func__finite_use=no
27351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27352 ac_ext=c
27353 ac_cpp='$CPP $CPPFLAGS'
27354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27363 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27365 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27366 for ac_func in _finite
27367 do :
27368 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27369 if test "x$ac_cv_func__finite" = x""yes; then :
27370 cat >>confdefs.h <<_ACEOF
27371 #define HAVE__FINITE 1
27372 _ACEOF
27375 done
27384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27385 $as_echo_n "checking for sincos declaration... " >&6; }
27386 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27387 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27388 $as_echo_n "(cached) " >&6
27389 else
27392 ac_ext=cpp
27393 ac_cpp='$CXXCPP $CPPFLAGS'
27394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27399 /* end confdefs.h. */
27400 #include <math.h>
27402 main ()
27404 sincos(0, 0, 0);
27406 return 0;
27408 _ACEOF
27409 if ac_fn_cxx_try_compile "$LINENO"; then :
27410 glibcxx_cv_func_sincos_use=yes
27411 else
27412 glibcxx_cv_func_sincos_use=no
27414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27415 ac_ext=c
27416 ac_cpp='$CPP $CPPFLAGS'
27417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27426 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27428 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27429 for ac_func in sincos
27430 do :
27431 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27432 if test "x$ac_cv_func_sincos" = x""yes; then :
27433 cat >>confdefs.h <<_ACEOF
27434 #define HAVE_SINCOS 1
27435 _ACEOF
27438 done
27440 else
27442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27443 $as_echo_n "checking for _sincos declaration... " >&6; }
27444 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27445 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27446 $as_echo_n "(cached) " >&6
27447 else
27450 ac_ext=cpp
27451 ac_cpp='$CXXCPP $CPPFLAGS'
27452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27457 /* end confdefs.h. */
27458 #include <math.h>
27460 main ()
27462 _sincos(0, 0, 0);
27464 return 0;
27466 _ACEOF
27467 if ac_fn_cxx_try_compile "$LINENO"; then :
27468 glibcxx_cv_func__sincos_use=yes
27469 else
27470 glibcxx_cv_func__sincos_use=no
27472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27473 ac_ext=c
27474 ac_cpp='$CPP $CPPFLAGS'
27475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27484 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27486 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27487 for ac_func in _sincos
27488 do :
27489 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27490 if test "x$ac_cv_func__sincos" = x""yes; then :
27491 cat >>confdefs.h <<_ACEOF
27492 #define HAVE__SINCOS 1
27493 _ACEOF
27496 done
27505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27506 $as_echo_n "checking for fpclass declaration... " >&6; }
27507 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27508 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27509 $as_echo_n "(cached) " >&6
27510 else
27513 ac_ext=cpp
27514 ac_cpp='$CXXCPP $CPPFLAGS'
27515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27520 /* end confdefs.h. */
27521 #include <math.h>
27522 #ifdef HAVE_IEEEFP_H
27523 #include <ieeefp.h>
27524 #endif
27527 main ()
27529 fpclass(0);
27531 return 0;
27533 _ACEOF
27534 if ac_fn_cxx_try_compile "$LINENO"; then :
27535 glibcxx_cv_func_fpclass_use=yes
27536 else
27537 glibcxx_cv_func_fpclass_use=no
27539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27540 ac_ext=c
27541 ac_cpp='$CPP $CPPFLAGS'
27542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27551 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27553 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27554 for ac_func in fpclass
27555 do :
27556 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27557 if test "x$ac_cv_func_fpclass" = x""yes; then :
27558 cat >>confdefs.h <<_ACEOF
27559 #define HAVE_FPCLASS 1
27560 _ACEOF
27563 done
27565 else
27567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27568 $as_echo_n "checking for _fpclass declaration... " >&6; }
27569 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27570 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27571 $as_echo_n "(cached) " >&6
27572 else
27575 ac_ext=cpp
27576 ac_cpp='$CXXCPP $CPPFLAGS'
27577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27582 /* end confdefs.h. */
27583 #include <math.h>
27584 #ifdef HAVE_IEEEFP_H
27585 #include <ieeefp.h>
27586 #endif
27589 main ()
27591 _fpclass(0);
27593 return 0;
27595 _ACEOF
27596 if ac_fn_cxx_try_compile "$LINENO"; then :
27597 glibcxx_cv_func__fpclass_use=yes
27598 else
27599 glibcxx_cv_func__fpclass_use=no
27601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27602 ac_ext=c
27603 ac_cpp='$CPP $CPPFLAGS'
27604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27613 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27615 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27616 for ac_func in _fpclass
27617 do :
27618 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27619 if test "x$ac_cv_func__fpclass" = x""yes; then :
27620 cat >>confdefs.h <<_ACEOF
27621 #define HAVE__FPCLASS 1
27622 _ACEOF
27625 done
27634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27635 $as_echo_n "checking for qfpclass declaration... " >&6; }
27636 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27637 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27638 $as_echo_n "(cached) " >&6
27639 else
27642 ac_ext=cpp
27643 ac_cpp='$CXXCPP $CPPFLAGS'
27644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27649 /* end confdefs.h. */
27650 #include <math.h>
27651 #ifdef HAVE_IEEEFP_H
27652 #include <ieeefp.h>
27653 #endif
27656 main ()
27658 qfpclass(0);
27660 return 0;
27662 _ACEOF
27663 if ac_fn_cxx_try_compile "$LINENO"; then :
27664 glibcxx_cv_func_qfpclass_use=yes
27665 else
27666 glibcxx_cv_func_qfpclass_use=no
27668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27669 ac_ext=c
27670 ac_cpp='$CPP $CPPFLAGS'
27671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27680 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27682 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27683 for ac_func in qfpclass
27684 do :
27685 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27686 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27687 cat >>confdefs.h <<_ACEOF
27688 #define HAVE_QFPCLASS 1
27689 _ACEOF
27692 done
27694 else
27696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27697 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27698 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27699 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27700 $as_echo_n "(cached) " >&6
27701 else
27704 ac_ext=cpp
27705 ac_cpp='$CXXCPP $CPPFLAGS'
27706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27711 /* end confdefs.h. */
27712 #include <math.h>
27713 #ifdef HAVE_IEEEFP_H
27714 #include <ieeefp.h>
27715 #endif
27718 main ()
27720 _qfpclass(0);
27722 return 0;
27724 _ACEOF
27725 if ac_fn_cxx_try_compile "$LINENO"; then :
27726 glibcxx_cv_func__qfpclass_use=yes
27727 else
27728 glibcxx_cv_func__qfpclass_use=no
27730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27731 ac_ext=c
27732 ac_cpp='$CPP $CPPFLAGS'
27733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27742 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27744 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27745 for ac_func in _qfpclass
27746 do :
27747 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27748 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27749 cat >>confdefs.h <<_ACEOF
27750 #define HAVE__QFPCLASS 1
27751 _ACEOF
27754 done
27763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27764 $as_echo_n "checking for hypot declaration... " >&6; }
27765 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27766 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27767 $as_echo_n "(cached) " >&6
27768 else
27771 ac_ext=cpp
27772 ac_cpp='$CXXCPP $CPPFLAGS'
27773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27778 /* end confdefs.h. */
27779 #include <math.h>
27781 main ()
27783 hypot(0, 0);
27785 return 0;
27787 _ACEOF
27788 if ac_fn_cxx_try_compile "$LINENO"; then :
27789 glibcxx_cv_func_hypot_use=yes
27790 else
27791 glibcxx_cv_func_hypot_use=no
27793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27794 ac_ext=c
27795 ac_cpp='$CPP $CPPFLAGS'
27796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27805 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27807 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27808 for ac_func in hypot
27809 do :
27810 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27811 if test "x$ac_cv_func_hypot" = x""yes; then :
27812 cat >>confdefs.h <<_ACEOF
27813 #define HAVE_HYPOT 1
27814 _ACEOF
27817 done
27819 else
27821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27822 $as_echo_n "checking for _hypot declaration... " >&6; }
27823 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27824 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27825 $as_echo_n "(cached) " >&6
27826 else
27829 ac_ext=cpp
27830 ac_cpp='$CXXCPP $CPPFLAGS'
27831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27836 /* end confdefs.h. */
27837 #include <math.h>
27839 main ()
27841 _hypot(0, 0);
27843 return 0;
27845 _ACEOF
27846 if ac_fn_cxx_try_compile "$LINENO"; then :
27847 glibcxx_cv_func__hypot_use=yes
27848 else
27849 glibcxx_cv_func__hypot_use=no
27851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27852 ac_ext=c
27853 ac_cpp='$CPP $CPPFLAGS'
27854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27863 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27865 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27866 for ac_func in _hypot
27867 do :
27868 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27869 if test "x$ac_cv_func__hypot" = x""yes; then :
27870 cat >>confdefs.h <<_ACEOF
27871 #define HAVE__HYPOT 1
27872 _ACEOF
27875 done
27884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27885 $as_echo_n "checking for float trig functions... " >&6; }
27886 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27887 $as_echo_n "(cached) " >&6
27888 else
27891 ac_ext=cpp
27892 ac_cpp='$CXXCPP $CPPFLAGS'
27893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27898 /* end confdefs.h. */
27899 #include <math.h>
27901 main ()
27903 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27905 return 0;
27907 _ACEOF
27908 if ac_fn_cxx_try_compile "$LINENO"; then :
27909 glibcxx_cv_func_float_trig_use=yes
27910 else
27911 glibcxx_cv_func_float_trig_use=no
27913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27914 ac_ext=c
27915 ac_cpp='$CPP $CPPFLAGS'
27916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27923 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27924 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27925 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27926 do :
27927 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27929 eval as_val=\$$as_ac_var
27930 if test "x$as_val" = x""yes; then :
27931 cat >>confdefs.h <<_ACEOF
27932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27933 _ACEOF
27936 done
27938 else
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27940 $as_echo_n "checking for _float trig functions... " >&6; }
27941 if test "${glibcxx_cv_func__float_trig_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 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27960 return 0;
27962 _ACEOF
27963 if ac_fn_cxx_try_compile "$LINENO"; then :
27964 glibcxx_cv_func__float_trig_use=yes
27965 else
27966 glibcxx_cv_func__float_trig_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_trig_use" >&5
27978 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27979 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27980 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
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
28000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28001 $as_echo_n "checking for float round functions... " >&6; }
28002 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28003 $as_echo_n "(cached) " >&6
28004 else
28007 ac_ext=cpp
28008 ac_cpp='$CXXCPP $CPPFLAGS'
28009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28014 /* end confdefs.h. */
28015 #include <math.h>
28017 main ()
28019 ceilf (0); floorf (0);
28021 return 0;
28023 _ACEOF
28024 if ac_fn_cxx_try_compile "$LINENO"; then :
28025 glibcxx_cv_func_float_round_use=yes
28026 else
28027 glibcxx_cv_func_float_round_use=no
28029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28030 ac_ext=c
28031 ac_cpp='$CPP $CPPFLAGS'
28032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28039 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28040 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28041 for ac_func in ceilf floorf
28042 do :
28043 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28044 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28045 eval as_val=\$$as_ac_var
28046 if test "x$as_val" = x""yes; then :
28047 cat >>confdefs.h <<_ACEOF
28048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28049 _ACEOF
28052 done
28054 else
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28056 $as_echo_n "checking for _float round functions... " >&6; }
28057 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28058 $as_echo_n "(cached) " >&6
28059 else
28062 ac_ext=cpp
28063 ac_cpp='$CXXCPP $CPPFLAGS'
28064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28069 /* end confdefs.h. */
28070 #include <math.h>
28072 main ()
28074 _ceilf (0); _floorf (0);
28076 return 0;
28078 _ACEOF
28079 if ac_fn_cxx_try_compile "$LINENO"; then :
28080 glibcxx_cv_func__float_round_use=yes
28081 else
28082 glibcxx_cv_func__float_round_use=no
28084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28085 ac_ext=c
28086 ac_cpp='$CPP $CPPFLAGS'
28087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28094 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28095 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28096 for ac_func in _ceilf _floorf
28097 do :
28098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28100 eval as_val=\$$as_ac_var
28101 if test "x$as_val" = x""yes; then :
28102 cat >>confdefs.h <<_ACEOF
28103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28104 _ACEOF
28107 done
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28118 $as_echo_n "checking for expf declaration... " >&6; }
28119 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28120 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28121 $as_echo_n "(cached) " >&6
28122 else
28125 ac_ext=cpp
28126 ac_cpp='$CXXCPP $CPPFLAGS'
28127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28132 /* end confdefs.h. */
28133 #include <math.h>
28134 #ifdef HAVE_IEEEFP_H
28135 #include <ieeefp.h>
28136 #endif
28139 main ()
28141 expf(0);
28143 return 0;
28145 _ACEOF
28146 if ac_fn_cxx_try_compile "$LINENO"; then :
28147 glibcxx_cv_func_expf_use=yes
28148 else
28149 glibcxx_cv_func_expf_use=no
28151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28152 ac_ext=c
28153 ac_cpp='$CPP $CPPFLAGS'
28154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28163 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28165 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28166 for ac_func in expf
28167 do :
28168 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28169 if test "x$ac_cv_func_expf" = x""yes; then :
28170 cat >>confdefs.h <<_ACEOF
28171 #define HAVE_EXPF 1
28172 _ACEOF
28175 done
28177 else
28179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28180 $as_echo_n "checking for _expf declaration... " >&6; }
28181 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28182 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28183 $as_echo_n "(cached) " >&6
28184 else
28187 ac_ext=cpp
28188 ac_cpp='$CXXCPP $CPPFLAGS'
28189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28194 /* end confdefs.h. */
28195 #include <math.h>
28196 #ifdef HAVE_IEEEFP_H
28197 #include <ieeefp.h>
28198 #endif
28201 main ()
28203 _expf(0);
28205 return 0;
28207 _ACEOF
28208 if ac_fn_cxx_try_compile "$LINENO"; then :
28209 glibcxx_cv_func__expf_use=yes
28210 else
28211 glibcxx_cv_func__expf_use=no
28213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28214 ac_ext=c
28215 ac_cpp='$CPP $CPPFLAGS'
28216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28225 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28227 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28228 for ac_func in _expf
28229 do :
28230 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28231 if test "x$ac_cv_func__expf" = x""yes; then :
28232 cat >>confdefs.h <<_ACEOF
28233 #define HAVE__EXPF 1
28234 _ACEOF
28237 done
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28247 $as_echo_n "checking for isnanf declaration... " >&6; }
28248 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28249 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28250 $as_echo_n "(cached) " >&6
28251 else
28254 ac_ext=cpp
28255 ac_cpp='$CXXCPP $CPPFLAGS'
28256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28261 /* end confdefs.h. */
28262 #include <math.h>
28263 #ifdef HAVE_IEEEFP_H
28264 #include <ieeefp.h>
28265 #endif
28268 main ()
28270 isnanf(0);
28272 return 0;
28274 _ACEOF
28275 if ac_fn_cxx_try_compile "$LINENO"; then :
28276 glibcxx_cv_func_isnanf_use=yes
28277 else
28278 glibcxx_cv_func_isnanf_use=no
28280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28281 ac_ext=c
28282 ac_cpp='$CPP $CPPFLAGS'
28283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28292 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28294 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28295 for ac_func in isnanf
28296 do :
28297 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28298 if test "x$ac_cv_func_isnanf" = x""yes; then :
28299 cat >>confdefs.h <<_ACEOF
28300 #define HAVE_ISNANF 1
28301 _ACEOF
28304 done
28306 else
28308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28309 $as_echo_n "checking for _isnanf declaration... " >&6; }
28310 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28311 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28312 $as_echo_n "(cached) " >&6
28313 else
28316 ac_ext=cpp
28317 ac_cpp='$CXXCPP $CPPFLAGS'
28318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28323 /* end confdefs.h. */
28324 #include <math.h>
28325 #ifdef HAVE_IEEEFP_H
28326 #include <ieeefp.h>
28327 #endif
28330 main ()
28332 _isnanf(0);
28334 return 0;
28336 _ACEOF
28337 if ac_fn_cxx_try_compile "$LINENO"; then :
28338 glibcxx_cv_func__isnanf_use=yes
28339 else
28340 glibcxx_cv_func__isnanf_use=no
28342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28343 ac_ext=c
28344 ac_cpp='$CPP $CPPFLAGS'
28345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28354 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28356 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28357 for ac_func in _isnanf
28358 do :
28359 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28360 if test "x$ac_cv_func__isnanf" = x""yes; then :
28361 cat >>confdefs.h <<_ACEOF
28362 #define HAVE__ISNANF 1
28363 _ACEOF
28366 done
28375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28376 $as_echo_n "checking for isinff declaration... " >&6; }
28377 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28378 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28379 $as_echo_n "(cached) " >&6
28380 else
28383 ac_ext=cpp
28384 ac_cpp='$CXXCPP $CPPFLAGS'
28385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28390 /* end confdefs.h. */
28391 #include <math.h>
28392 #ifdef HAVE_IEEEFP_H
28393 #include <ieeefp.h>
28394 #endif
28397 main ()
28399 isinff(0);
28401 return 0;
28403 _ACEOF
28404 if ac_fn_cxx_try_compile "$LINENO"; then :
28405 glibcxx_cv_func_isinff_use=yes
28406 else
28407 glibcxx_cv_func_isinff_use=no
28409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28410 ac_ext=c
28411 ac_cpp='$CPP $CPPFLAGS'
28412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28421 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28423 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28424 for ac_func in isinff
28425 do :
28426 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28427 if test "x$ac_cv_func_isinff" = x""yes; then :
28428 cat >>confdefs.h <<_ACEOF
28429 #define HAVE_ISINFF 1
28430 _ACEOF
28433 done
28435 else
28437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28438 $as_echo_n "checking for _isinff declaration... " >&6; }
28439 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28440 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28441 $as_echo_n "(cached) " >&6
28442 else
28445 ac_ext=cpp
28446 ac_cpp='$CXXCPP $CPPFLAGS'
28447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28452 /* end confdefs.h. */
28453 #include <math.h>
28454 #ifdef HAVE_IEEEFP_H
28455 #include <ieeefp.h>
28456 #endif
28459 main ()
28461 _isinff(0);
28463 return 0;
28465 _ACEOF
28466 if ac_fn_cxx_try_compile "$LINENO"; then :
28467 glibcxx_cv_func__isinff_use=yes
28468 else
28469 glibcxx_cv_func__isinff_use=no
28471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28472 ac_ext=c
28473 ac_cpp='$CPP $CPPFLAGS'
28474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28483 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28485 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28486 for ac_func in _isinff
28487 do :
28488 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28489 if test "x$ac_cv_func__isinff" = x""yes; then :
28490 cat >>confdefs.h <<_ACEOF
28491 #define HAVE__ISINFF 1
28492 _ACEOF
28495 done
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28505 $as_echo_n "checking for atan2f declaration... " >&6; }
28506 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28507 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28508 $as_echo_n "(cached) " >&6
28509 else
28512 ac_ext=cpp
28513 ac_cpp='$CXXCPP $CPPFLAGS'
28514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28519 /* end confdefs.h. */
28520 #include <math.h>
28522 main ()
28524 atan2f(0, 0);
28526 return 0;
28528 _ACEOF
28529 if ac_fn_cxx_try_compile "$LINENO"; then :
28530 glibcxx_cv_func_atan2f_use=yes
28531 else
28532 glibcxx_cv_func_atan2f_use=no
28534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28535 ac_ext=c
28536 ac_cpp='$CPP $CPPFLAGS'
28537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28546 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28548 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28549 for ac_func in atan2f
28550 do :
28551 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28552 if test "x$ac_cv_func_atan2f" = x""yes; then :
28553 cat >>confdefs.h <<_ACEOF
28554 #define HAVE_ATAN2F 1
28555 _ACEOF
28558 done
28560 else
28562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28563 $as_echo_n "checking for _atan2f declaration... " >&6; }
28564 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28565 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28566 $as_echo_n "(cached) " >&6
28567 else
28570 ac_ext=cpp
28571 ac_cpp='$CXXCPP $CPPFLAGS'
28572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28577 /* end confdefs.h. */
28578 #include <math.h>
28580 main ()
28582 _atan2f(0, 0);
28584 return 0;
28586 _ACEOF
28587 if ac_fn_cxx_try_compile "$LINENO"; then :
28588 glibcxx_cv_func__atan2f_use=yes
28589 else
28590 glibcxx_cv_func__atan2f_use=no
28592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28593 ac_ext=c
28594 ac_cpp='$CPP $CPPFLAGS'
28595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28604 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28606 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28607 for ac_func in _atan2f
28608 do :
28609 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28610 if test "x$ac_cv_func__atan2f" = x""yes; then :
28611 cat >>confdefs.h <<_ACEOF
28612 #define HAVE__ATAN2F 1
28613 _ACEOF
28616 done
28625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28626 $as_echo_n "checking for fabsf declaration... " >&6; }
28627 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28628 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28629 $as_echo_n "(cached) " >&6
28630 else
28633 ac_ext=cpp
28634 ac_cpp='$CXXCPP $CPPFLAGS'
28635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28640 /* end confdefs.h. */
28641 #include <math.h>
28642 #ifdef HAVE_IEEEFP_H
28643 #include <ieeefp.h>
28644 #endif
28647 main ()
28649 fabsf(0);
28651 return 0;
28653 _ACEOF
28654 if ac_fn_cxx_try_compile "$LINENO"; then :
28655 glibcxx_cv_func_fabsf_use=yes
28656 else
28657 glibcxx_cv_func_fabsf_use=no
28659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28660 ac_ext=c
28661 ac_cpp='$CPP $CPPFLAGS'
28662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28671 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28673 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28674 for ac_func in fabsf
28675 do :
28676 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28677 if test "x$ac_cv_func_fabsf" = x""yes; then :
28678 cat >>confdefs.h <<_ACEOF
28679 #define HAVE_FABSF 1
28680 _ACEOF
28683 done
28685 else
28687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28688 $as_echo_n "checking for _fabsf declaration... " >&6; }
28689 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28690 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28691 $as_echo_n "(cached) " >&6
28692 else
28695 ac_ext=cpp
28696 ac_cpp='$CXXCPP $CPPFLAGS'
28697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28702 /* end confdefs.h. */
28703 #include <math.h>
28704 #ifdef HAVE_IEEEFP_H
28705 #include <ieeefp.h>
28706 #endif
28709 main ()
28711 _fabsf(0);
28713 return 0;
28715 _ACEOF
28716 if ac_fn_cxx_try_compile "$LINENO"; then :
28717 glibcxx_cv_func__fabsf_use=yes
28718 else
28719 glibcxx_cv_func__fabsf_use=no
28721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28722 ac_ext=c
28723 ac_cpp='$CPP $CPPFLAGS'
28724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28733 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28735 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28736 for ac_func in _fabsf
28737 do :
28738 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28739 if test "x$ac_cv_func__fabsf" = x""yes; then :
28740 cat >>confdefs.h <<_ACEOF
28741 #define HAVE__FABSF 1
28742 _ACEOF
28745 done
28754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28755 $as_echo_n "checking for fmodf declaration... " >&6; }
28756 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28757 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28758 $as_echo_n "(cached) " >&6
28759 else
28762 ac_ext=cpp
28763 ac_cpp='$CXXCPP $CPPFLAGS'
28764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28769 /* end confdefs.h. */
28770 #include <math.h>
28772 main ()
28774 fmodf(0, 0);
28776 return 0;
28778 _ACEOF
28779 if ac_fn_cxx_try_compile "$LINENO"; then :
28780 glibcxx_cv_func_fmodf_use=yes
28781 else
28782 glibcxx_cv_func_fmodf_use=no
28784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28785 ac_ext=c
28786 ac_cpp='$CPP $CPPFLAGS'
28787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28796 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28798 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28799 for ac_func in fmodf
28800 do :
28801 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28802 if test "x$ac_cv_func_fmodf" = x""yes; then :
28803 cat >>confdefs.h <<_ACEOF
28804 #define HAVE_FMODF 1
28805 _ACEOF
28808 done
28810 else
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28813 $as_echo_n "checking for _fmodf declaration... " >&6; }
28814 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28815 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28816 $as_echo_n "(cached) " >&6
28817 else
28820 ac_ext=cpp
28821 ac_cpp='$CXXCPP $CPPFLAGS'
28822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28827 /* end confdefs.h. */
28828 #include <math.h>
28830 main ()
28832 _fmodf(0, 0);
28834 return 0;
28836 _ACEOF
28837 if ac_fn_cxx_try_compile "$LINENO"; then :
28838 glibcxx_cv_func__fmodf_use=yes
28839 else
28840 glibcxx_cv_func__fmodf_use=no
28842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28843 ac_ext=c
28844 ac_cpp='$CPP $CPPFLAGS'
28845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28854 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28856 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28857 for ac_func in _fmodf
28858 do :
28859 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28860 if test "x$ac_cv_func__fmodf" = x""yes; then :
28861 cat >>confdefs.h <<_ACEOF
28862 #define HAVE__FMODF 1
28863 _ACEOF
28866 done
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28876 $as_echo_n "checking for frexpf declaration... " >&6; }
28877 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28878 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28879 $as_echo_n "(cached) " >&6
28880 else
28883 ac_ext=cpp
28884 ac_cpp='$CXXCPP $CPPFLAGS'
28885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28890 /* end confdefs.h. */
28891 #include <math.h>
28893 main ()
28895 frexpf(0, 0);
28897 return 0;
28899 _ACEOF
28900 if ac_fn_cxx_try_compile "$LINENO"; then :
28901 glibcxx_cv_func_frexpf_use=yes
28902 else
28903 glibcxx_cv_func_frexpf_use=no
28905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28906 ac_ext=c
28907 ac_cpp='$CPP $CPPFLAGS'
28908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28917 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28919 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28920 for ac_func in frexpf
28921 do :
28922 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28923 if test "x$ac_cv_func_frexpf" = x""yes; then :
28924 cat >>confdefs.h <<_ACEOF
28925 #define HAVE_FREXPF 1
28926 _ACEOF
28929 done
28931 else
28933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28934 $as_echo_n "checking for _frexpf declaration... " >&6; }
28935 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28936 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28937 $as_echo_n "(cached) " >&6
28938 else
28941 ac_ext=cpp
28942 ac_cpp='$CXXCPP $CPPFLAGS'
28943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28948 /* end confdefs.h. */
28949 #include <math.h>
28951 main ()
28953 _frexpf(0, 0);
28955 return 0;
28957 _ACEOF
28958 if ac_fn_cxx_try_compile "$LINENO"; then :
28959 glibcxx_cv_func__frexpf_use=yes
28960 else
28961 glibcxx_cv_func__frexpf_use=no
28963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28964 ac_ext=c
28965 ac_cpp='$CPP $CPPFLAGS'
28966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28975 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28977 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28978 for ac_func in _frexpf
28979 do :
28980 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28981 if test "x$ac_cv_func__frexpf" = x""yes; then :
28982 cat >>confdefs.h <<_ACEOF
28983 #define HAVE__FREXPF 1
28984 _ACEOF
28987 done
28996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28997 $as_echo_n "checking for hypotf declaration... " >&6; }
28998 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28999 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29000 $as_echo_n "(cached) " >&6
29001 else
29004 ac_ext=cpp
29005 ac_cpp='$CXXCPP $CPPFLAGS'
29006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29011 /* end confdefs.h. */
29012 #include <math.h>
29014 main ()
29016 hypotf(0, 0);
29018 return 0;
29020 _ACEOF
29021 if ac_fn_cxx_try_compile "$LINENO"; then :
29022 glibcxx_cv_func_hypotf_use=yes
29023 else
29024 glibcxx_cv_func_hypotf_use=no
29026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29027 ac_ext=c
29028 ac_cpp='$CPP $CPPFLAGS'
29029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29038 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29040 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29041 for ac_func in hypotf
29042 do :
29043 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29044 if test "x$ac_cv_func_hypotf" = x""yes; then :
29045 cat >>confdefs.h <<_ACEOF
29046 #define HAVE_HYPOTF 1
29047 _ACEOF
29050 done
29052 else
29054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29055 $as_echo_n "checking for _hypotf declaration... " >&6; }
29056 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29057 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29058 $as_echo_n "(cached) " >&6
29059 else
29062 ac_ext=cpp
29063 ac_cpp='$CXXCPP $CPPFLAGS'
29064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29069 /* end confdefs.h. */
29070 #include <math.h>
29072 main ()
29074 _hypotf(0, 0);
29076 return 0;
29078 _ACEOF
29079 if ac_fn_cxx_try_compile "$LINENO"; then :
29080 glibcxx_cv_func__hypotf_use=yes
29081 else
29082 glibcxx_cv_func__hypotf_use=no
29084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29085 ac_ext=c
29086 ac_cpp='$CPP $CPPFLAGS'
29087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29096 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29098 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29099 for ac_func in _hypotf
29100 do :
29101 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29102 if test "x$ac_cv_func__hypotf" = x""yes; then :
29103 cat >>confdefs.h <<_ACEOF
29104 #define HAVE__HYPOTF 1
29105 _ACEOF
29108 done
29117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29118 $as_echo_n "checking for ldexpf declaration... " >&6; }
29119 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29120 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29121 $as_echo_n "(cached) " >&6
29122 else
29125 ac_ext=cpp
29126 ac_cpp='$CXXCPP $CPPFLAGS'
29127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29132 /* end confdefs.h. */
29133 #include <math.h>
29135 main ()
29137 ldexpf(0, 0);
29139 return 0;
29141 _ACEOF
29142 if ac_fn_cxx_try_compile "$LINENO"; then :
29143 glibcxx_cv_func_ldexpf_use=yes
29144 else
29145 glibcxx_cv_func_ldexpf_use=no
29147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29148 ac_ext=c
29149 ac_cpp='$CPP $CPPFLAGS'
29150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29159 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29161 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29162 for ac_func in ldexpf
29163 do :
29164 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29165 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29166 cat >>confdefs.h <<_ACEOF
29167 #define HAVE_LDEXPF 1
29168 _ACEOF
29171 done
29173 else
29175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29176 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29177 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29178 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29179 $as_echo_n "(cached) " >&6
29180 else
29183 ac_ext=cpp
29184 ac_cpp='$CXXCPP $CPPFLAGS'
29185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29190 /* end confdefs.h. */
29191 #include <math.h>
29193 main ()
29195 _ldexpf(0, 0);
29197 return 0;
29199 _ACEOF
29200 if ac_fn_cxx_try_compile "$LINENO"; then :
29201 glibcxx_cv_func__ldexpf_use=yes
29202 else
29203 glibcxx_cv_func__ldexpf_use=no
29205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29206 ac_ext=c
29207 ac_cpp='$CPP $CPPFLAGS'
29208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29217 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29219 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29220 for ac_func in _ldexpf
29221 do :
29222 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29223 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29224 cat >>confdefs.h <<_ACEOF
29225 #define HAVE__LDEXPF 1
29226 _ACEOF
29229 done
29238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29239 $as_echo_n "checking for logf declaration... " >&6; }
29240 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29241 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29242 $as_echo_n "(cached) " >&6
29243 else
29246 ac_ext=cpp
29247 ac_cpp='$CXXCPP $CPPFLAGS'
29248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29253 /* end confdefs.h. */
29254 #include <math.h>
29255 #ifdef HAVE_IEEEFP_H
29256 #include <ieeefp.h>
29257 #endif
29260 main ()
29262 logf(0);
29264 return 0;
29266 _ACEOF
29267 if ac_fn_cxx_try_compile "$LINENO"; then :
29268 glibcxx_cv_func_logf_use=yes
29269 else
29270 glibcxx_cv_func_logf_use=no
29272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29273 ac_ext=c
29274 ac_cpp='$CPP $CPPFLAGS'
29275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29284 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29286 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29287 for ac_func in logf
29288 do :
29289 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29290 if test "x$ac_cv_func_logf" = x""yes; then :
29291 cat >>confdefs.h <<_ACEOF
29292 #define HAVE_LOGF 1
29293 _ACEOF
29296 done
29298 else
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29301 $as_echo_n "checking for _logf declaration... " >&6; }
29302 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29303 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29304 $as_echo_n "(cached) " >&6
29305 else
29308 ac_ext=cpp
29309 ac_cpp='$CXXCPP $CPPFLAGS'
29310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29315 /* end confdefs.h. */
29316 #include <math.h>
29317 #ifdef HAVE_IEEEFP_H
29318 #include <ieeefp.h>
29319 #endif
29322 main ()
29324 _logf(0);
29326 return 0;
29328 _ACEOF
29329 if ac_fn_cxx_try_compile "$LINENO"; then :
29330 glibcxx_cv_func__logf_use=yes
29331 else
29332 glibcxx_cv_func__logf_use=no
29334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29335 ac_ext=c
29336 ac_cpp='$CPP $CPPFLAGS'
29337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29346 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29348 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29349 for ac_func in _logf
29350 do :
29351 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29352 if test "x$ac_cv_func__logf" = x""yes; then :
29353 cat >>confdefs.h <<_ACEOF
29354 #define HAVE__LOGF 1
29355 _ACEOF
29358 done
29367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29368 $as_echo_n "checking for log10f declaration... " >&6; }
29369 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29370 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29371 $as_echo_n "(cached) " >&6
29372 else
29375 ac_ext=cpp
29376 ac_cpp='$CXXCPP $CPPFLAGS'
29377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29382 /* end confdefs.h. */
29383 #include <math.h>
29384 #ifdef HAVE_IEEEFP_H
29385 #include <ieeefp.h>
29386 #endif
29389 main ()
29391 log10f(0);
29393 return 0;
29395 _ACEOF
29396 if ac_fn_cxx_try_compile "$LINENO"; then :
29397 glibcxx_cv_func_log10f_use=yes
29398 else
29399 glibcxx_cv_func_log10f_use=no
29401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29402 ac_ext=c
29403 ac_cpp='$CPP $CPPFLAGS'
29404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29413 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29415 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29416 for ac_func in log10f
29417 do :
29418 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29419 if test "x$ac_cv_func_log10f" = x""yes; then :
29420 cat >>confdefs.h <<_ACEOF
29421 #define HAVE_LOG10F 1
29422 _ACEOF
29425 done
29427 else
29429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29430 $as_echo_n "checking for _log10f declaration... " >&6; }
29431 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29432 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29433 $as_echo_n "(cached) " >&6
29434 else
29437 ac_ext=cpp
29438 ac_cpp='$CXXCPP $CPPFLAGS'
29439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29444 /* end confdefs.h. */
29445 #include <math.h>
29446 #ifdef HAVE_IEEEFP_H
29447 #include <ieeefp.h>
29448 #endif
29451 main ()
29453 _log10f(0);
29455 return 0;
29457 _ACEOF
29458 if ac_fn_cxx_try_compile "$LINENO"; then :
29459 glibcxx_cv_func__log10f_use=yes
29460 else
29461 glibcxx_cv_func__log10f_use=no
29463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29464 ac_ext=c
29465 ac_cpp='$CPP $CPPFLAGS'
29466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29475 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29477 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29478 for ac_func in _log10f
29479 do :
29480 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29481 if test "x$ac_cv_func__log10f" = x""yes; then :
29482 cat >>confdefs.h <<_ACEOF
29483 #define HAVE__LOG10F 1
29484 _ACEOF
29487 done
29496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29497 $as_echo_n "checking for modff declaration... " >&6; }
29498 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29499 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29500 $as_echo_n "(cached) " >&6
29501 else
29504 ac_ext=cpp
29505 ac_cpp='$CXXCPP $CPPFLAGS'
29506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29511 /* end confdefs.h. */
29512 #include <math.h>
29514 main ()
29516 modff(0, 0);
29518 return 0;
29520 _ACEOF
29521 if ac_fn_cxx_try_compile "$LINENO"; then :
29522 glibcxx_cv_func_modff_use=yes
29523 else
29524 glibcxx_cv_func_modff_use=no
29526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29527 ac_ext=c
29528 ac_cpp='$CPP $CPPFLAGS'
29529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29538 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29540 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29541 for ac_func in modff
29542 do :
29543 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29544 if test "x$ac_cv_func_modff" = x""yes; then :
29545 cat >>confdefs.h <<_ACEOF
29546 #define HAVE_MODFF 1
29547 _ACEOF
29550 done
29552 else
29554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29555 $as_echo_n "checking for _modff declaration... " >&6; }
29556 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29557 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29558 $as_echo_n "(cached) " >&6
29559 else
29562 ac_ext=cpp
29563 ac_cpp='$CXXCPP $CPPFLAGS'
29564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29569 /* end confdefs.h. */
29570 #include <math.h>
29572 main ()
29574 _modff(0, 0);
29576 return 0;
29578 _ACEOF
29579 if ac_fn_cxx_try_compile "$LINENO"; then :
29580 glibcxx_cv_func__modff_use=yes
29581 else
29582 glibcxx_cv_func__modff_use=no
29584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29585 ac_ext=c
29586 ac_cpp='$CPP $CPPFLAGS'
29587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29596 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29598 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29599 for ac_func in _modff
29600 do :
29601 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29602 if test "x$ac_cv_func__modff" = x""yes; then :
29603 cat >>confdefs.h <<_ACEOF
29604 #define HAVE__MODFF 1
29605 _ACEOF
29608 done
29617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29618 $as_echo_n "checking for modf declaration... " >&6; }
29619 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29620 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29621 $as_echo_n "(cached) " >&6
29622 else
29625 ac_ext=cpp
29626 ac_cpp='$CXXCPP $CPPFLAGS'
29627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29632 /* end confdefs.h. */
29633 #include <math.h>
29635 main ()
29637 modf(0, 0);
29639 return 0;
29641 _ACEOF
29642 if ac_fn_cxx_try_compile "$LINENO"; then :
29643 glibcxx_cv_func_modf_use=yes
29644 else
29645 glibcxx_cv_func_modf_use=no
29647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29648 ac_ext=c
29649 ac_cpp='$CPP $CPPFLAGS'
29650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29659 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29661 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29662 for ac_func in modf
29663 do :
29664 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29665 if test "x$ac_cv_func_modf" = x""yes; then :
29666 cat >>confdefs.h <<_ACEOF
29667 #define HAVE_MODF 1
29668 _ACEOF
29671 done
29673 else
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29676 $as_echo_n "checking for _modf declaration... " >&6; }
29677 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29678 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29679 $as_echo_n "(cached) " >&6
29680 else
29683 ac_ext=cpp
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h. */
29691 #include <math.h>
29693 main ()
29695 _modf(0, 0);
29697 return 0;
29699 _ACEOF
29700 if ac_fn_cxx_try_compile "$LINENO"; then :
29701 glibcxx_cv_func__modf_use=yes
29702 else
29703 glibcxx_cv_func__modf_use=no
29705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29706 ac_ext=c
29707 ac_cpp='$CPP $CPPFLAGS'
29708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29717 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29719 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29720 for ac_func in _modf
29721 do :
29722 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29723 if test "x$ac_cv_func__modf" = x""yes; then :
29724 cat >>confdefs.h <<_ACEOF
29725 #define HAVE__MODF 1
29726 _ACEOF
29729 done
29738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29739 $as_echo_n "checking for powf declaration... " >&6; }
29740 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29741 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29742 $as_echo_n "(cached) " >&6
29743 else
29746 ac_ext=cpp
29747 ac_cpp='$CXXCPP $CPPFLAGS'
29748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29753 /* end confdefs.h. */
29754 #include <math.h>
29756 main ()
29758 powf(0, 0);
29760 return 0;
29762 _ACEOF
29763 if ac_fn_cxx_try_compile "$LINENO"; then :
29764 glibcxx_cv_func_powf_use=yes
29765 else
29766 glibcxx_cv_func_powf_use=no
29768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29769 ac_ext=c
29770 ac_cpp='$CPP $CPPFLAGS'
29771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29780 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29782 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29783 for ac_func in powf
29784 do :
29785 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29786 if test "x$ac_cv_func_powf" = x""yes; then :
29787 cat >>confdefs.h <<_ACEOF
29788 #define HAVE_POWF 1
29789 _ACEOF
29792 done
29794 else
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29797 $as_echo_n "checking for _powf declaration... " >&6; }
29798 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29799 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29800 $as_echo_n "(cached) " >&6
29801 else
29804 ac_ext=cpp
29805 ac_cpp='$CXXCPP $CPPFLAGS'
29806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29811 /* end confdefs.h. */
29812 #include <math.h>
29814 main ()
29816 _powf(0, 0);
29818 return 0;
29820 _ACEOF
29821 if ac_fn_cxx_try_compile "$LINENO"; then :
29822 glibcxx_cv_func__powf_use=yes
29823 else
29824 glibcxx_cv_func__powf_use=no
29826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29827 ac_ext=c
29828 ac_cpp='$CPP $CPPFLAGS'
29829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29838 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29840 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29841 for ac_func in _powf
29842 do :
29843 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29844 if test "x$ac_cv_func__powf" = x""yes; then :
29845 cat >>confdefs.h <<_ACEOF
29846 #define HAVE__POWF 1
29847 _ACEOF
29850 done
29859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29860 $as_echo_n "checking for sqrtf declaration... " >&6; }
29861 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29862 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29863 $as_echo_n "(cached) " >&6
29864 else
29867 ac_ext=cpp
29868 ac_cpp='$CXXCPP $CPPFLAGS'
29869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29874 /* end confdefs.h. */
29875 #include <math.h>
29876 #ifdef HAVE_IEEEFP_H
29877 #include <ieeefp.h>
29878 #endif
29881 main ()
29883 sqrtf(0);
29885 return 0;
29887 _ACEOF
29888 if ac_fn_cxx_try_compile "$LINENO"; then :
29889 glibcxx_cv_func_sqrtf_use=yes
29890 else
29891 glibcxx_cv_func_sqrtf_use=no
29893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29894 ac_ext=c
29895 ac_cpp='$CPP $CPPFLAGS'
29896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29905 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29907 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29908 for ac_func in sqrtf
29909 do :
29910 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29911 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29912 cat >>confdefs.h <<_ACEOF
29913 #define HAVE_SQRTF 1
29914 _ACEOF
29917 done
29919 else
29921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29922 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29923 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29924 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29925 $as_echo_n "(cached) " >&6
29926 else
29929 ac_ext=cpp
29930 ac_cpp='$CXXCPP $CPPFLAGS'
29931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29936 /* end confdefs.h. */
29937 #include <math.h>
29938 #ifdef HAVE_IEEEFP_H
29939 #include <ieeefp.h>
29940 #endif
29943 main ()
29945 _sqrtf(0);
29947 return 0;
29949 _ACEOF
29950 if ac_fn_cxx_try_compile "$LINENO"; then :
29951 glibcxx_cv_func__sqrtf_use=yes
29952 else
29953 glibcxx_cv_func__sqrtf_use=no
29955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29956 ac_ext=c
29957 ac_cpp='$CPP $CPPFLAGS'
29958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29967 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29969 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29970 for ac_func in _sqrtf
29971 do :
29972 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29973 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29974 cat >>confdefs.h <<_ACEOF
29975 #define HAVE__SQRTF 1
29976 _ACEOF
29979 done
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29989 $as_echo_n "checking for sincosf declaration... " >&6; }
29990 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29991 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29992 $as_echo_n "(cached) " >&6
29993 else
29996 ac_ext=cpp
29997 ac_cpp='$CXXCPP $CPPFLAGS'
29998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30003 /* end confdefs.h. */
30004 #include <math.h>
30006 main ()
30008 sincosf(0, 0, 0);
30010 return 0;
30012 _ACEOF
30013 if ac_fn_cxx_try_compile "$LINENO"; then :
30014 glibcxx_cv_func_sincosf_use=yes
30015 else
30016 glibcxx_cv_func_sincosf_use=no
30018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30019 ac_ext=c
30020 ac_cpp='$CPP $CPPFLAGS'
30021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30030 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30032 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30033 for ac_func in sincosf
30034 do :
30035 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30036 if test "x$ac_cv_func_sincosf" = x""yes; then :
30037 cat >>confdefs.h <<_ACEOF
30038 #define HAVE_SINCOSF 1
30039 _ACEOF
30042 done
30044 else
30046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30047 $as_echo_n "checking for _sincosf declaration... " >&6; }
30048 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30049 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30050 $as_echo_n "(cached) " >&6
30051 else
30054 ac_ext=cpp
30055 ac_cpp='$CXXCPP $CPPFLAGS'
30056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30061 /* end confdefs.h. */
30062 #include <math.h>
30064 main ()
30066 _sincosf(0, 0, 0);
30068 return 0;
30070 _ACEOF
30071 if ac_fn_cxx_try_compile "$LINENO"; then :
30072 glibcxx_cv_func__sincosf_use=yes
30073 else
30074 glibcxx_cv_func__sincosf_use=no
30076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30077 ac_ext=c
30078 ac_cpp='$CPP $CPPFLAGS'
30079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30088 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30090 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30091 for ac_func in _sincosf
30092 do :
30093 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30094 if test "x$ac_cv_func__sincosf" = x""yes; then :
30095 cat >>confdefs.h <<_ACEOF
30096 #define HAVE__SINCOSF 1
30097 _ACEOF
30100 done
30109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30110 $as_echo_n "checking for finitef declaration... " >&6; }
30111 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30112 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30113 $as_echo_n "(cached) " >&6
30114 else
30117 ac_ext=cpp
30118 ac_cpp='$CXXCPP $CPPFLAGS'
30119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h. */
30125 #include <math.h>
30126 #ifdef HAVE_IEEEFP_H
30127 #include <ieeefp.h>
30128 #endif
30131 main ()
30133 finitef(0);
30135 return 0;
30137 _ACEOF
30138 if ac_fn_cxx_try_compile "$LINENO"; then :
30139 glibcxx_cv_func_finitef_use=yes
30140 else
30141 glibcxx_cv_func_finitef_use=no
30143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30144 ac_ext=c
30145 ac_cpp='$CPP $CPPFLAGS'
30146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30155 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30157 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30158 for ac_func in finitef
30159 do :
30160 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30161 if test "x$ac_cv_func_finitef" = x""yes; then :
30162 cat >>confdefs.h <<_ACEOF
30163 #define HAVE_FINITEF 1
30164 _ACEOF
30167 done
30169 else
30171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30172 $as_echo_n "checking for _finitef declaration... " >&6; }
30173 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30174 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30175 $as_echo_n "(cached) " >&6
30176 else
30179 ac_ext=cpp
30180 ac_cpp='$CXXCPP $CPPFLAGS'
30181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30186 /* end confdefs.h. */
30187 #include <math.h>
30188 #ifdef HAVE_IEEEFP_H
30189 #include <ieeefp.h>
30190 #endif
30193 main ()
30195 _finitef(0);
30197 return 0;
30199 _ACEOF
30200 if ac_fn_cxx_try_compile "$LINENO"; then :
30201 glibcxx_cv_func__finitef_use=yes
30202 else
30203 glibcxx_cv_func__finitef_use=no
30205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30206 ac_ext=c
30207 ac_cpp='$CPP $CPPFLAGS'
30208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30217 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30219 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30220 for ac_func in _finitef
30221 do :
30222 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30223 if test "x$ac_cv_func__finitef" = x""yes; then :
30224 cat >>confdefs.h <<_ACEOF
30225 #define HAVE__FINITEF 1
30226 _ACEOF
30229 done
30238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30239 $as_echo_n "checking for long double trig functions... " >&6; }
30240 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30241 $as_echo_n "(cached) " >&6
30242 else
30245 ac_ext=cpp
30246 ac_cpp='$CXXCPP $CPPFLAGS'
30247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30252 /* end confdefs.h. */
30253 #include <math.h>
30255 main ()
30257 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30259 return 0;
30261 _ACEOF
30262 if ac_fn_cxx_try_compile "$LINENO"; then :
30263 glibcxx_cv_func_long_double_trig_use=yes
30264 else
30265 glibcxx_cv_func_long_double_trig_use=no
30267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30268 ac_ext=c
30269 ac_cpp='$CPP $CPPFLAGS'
30270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30277 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30278 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30279 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30280 do :
30281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30283 eval as_val=\$$as_ac_var
30284 if test "x$as_val" = x""yes; then :
30285 cat >>confdefs.h <<_ACEOF
30286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30287 _ACEOF
30290 done
30292 else
30293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30294 $as_echo_n "checking for _long double trig functions... " >&6; }
30295 if test "${glibcxx_cv_func__long_double_trig_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 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30314 return 0;
30316 _ACEOF
30317 if ac_fn_cxx_try_compile "$LINENO"; then :
30318 glibcxx_cv_func__long_double_trig_use=yes
30319 else
30320 glibcxx_cv_func__long_double_trig_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_trig_use" >&5
30332 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30333 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30334 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
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
30354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30355 $as_echo_n "checking for long double round functions... " >&6; }
30356 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30357 $as_echo_n "(cached) " >&6
30358 else
30361 ac_ext=cpp
30362 ac_cpp='$CXXCPP $CPPFLAGS'
30363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30368 /* end confdefs.h. */
30369 #include <math.h>
30371 main ()
30373 ceill (0); floorl (0);
30375 return 0;
30377 _ACEOF
30378 if ac_fn_cxx_try_compile "$LINENO"; then :
30379 glibcxx_cv_func_long_double_round_use=yes
30380 else
30381 glibcxx_cv_func_long_double_round_use=no
30383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30384 ac_ext=c
30385 ac_cpp='$CPP $CPPFLAGS'
30386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30393 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30394 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30395 for ac_func in ceill floorl
30396 do :
30397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30399 eval as_val=\$$as_ac_var
30400 if test "x$as_val" = x""yes; then :
30401 cat >>confdefs.h <<_ACEOF
30402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30403 _ACEOF
30406 done
30408 else
30409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30410 $as_echo_n "checking for _long double round functions... " >&6; }
30411 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30412 $as_echo_n "(cached) " >&6
30413 else
30416 ac_ext=cpp
30417 ac_cpp='$CXXCPP $CPPFLAGS'
30418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30423 /* end confdefs.h. */
30424 #include <math.h>
30426 main ()
30428 _ceill (0); _floorl (0);
30430 return 0;
30432 _ACEOF
30433 if ac_fn_cxx_try_compile "$LINENO"; then :
30434 glibcxx_cv_func__long_double_round_use=yes
30435 else
30436 glibcxx_cv_func__long_double_round_use=no
30438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30439 ac_ext=c
30440 ac_cpp='$CPP $CPPFLAGS'
30441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30448 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30449 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30450 for ac_func in _ceill _floorl
30451 do :
30452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30454 eval as_val=\$$as_ac_var
30455 if test "x$as_val" = x""yes; then :
30456 cat >>confdefs.h <<_ACEOF
30457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30458 _ACEOF
30461 done
30471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30472 $as_echo_n "checking for isnanl declaration... " >&6; }
30473 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30474 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30475 $as_echo_n "(cached) " >&6
30476 else
30479 ac_ext=cpp
30480 ac_cpp='$CXXCPP $CPPFLAGS'
30481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30486 /* end confdefs.h. */
30487 #include <math.h>
30488 #ifdef HAVE_IEEEFP_H
30489 #include <ieeefp.h>
30490 #endif
30493 main ()
30495 isnanl(0);
30497 return 0;
30499 _ACEOF
30500 if ac_fn_cxx_try_compile "$LINENO"; then :
30501 glibcxx_cv_func_isnanl_use=yes
30502 else
30503 glibcxx_cv_func_isnanl_use=no
30505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30506 ac_ext=c
30507 ac_cpp='$CPP $CPPFLAGS'
30508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30517 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30519 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30520 for ac_func in isnanl
30521 do :
30522 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30523 if test "x$ac_cv_func_isnanl" = x""yes; then :
30524 cat >>confdefs.h <<_ACEOF
30525 #define HAVE_ISNANL 1
30526 _ACEOF
30529 done
30531 else
30533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30534 $as_echo_n "checking for _isnanl declaration... " >&6; }
30535 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30536 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30537 $as_echo_n "(cached) " >&6
30538 else
30541 ac_ext=cpp
30542 ac_cpp='$CXXCPP $CPPFLAGS'
30543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30548 /* end confdefs.h. */
30549 #include <math.h>
30550 #ifdef HAVE_IEEEFP_H
30551 #include <ieeefp.h>
30552 #endif
30555 main ()
30557 _isnanl(0);
30559 return 0;
30561 _ACEOF
30562 if ac_fn_cxx_try_compile "$LINENO"; then :
30563 glibcxx_cv_func__isnanl_use=yes
30564 else
30565 glibcxx_cv_func__isnanl_use=no
30567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30568 ac_ext=c
30569 ac_cpp='$CPP $CPPFLAGS'
30570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30579 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30581 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30582 for ac_func in _isnanl
30583 do :
30584 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30585 if test "x$ac_cv_func__isnanl" = x""yes; then :
30586 cat >>confdefs.h <<_ACEOF
30587 #define HAVE__ISNANL 1
30588 _ACEOF
30591 done
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30601 $as_echo_n "checking for isinfl declaration... " >&6; }
30602 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30603 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30604 $as_echo_n "(cached) " >&6
30605 else
30608 ac_ext=cpp
30609 ac_cpp='$CXXCPP $CPPFLAGS'
30610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30615 /* end confdefs.h. */
30616 #include <math.h>
30617 #ifdef HAVE_IEEEFP_H
30618 #include <ieeefp.h>
30619 #endif
30622 main ()
30624 isinfl(0);
30626 return 0;
30628 _ACEOF
30629 if ac_fn_cxx_try_compile "$LINENO"; then :
30630 glibcxx_cv_func_isinfl_use=yes
30631 else
30632 glibcxx_cv_func_isinfl_use=no
30634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30635 ac_ext=c
30636 ac_cpp='$CPP $CPPFLAGS'
30637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30646 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30648 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30649 for ac_func in isinfl
30650 do :
30651 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30652 if test "x$ac_cv_func_isinfl" = x""yes; then :
30653 cat >>confdefs.h <<_ACEOF
30654 #define HAVE_ISINFL 1
30655 _ACEOF
30658 done
30660 else
30662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30663 $as_echo_n "checking for _isinfl declaration... " >&6; }
30664 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30665 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30666 $as_echo_n "(cached) " >&6
30667 else
30670 ac_ext=cpp
30671 ac_cpp='$CXXCPP $CPPFLAGS'
30672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30677 /* end confdefs.h. */
30678 #include <math.h>
30679 #ifdef HAVE_IEEEFP_H
30680 #include <ieeefp.h>
30681 #endif
30684 main ()
30686 _isinfl(0);
30688 return 0;
30690 _ACEOF
30691 if ac_fn_cxx_try_compile "$LINENO"; then :
30692 glibcxx_cv_func__isinfl_use=yes
30693 else
30694 glibcxx_cv_func__isinfl_use=no
30696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30697 ac_ext=c
30698 ac_cpp='$CPP $CPPFLAGS'
30699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30708 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30710 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30711 for ac_func in _isinfl
30712 do :
30713 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30714 if test "x$ac_cv_func__isinfl" = x""yes; then :
30715 cat >>confdefs.h <<_ACEOF
30716 #define HAVE__ISINFL 1
30717 _ACEOF
30720 done
30729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30730 $as_echo_n "checking for atan2l declaration... " >&6; }
30731 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30732 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30733 $as_echo_n "(cached) " >&6
30734 else
30737 ac_ext=cpp
30738 ac_cpp='$CXXCPP $CPPFLAGS'
30739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30744 /* end confdefs.h. */
30745 #include <math.h>
30747 main ()
30749 atan2l(0, 0);
30751 return 0;
30753 _ACEOF
30754 if ac_fn_cxx_try_compile "$LINENO"; then :
30755 glibcxx_cv_func_atan2l_use=yes
30756 else
30757 glibcxx_cv_func_atan2l_use=no
30759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30760 ac_ext=c
30761 ac_cpp='$CPP $CPPFLAGS'
30762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30771 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30773 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30774 for ac_func in atan2l
30775 do :
30776 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30777 if test "x$ac_cv_func_atan2l" = x""yes; then :
30778 cat >>confdefs.h <<_ACEOF
30779 #define HAVE_ATAN2L 1
30780 _ACEOF
30783 done
30785 else
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30788 $as_echo_n "checking for _atan2l declaration... " >&6; }
30789 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30790 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30791 $as_echo_n "(cached) " >&6
30792 else
30795 ac_ext=cpp
30796 ac_cpp='$CXXCPP $CPPFLAGS'
30797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30802 /* end confdefs.h. */
30803 #include <math.h>
30805 main ()
30807 _atan2l(0, 0);
30809 return 0;
30811 _ACEOF
30812 if ac_fn_cxx_try_compile "$LINENO"; then :
30813 glibcxx_cv_func__atan2l_use=yes
30814 else
30815 glibcxx_cv_func__atan2l_use=no
30817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30818 ac_ext=c
30819 ac_cpp='$CPP $CPPFLAGS'
30820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30829 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30831 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30832 for ac_func in _atan2l
30833 do :
30834 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30835 if test "x$ac_cv_func__atan2l" = x""yes; then :
30836 cat >>confdefs.h <<_ACEOF
30837 #define HAVE__ATAN2L 1
30838 _ACEOF
30841 done
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30851 $as_echo_n "checking for expl declaration... " >&6; }
30852 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30853 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30854 $as_echo_n "(cached) " >&6
30855 else
30858 ac_ext=cpp
30859 ac_cpp='$CXXCPP $CPPFLAGS'
30860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30865 /* end confdefs.h. */
30866 #include <math.h>
30867 #ifdef HAVE_IEEEFP_H
30868 #include <ieeefp.h>
30869 #endif
30872 main ()
30874 expl(0);
30876 return 0;
30878 _ACEOF
30879 if ac_fn_cxx_try_compile "$LINENO"; then :
30880 glibcxx_cv_func_expl_use=yes
30881 else
30882 glibcxx_cv_func_expl_use=no
30884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30885 ac_ext=c
30886 ac_cpp='$CPP $CPPFLAGS'
30887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30896 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30898 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30899 for ac_func in expl
30900 do :
30901 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30902 if test "x$ac_cv_func_expl" = x""yes; then :
30903 cat >>confdefs.h <<_ACEOF
30904 #define HAVE_EXPL 1
30905 _ACEOF
30908 done
30910 else
30912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30913 $as_echo_n "checking for _expl declaration... " >&6; }
30914 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30915 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30916 $as_echo_n "(cached) " >&6
30917 else
30920 ac_ext=cpp
30921 ac_cpp='$CXXCPP $CPPFLAGS'
30922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30927 /* end confdefs.h. */
30928 #include <math.h>
30929 #ifdef HAVE_IEEEFP_H
30930 #include <ieeefp.h>
30931 #endif
30934 main ()
30936 _expl(0);
30938 return 0;
30940 _ACEOF
30941 if ac_fn_cxx_try_compile "$LINENO"; then :
30942 glibcxx_cv_func__expl_use=yes
30943 else
30944 glibcxx_cv_func__expl_use=no
30946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30947 ac_ext=c
30948 ac_cpp='$CPP $CPPFLAGS'
30949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30958 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30960 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30961 for ac_func in _expl
30962 do :
30963 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30964 if test "x$ac_cv_func__expl" = x""yes; then :
30965 cat >>confdefs.h <<_ACEOF
30966 #define HAVE__EXPL 1
30967 _ACEOF
30970 done
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30980 $as_echo_n "checking for fabsl declaration... " >&6; }
30981 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30982 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30983 $as_echo_n "(cached) " >&6
30984 else
30987 ac_ext=cpp
30988 ac_cpp='$CXXCPP $CPPFLAGS'
30989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30994 /* end confdefs.h. */
30995 #include <math.h>
30996 #ifdef HAVE_IEEEFP_H
30997 #include <ieeefp.h>
30998 #endif
31001 main ()
31003 fabsl(0);
31005 return 0;
31007 _ACEOF
31008 if ac_fn_cxx_try_compile "$LINENO"; then :
31009 glibcxx_cv_func_fabsl_use=yes
31010 else
31011 glibcxx_cv_func_fabsl_use=no
31013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31014 ac_ext=c
31015 ac_cpp='$CPP $CPPFLAGS'
31016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31025 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31027 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31028 for ac_func in fabsl
31029 do :
31030 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31031 if test "x$ac_cv_func_fabsl" = x""yes; then :
31032 cat >>confdefs.h <<_ACEOF
31033 #define HAVE_FABSL 1
31034 _ACEOF
31037 done
31039 else
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31042 $as_echo_n "checking for _fabsl declaration... " >&6; }
31043 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31044 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31045 $as_echo_n "(cached) " >&6
31046 else
31049 ac_ext=cpp
31050 ac_cpp='$CXXCPP $CPPFLAGS'
31051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31056 /* end confdefs.h. */
31057 #include <math.h>
31058 #ifdef HAVE_IEEEFP_H
31059 #include <ieeefp.h>
31060 #endif
31063 main ()
31065 _fabsl(0);
31067 return 0;
31069 _ACEOF
31070 if ac_fn_cxx_try_compile "$LINENO"; then :
31071 glibcxx_cv_func__fabsl_use=yes
31072 else
31073 glibcxx_cv_func__fabsl_use=no
31075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31076 ac_ext=c
31077 ac_cpp='$CPP $CPPFLAGS'
31078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31087 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31089 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31090 for ac_func in _fabsl
31091 do :
31092 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31093 if test "x$ac_cv_func__fabsl" = x""yes; then :
31094 cat >>confdefs.h <<_ACEOF
31095 #define HAVE__FABSL 1
31096 _ACEOF
31099 done
31108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31109 $as_echo_n "checking for fmodl declaration... " >&6; }
31110 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31111 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31112 $as_echo_n "(cached) " >&6
31113 else
31116 ac_ext=cpp
31117 ac_cpp='$CXXCPP $CPPFLAGS'
31118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31123 /* end confdefs.h. */
31124 #include <math.h>
31126 main ()
31128 fmodl(0, 0);
31130 return 0;
31132 _ACEOF
31133 if ac_fn_cxx_try_compile "$LINENO"; then :
31134 glibcxx_cv_func_fmodl_use=yes
31135 else
31136 glibcxx_cv_func_fmodl_use=no
31138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31139 ac_ext=c
31140 ac_cpp='$CPP $CPPFLAGS'
31141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31150 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31152 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31153 for ac_func in fmodl
31154 do :
31155 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31156 if test "x$ac_cv_func_fmodl" = x""yes; then :
31157 cat >>confdefs.h <<_ACEOF
31158 #define HAVE_FMODL 1
31159 _ACEOF
31162 done
31164 else
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31167 $as_echo_n "checking for _fmodl declaration... " >&6; }
31168 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31169 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31170 $as_echo_n "(cached) " >&6
31171 else
31174 ac_ext=cpp
31175 ac_cpp='$CXXCPP $CPPFLAGS'
31176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h. */
31182 #include <math.h>
31184 main ()
31186 _fmodl(0, 0);
31188 return 0;
31190 _ACEOF
31191 if ac_fn_cxx_try_compile "$LINENO"; then :
31192 glibcxx_cv_func__fmodl_use=yes
31193 else
31194 glibcxx_cv_func__fmodl_use=no
31196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31197 ac_ext=c
31198 ac_cpp='$CPP $CPPFLAGS'
31199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31208 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31210 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31211 for ac_func in _fmodl
31212 do :
31213 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31214 if test "x$ac_cv_func__fmodl" = x""yes; then :
31215 cat >>confdefs.h <<_ACEOF
31216 #define HAVE__FMODL 1
31217 _ACEOF
31220 done
31229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31230 $as_echo_n "checking for frexpl declaration... " >&6; }
31231 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31232 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31233 $as_echo_n "(cached) " >&6
31234 else
31237 ac_ext=cpp
31238 ac_cpp='$CXXCPP $CPPFLAGS'
31239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31244 /* end confdefs.h. */
31245 #include <math.h>
31247 main ()
31249 frexpl(0, 0);
31251 return 0;
31253 _ACEOF
31254 if ac_fn_cxx_try_compile "$LINENO"; then :
31255 glibcxx_cv_func_frexpl_use=yes
31256 else
31257 glibcxx_cv_func_frexpl_use=no
31259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31260 ac_ext=c
31261 ac_cpp='$CPP $CPPFLAGS'
31262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31271 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31273 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31274 for ac_func in frexpl
31275 do :
31276 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31277 if test "x$ac_cv_func_frexpl" = x""yes; then :
31278 cat >>confdefs.h <<_ACEOF
31279 #define HAVE_FREXPL 1
31280 _ACEOF
31283 done
31285 else
31287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31288 $as_echo_n "checking for _frexpl declaration... " >&6; }
31289 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31290 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31291 $as_echo_n "(cached) " >&6
31292 else
31295 ac_ext=cpp
31296 ac_cpp='$CXXCPP $CPPFLAGS'
31297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31302 /* end confdefs.h. */
31303 #include <math.h>
31305 main ()
31307 _frexpl(0, 0);
31309 return 0;
31311 _ACEOF
31312 if ac_fn_cxx_try_compile "$LINENO"; then :
31313 glibcxx_cv_func__frexpl_use=yes
31314 else
31315 glibcxx_cv_func__frexpl_use=no
31317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31318 ac_ext=c
31319 ac_cpp='$CPP $CPPFLAGS'
31320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31329 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31331 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31332 for ac_func in _frexpl
31333 do :
31334 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31335 if test "x$ac_cv_func__frexpl" = x""yes; then :
31336 cat >>confdefs.h <<_ACEOF
31337 #define HAVE__FREXPL 1
31338 _ACEOF
31341 done
31350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31351 $as_echo_n "checking for hypotl declaration... " >&6; }
31352 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31353 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31354 $as_echo_n "(cached) " >&6
31355 else
31358 ac_ext=cpp
31359 ac_cpp='$CXXCPP $CPPFLAGS'
31360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31365 /* end confdefs.h. */
31366 #include <math.h>
31368 main ()
31370 hypotl(0, 0);
31372 return 0;
31374 _ACEOF
31375 if ac_fn_cxx_try_compile "$LINENO"; then :
31376 glibcxx_cv_func_hypotl_use=yes
31377 else
31378 glibcxx_cv_func_hypotl_use=no
31380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31381 ac_ext=c
31382 ac_cpp='$CPP $CPPFLAGS'
31383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31392 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31394 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31395 for ac_func in hypotl
31396 do :
31397 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31398 if test "x$ac_cv_func_hypotl" = x""yes; then :
31399 cat >>confdefs.h <<_ACEOF
31400 #define HAVE_HYPOTL 1
31401 _ACEOF
31404 done
31406 else
31408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31409 $as_echo_n "checking for _hypotl declaration... " >&6; }
31410 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31411 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31412 $as_echo_n "(cached) " >&6
31413 else
31416 ac_ext=cpp
31417 ac_cpp='$CXXCPP $CPPFLAGS'
31418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31423 /* end confdefs.h. */
31424 #include <math.h>
31426 main ()
31428 _hypotl(0, 0);
31430 return 0;
31432 _ACEOF
31433 if ac_fn_cxx_try_compile "$LINENO"; then :
31434 glibcxx_cv_func__hypotl_use=yes
31435 else
31436 glibcxx_cv_func__hypotl_use=no
31438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31439 ac_ext=c
31440 ac_cpp='$CPP $CPPFLAGS'
31441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31450 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31452 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31453 for ac_func in _hypotl
31454 do :
31455 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31456 if test "x$ac_cv_func__hypotl" = x""yes; then :
31457 cat >>confdefs.h <<_ACEOF
31458 #define HAVE__HYPOTL 1
31459 _ACEOF
31462 done
31471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31472 $as_echo_n "checking for ldexpl declaration... " >&6; }
31473 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31474 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31475 $as_echo_n "(cached) " >&6
31476 else
31479 ac_ext=cpp
31480 ac_cpp='$CXXCPP $CPPFLAGS'
31481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31486 /* end confdefs.h. */
31487 #include <math.h>
31489 main ()
31491 ldexpl(0, 0);
31493 return 0;
31495 _ACEOF
31496 if ac_fn_cxx_try_compile "$LINENO"; then :
31497 glibcxx_cv_func_ldexpl_use=yes
31498 else
31499 glibcxx_cv_func_ldexpl_use=no
31501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31502 ac_ext=c
31503 ac_cpp='$CPP $CPPFLAGS'
31504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31513 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31515 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31516 for ac_func in ldexpl
31517 do :
31518 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31519 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31520 cat >>confdefs.h <<_ACEOF
31521 #define HAVE_LDEXPL 1
31522 _ACEOF
31525 done
31527 else
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31530 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31531 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31532 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31533 $as_echo_n "(cached) " >&6
31534 else
31537 ac_ext=cpp
31538 ac_cpp='$CXXCPP $CPPFLAGS'
31539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31544 /* end confdefs.h. */
31545 #include <math.h>
31547 main ()
31549 _ldexpl(0, 0);
31551 return 0;
31553 _ACEOF
31554 if ac_fn_cxx_try_compile "$LINENO"; then :
31555 glibcxx_cv_func__ldexpl_use=yes
31556 else
31557 glibcxx_cv_func__ldexpl_use=no
31559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31560 ac_ext=c
31561 ac_cpp='$CPP $CPPFLAGS'
31562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31571 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31573 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31574 for ac_func in _ldexpl
31575 do :
31576 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31577 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31578 cat >>confdefs.h <<_ACEOF
31579 #define HAVE__LDEXPL 1
31580 _ACEOF
31583 done
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31593 $as_echo_n "checking for logl declaration... " >&6; }
31594 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31595 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31596 $as_echo_n "(cached) " >&6
31597 else
31600 ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h. */
31608 #include <math.h>
31609 #ifdef HAVE_IEEEFP_H
31610 #include <ieeefp.h>
31611 #endif
31614 main ()
31616 logl(0);
31618 return 0;
31620 _ACEOF
31621 if ac_fn_cxx_try_compile "$LINENO"; then :
31622 glibcxx_cv_func_logl_use=yes
31623 else
31624 glibcxx_cv_func_logl_use=no
31626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31627 ac_ext=c
31628 ac_cpp='$CPP $CPPFLAGS'
31629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31638 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31640 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31641 for ac_func in logl
31642 do :
31643 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31644 if test "x$ac_cv_func_logl" = x""yes; then :
31645 cat >>confdefs.h <<_ACEOF
31646 #define HAVE_LOGL 1
31647 _ACEOF
31650 done
31652 else
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31655 $as_echo_n "checking for _logl declaration... " >&6; }
31656 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31657 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31658 $as_echo_n "(cached) " >&6
31659 else
31662 ac_ext=cpp
31663 ac_cpp='$CXXCPP $CPPFLAGS'
31664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31669 /* end confdefs.h. */
31670 #include <math.h>
31671 #ifdef HAVE_IEEEFP_H
31672 #include <ieeefp.h>
31673 #endif
31676 main ()
31678 _logl(0);
31680 return 0;
31682 _ACEOF
31683 if ac_fn_cxx_try_compile "$LINENO"; then :
31684 glibcxx_cv_func__logl_use=yes
31685 else
31686 glibcxx_cv_func__logl_use=no
31688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31689 ac_ext=c
31690 ac_cpp='$CPP $CPPFLAGS'
31691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31700 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31702 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31703 for ac_func in _logl
31704 do :
31705 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31706 if test "x$ac_cv_func__logl" = x""yes; then :
31707 cat >>confdefs.h <<_ACEOF
31708 #define HAVE__LOGL 1
31709 _ACEOF
31712 done
31721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31722 $as_echo_n "checking for log10l declaration... " >&6; }
31723 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31724 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31725 $as_echo_n "(cached) " >&6
31726 else
31729 ac_ext=cpp
31730 ac_cpp='$CXXCPP $CPPFLAGS'
31731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31736 /* end confdefs.h. */
31737 #include <math.h>
31738 #ifdef HAVE_IEEEFP_H
31739 #include <ieeefp.h>
31740 #endif
31743 main ()
31745 log10l(0);
31747 return 0;
31749 _ACEOF
31750 if ac_fn_cxx_try_compile "$LINENO"; then :
31751 glibcxx_cv_func_log10l_use=yes
31752 else
31753 glibcxx_cv_func_log10l_use=no
31755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31756 ac_ext=c
31757 ac_cpp='$CPP $CPPFLAGS'
31758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31767 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31769 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31770 for ac_func in log10l
31771 do :
31772 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31773 if test "x$ac_cv_func_log10l" = x""yes; then :
31774 cat >>confdefs.h <<_ACEOF
31775 #define HAVE_LOG10L 1
31776 _ACEOF
31779 done
31781 else
31783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31784 $as_echo_n "checking for _log10l declaration... " >&6; }
31785 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31786 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31787 $as_echo_n "(cached) " >&6
31788 else
31791 ac_ext=cpp
31792 ac_cpp='$CXXCPP $CPPFLAGS'
31793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31798 /* end confdefs.h. */
31799 #include <math.h>
31800 #ifdef HAVE_IEEEFP_H
31801 #include <ieeefp.h>
31802 #endif
31805 main ()
31807 _log10l(0);
31809 return 0;
31811 _ACEOF
31812 if ac_fn_cxx_try_compile "$LINENO"; then :
31813 glibcxx_cv_func__log10l_use=yes
31814 else
31815 glibcxx_cv_func__log10l_use=no
31817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31818 ac_ext=c
31819 ac_cpp='$CPP $CPPFLAGS'
31820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31829 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31831 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31832 for ac_func in _log10l
31833 do :
31834 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31835 if test "x$ac_cv_func__log10l" = x""yes; then :
31836 cat >>confdefs.h <<_ACEOF
31837 #define HAVE__LOG10L 1
31838 _ACEOF
31841 done
31850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31851 $as_echo_n "checking for modfl declaration... " >&6; }
31852 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31853 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31854 $as_echo_n "(cached) " >&6
31855 else
31858 ac_ext=cpp
31859 ac_cpp='$CXXCPP $CPPFLAGS'
31860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31865 /* end confdefs.h. */
31866 #include <math.h>
31868 main ()
31870 modfl(0, 0);
31872 return 0;
31874 _ACEOF
31875 if ac_fn_cxx_try_compile "$LINENO"; then :
31876 glibcxx_cv_func_modfl_use=yes
31877 else
31878 glibcxx_cv_func_modfl_use=no
31880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31881 ac_ext=c
31882 ac_cpp='$CPP $CPPFLAGS'
31883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31892 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31894 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31895 for ac_func in modfl
31896 do :
31897 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31898 if test "x$ac_cv_func_modfl" = x""yes; then :
31899 cat >>confdefs.h <<_ACEOF
31900 #define HAVE_MODFL 1
31901 _ACEOF
31904 done
31906 else
31908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31909 $as_echo_n "checking for _modfl declaration... " >&6; }
31910 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31911 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31912 $as_echo_n "(cached) " >&6
31913 else
31916 ac_ext=cpp
31917 ac_cpp='$CXXCPP $CPPFLAGS'
31918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31923 /* end confdefs.h. */
31924 #include <math.h>
31926 main ()
31928 _modfl(0, 0);
31930 return 0;
31932 _ACEOF
31933 if ac_fn_cxx_try_compile "$LINENO"; then :
31934 glibcxx_cv_func__modfl_use=yes
31935 else
31936 glibcxx_cv_func__modfl_use=no
31938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31939 ac_ext=c
31940 ac_cpp='$CPP $CPPFLAGS'
31941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31950 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31952 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31953 for ac_func in _modfl
31954 do :
31955 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31956 if test "x$ac_cv_func__modfl" = x""yes; then :
31957 cat >>confdefs.h <<_ACEOF
31958 #define HAVE__MODFL 1
31959 _ACEOF
31962 done
31971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31972 $as_echo_n "checking for powl declaration... " >&6; }
31973 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31974 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31975 $as_echo_n "(cached) " >&6
31976 else
31979 ac_ext=cpp
31980 ac_cpp='$CXXCPP $CPPFLAGS'
31981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31986 /* end confdefs.h. */
31987 #include <math.h>
31989 main ()
31991 powl(0, 0);
31993 return 0;
31995 _ACEOF
31996 if ac_fn_cxx_try_compile "$LINENO"; then :
31997 glibcxx_cv_func_powl_use=yes
31998 else
31999 glibcxx_cv_func_powl_use=no
32001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32002 ac_ext=c
32003 ac_cpp='$CPP $CPPFLAGS'
32004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32013 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32015 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32016 for ac_func in powl
32017 do :
32018 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32019 if test "x$ac_cv_func_powl" = x""yes; then :
32020 cat >>confdefs.h <<_ACEOF
32021 #define HAVE_POWL 1
32022 _ACEOF
32025 done
32027 else
32029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32030 $as_echo_n "checking for _powl declaration... " >&6; }
32031 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32032 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32033 $as_echo_n "(cached) " >&6
32034 else
32037 ac_ext=cpp
32038 ac_cpp='$CXXCPP $CPPFLAGS'
32039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32044 /* end confdefs.h. */
32045 #include <math.h>
32047 main ()
32049 _powl(0, 0);
32051 return 0;
32053 _ACEOF
32054 if ac_fn_cxx_try_compile "$LINENO"; then :
32055 glibcxx_cv_func__powl_use=yes
32056 else
32057 glibcxx_cv_func__powl_use=no
32059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32060 ac_ext=c
32061 ac_cpp='$CPP $CPPFLAGS'
32062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32071 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32073 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32074 for ac_func in _powl
32075 do :
32076 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32077 if test "x$ac_cv_func__powl" = x""yes; then :
32078 cat >>confdefs.h <<_ACEOF
32079 #define HAVE__POWL 1
32080 _ACEOF
32083 done
32092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32093 $as_echo_n "checking for sqrtl declaration... " >&6; }
32094 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32095 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32096 $as_echo_n "(cached) " >&6
32097 else
32100 ac_ext=cpp
32101 ac_cpp='$CXXCPP $CPPFLAGS'
32102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32107 /* end confdefs.h. */
32108 #include <math.h>
32109 #ifdef HAVE_IEEEFP_H
32110 #include <ieeefp.h>
32111 #endif
32114 main ()
32116 sqrtl(0);
32118 return 0;
32120 _ACEOF
32121 if ac_fn_cxx_try_compile "$LINENO"; then :
32122 glibcxx_cv_func_sqrtl_use=yes
32123 else
32124 glibcxx_cv_func_sqrtl_use=no
32126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32127 ac_ext=c
32128 ac_cpp='$CPP $CPPFLAGS'
32129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32138 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32140 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32141 for ac_func in sqrtl
32142 do :
32143 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32144 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32145 cat >>confdefs.h <<_ACEOF
32146 #define HAVE_SQRTL 1
32147 _ACEOF
32150 done
32152 else
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32155 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32156 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32157 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32158 $as_echo_n "(cached) " >&6
32159 else
32162 ac_ext=cpp
32163 ac_cpp='$CXXCPP $CPPFLAGS'
32164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32169 /* end confdefs.h. */
32170 #include <math.h>
32171 #ifdef HAVE_IEEEFP_H
32172 #include <ieeefp.h>
32173 #endif
32176 main ()
32178 _sqrtl(0);
32180 return 0;
32182 _ACEOF
32183 if ac_fn_cxx_try_compile "$LINENO"; then :
32184 glibcxx_cv_func__sqrtl_use=yes
32185 else
32186 glibcxx_cv_func__sqrtl_use=no
32188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32189 ac_ext=c
32190 ac_cpp='$CPP $CPPFLAGS'
32191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32200 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32202 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32203 for ac_func in _sqrtl
32204 do :
32205 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32206 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32207 cat >>confdefs.h <<_ACEOF
32208 #define HAVE__SQRTL 1
32209 _ACEOF
32212 done
32221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32222 $as_echo_n "checking for sincosl declaration... " >&6; }
32223 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32224 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32225 $as_echo_n "(cached) " >&6
32226 else
32229 ac_ext=cpp
32230 ac_cpp='$CXXCPP $CPPFLAGS'
32231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32236 /* end confdefs.h. */
32237 #include <math.h>
32239 main ()
32241 sincosl(0, 0, 0);
32243 return 0;
32245 _ACEOF
32246 if ac_fn_cxx_try_compile "$LINENO"; then :
32247 glibcxx_cv_func_sincosl_use=yes
32248 else
32249 glibcxx_cv_func_sincosl_use=no
32251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32252 ac_ext=c
32253 ac_cpp='$CPP $CPPFLAGS'
32254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32263 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32265 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32266 for ac_func in sincosl
32267 do :
32268 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32269 if test "x$ac_cv_func_sincosl" = x""yes; then :
32270 cat >>confdefs.h <<_ACEOF
32271 #define HAVE_SINCOSL 1
32272 _ACEOF
32275 done
32277 else
32279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32280 $as_echo_n "checking for _sincosl declaration... " >&6; }
32281 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32282 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32283 $as_echo_n "(cached) " >&6
32284 else
32287 ac_ext=cpp
32288 ac_cpp='$CXXCPP $CPPFLAGS'
32289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h. */
32295 #include <math.h>
32297 main ()
32299 _sincosl(0, 0, 0);
32301 return 0;
32303 _ACEOF
32304 if ac_fn_cxx_try_compile "$LINENO"; then :
32305 glibcxx_cv_func__sincosl_use=yes
32306 else
32307 glibcxx_cv_func__sincosl_use=no
32309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32310 ac_ext=c
32311 ac_cpp='$CPP $CPPFLAGS'
32312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32321 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32323 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32324 for ac_func in _sincosl
32325 do :
32326 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32327 if test "x$ac_cv_func__sincosl" = x""yes; then :
32328 cat >>confdefs.h <<_ACEOF
32329 #define HAVE__SINCOSL 1
32330 _ACEOF
32333 done
32342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32343 $as_echo_n "checking for finitel declaration... " >&6; }
32344 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32345 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32346 $as_echo_n "(cached) " >&6
32347 else
32350 ac_ext=cpp
32351 ac_cpp='$CXXCPP $CPPFLAGS'
32352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32357 /* end confdefs.h. */
32358 #include <math.h>
32359 #ifdef HAVE_IEEEFP_H
32360 #include <ieeefp.h>
32361 #endif
32364 main ()
32366 finitel(0);
32368 return 0;
32370 _ACEOF
32371 if ac_fn_cxx_try_compile "$LINENO"; then :
32372 glibcxx_cv_func_finitel_use=yes
32373 else
32374 glibcxx_cv_func_finitel_use=no
32376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32377 ac_ext=c
32378 ac_cpp='$CPP $CPPFLAGS'
32379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32388 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32390 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32391 for ac_func in finitel
32392 do :
32393 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32394 if test "x$ac_cv_func_finitel" = x""yes; then :
32395 cat >>confdefs.h <<_ACEOF
32396 #define HAVE_FINITEL 1
32397 _ACEOF
32400 done
32402 else
32404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32405 $as_echo_n "checking for _finitel declaration... " >&6; }
32406 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32407 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32408 $as_echo_n "(cached) " >&6
32409 else
32412 ac_ext=cpp
32413 ac_cpp='$CXXCPP $CPPFLAGS'
32414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32419 /* end confdefs.h. */
32420 #include <math.h>
32421 #ifdef HAVE_IEEEFP_H
32422 #include <ieeefp.h>
32423 #endif
32426 main ()
32428 _finitel(0);
32430 return 0;
32432 _ACEOF
32433 if ac_fn_cxx_try_compile "$LINENO"; then :
32434 glibcxx_cv_func__finitel_use=yes
32435 else
32436 glibcxx_cv_func__finitel_use=no
32438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32439 ac_ext=c
32440 ac_cpp='$CPP $CPPFLAGS'
32441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32450 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32452 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32453 for ac_func in _finitel
32454 do :
32455 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32456 if test "x$ac_cv_func__finitel" = x""yes; then :
32457 cat >>confdefs.h <<_ACEOF
32458 #define HAVE__FINITEL 1
32459 _ACEOF
32462 done
32470 LIBS="$ac_save_LIBS"
32471 CXXFLAGS="$ac_save_CXXFLAGS"
32474 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32475 ac_save_CXXFLAGS="$CXXFLAGS"
32476 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32480 $as_echo_n "checking for strtold declaration... " >&6; }
32481 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32482 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32483 $as_echo_n "(cached) " >&6
32484 else
32487 ac_ext=cpp
32488 ac_cpp='$CXXCPP $CPPFLAGS'
32489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32494 /* end confdefs.h. */
32495 #include <stdlib.h>
32497 main ()
32499 strtold(0, 0);
32501 return 0;
32503 _ACEOF
32504 if ac_fn_cxx_try_compile "$LINENO"; then :
32505 glibcxx_cv_func_strtold_use=yes
32506 else
32507 glibcxx_cv_func_strtold_use=no
32509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32510 ac_ext=c
32511 ac_cpp='$CPP $CPPFLAGS'
32512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32521 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32522 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32523 for ac_func in strtold
32524 do :
32525 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32526 if test "x$ac_cv_func_strtold" = x""yes; then :
32527 cat >>confdefs.h <<_ACEOF
32528 #define HAVE_STRTOLD 1
32529 _ACEOF
32532 done
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32540 $as_echo_n "checking for strtof declaration... " >&6; }
32541 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32542 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32543 $as_echo_n "(cached) " >&6
32544 else
32547 ac_ext=cpp
32548 ac_cpp='$CXXCPP $CPPFLAGS'
32549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32554 /* end confdefs.h. */
32555 #include <stdlib.h>
32557 main ()
32559 strtof(0, 0);
32561 return 0;
32563 _ACEOF
32564 if ac_fn_cxx_try_compile "$LINENO"; then :
32565 glibcxx_cv_func_strtof_use=yes
32566 else
32567 glibcxx_cv_func_strtof_use=no
32569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32570 ac_ext=c
32571 ac_cpp='$CPP $CPPFLAGS'
32572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32581 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32582 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32583 for ac_func in strtof
32584 do :
32585 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32586 if test "x$ac_cv_func_strtof" = x""yes; then :
32587 cat >>confdefs.h <<_ACEOF
32588 #define HAVE_STRTOF 1
32589 _ACEOF
32592 done
32599 CXXFLAGS="$ac_save_CXXFLAGS"
32602 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32604 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32606 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32608 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32611 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32613 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32615 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32619 *-aix*)
32621 # If we're not using GNU ld, then there's no point in even trying these
32622 # tests. Check for that first. We should have already tested for gld
32623 # by now (in libtool), but require it now just to be safe...
32624 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32625 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32629 # The name set by libtool depends on the version of libtool. Shame on us
32630 # for depending on an impl detail, but c'est la vie. Older versions used
32631 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32632 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32633 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32634 # set (hence we're using an older libtool), then set it.
32635 if test x${with_gnu_ld+set} != xset; then
32636 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32637 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32638 with_gnu_ld=no
32639 else
32640 with_gnu_ld=$ac_cv_prog_gnu_ld
32644 # Start by getting the version number. I think the libtool test already
32645 # does some of this, but throws away the result.
32646 glibcxx_ld_is_gold=no
32647 if test x"$with_gnu_ld" = x"yes"; then
32648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32649 $as_echo_n "checking for ld version... " >&6; }
32651 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32652 glibcxx_ld_is_gold=yes
32654 ldver=`$LD --version 2>/dev/null |
32655 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'`
32657 glibcxx_gnu_ld_version=`echo $ldver | \
32658 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32660 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32663 # Set --gc-sections.
32664 glibcxx_have_gc_sections=no
32665 if test "$glibcxx_ld_is_gold" = "yes"; then
32666 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32667 glibcxx_have_gc_sections=yes
32669 else
32670 glibcxx_gcsections_min_ld=21602
32671 if test x"$with_gnu_ld" = x"yes" &&
32672 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32673 glibcxx_have_gc_sections=yes
32676 if test "$glibcxx_have_gc_sections" = "yes"; then
32677 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32678 # NB: This flag only works reliably after 2.16.1. Configure tests
32679 # for this are difficult, so hard wire a value that should work.
32681 ac_test_CFLAGS="${CFLAGS+set}"
32682 ac_save_CFLAGS="$CFLAGS"
32683 CFLAGS='-Wl,--gc-sections'
32685 # Check for -Wl,--gc-sections
32686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32687 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32688 if test x$gcc_no_link = xyes; then
32689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32692 /* end confdefs.h. */
32693 int one(void) { return 1; }
32694 int two(void) { return 2; }
32697 main ()
32699 two();
32701 return 0;
32703 _ACEOF
32704 if ac_fn_c_try_link "$LINENO"; then :
32705 ac_gcsections=yes
32706 else
32707 ac_gcsections=no
32709 rm -f core conftest.err conftest.$ac_objext \
32710 conftest$ac_exeext conftest.$ac_ext
32711 if test "$ac_gcsections" = "yes"; then
32712 rm -f conftest.c
32713 touch conftest.c
32714 if $CC -c conftest.c; then
32715 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32716 grep "Warning: gc-sections option ignored" > /dev/null; then
32717 ac_gcsections=no
32720 rm -f conftest.c conftest.o conftest
32722 if test "$ac_gcsections" = "yes"; then
32723 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32726 $as_echo "$ac_gcsections" >&6; }
32728 if test "$ac_test_CFLAGS" = set; then
32729 CFLAGS="$ac_save_CFLAGS"
32730 else
32731 # this is the suspicious part
32732 CFLAGS=''
32736 # Set -z,relro.
32737 # Note this is only for shared objects.
32738 ac_ld_relro=no
32739 if test x"$with_gnu_ld" = x"yes"; then
32740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32741 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32742 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32743 if test -n "$cxx_z_relo"; then
32744 OPT_LDFLAGS="-Wl,-z,relro"
32745 ac_ld_relro=yes
32747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32748 $as_echo "$ac_ld_relro" >&6; }
32751 # Set linker optimization flags.
32752 if test x"$with_gnu_ld" = x"yes"; then
32753 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32760 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32761 ac_save_CXXFLAGS="$CXXFLAGS"
32762 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32765 $as_echo_n "checking for sin in -lm... " >&6; }
32766 if test "${ac_cv_lib_m_sin+set}" = set; then :
32767 $as_echo_n "(cached) " >&6
32768 else
32769 ac_check_lib_save_LIBS=$LIBS
32770 LIBS="-lm $LIBS"
32771 if test x$gcc_no_link = xyes; then
32772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32775 /* end confdefs.h. */
32777 /* Override any GCC internal prototype to avoid an error.
32778 Use char because int might match the return type of a GCC
32779 builtin and then its argument prototype would still apply. */
32780 #ifdef __cplusplus
32781 extern "C"
32782 #endif
32783 char sin ();
32785 main ()
32787 return sin ();
32789 return 0;
32791 _ACEOF
32792 if ac_fn_c_try_link "$LINENO"; then :
32793 ac_cv_lib_m_sin=yes
32794 else
32795 ac_cv_lib_m_sin=no
32797 rm -f core conftest.err conftest.$ac_objext \
32798 conftest$ac_exeext conftest.$ac_ext
32799 LIBS=$ac_check_lib_save_LIBS
32801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32802 $as_echo "$ac_cv_lib_m_sin" >&6; }
32803 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32804 libm="-lm"
32807 ac_save_LIBS="$LIBS"
32808 LIBS="$LIBS $libm"
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32813 $as_echo_n "checking for isinf declaration... " >&6; }
32814 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32815 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32816 $as_echo_n "(cached) " >&6
32817 else
32820 ac_ext=cpp
32821 ac_cpp='$CXXCPP $CPPFLAGS'
32822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32827 /* end confdefs.h. */
32828 #include <math.h>
32829 #ifdef HAVE_IEEEFP_H
32830 #include <ieeefp.h>
32831 #endif
32834 main ()
32836 isinf(0);
32838 return 0;
32840 _ACEOF
32841 if ac_fn_cxx_try_compile "$LINENO"; then :
32842 glibcxx_cv_func_isinf_use=yes
32843 else
32844 glibcxx_cv_func_isinf_use=no
32846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32847 ac_ext=c
32848 ac_cpp='$CPP $CPPFLAGS'
32849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32858 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32860 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32861 for ac_func in isinf
32862 do :
32863 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32864 if test "x$ac_cv_func_isinf" = x""yes; then :
32865 cat >>confdefs.h <<_ACEOF
32866 #define HAVE_ISINF 1
32867 _ACEOF
32870 done
32872 else
32874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32875 $as_echo_n "checking for _isinf declaration... " >&6; }
32876 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32877 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32878 $as_echo_n "(cached) " >&6
32879 else
32882 ac_ext=cpp
32883 ac_cpp='$CXXCPP $CPPFLAGS'
32884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32889 /* end confdefs.h. */
32890 #include <math.h>
32891 #ifdef HAVE_IEEEFP_H
32892 #include <ieeefp.h>
32893 #endif
32896 main ()
32898 _isinf(0);
32900 return 0;
32902 _ACEOF
32903 if ac_fn_cxx_try_compile "$LINENO"; then :
32904 glibcxx_cv_func__isinf_use=yes
32905 else
32906 glibcxx_cv_func__isinf_use=no
32908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32909 ac_ext=c
32910 ac_cpp='$CPP $CPPFLAGS'
32911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32920 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32922 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32923 for ac_func in _isinf
32924 do :
32925 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32926 if test "x$ac_cv_func__isinf" = x""yes; then :
32927 cat >>confdefs.h <<_ACEOF
32928 #define HAVE__ISINF 1
32929 _ACEOF
32932 done
32941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32942 $as_echo_n "checking for isnan declaration... " >&6; }
32943 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32944 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32945 $as_echo_n "(cached) " >&6
32946 else
32949 ac_ext=cpp
32950 ac_cpp='$CXXCPP $CPPFLAGS'
32951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32956 /* end confdefs.h. */
32957 #include <math.h>
32958 #ifdef HAVE_IEEEFP_H
32959 #include <ieeefp.h>
32960 #endif
32963 main ()
32965 isnan(0);
32967 return 0;
32969 _ACEOF
32970 if ac_fn_cxx_try_compile "$LINENO"; then :
32971 glibcxx_cv_func_isnan_use=yes
32972 else
32973 glibcxx_cv_func_isnan_use=no
32975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32976 ac_ext=c
32977 ac_cpp='$CPP $CPPFLAGS'
32978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32987 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32989 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32990 for ac_func in isnan
32991 do :
32992 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32993 if test "x$ac_cv_func_isnan" = x""yes; then :
32994 cat >>confdefs.h <<_ACEOF
32995 #define HAVE_ISNAN 1
32996 _ACEOF
32999 done
33001 else
33003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33004 $as_echo_n "checking for _isnan declaration... " >&6; }
33005 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33006 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33007 $as_echo_n "(cached) " >&6
33008 else
33011 ac_ext=cpp
33012 ac_cpp='$CXXCPP $CPPFLAGS'
33013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33018 /* end confdefs.h. */
33019 #include <math.h>
33020 #ifdef HAVE_IEEEFP_H
33021 #include <ieeefp.h>
33022 #endif
33025 main ()
33027 _isnan(0);
33029 return 0;
33031 _ACEOF
33032 if ac_fn_cxx_try_compile "$LINENO"; then :
33033 glibcxx_cv_func__isnan_use=yes
33034 else
33035 glibcxx_cv_func__isnan_use=no
33037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33038 ac_ext=c
33039 ac_cpp='$CPP $CPPFLAGS'
33040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33049 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33051 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33052 for ac_func in _isnan
33053 do :
33054 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33055 if test "x$ac_cv_func__isnan" = x""yes; then :
33056 cat >>confdefs.h <<_ACEOF
33057 #define HAVE__ISNAN 1
33058 _ACEOF
33061 done
33070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33071 $as_echo_n "checking for finite declaration... " >&6; }
33072 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33073 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33074 $as_echo_n "(cached) " >&6
33075 else
33078 ac_ext=cpp
33079 ac_cpp='$CXXCPP $CPPFLAGS'
33080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33085 /* end confdefs.h. */
33086 #include <math.h>
33087 #ifdef HAVE_IEEEFP_H
33088 #include <ieeefp.h>
33089 #endif
33092 main ()
33094 finite(0);
33096 return 0;
33098 _ACEOF
33099 if ac_fn_cxx_try_compile "$LINENO"; then :
33100 glibcxx_cv_func_finite_use=yes
33101 else
33102 glibcxx_cv_func_finite_use=no
33104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33105 ac_ext=c
33106 ac_cpp='$CPP $CPPFLAGS'
33107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33116 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33118 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33119 for ac_func in finite
33120 do :
33121 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33122 if test "x$ac_cv_func_finite" = x""yes; then :
33123 cat >>confdefs.h <<_ACEOF
33124 #define HAVE_FINITE 1
33125 _ACEOF
33128 done
33130 else
33132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33133 $as_echo_n "checking for _finite declaration... " >&6; }
33134 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33135 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33136 $as_echo_n "(cached) " >&6
33137 else
33140 ac_ext=cpp
33141 ac_cpp='$CXXCPP $CPPFLAGS'
33142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33147 /* end confdefs.h. */
33148 #include <math.h>
33149 #ifdef HAVE_IEEEFP_H
33150 #include <ieeefp.h>
33151 #endif
33154 main ()
33156 _finite(0);
33158 return 0;
33160 _ACEOF
33161 if ac_fn_cxx_try_compile "$LINENO"; then :
33162 glibcxx_cv_func__finite_use=yes
33163 else
33164 glibcxx_cv_func__finite_use=no
33166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33167 ac_ext=c
33168 ac_cpp='$CPP $CPPFLAGS'
33169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33178 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33180 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33181 for ac_func in _finite
33182 do :
33183 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33184 if test "x$ac_cv_func__finite" = x""yes; then :
33185 cat >>confdefs.h <<_ACEOF
33186 #define HAVE__FINITE 1
33187 _ACEOF
33190 done
33199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33200 $as_echo_n "checking for sincos declaration... " >&6; }
33201 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33202 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33203 $as_echo_n "(cached) " >&6
33204 else
33207 ac_ext=cpp
33208 ac_cpp='$CXXCPP $CPPFLAGS'
33209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33214 /* end confdefs.h. */
33215 #include <math.h>
33217 main ()
33219 sincos(0, 0, 0);
33221 return 0;
33223 _ACEOF
33224 if ac_fn_cxx_try_compile "$LINENO"; then :
33225 glibcxx_cv_func_sincos_use=yes
33226 else
33227 glibcxx_cv_func_sincos_use=no
33229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33230 ac_ext=c
33231 ac_cpp='$CPP $CPPFLAGS'
33232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33241 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33243 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33244 for ac_func in sincos
33245 do :
33246 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33247 if test "x$ac_cv_func_sincos" = x""yes; then :
33248 cat >>confdefs.h <<_ACEOF
33249 #define HAVE_SINCOS 1
33250 _ACEOF
33253 done
33255 else
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33258 $as_echo_n "checking for _sincos declaration... " >&6; }
33259 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33260 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33261 $as_echo_n "(cached) " >&6
33262 else
33265 ac_ext=cpp
33266 ac_cpp='$CXXCPP $CPPFLAGS'
33267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33272 /* end confdefs.h. */
33273 #include <math.h>
33275 main ()
33277 _sincos(0, 0, 0);
33279 return 0;
33281 _ACEOF
33282 if ac_fn_cxx_try_compile "$LINENO"; then :
33283 glibcxx_cv_func__sincos_use=yes
33284 else
33285 glibcxx_cv_func__sincos_use=no
33287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33288 ac_ext=c
33289 ac_cpp='$CPP $CPPFLAGS'
33290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33299 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33301 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33302 for ac_func in _sincos
33303 do :
33304 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33305 if test "x$ac_cv_func__sincos" = x""yes; then :
33306 cat >>confdefs.h <<_ACEOF
33307 #define HAVE__SINCOS 1
33308 _ACEOF
33311 done
33320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33321 $as_echo_n "checking for fpclass declaration... " >&6; }
33322 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33323 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33324 $as_echo_n "(cached) " >&6
33325 else
33328 ac_ext=cpp
33329 ac_cpp='$CXXCPP $CPPFLAGS'
33330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33335 /* end confdefs.h. */
33336 #include <math.h>
33337 #ifdef HAVE_IEEEFP_H
33338 #include <ieeefp.h>
33339 #endif
33342 main ()
33344 fpclass(0);
33346 return 0;
33348 _ACEOF
33349 if ac_fn_cxx_try_compile "$LINENO"; then :
33350 glibcxx_cv_func_fpclass_use=yes
33351 else
33352 glibcxx_cv_func_fpclass_use=no
33354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33355 ac_ext=c
33356 ac_cpp='$CPP $CPPFLAGS'
33357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33366 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33368 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33369 for ac_func in fpclass
33370 do :
33371 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33372 if test "x$ac_cv_func_fpclass" = x""yes; then :
33373 cat >>confdefs.h <<_ACEOF
33374 #define HAVE_FPCLASS 1
33375 _ACEOF
33378 done
33380 else
33382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33383 $as_echo_n "checking for _fpclass declaration... " >&6; }
33384 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33385 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33386 $as_echo_n "(cached) " >&6
33387 else
33390 ac_ext=cpp
33391 ac_cpp='$CXXCPP $CPPFLAGS'
33392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33397 /* end confdefs.h. */
33398 #include <math.h>
33399 #ifdef HAVE_IEEEFP_H
33400 #include <ieeefp.h>
33401 #endif
33404 main ()
33406 _fpclass(0);
33408 return 0;
33410 _ACEOF
33411 if ac_fn_cxx_try_compile "$LINENO"; then :
33412 glibcxx_cv_func__fpclass_use=yes
33413 else
33414 glibcxx_cv_func__fpclass_use=no
33416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33417 ac_ext=c
33418 ac_cpp='$CPP $CPPFLAGS'
33419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33428 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33430 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33431 for ac_func in _fpclass
33432 do :
33433 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33434 if test "x$ac_cv_func__fpclass" = x""yes; then :
33435 cat >>confdefs.h <<_ACEOF
33436 #define HAVE__FPCLASS 1
33437 _ACEOF
33440 done
33449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33450 $as_echo_n "checking for qfpclass declaration... " >&6; }
33451 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33452 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33453 $as_echo_n "(cached) " >&6
33454 else
33457 ac_ext=cpp
33458 ac_cpp='$CXXCPP $CPPFLAGS'
33459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33464 /* end confdefs.h. */
33465 #include <math.h>
33466 #ifdef HAVE_IEEEFP_H
33467 #include <ieeefp.h>
33468 #endif
33471 main ()
33473 qfpclass(0);
33475 return 0;
33477 _ACEOF
33478 if ac_fn_cxx_try_compile "$LINENO"; then :
33479 glibcxx_cv_func_qfpclass_use=yes
33480 else
33481 glibcxx_cv_func_qfpclass_use=no
33483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33484 ac_ext=c
33485 ac_cpp='$CPP $CPPFLAGS'
33486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33495 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33497 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33498 for ac_func in qfpclass
33499 do :
33500 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33501 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33502 cat >>confdefs.h <<_ACEOF
33503 #define HAVE_QFPCLASS 1
33504 _ACEOF
33507 done
33509 else
33511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33512 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33513 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33514 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33515 $as_echo_n "(cached) " >&6
33516 else
33519 ac_ext=cpp
33520 ac_cpp='$CXXCPP $CPPFLAGS'
33521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33526 /* end confdefs.h. */
33527 #include <math.h>
33528 #ifdef HAVE_IEEEFP_H
33529 #include <ieeefp.h>
33530 #endif
33533 main ()
33535 _qfpclass(0);
33537 return 0;
33539 _ACEOF
33540 if ac_fn_cxx_try_compile "$LINENO"; then :
33541 glibcxx_cv_func__qfpclass_use=yes
33542 else
33543 glibcxx_cv_func__qfpclass_use=no
33545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33546 ac_ext=c
33547 ac_cpp='$CPP $CPPFLAGS'
33548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33557 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33559 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33560 for ac_func in _qfpclass
33561 do :
33562 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33563 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33564 cat >>confdefs.h <<_ACEOF
33565 #define HAVE__QFPCLASS 1
33566 _ACEOF
33569 done
33578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33579 $as_echo_n "checking for hypot declaration... " >&6; }
33580 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33581 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33582 $as_echo_n "(cached) " >&6
33583 else
33586 ac_ext=cpp
33587 ac_cpp='$CXXCPP $CPPFLAGS'
33588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33593 /* end confdefs.h. */
33594 #include <math.h>
33596 main ()
33598 hypot(0, 0);
33600 return 0;
33602 _ACEOF
33603 if ac_fn_cxx_try_compile "$LINENO"; then :
33604 glibcxx_cv_func_hypot_use=yes
33605 else
33606 glibcxx_cv_func_hypot_use=no
33608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33609 ac_ext=c
33610 ac_cpp='$CPP $CPPFLAGS'
33611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33620 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33622 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33623 for ac_func in hypot
33624 do :
33625 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33626 if test "x$ac_cv_func_hypot" = x""yes; then :
33627 cat >>confdefs.h <<_ACEOF
33628 #define HAVE_HYPOT 1
33629 _ACEOF
33632 done
33634 else
33636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33637 $as_echo_n "checking for _hypot declaration... " >&6; }
33638 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33639 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33640 $as_echo_n "(cached) " >&6
33641 else
33644 ac_ext=cpp
33645 ac_cpp='$CXXCPP $CPPFLAGS'
33646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33651 /* end confdefs.h. */
33652 #include <math.h>
33654 main ()
33656 _hypot(0, 0);
33658 return 0;
33660 _ACEOF
33661 if ac_fn_cxx_try_compile "$LINENO"; then :
33662 glibcxx_cv_func__hypot_use=yes
33663 else
33664 glibcxx_cv_func__hypot_use=no
33666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33667 ac_ext=c
33668 ac_cpp='$CPP $CPPFLAGS'
33669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33678 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33680 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33681 for ac_func in _hypot
33682 do :
33683 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33684 if test "x$ac_cv_func__hypot" = x""yes; then :
33685 cat >>confdefs.h <<_ACEOF
33686 #define HAVE__HYPOT 1
33687 _ACEOF
33690 done
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33700 $as_echo_n "checking for float trig functions... " >&6; }
33701 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33702 $as_echo_n "(cached) " >&6
33703 else
33706 ac_ext=cpp
33707 ac_cpp='$CXXCPP $CPPFLAGS'
33708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33713 /* end confdefs.h. */
33714 #include <math.h>
33716 main ()
33718 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33720 return 0;
33722 _ACEOF
33723 if ac_fn_cxx_try_compile "$LINENO"; then :
33724 glibcxx_cv_func_float_trig_use=yes
33725 else
33726 glibcxx_cv_func_float_trig_use=no
33728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33729 ac_ext=c
33730 ac_cpp='$CPP $CPPFLAGS'
33731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33738 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33739 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33740 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33741 do :
33742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33744 eval as_val=\$$as_ac_var
33745 if test "x$as_val" = x""yes; then :
33746 cat >>confdefs.h <<_ACEOF
33747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33748 _ACEOF
33751 done
33753 else
33754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33755 $as_echo_n "checking for _float trig functions... " >&6; }
33756 if test "${glibcxx_cv_func__float_trig_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 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33775 return 0;
33777 _ACEOF
33778 if ac_fn_cxx_try_compile "$LINENO"; then :
33779 glibcxx_cv_func__float_trig_use=yes
33780 else
33781 glibcxx_cv_func__float_trig_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_trig_use" >&5
33793 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33794 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33795 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
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
33815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33816 $as_echo_n "checking for float round functions... " >&6; }
33817 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33818 $as_echo_n "(cached) " >&6
33819 else
33822 ac_ext=cpp
33823 ac_cpp='$CXXCPP $CPPFLAGS'
33824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33829 /* end confdefs.h. */
33830 #include <math.h>
33832 main ()
33834 ceilf (0); floorf (0);
33836 return 0;
33838 _ACEOF
33839 if ac_fn_cxx_try_compile "$LINENO"; then :
33840 glibcxx_cv_func_float_round_use=yes
33841 else
33842 glibcxx_cv_func_float_round_use=no
33844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33845 ac_ext=c
33846 ac_cpp='$CPP $CPPFLAGS'
33847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33854 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33855 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33856 for ac_func in ceilf floorf
33857 do :
33858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33860 eval as_val=\$$as_ac_var
33861 if test "x$as_val" = x""yes; then :
33862 cat >>confdefs.h <<_ACEOF
33863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33864 _ACEOF
33867 done
33869 else
33870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33871 $as_echo_n "checking for _float round functions... " >&6; }
33872 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33873 $as_echo_n "(cached) " >&6
33874 else
33877 ac_ext=cpp
33878 ac_cpp='$CXXCPP $CPPFLAGS'
33879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33884 /* end confdefs.h. */
33885 #include <math.h>
33887 main ()
33889 _ceilf (0); _floorf (0);
33891 return 0;
33893 _ACEOF
33894 if ac_fn_cxx_try_compile "$LINENO"; then :
33895 glibcxx_cv_func__float_round_use=yes
33896 else
33897 glibcxx_cv_func__float_round_use=no
33899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33900 ac_ext=c
33901 ac_cpp='$CPP $CPPFLAGS'
33902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33909 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33910 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33911 for ac_func in _ceilf _floorf
33912 do :
33913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33915 eval as_val=\$$as_ac_var
33916 if test "x$as_val" = x""yes; then :
33917 cat >>confdefs.h <<_ACEOF
33918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33919 _ACEOF
33922 done
33932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33933 $as_echo_n "checking for expf declaration... " >&6; }
33934 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33935 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33936 $as_echo_n "(cached) " >&6
33937 else
33940 ac_ext=cpp
33941 ac_cpp='$CXXCPP $CPPFLAGS'
33942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33947 /* end confdefs.h. */
33948 #include <math.h>
33949 #ifdef HAVE_IEEEFP_H
33950 #include <ieeefp.h>
33951 #endif
33954 main ()
33956 expf(0);
33958 return 0;
33960 _ACEOF
33961 if ac_fn_cxx_try_compile "$LINENO"; then :
33962 glibcxx_cv_func_expf_use=yes
33963 else
33964 glibcxx_cv_func_expf_use=no
33966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33967 ac_ext=c
33968 ac_cpp='$CPP $CPPFLAGS'
33969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33978 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33980 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33981 for ac_func in expf
33982 do :
33983 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33984 if test "x$ac_cv_func_expf" = x""yes; then :
33985 cat >>confdefs.h <<_ACEOF
33986 #define HAVE_EXPF 1
33987 _ACEOF
33990 done
33992 else
33994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33995 $as_echo_n "checking for _expf declaration... " >&6; }
33996 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33997 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33998 $as_echo_n "(cached) " >&6
33999 else
34002 ac_ext=cpp
34003 ac_cpp='$CXXCPP $CPPFLAGS'
34004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34009 /* end confdefs.h. */
34010 #include <math.h>
34011 #ifdef HAVE_IEEEFP_H
34012 #include <ieeefp.h>
34013 #endif
34016 main ()
34018 _expf(0);
34020 return 0;
34022 _ACEOF
34023 if ac_fn_cxx_try_compile "$LINENO"; then :
34024 glibcxx_cv_func__expf_use=yes
34025 else
34026 glibcxx_cv_func__expf_use=no
34028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34029 ac_ext=c
34030 ac_cpp='$CPP $CPPFLAGS'
34031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34040 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34042 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34043 for ac_func in _expf
34044 do :
34045 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34046 if test "x$ac_cv_func__expf" = x""yes; then :
34047 cat >>confdefs.h <<_ACEOF
34048 #define HAVE__EXPF 1
34049 _ACEOF
34052 done
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34062 $as_echo_n "checking for isnanf declaration... " >&6; }
34063 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34064 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34065 $as_echo_n "(cached) " >&6
34066 else
34069 ac_ext=cpp
34070 ac_cpp='$CXXCPP $CPPFLAGS'
34071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34076 /* end confdefs.h. */
34077 #include <math.h>
34078 #ifdef HAVE_IEEEFP_H
34079 #include <ieeefp.h>
34080 #endif
34083 main ()
34085 isnanf(0);
34087 return 0;
34089 _ACEOF
34090 if ac_fn_cxx_try_compile "$LINENO"; then :
34091 glibcxx_cv_func_isnanf_use=yes
34092 else
34093 glibcxx_cv_func_isnanf_use=no
34095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34096 ac_ext=c
34097 ac_cpp='$CPP $CPPFLAGS'
34098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34107 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34109 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34110 for ac_func in isnanf
34111 do :
34112 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34113 if test "x$ac_cv_func_isnanf" = x""yes; then :
34114 cat >>confdefs.h <<_ACEOF
34115 #define HAVE_ISNANF 1
34116 _ACEOF
34119 done
34121 else
34123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34124 $as_echo_n "checking for _isnanf declaration... " >&6; }
34125 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34126 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34127 $as_echo_n "(cached) " >&6
34128 else
34131 ac_ext=cpp
34132 ac_cpp='$CXXCPP $CPPFLAGS'
34133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34138 /* end confdefs.h. */
34139 #include <math.h>
34140 #ifdef HAVE_IEEEFP_H
34141 #include <ieeefp.h>
34142 #endif
34145 main ()
34147 _isnanf(0);
34149 return 0;
34151 _ACEOF
34152 if ac_fn_cxx_try_compile "$LINENO"; then :
34153 glibcxx_cv_func__isnanf_use=yes
34154 else
34155 glibcxx_cv_func__isnanf_use=no
34157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34158 ac_ext=c
34159 ac_cpp='$CPP $CPPFLAGS'
34160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34169 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34171 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34172 for ac_func in _isnanf
34173 do :
34174 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34175 if test "x$ac_cv_func__isnanf" = x""yes; then :
34176 cat >>confdefs.h <<_ACEOF
34177 #define HAVE__ISNANF 1
34178 _ACEOF
34181 done
34190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34191 $as_echo_n "checking for isinff declaration... " >&6; }
34192 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34193 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34194 $as_echo_n "(cached) " >&6
34195 else
34198 ac_ext=cpp
34199 ac_cpp='$CXXCPP $CPPFLAGS'
34200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34205 /* end confdefs.h. */
34206 #include <math.h>
34207 #ifdef HAVE_IEEEFP_H
34208 #include <ieeefp.h>
34209 #endif
34212 main ()
34214 isinff(0);
34216 return 0;
34218 _ACEOF
34219 if ac_fn_cxx_try_compile "$LINENO"; then :
34220 glibcxx_cv_func_isinff_use=yes
34221 else
34222 glibcxx_cv_func_isinff_use=no
34224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34225 ac_ext=c
34226 ac_cpp='$CPP $CPPFLAGS'
34227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34236 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34238 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34239 for ac_func in isinff
34240 do :
34241 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34242 if test "x$ac_cv_func_isinff" = x""yes; then :
34243 cat >>confdefs.h <<_ACEOF
34244 #define HAVE_ISINFF 1
34245 _ACEOF
34248 done
34250 else
34252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34253 $as_echo_n "checking for _isinff declaration... " >&6; }
34254 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34255 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34256 $as_echo_n "(cached) " >&6
34257 else
34260 ac_ext=cpp
34261 ac_cpp='$CXXCPP $CPPFLAGS'
34262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34267 /* end confdefs.h. */
34268 #include <math.h>
34269 #ifdef HAVE_IEEEFP_H
34270 #include <ieeefp.h>
34271 #endif
34274 main ()
34276 _isinff(0);
34278 return 0;
34280 _ACEOF
34281 if ac_fn_cxx_try_compile "$LINENO"; then :
34282 glibcxx_cv_func__isinff_use=yes
34283 else
34284 glibcxx_cv_func__isinff_use=no
34286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287 ac_ext=c
34288 ac_cpp='$CPP $CPPFLAGS'
34289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34298 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34300 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34301 for ac_func in _isinff
34302 do :
34303 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34304 if test "x$ac_cv_func__isinff" = x""yes; then :
34305 cat >>confdefs.h <<_ACEOF
34306 #define HAVE__ISINFF 1
34307 _ACEOF
34310 done
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34320 $as_echo_n "checking for atan2f declaration... " >&6; }
34321 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34322 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34323 $as_echo_n "(cached) " >&6
34324 else
34327 ac_ext=cpp
34328 ac_cpp='$CXXCPP $CPPFLAGS'
34329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34334 /* end confdefs.h. */
34335 #include <math.h>
34337 main ()
34339 atan2f(0, 0);
34341 return 0;
34343 _ACEOF
34344 if ac_fn_cxx_try_compile "$LINENO"; then :
34345 glibcxx_cv_func_atan2f_use=yes
34346 else
34347 glibcxx_cv_func_atan2f_use=no
34349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34350 ac_ext=c
34351 ac_cpp='$CPP $CPPFLAGS'
34352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34361 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34363 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34364 for ac_func in atan2f
34365 do :
34366 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34367 if test "x$ac_cv_func_atan2f" = x""yes; then :
34368 cat >>confdefs.h <<_ACEOF
34369 #define HAVE_ATAN2F 1
34370 _ACEOF
34373 done
34375 else
34377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34378 $as_echo_n "checking for _atan2f declaration... " >&6; }
34379 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34380 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34381 $as_echo_n "(cached) " >&6
34382 else
34385 ac_ext=cpp
34386 ac_cpp='$CXXCPP $CPPFLAGS'
34387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34392 /* end confdefs.h. */
34393 #include <math.h>
34395 main ()
34397 _atan2f(0, 0);
34399 return 0;
34401 _ACEOF
34402 if ac_fn_cxx_try_compile "$LINENO"; then :
34403 glibcxx_cv_func__atan2f_use=yes
34404 else
34405 glibcxx_cv_func__atan2f_use=no
34407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34408 ac_ext=c
34409 ac_cpp='$CPP $CPPFLAGS'
34410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34419 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34421 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34422 for ac_func in _atan2f
34423 do :
34424 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34425 if test "x$ac_cv_func__atan2f" = x""yes; then :
34426 cat >>confdefs.h <<_ACEOF
34427 #define HAVE__ATAN2F 1
34428 _ACEOF
34431 done
34440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34441 $as_echo_n "checking for fabsf declaration... " >&6; }
34442 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34443 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34444 $as_echo_n "(cached) " >&6
34445 else
34448 ac_ext=cpp
34449 ac_cpp='$CXXCPP $CPPFLAGS'
34450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34455 /* end confdefs.h. */
34456 #include <math.h>
34457 #ifdef HAVE_IEEEFP_H
34458 #include <ieeefp.h>
34459 #endif
34462 main ()
34464 fabsf(0);
34466 return 0;
34468 _ACEOF
34469 if ac_fn_cxx_try_compile "$LINENO"; then :
34470 glibcxx_cv_func_fabsf_use=yes
34471 else
34472 glibcxx_cv_func_fabsf_use=no
34474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34475 ac_ext=c
34476 ac_cpp='$CPP $CPPFLAGS'
34477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34486 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34488 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34489 for ac_func in fabsf
34490 do :
34491 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34492 if test "x$ac_cv_func_fabsf" = x""yes; then :
34493 cat >>confdefs.h <<_ACEOF
34494 #define HAVE_FABSF 1
34495 _ACEOF
34498 done
34500 else
34502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34503 $as_echo_n "checking for _fabsf declaration... " >&6; }
34504 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34505 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34506 $as_echo_n "(cached) " >&6
34507 else
34510 ac_ext=cpp
34511 ac_cpp='$CXXCPP $CPPFLAGS'
34512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34517 /* end confdefs.h. */
34518 #include <math.h>
34519 #ifdef HAVE_IEEEFP_H
34520 #include <ieeefp.h>
34521 #endif
34524 main ()
34526 _fabsf(0);
34528 return 0;
34530 _ACEOF
34531 if ac_fn_cxx_try_compile "$LINENO"; then :
34532 glibcxx_cv_func__fabsf_use=yes
34533 else
34534 glibcxx_cv_func__fabsf_use=no
34536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34537 ac_ext=c
34538 ac_cpp='$CPP $CPPFLAGS'
34539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34548 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34550 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34551 for ac_func in _fabsf
34552 do :
34553 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34554 if test "x$ac_cv_func__fabsf" = x""yes; then :
34555 cat >>confdefs.h <<_ACEOF
34556 #define HAVE__FABSF 1
34557 _ACEOF
34560 done
34569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34570 $as_echo_n "checking for fmodf declaration... " >&6; }
34571 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34572 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34573 $as_echo_n "(cached) " >&6
34574 else
34577 ac_ext=cpp
34578 ac_cpp='$CXXCPP $CPPFLAGS'
34579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34584 /* end confdefs.h. */
34585 #include <math.h>
34587 main ()
34589 fmodf(0, 0);
34591 return 0;
34593 _ACEOF
34594 if ac_fn_cxx_try_compile "$LINENO"; then :
34595 glibcxx_cv_func_fmodf_use=yes
34596 else
34597 glibcxx_cv_func_fmodf_use=no
34599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34600 ac_ext=c
34601 ac_cpp='$CPP $CPPFLAGS'
34602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34611 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34613 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34614 for ac_func in fmodf
34615 do :
34616 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34617 if test "x$ac_cv_func_fmodf" = x""yes; then :
34618 cat >>confdefs.h <<_ACEOF
34619 #define HAVE_FMODF 1
34620 _ACEOF
34623 done
34625 else
34627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34628 $as_echo_n "checking for _fmodf declaration... " >&6; }
34629 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34630 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34631 $as_echo_n "(cached) " >&6
34632 else
34635 ac_ext=cpp
34636 ac_cpp='$CXXCPP $CPPFLAGS'
34637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34642 /* end confdefs.h. */
34643 #include <math.h>
34645 main ()
34647 _fmodf(0, 0);
34649 return 0;
34651 _ACEOF
34652 if ac_fn_cxx_try_compile "$LINENO"; then :
34653 glibcxx_cv_func__fmodf_use=yes
34654 else
34655 glibcxx_cv_func__fmodf_use=no
34657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34658 ac_ext=c
34659 ac_cpp='$CPP $CPPFLAGS'
34660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34669 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34671 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34672 for ac_func in _fmodf
34673 do :
34674 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34675 if test "x$ac_cv_func__fmodf" = x""yes; then :
34676 cat >>confdefs.h <<_ACEOF
34677 #define HAVE__FMODF 1
34678 _ACEOF
34681 done
34690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34691 $as_echo_n "checking for frexpf declaration... " >&6; }
34692 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34693 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34694 $as_echo_n "(cached) " >&6
34695 else
34698 ac_ext=cpp
34699 ac_cpp='$CXXCPP $CPPFLAGS'
34700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34705 /* end confdefs.h. */
34706 #include <math.h>
34708 main ()
34710 frexpf(0, 0);
34712 return 0;
34714 _ACEOF
34715 if ac_fn_cxx_try_compile "$LINENO"; then :
34716 glibcxx_cv_func_frexpf_use=yes
34717 else
34718 glibcxx_cv_func_frexpf_use=no
34720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34721 ac_ext=c
34722 ac_cpp='$CPP $CPPFLAGS'
34723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34732 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34734 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34735 for ac_func in frexpf
34736 do :
34737 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34738 if test "x$ac_cv_func_frexpf" = x""yes; then :
34739 cat >>confdefs.h <<_ACEOF
34740 #define HAVE_FREXPF 1
34741 _ACEOF
34744 done
34746 else
34748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34749 $as_echo_n "checking for _frexpf declaration... " >&6; }
34750 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34751 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34752 $as_echo_n "(cached) " >&6
34753 else
34756 ac_ext=cpp
34757 ac_cpp='$CXXCPP $CPPFLAGS'
34758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34763 /* end confdefs.h. */
34764 #include <math.h>
34766 main ()
34768 _frexpf(0, 0);
34770 return 0;
34772 _ACEOF
34773 if ac_fn_cxx_try_compile "$LINENO"; then :
34774 glibcxx_cv_func__frexpf_use=yes
34775 else
34776 glibcxx_cv_func__frexpf_use=no
34778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34779 ac_ext=c
34780 ac_cpp='$CPP $CPPFLAGS'
34781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34790 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34792 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34793 for ac_func in _frexpf
34794 do :
34795 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34796 if test "x$ac_cv_func__frexpf" = x""yes; then :
34797 cat >>confdefs.h <<_ACEOF
34798 #define HAVE__FREXPF 1
34799 _ACEOF
34802 done
34811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34812 $as_echo_n "checking for hypotf declaration... " >&6; }
34813 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34814 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34815 $as_echo_n "(cached) " >&6
34816 else
34819 ac_ext=cpp
34820 ac_cpp='$CXXCPP $CPPFLAGS'
34821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34826 /* end confdefs.h. */
34827 #include <math.h>
34829 main ()
34831 hypotf(0, 0);
34833 return 0;
34835 _ACEOF
34836 if ac_fn_cxx_try_compile "$LINENO"; then :
34837 glibcxx_cv_func_hypotf_use=yes
34838 else
34839 glibcxx_cv_func_hypotf_use=no
34841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34842 ac_ext=c
34843 ac_cpp='$CPP $CPPFLAGS'
34844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34853 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34855 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34856 for ac_func in hypotf
34857 do :
34858 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34859 if test "x$ac_cv_func_hypotf" = x""yes; then :
34860 cat >>confdefs.h <<_ACEOF
34861 #define HAVE_HYPOTF 1
34862 _ACEOF
34865 done
34867 else
34869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34870 $as_echo_n "checking for _hypotf declaration... " >&6; }
34871 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34872 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34873 $as_echo_n "(cached) " >&6
34874 else
34877 ac_ext=cpp
34878 ac_cpp='$CXXCPP $CPPFLAGS'
34879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884 /* end confdefs.h. */
34885 #include <math.h>
34887 main ()
34889 _hypotf(0, 0);
34891 return 0;
34893 _ACEOF
34894 if ac_fn_cxx_try_compile "$LINENO"; then :
34895 glibcxx_cv_func__hypotf_use=yes
34896 else
34897 glibcxx_cv_func__hypotf_use=no
34899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34900 ac_ext=c
34901 ac_cpp='$CPP $CPPFLAGS'
34902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34911 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34913 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34914 for ac_func in _hypotf
34915 do :
34916 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34917 if test "x$ac_cv_func__hypotf" = x""yes; then :
34918 cat >>confdefs.h <<_ACEOF
34919 #define HAVE__HYPOTF 1
34920 _ACEOF
34923 done
34932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34933 $as_echo_n "checking for ldexpf declaration... " >&6; }
34934 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34935 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34936 $as_echo_n "(cached) " >&6
34937 else
34940 ac_ext=cpp
34941 ac_cpp='$CXXCPP $CPPFLAGS'
34942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34947 /* end confdefs.h. */
34948 #include <math.h>
34950 main ()
34952 ldexpf(0, 0);
34954 return 0;
34956 _ACEOF
34957 if ac_fn_cxx_try_compile "$LINENO"; then :
34958 glibcxx_cv_func_ldexpf_use=yes
34959 else
34960 glibcxx_cv_func_ldexpf_use=no
34962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34963 ac_ext=c
34964 ac_cpp='$CPP $CPPFLAGS'
34965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34974 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34976 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34977 for ac_func in ldexpf
34978 do :
34979 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34980 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34981 cat >>confdefs.h <<_ACEOF
34982 #define HAVE_LDEXPF 1
34983 _ACEOF
34986 done
34988 else
34990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34991 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34992 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34993 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34994 $as_echo_n "(cached) " >&6
34995 else
34998 ac_ext=cpp
34999 ac_cpp='$CXXCPP $CPPFLAGS'
35000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35005 /* end confdefs.h. */
35006 #include <math.h>
35008 main ()
35010 _ldexpf(0, 0);
35012 return 0;
35014 _ACEOF
35015 if ac_fn_cxx_try_compile "$LINENO"; then :
35016 glibcxx_cv_func__ldexpf_use=yes
35017 else
35018 glibcxx_cv_func__ldexpf_use=no
35020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35021 ac_ext=c
35022 ac_cpp='$CPP $CPPFLAGS'
35023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35032 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35034 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35035 for ac_func in _ldexpf
35036 do :
35037 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35038 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35039 cat >>confdefs.h <<_ACEOF
35040 #define HAVE__LDEXPF 1
35041 _ACEOF
35044 done
35053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35054 $as_echo_n "checking for logf declaration... " >&6; }
35055 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35056 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35057 $as_echo_n "(cached) " >&6
35058 else
35061 ac_ext=cpp
35062 ac_cpp='$CXXCPP $CPPFLAGS'
35063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h. */
35069 #include <math.h>
35070 #ifdef HAVE_IEEEFP_H
35071 #include <ieeefp.h>
35072 #endif
35075 main ()
35077 logf(0);
35079 return 0;
35081 _ACEOF
35082 if ac_fn_cxx_try_compile "$LINENO"; then :
35083 glibcxx_cv_func_logf_use=yes
35084 else
35085 glibcxx_cv_func_logf_use=no
35087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35088 ac_ext=c
35089 ac_cpp='$CPP $CPPFLAGS'
35090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35099 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35101 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35102 for ac_func in logf
35103 do :
35104 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35105 if test "x$ac_cv_func_logf" = x""yes; then :
35106 cat >>confdefs.h <<_ACEOF
35107 #define HAVE_LOGF 1
35108 _ACEOF
35111 done
35113 else
35115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35116 $as_echo_n "checking for _logf declaration... " >&6; }
35117 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35118 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35119 $as_echo_n "(cached) " >&6
35120 else
35123 ac_ext=cpp
35124 ac_cpp='$CXXCPP $CPPFLAGS'
35125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35130 /* end confdefs.h. */
35131 #include <math.h>
35132 #ifdef HAVE_IEEEFP_H
35133 #include <ieeefp.h>
35134 #endif
35137 main ()
35139 _logf(0);
35141 return 0;
35143 _ACEOF
35144 if ac_fn_cxx_try_compile "$LINENO"; then :
35145 glibcxx_cv_func__logf_use=yes
35146 else
35147 glibcxx_cv_func__logf_use=no
35149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35150 ac_ext=c
35151 ac_cpp='$CPP $CPPFLAGS'
35152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35161 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35163 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35164 for ac_func in _logf
35165 do :
35166 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35167 if test "x$ac_cv_func__logf" = x""yes; then :
35168 cat >>confdefs.h <<_ACEOF
35169 #define HAVE__LOGF 1
35170 _ACEOF
35173 done
35182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35183 $as_echo_n "checking for log10f declaration... " >&6; }
35184 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35185 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35186 $as_echo_n "(cached) " >&6
35187 else
35190 ac_ext=cpp
35191 ac_cpp='$CXXCPP $CPPFLAGS'
35192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35197 /* end confdefs.h. */
35198 #include <math.h>
35199 #ifdef HAVE_IEEEFP_H
35200 #include <ieeefp.h>
35201 #endif
35204 main ()
35206 log10f(0);
35208 return 0;
35210 _ACEOF
35211 if ac_fn_cxx_try_compile "$LINENO"; then :
35212 glibcxx_cv_func_log10f_use=yes
35213 else
35214 glibcxx_cv_func_log10f_use=no
35216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35217 ac_ext=c
35218 ac_cpp='$CPP $CPPFLAGS'
35219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35228 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35230 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35231 for ac_func in log10f
35232 do :
35233 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35234 if test "x$ac_cv_func_log10f" = x""yes; then :
35235 cat >>confdefs.h <<_ACEOF
35236 #define HAVE_LOG10F 1
35237 _ACEOF
35240 done
35242 else
35244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35245 $as_echo_n "checking for _log10f declaration... " >&6; }
35246 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35247 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35248 $as_echo_n "(cached) " >&6
35249 else
35252 ac_ext=cpp
35253 ac_cpp='$CXXCPP $CPPFLAGS'
35254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35259 /* end confdefs.h. */
35260 #include <math.h>
35261 #ifdef HAVE_IEEEFP_H
35262 #include <ieeefp.h>
35263 #endif
35266 main ()
35268 _log10f(0);
35270 return 0;
35272 _ACEOF
35273 if ac_fn_cxx_try_compile "$LINENO"; then :
35274 glibcxx_cv_func__log10f_use=yes
35275 else
35276 glibcxx_cv_func__log10f_use=no
35278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35279 ac_ext=c
35280 ac_cpp='$CPP $CPPFLAGS'
35281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35290 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35292 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35293 for ac_func in _log10f
35294 do :
35295 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35296 if test "x$ac_cv_func__log10f" = x""yes; then :
35297 cat >>confdefs.h <<_ACEOF
35298 #define HAVE__LOG10F 1
35299 _ACEOF
35302 done
35311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35312 $as_echo_n "checking for modff declaration... " >&6; }
35313 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35314 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35315 $as_echo_n "(cached) " >&6
35316 else
35319 ac_ext=cpp
35320 ac_cpp='$CXXCPP $CPPFLAGS'
35321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35326 /* end confdefs.h. */
35327 #include <math.h>
35329 main ()
35331 modff(0, 0);
35333 return 0;
35335 _ACEOF
35336 if ac_fn_cxx_try_compile "$LINENO"; then :
35337 glibcxx_cv_func_modff_use=yes
35338 else
35339 glibcxx_cv_func_modff_use=no
35341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35342 ac_ext=c
35343 ac_cpp='$CPP $CPPFLAGS'
35344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35353 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35355 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35356 for ac_func in modff
35357 do :
35358 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35359 if test "x$ac_cv_func_modff" = x""yes; then :
35360 cat >>confdefs.h <<_ACEOF
35361 #define HAVE_MODFF 1
35362 _ACEOF
35365 done
35367 else
35369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35370 $as_echo_n "checking for _modff declaration... " >&6; }
35371 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35372 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35373 $as_echo_n "(cached) " >&6
35374 else
35377 ac_ext=cpp
35378 ac_cpp='$CXXCPP $CPPFLAGS'
35379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35384 /* end confdefs.h. */
35385 #include <math.h>
35387 main ()
35389 _modff(0, 0);
35391 return 0;
35393 _ACEOF
35394 if ac_fn_cxx_try_compile "$LINENO"; then :
35395 glibcxx_cv_func__modff_use=yes
35396 else
35397 glibcxx_cv_func__modff_use=no
35399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35400 ac_ext=c
35401 ac_cpp='$CPP $CPPFLAGS'
35402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35411 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35413 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35414 for ac_func in _modff
35415 do :
35416 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35417 if test "x$ac_cv_func__modff" = x""yes; then :
35418 cat >>confdefs.h <<_ACEOF
35419 #define HAVE__MODFF 1
35420 _ACEOF
35423 done
35432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35433 $as_echo_n "checking for modf declaration... " >&6; }
35434 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35435 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35436 $as_echo_n "(cached) " >&6
35437 else
35440 ac_ext=cpp
35441 ac_cpp='$CXXCPP $CPPFLAGS'
35442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35447 /* end confdefs.h. */
35448 #include <math.h>
35450 main ()
35452 modf(0, 0);
35454 return 0;
35456 _ACEOF
35457 if ac_fn_cxx_try_compile "$LINENO"; then :
35458 glibcxx_cv_func_modf_use=yes
35459 else
35460 glibcxx_cv_func_modf_use=no
35462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35463 ac_ext=c
35464 ac_cpp='$CPP $CPPFLAGS'
35465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35474 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35476 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35477 for ac_func in modf
35478 do :
35479 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35480 if test "x$ac_cv_func_modf" = x""yes; then :
35481 cat >>confdefs.h <<_ACEOF
35482 #define HAVE_MODF 1
35483 _ACEOF
35486 done
35488 else
35490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35491 $as_echo_n "checking for _modf declaration... " >&6; }
35492 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35493 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35494 $as_echo_n "(cached) " >&6
35495 else
35498 ac_ext=cpp
35499 ac_cpp='$CXXCPP $CPPFLAGS'
35500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35505 /* end confdefs.h. */
35506 #include <math.h>
35508 main ()
35510 _modf(0, 0);
35512 return 0;
35514 _ACEOF
35515 if ac_fn_cxx_try_compile "$LINENO"; then :
35516 glibcxx_cv_func__modf_use=yes
35517 else
35518 glibcxx_cv_func__modf_use=no
35520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35521 ac_ext=c
35522 ac_cpp='$CPP $CPPFLAGS'
35523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35532 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35534 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35535 for ac_func in _modf
35536 do :
35537 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35538 if test "x$ac_cv_func__modf" = x""yes; then :
35539 cat >>confdefs.h <<_ACEOF
35540 #define HAVE__MODF 1
35541 _ACEOF
35544 done
35553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35554 $as_echo_n "checking for powf declaration... " >&6; }
35555 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35556 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35557 $as_echo_n "(cached) " >&6
35558 else
35561 ac_ext=cpp
35562 ac_cpp='$CXXCPP $CPPFLAGS'
35563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35568 /* end confdefs.h. */
35569 #include <math.h>
35571 main ()
35573 powf(0, 0);
35575 return 0;
35577 _ACEOF
35578 if ac_fn_cxx_try_compile "$LINENO"; then :
35579 glibcxx_cv_func_powf_use=yes
35580 else
35581 glibcxx_cv_func_powf_use=no
35583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35584 ac_ext=c
35585 ac_cpp='$CPP $CPPFLAGS'
35586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35595 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35597 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35598 for ac_func in powf
35599 do :
35600 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35601 if test "x$ac_cv_func_powf" = x""yes; then :
35602 cat >>confdefs.h <<_ACEOF
35603 #define HAVE_POWF 1
35604 _ACEOF
35607 done
35609 else
35611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35612 $as_echo_n "checking for _powf declaration... " >&6; }
35613 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35614 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35615 $as_echo_n "(cached) " >&6
35616 else
35619 ac_ext=cpp
35620 ac_cpp='$CXXCPP $CPPFLAGS'
35621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35626 /* end confdefs.h. */
35627 #include <math.h>
35629 main ()
35631 _powf(0, 0);
35633 return 0;
35635 _ACEOF
35636 if ac_fn_cxx_try_compile "$LINENO"; then :
35637 glibcxx_cv_func__powf_use=yes
35638 else
35639 glibcxx_cv_func__powf_use=no
35641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35642 ac_ext=c
35643 ac_cpp='$CPP $CPPFLAGS'
35644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35653 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35655 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35656 for ac_func in _powf
35657 do :
35658 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35659 if test "x$ac_cv_func__powf" = x""yes; then :
35660 cat >>confdefs.h <<_ACEOF
35661 #define HAVE__POWF 1
35662 _ACEOF
35665 done
35674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35675 $as_echo_n "checking for sqrtf declaration... " >&6; }
35676 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35677 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35678 $as_echo_n "(cached) " >&6
35679 else
35682 ac_ext=cpp
35683 ac_cpp='$CXXCPP $CPPFLAGS'
35684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35689 /* end confdefs.h. */
35690 #include <math.h>
35691 #ifdef HAVE_IEEEFP_H
35692 #include <ieeefp.h>
35693 #endif
35696 main ()
35698 sqrtf(0);
35700 return 0;
35702 _ACEOF
35703 if ac_fn_cxx_try_compile "$LINENO"; then :
35704 glibcxx_cv_func_sqrtf_use=yes
35705 else
35706 glibcxx_cv_func_sqrtf_use=no
35708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35709 ac_ext=c
35710 ac_cpp='$CPP $CPPFLAGS'
35711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35720 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35722 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35723 for ac_func in sqrtf
35724 do :
35725 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35726 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35727 cat >>confdefs.h <<_ACEOF
35728 #define HAVE_SQRTF 1
35729 _ACEOF
35732 done
35734 else
35736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35737 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35738 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35739 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35740 $as_echo_n "(cached) " >&6
35741 else
35744 ac_ext=cpp
35745 ac_cpp='$CXXCPP $CPPFLAGS'
35746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35751 /* end confdefs.h. */
35752 #include <math.h>
35753 #ifdef HAVE_IEEEFP_H
35754 #include <ieeefp.h>
35755 #endif
35758 main ()
35760 _sqrtf(0);
35762 return 0;
35764 _ACEOF
35765 if ac_fn_cxx_try_compile "$LINENO"; then :
35766 glibcxx_cv_func__sqrtf_use=yes
35767 else
35768 glibcxx_cv_func__sqrtf_use=no
35770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35771 ac_ext=c
35772 ac_cpp='$CPP $CPPFLAGS'
35773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35782 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35784 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35785 for ac_func in _sqrtf
35786 do :
35787 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35788 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35789 cat >>confdefs.h <<_ACEOF
35790 #define HAVE__SQRTF 1
35791 _ACEOF
35794 done
35803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35804 $as_echo_n "checking for sincosf declaration... " >&6; }
35805 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35806 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35807 $as_echo_n "(cached) " >&6
35808 else
35811 ac_ext=cpp
35812 ac_cpp='$CXXCPP $CPPFLAGS'
35813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35818 /* end confdefs.h. */
35819 #include <math.h>
35821 main ()
35823 sincosf(0, 0, 0);
35825 return 0;
35827 _ACEOF
35828 if ac_fn_cxx_try_compile "$LINENO"; then :
35829 glibcxx_cv_func_sincosf_use=yes
35830 else
35831 glibcxx_cv_func_sincosf_use=no
35833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35834 ac_ext=c
35835 ac_cpp='$CPP $CPPFLAGS'
35836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35845 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35847 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35848 for ac_func in sincosf
35849 do :
35850 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35851 if test "x$ac_cv_func_sincosf" = x""yes; then :
35852 cat >>confdefs.h <<_ACEOF
35853 #define HAVE_SINCOSF 1
35854 _ACEOF
35857 done
35859 else
35861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35862 $as_echo_n "checking for _sincosf declaration... " >&6; }
35863 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35864 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35865 $as_echo_n "(cached) " >&6
35866 else
35869 ac_ext=cpp
35870 ac_cpp='$CXXCPP $CPPFLAGS'
35871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35876 /* end confdefs.h. */
35877 #include <math.h>
35879 main ()
35881 _sincosf(0, 0, 0);
35883 return 0;
35885 _ACEOF
35886 if ac_fn_cxx_try_compile "$LINENO"; then :
35887 glibcxx_cv_func__sincosf_use=yes
35888 else
35889 glibcxx_cv_func__sincosf_use=no
35891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35892 ac_ext=c
35893 ac_cpp='$CPP $CPPFLAGS'
35894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35903 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35905 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35906 for ac_func in _sincosf
35907 do :
35908 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35909 if test "x$ac_cv_func__sincosf" = x""yes; then :
35910 cat >>confdefs.h <<_ACEOF
35911 #define HAVE__SINCOSF 1
35912 _ACEOF
35915 done
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35925 $as_echo_n "checking for finitef declaration... " >&6; }
35926 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35927 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35928 $as_echo_n "(cached) " >&6
35929 else
35932 ac_ext=cpp
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35939 /* end confdefs.h. */
35940 #include <math.h>
35941 #ifdef HAVE_IEEEFP_H
35942 #include <ieeefp.h>
35943 #endif
35946 main ()
35948 finitef(0);
35950 return 0;
35952 _ACEOF
35953 if ac_fn_cxx_try_compile "$LINENO"; then :
35954 glibcxx_cv_func_finitef_use=yes
35955 else
35956 glibcxx_cv_func_finitef_use=no
35958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35959 ac_ext=c
35960 ac_cpp='$CPP $CPPFLAGS'
35961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35970 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35972 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35973 for ac_func in finitef
35974 do :
35975 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35976 if test "x$ac_cv_func_finitef" = x""yes; then :
35977 cat >>confdefs.h <<_ACEOF
35978 #define HAVE_FINITEF 1
35979 _ACEOF
35982 done
35984 else
35986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35987 $as_echo_n "checking for _finitef declaration... " >&6; }
35988 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35989 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35990 $as_echo_n "(cached) " >&6
35991 else
35994 ac_ext=cpp
35995 ac_cpp='$CXXCPP $CPPFLAGS'
35996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36001 /* end confdefs.h. */
36002 #include <math.h>
36003 #ifdef HAVE_IEEEFP_H
36004 #include <ieeefp.h>
36005 #endif
36008 main ()
36010 _finitef(0);
36012 return 0;
36014 _ACEOF
36015 if ac_fn_cxx_try_compile "$LINENO"; then :
36016 glibcxx_cv_func__finitef_use=yes
36017 else
36018 glibcxx_cv_func__finitef_use=no
36020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36021 ac_ext=c
36022 ac_cpp='$CPP $CPPFLAGS'
36023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36032 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36034 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36035 for ac_func in _finitef
36036 do :
36037 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36038 if test "x$ac_cv_func__finitef" = x""yes; then :
36039 cat >>confdefs.h <<_ACEOF
36040 #define HAVE__FINITEF 1
36041 _ACEOF
36044 done
36053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36054 $as_echo_n "checking for long double trig functions... " >&6; }
36055 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36056 $as_echo_n "(cached) " >&6
36057 else
36060 ac_ext=cpp
36061 ac_cpp='$CXXCPP $CPPFLAGS'
36062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36067 /* end confdefs.h. */
36068 #include <math.h>
36070 main ()
36072 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36074 return 0;
36076 _ACEOF
36077 if ac_fn_cxx_try_compile "$LINENO"; then :
36078 glibcxx_cv_func_long_double_trig_use=yes
36079 else
36080 glibcxx_cv_func_long_double_trig_use=no
36082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36083 ac_ext=c
36084 ac_cpp='$CPP $CPPFLAGS'
36085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36092 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36093 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36094 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36095 do :
36096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36098 eval as_val=\$$as_ac_var
36099 if test "x$as_val" = x""yes; then :
36100 cat >>confdefs.h <<_ACEOF
36101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36102 _ACEOF
36105 done
36107 else
36108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36109 $as_echo_n "checking for _long double trig functions... " >&6; }
36110 if test "${glibcxx_cv_func__long_double_trig_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 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36129 return 0;
36131 _ACEOF
36132 if ac_fn_cxx_try_compile "$LINENO"; then :
36133 glibcxx_cv_func__long_double_trig_use=yes
36134 else
36135 glibcxx_cv_func__long_double_trig_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_trig_use" >&5
36147 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36148 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36149 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
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
36169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36170 $as_echo_n "checking for long double round functions... " >&6; }
36171 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36172 $as_echo_n "(cached) " >&6
36173 else
36176 ac_ext=cpp
36177 ac_cpp='$CXXCPP $CPPFLAGS'
36178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36183 /* end confdefs.h. */
36184 #include <math.h>
36186 main ()
36188 ceill (0); floorl (0);
36190 return 0;
36192 _ACEOF
36193 if ac_fn_cxx_try_compile "$LINENO"; then :
36194 glibcxx_cv_func_long_double_round_use=yes
36195 else
36196 glibcxx_cv_func_long_double_round_use=no
36198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36199 ac_ext=c
36200 ac_cpp='$CPP $CPPFLAGS'
36201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36208 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36209 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36210 for ac_func in ceill floorl
36211 do :
36212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36214 eval as_val=\$$as_ac_var
36215 if test "x$as_val" = x""yes; then :
36216 cat >>confdefs.h <<_ACEOF
36217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36218 _ACEOF
36221 done
36223 else
36224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36225 $as_echo_n "checking for _long double round functions... " >&6; }
36226 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36227 $as_echo_n "(cached) " >&6
36228 else
36231 ac_ext=cpp
36232 ac_cpp='$CXXCPP $CPPFLAGS'
36233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36238 /* end confdefs.h. */
36239 #include <math.h>
36241 main ()
36243 _ceill (0); _floorl (0);
36245 return 0;
36247 _ACEOF
36248 if ac_fn_cxx_try_compile "$LINENO"; then :
36249 glibcxx_cv_func__long_double_round_use=yes
36250 else
36251 glibcxx_cv_func__long_double_round_use=no
36253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36254 ac_ext=c
36255 ac_cpp='$CPP $CPPFLAGS'
36256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36263 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36264 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36265 for ac_func in _ceill _floorl
36266 do :
36267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36269 eval as_val=\$$as_ac_var
36270 if test "x$as_val" = x""yes; then :
36271 cat >>confdefs.h <<_ACEOF
36272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36273 _ACEOF
36276 done
36286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36287 $as_echo_n "checking for isnanl declaration... " >&6; }
36288 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36289 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36290 $as_echo_n "(cached) " >&6
36291 else
36294 ac_ext=cpp
36295 ac_cpp='$CXXCPP $CPPFLAGS'
36296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36301 /* end confdefs.h. */
36302 #include <math.h>
36303 #ifdef HAVE_IEEEFP_H
36304 #include <ieeefp.h>
36305 #endif
36308 main ()
36310 isnanl(0);
36312 return 0;
36314 _ACEOF
36315 if ac_fn_cxx_try_compile "$LINENO"; then :
36316 glibcxx_cv_func_isnanl_use=yes
36317 else
36318 glibcxx_cv_func_isnanl_use=no
36320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36321 ac_ext=c
36322 ac_cpp='$CPP $CPPFLAGS'
36323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36332 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36334 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36335 for ac_func in isnanl
36336 do :
36337 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36338 if test "x$ac_cv_func_isnanl" = x""yes; then :
36339 cat >>confdefs.h <<_ACEOF
36340 #define HAVE_ISNANL 1
36341 _ACEOF
36344 done
36346 else
36348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36349 $as_echo_n "checking for _isnanl declaration... " >&6; }
36350 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36351 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36352 $as_echo_n "(cached) " >&6
36353 else
36356 ac_ext=cpp
36357 ac_cpp='$CXXCPP $CPPFLAGS'
36358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36363 /* end confdefs.h. */
36364 #include <math.h>
36365 #ifdef HAVE_IEEEFP_H
36366 #include <ieeefp.h>
36367 #endif
36370 main ()
36372 _isnanl(0);
36374 return 0;
36376 _ACEOF
36377 if ac_fn_cxx_try_compile "$LINENO"; then :
36378 glibcxx_cv_func__isnanl_use=yes
36379 else
36380 glibcxx_cv_func__isnanl_use=no
36382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36383 ac_ext=c
36384 ac_cpp='$CPP $CPPFLAGS'
36385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36394 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36396 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36397 for ac_func in _isnanl
36398 do :
36399 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36400 if test "x$ac_cv_func__isnanl" = x""yes; then :
36401 cat >>confdefs.h <<_ACEOF
36402 #define HAVE__ISNANL 1
36403 _ACEOF
36406 done
36415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36416 $as_echo_n "checking for isinfl declaration... " >&6; }
36417 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36418 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36419 $as_echo_n "(cached) " >&6
36420 else
36423 ac_ext=cpp
36424 ac_cpp='$CXXCPP $CPPFLAGS'
36425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36430 /* end confdefs.h. */
36431 #include <math.h>
36432 #ifdef HAVE_IEEEFP_H
36433 #include <ieeefp.h>
36434 #endif
36437 main ()
36439 isinfl(0);
36441 return 0;
36443 _ACEOF
36444 if ac_fn_cxx_try_compile "$LINENO"; then :
36445 glibcxx_cv_func_isinfl_use=yes
36446 else
36447 glibcxx_cv_func_isinfl_use=no
36449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36450 ac_ext=c
36451 ac_cpp='$CPP $CPPFLAGS'
36452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36461 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36463 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36464 for ac_func in isinfl
36465 do :
36466 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36467 if test "x$ac_cv_func_isinfl" = x""yes; then :
36468 cat >>confdefs.h <<_ACEOF
36469 #define HAVE_ISINFL 1
36470 _ACEOF
36473 done
36475 else
36477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36478 $as_echo_n "checking for _isinfl declaration... " >&6; }
36479 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36480 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36481 $as_echo_n "(cached) " >&6
36482 else
36485 ac_ext=cpp
36486 ac_cpp='$CXXCPP $CPPFLAGS'
36487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36492 /* end confdefs.h. */
36493 #include <math.h>
36494 #ifdef HAVE_IEEEFP_H
36495 #include <ieeefp.h>
36496 #endif
36499 main ()
36501 _isinfl(0);
36503 return 0;
36505 _ACEOF
36506 if ac_fn_cxx_try_compile "$LINENO"; then :
36507 glibcxx_cv_func__isinfl_use=yes
36508 else
36509 glibcxx_cv_func__isinfl_use=no
36511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36512 ac_ext=c
36513 ac_cpp='$CPP $CPPFLAGS'
36514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36523 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36525 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36526 for ac_func in _isinfl
36527 do :
36528 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36529 if test "x$ac_cv_func__isinfl" = x""yes; then :
36530 cat >>confdefs.h <<_ACEOF
36531 #define HAVE__ISINFL 1
36532 _ACEOF
36535 done
36544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36545 $as_echo_n "checking for atan2l declaration... " >&6; }
36546 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36547 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36548 $as_echo_n "(cached) " >&6
36549 else
36552 ac_ext=cpp
36553 ac_cpp='$CXXCPP $CPPFLAGS'
36554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36559 /* end confdefs.h. */
36560 #include <math.h>
36562 main ()
36564 atan2l(0, 0);
36566 return 0;
36568 _ACEOF
36569 if ac_fn_cxx_try_compile "$LINENO"; then :
36570 glibcxx_cv_func_atan2l_use=yes
36571 else
36572 glibcxx_cv_func_atan2l_use=no
36574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36575 ac_ext=c
36576 ac_cpp='$CPP $CPPFLAGS'
36577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36586 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36588 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36589 for ac_func in atan2l
36590 do :
36591 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36592 if test "x$ac_cv_func_atan2l" = x""yes; then :
36593 cat >>confdefs.h <<_ACEOF
36594 #define HAVE_ATAN2L 1
36595 _ACEOF
36598 done
36600 else
36602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36603 $as_echo_n "checking for _atan2l declaration... " >&6; }
36604 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36605 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36606 $as_echo_n "(cached) " >&6
36607 else
36610 ac_ext=cpp
36611 ac_cpp='$CXXCPP $CPPFLAGS'
36612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36617 /* end confdefs.h. */
36618 #include <math.h>
36620 main ()
36622 _atan2l(0, 0);
36624 return 0;
36626 _ACEOF
36627 if ac_fn_cxx_try_compile "$LINENO"; then :
36628 glibcxx_cv_func__atan2l_use=yes
36629 else
36630 glibcxx_cv_func__atan2l_use=no
36632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36633 ac_ext=c
36634 ac_cpp='$CPP $CPPFLAGS'
36635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36644 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36646 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36647 for ac_func in _atan2l
36648 do :
36649 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36650 if test "x$ac_cv_func__atan2l" = x""yes; then :
36651 cat >>confdefs.h <<_ACEOF
36652 #define HAVE__ATAN2L 1
36653 _ACEOF
36656 done
36665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36666 $as_echo_n "checking for expl declaration... " >&6; }
36667 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36668 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36669 $as_echo_n "(cached) " >&6
36670 else
36673 ac_ext=cpp
36674 ac_cpp='$CXXCPP $CPPFLAGS'
36675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36680 /* end confdefs.h. */
36681 #include <math.h>
36682 #ifdef HAVE_IEEEFP_H
36683 #include <ieeefp.h>
36684 #endif
36687 main ()
36689 expl(0);
36691 return 0;
36693 _ACEOF
36694 if ac_fn_cxx_try_compile "$LINENO"; then :
36695 glibcxx_cv_func_expl_use=yes
36696 else
36697 glibcxx_cv_func_expl_use=no
36699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36700 ac_ext=c
36701 ac_cpp='$CPP $CPPFLAGS'
36702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36711 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36713 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36714 for ac_func in expl
36715 do :
36716 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36717 if test "x$ac_cv_func_expl" = x""yes; then :
36718 cat >>confdefs.h <<_ACEOF
36719 #define HAVE_EXPL 1
36720 _ACEOF
36723 done
36725 else
36727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36728 $as_echo_n "checking for _expl declaration... " >&6; }
36729 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36730 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36731 $as_echo_n "(cached) " >&6
36732 else
36735 ac_ext=cpp
36736 ac_cpp='$CXXCPP $CPPFLAGS'
36737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36742 /* end confdefs.h. */
36743 #include <math.h>
36744 #ifdef HAVE_IEEEFP_H
36745 #include <ieeefp.h>
36746 #endif
36749 main ()
36751 _expl(0);
36753 return 0;
36755 _ACEOF
36756 if ac_fn_cxx_try_compile "$LINENO"; then :
36757 glibcxx_cv_func__expl_use=yes
36758 else
36759 glibcxx_cv_func__expl_use=no
36761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36762 ac_ext=c
36763 ac_cpp='$CPP $CPPFLAGS'
36764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36773 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36775 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36776 for ac_func in _expl
36777 do :
36778 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36779 if test "x$ac_cv_func__expl" = x""yes; then :
36780 cat >>confdefs.h <<_ACEOF
36781 #define HAVE__EXPL 1
36782 _ACEOF
36785 done
36794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36795 $as_echo_n "checking for fabsl declaration... " >&6; }
36796 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36797 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36798 $as_echo_n "(cached) " >&6
36799 else
36802 ac_ext=cpp
36803 ac_cpp='$CXXCPP $CPPFLAGS'
36804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36809 /* end confdefs.h. */
36810 #include <math.h>
36811 #ifdef HAVE_IEEEFP_H
36812 #include <ieeefp.h>
36813 #endif
36816 main ()
36818 fabsl(0);
36820 return 0;
36822 _ACEOF
36823 if ac_fn_cxx_try_compile "$LINENO"; then :
36824 glibcxx_cv_func_fabsl_use=yes
36825 else
36826 glibcxx_cv_func_fabsl_use=no
36828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36829 ac_ext=c
36830 ac_cpp='$CPP $CPPFLAGS'
36831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36840 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36842 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36843 for ac_func in fabsl
36844 do :
36845 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36846 if test "x$ac_cv_func_fabsl" = x""yes; then :
36847 cat >>confdefs.h <<_ACEOF
36848 #define HAVE_FABSL 1
36849 _ACEOF
36852 done
36854 else
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36857 $as_echo_n "checking for _fabsl declaration... " >&6; }
36858 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36859 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36860 $as_echo_n "(cached) " >&6
36861 else
36864 ac_ext=cpp
36865 ac_cpp='$CXXCPP $CPPFLAGS'
36866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36871 /* end confdefs.h. */
36872 #include <math.h>
36873 #ifdef HAVE_IEEEFP_H
36874 #include <ieeefp.h>
36875 #endif
36878 main ()
36880 _fabsl(0);
36882 return 0;
36884 _ACEOF
36885 if ac_fn_cxx_try_compile "$LINENO"; then :
36886 glibcxx_cv_func__fabsl_use=yes
36887 else
36888 glibcxx_cv_func__fabsl_use=no
36890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36891 ac_ext=c
36892 ac_cpp='$CPP $CPPFLAGS'
36893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36902 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36904 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36905 for ac_func in _fabsl
36906 do :
36907 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36908 if test "x$ac_cv_func__fabsl" = x""yes; then :
36909 cat >>confdefs.h <<_ACEOF
36910 #define HAVE__FABSL 1
36911 _ACEOF
36914 done
36923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36924 $as_echo_n "checking for fmodl declaration... " >&6; }
36925 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36926 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36927 $as_echo_n "(cached) " >&6
36928 else
36931 ac_ext=cpp
36932 ac_cpp='$CXXCPP $CPPFLAGS'
36933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36938 /* end confdefs.h. */
36939 #include <math.h>
36941 main ()
36943 fmodl(0, 0);
36945 return 0;
36947 _ACEOF
36948 if ac_fn_cxx_try_compile "$LINENO"; then :
36949 glibcxx_cv_func_fmodl_use=yes
36950 else
36951 glibcxx_cv_func_fmodl_use=no
36953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36954 ac_ext=c
36955 ac_cpp='$CPP $CPPFLAGS'
36956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36965 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36967 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36968 for ac_func in fmodl
36969 do :
36970 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36971 if test "x$ac_cv_func_fmodl" = x""yes; then :
36972 cat >>confdefs.h <<_ACEOF
36973 #define HAVE_FMODL 1
36974 _ACEOF
36977 done
36979 else
36981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36982 $as_echo_n "checking for _fmodl declaration... " >&6; }
36983 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36984 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36985 $as_echo_n "(cached) " >&6
36986 else
36989 ac_ext=cpp
36990 ac_cpp='$CXXCPP $CPPFLAGS'
36991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36996 /* end confdefs.h. */
36997 #include <math.h>
36999 main ()
37001 _fmodl(0, 0);
37003 return 0;
37005 _ACEOF
37006 if ac_fn_cxx_try_compile "$LINENO"; then :
37007 glibcxx_cv_func__fmodl_use=yes
37008 else
37009 glibcxx_cv_func__fmodl_use=no
37011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37012 ac_ext=c
37013 ac_cpp='$CPP $CPPFLAGS'
37014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37023 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37025 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37026 for ac_func in _fmodl
37027 do :
37028 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37029 if test "x$ac_cv_func__fmodl" = x""yes; then :
37030 cat >>confdefs.h <<_ACEOF
37031 #define HAVE__FMODL 1
37032 _ACEOF
37035 done
37044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37045 $as_echo_n "checking for frexpl declaration... " >&6; }
37046 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37047 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37048 $as_echo_n "(cached) " >&6
37049 else
37052 ac_ext=cpp
37053 ac_cpp='$CXXCPP $CPPFLAGS'
37054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37059 /* end confdefs.h. */
37060 #include <math.h>
37062 main ()
37064 frexpl(0, 0);
37066 return 0;
37068 _ACEOF
37069 if ac_fn_cxx_try_compile "$LINENO"; then :
37070 glibcxx_cv_func_frexpl_use=yes
37071 else
37072 glibcxx_cv_func_frexpl_use=no
37074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37075 ac_ext=c
37076 ac_cpp='$CPP $CPPFLAGS'
37077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37086 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37088 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37089 for ac_func in frexpl
37090 do :
37091 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37092 if test "x$ac_cv_func_frexpl" = x""yes; then :
37093 cat >>confdefs.h <<_ACEOF
37094 #define HAVE_FREXPL 1
37095 _ACEOF
37098 done
37100 else
37102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37103 $as_echo_n "checking for _frexpl declaration... " >&6; }
37104 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37105 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37106 $as_echo_n "(cached) " >&6
37107 else
37110 ac_ext=cpp
37111 ac_cpp='$CXXCPP $CPPFLAGS'
37112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37117 /* end confdefs.h. */
37118 #include <math.h>
37120 main ()
37122 _frexpl(0, 0);
37124 return 0;
37126 _ACEOF
37127 if ac_fn_cxx_try_compile "$LINENO"; then :
37128 glibcxx_cv_func__frexpl_use=yes
37129 else
37130 glibcxx_cv_func__frexpl_use=no
37132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37133 ac_ext=c
37134 ac_cpp='$CPP $CPPFLAGS'
37135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37144 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37146 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37147 for ac_func in _frexpl
37148 do :
37149 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37150 if test "x$ac_cv_func__frexpl" = x""yes; then :
37151 cat >>confdefs.h <<_ACEOF
37152 #define HAVE__FREXPL 1
37153 _ACEOF
37156 done
37165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37166 $as_echo_n "checking for hypotl declaration... " >&6; }
37167 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37168 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37169 $as_echo_n "(cached) " >&6
37170 else
37173 ac_ext=cpp
37174 ac_cpp='$CXXCPP $CPPFLAGS'
37175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37180 /* end confdefs.h. */
37181 #include <math.h>
37183 main ()
37185 hypotl(0, 0);
37187 return 0;
37189 _ACEOF
37190 if ac_fn_cxx_try_compile "$LINENO"; then :
37191 glibcxx_cv_func_hypotl_use=yes
37192 else
37193 glibcxx_cv_func_hypotl_use=no
37195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37196 ac_ext=c
37197 ac_cpp='$CPP $CPPFLAGS'
37198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37207 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37209 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37210 for ac_func in hypotl
37211 do :
37212 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37213 if test "x$ac_cv_func_hypotl" = x""yes; then :
37214 cat >>confdefs.h <<_ACEOF
37215 #define HAVE_HYPOTL 1
37216 _ACEOF
37219 done
37221 else
37223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37224 $as_echo_n "checking for _hypotl declaration... " >&6; }
37225 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37226 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37227 $as_echo_n "(cached) " >&6
37228 else
37231 ac_ext=cpp
37232 ac_cpp='$CXXCPP $CPPFLAGS'
37233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37238 /* end confdefs.h. */
37239 #include <math.h>
37241 main ()
37243 _hypotl(0, 0);
37245 return 0;
37247 _ACEOF
37248 if ac_fn_cxx_try_compile "$LINENO"; then :
37249 glibcxx_cv_func__hypotl_use=yes
37250 else
37251 glibcxx_cv_func__hypotl_use=no
37253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37254 ac_ext=c
37255 ac_cpp='$CPP $CPPFLAGS'
37256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37265 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37267 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37268 for ac_func in _hypotl
37269 do :
37270 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37271 if test "x$ac_cv_func__hypotl" = x""yes; then :
37272 cat >>confdefs.h <<_ACEOF
37273 #define HAVE__HYPOTL 1
37274 _ACEOF
37277 done
37286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37287 $as_echo_n "checking for ldexpl declaration... " >&6; }
37288 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37289 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37290 $as_echo_n "(cached) " >&6
37291 else
37294 ac_ext=cpp
37295 ac_cpp='$CXXCPP $CPPFLAGS'
37296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37301 /* end confdefs.h. */
37302 #include <math.h>
37304 main ()
37306 ldexpl(0, 0);
37308 return 0;
37310 _ACEOF
37311 if ac_fn_cxx_try_compile "$LINENO"; then :
37312 glibcxx_cv_func_ldexpl_use=yes
37313 else
37314 glibcxx_cv_func_ldexpl_use=no
37316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37317 ac_ext=c
37318 ac_cpp='$CPP $CPPFLAGS'
37319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37328 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37330 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37331 for ac_func in ldexpl
37332 do :
37333 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37334 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37335 cat >>confdefs.h <<_ACEOF
37336 #define HAVE_LDEXPL 1
37337 _ACEOF
37340 done
37342 else
37344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37345 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37346 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37347 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37348 $as_echo_n "(cached) " >&6
37349 else
37352 ac_ext=cpp
37353 ac_cpp='$CXXCPP $CPPFLAGS'
37354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37359 /* end confdefs.h. */
37360 #include <math.h>
37362 main ()
37364 _ldexpl(0, 0);
37366 return 0;
37368 _ACEOF
37369 if ac_fn_cxx_try_compile "$LINENO"; then :
37370 glibcxx_cv_func__ldexpl_use=yes
37371 else
37372 glibcxx_cv_func__ldexpl_use=no
37374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37375 ac_ext=c
37376 ac_cpp='$CPP $CPPFLAGS'
37377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37386 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37388 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37389 for ac_func in _ldexpl
37390 do :
37391 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37392 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37393 cat >>confdefs.h <<_ACEOF
37394 #define HAVE__LDEXPL 1
37395 _ACEOF
37398 done
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37408 $as_echo_n "checking for logl declaration... " >&6; }
37409 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37410 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37411 $as_echo_n "(cached) " >&6
37412 else
37415 ac_ext=cpp
37416 ac_cpp='$CXXCPP $CPPFLAGS'
37417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37422 /* end confdefs.h. */
37423 #include <math.h>
37424 #ifdef HAVE_IEEEFP_H
37425 #include <ieeefp.h>
37426 #endif
37429 main ()
37431 logl(0);
37433 return 0;
37435 _ACEOF
37436 if ac_fn_cxx_try_compile "$LINENO"; then :
37437 glibcxx_cv_func_logl_use=yes
37438 else
37439 glibcxx_cv_func_logl_use=no
37441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37442 ac_ext=c
37443 ac_cpp='$CPP $CPPFLAGS'
37444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37453 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37455 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37456 for ac_func in logl
37457 do :
37458 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37459 if test "x$ac_cv_func_logl" = x""yes; then :
37460 cat >>confdefs.h <<_ACEOF
37461 #define HAVE_LOGL 1
37462 _ACEOF
37465 done
37467 else
37469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37470 $as_echo_n "checking for _logl declaration... " >&6; }
37471 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37472 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37473 $as_echo_n "(cached) " >&6
37474 else
37477 ac_ext=cpp
37478 ac_cpp='$CXXCPP $CPPFLAGS'
37479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37484 /* end confdefs.h. */
37485 #include <math.h>
37486 #ifdef HAVE_IEEEFP_H
37487 #include <ieeefp.h>
37488 #endif
37491 main ()
37493 _logl(0);
37495 return 0;
37497 _ACEOF
37498 if ac_fn_cxx_try_compile "$LINENO"; then :
37499 glibcxx_cv_func__logl_use=yes
37500 else
37501 glibcxx_cv_func__logl_use=no
37503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37504 ac_ext=c
37505 ac_cpp='$CPP $CPPFLAGS'
37506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37515 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37517 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37518 for ac_func in _logl
37519 do :
37520 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37521 if test "x$ac_cv_func__logl" = x""yes; then :
37522 cat >>confdefs.h <<_ACEOF
37523 #define HAVE__LOGL 1
37524 _ACEOF
37527 done
37536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37537 $as_echo_n "checking for log10l declaration... " >&6; }
37538 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37539 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37540 $as_echo_n "(cached) " >&6
37541 else
37544 ac_ext=cpp
37545 ac_cpp='$CXXCPP $CPPFLAGS'
37546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37551 /* end confdefs.h. */
37552 #include <math.h>
37553 #ifdef HAVE_IEEEFP_H
37554 #include <ieeefp.h>
37555 #endif
37558 main ()
37560 log10l(0);
37562 return 0;
37564 _ACEOF
37565 if ac_fn_cxx_try_compile "$LINENO"; then :
37566 glibcxx_cv_func_log10l_use=yes
37567 else
37568 glibcxx_cv_func_log10l_use=no
37570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37571 ac_ext=c
37572 ac_cpp='$CPP $CPPFLAGS'
37573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37582 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37584 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37585 for ac_func in log10l
37586 do :
37587 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37588 if test "x$ac_cv_func_log10l" = x""yes; then :
37589 cat >>confdefs.h <<_ACEOF
37590 #define HAVE_LOG10L 1
37591 _ACEOF
37594 done
37596 else
37598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37599 $as_echo_n "checking for _log10l declaration... " >&6; }
37600 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37601 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37602 $as_echo_n "(cached) " >&6
37603 else
37606 ac_ext=cpp
37607 ac_cpp='$CXXCPP $CPPFLAGS'
37608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37613 /* end confdefs.h. */
37614 #include <math.h>
37615 #ifdef HAVE_IEEEFP_H
37616 #include <ieeefp.h>
37617 #endif
37620 main ()
37622 _log10l(0);
37624 return 0;
37626 _ACEOF
37627 if ac_fn_cxx_try_compile "$LINENO"; then :
37628 glibcxx_cv_func__log10l_use=yes
37629 else
37630 glibcxx_cv_func__log10l_use=no
37632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37633 ac_ext=c
37634 ac_cpp='$CPP $CPPFLAGS'
37635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37644 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37646 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37647 for ac_func in _log10l
37648 do :
37649 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37650 if test "x$ac_cv_func__log10l" = x""yes; then :
37651 cat >>confdefs.h <<_ACEOF
37652 #define HAVE__LOG10L 1
37653 _ACEOF
37656 done
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37666 $as_echo_n "checking for modfl declaration... " >&6; }
37667 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37668 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37669 $as_echo_n "(cached) " >&6
37670 else
37673 ac_ext=cpp
37674 ac_cpp='$CXXCPP $CPPFLAGS'
37675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37680 /* end confdefs.h. */
37681 #include <math.h>
37683 main ()
37685 modfl(0, 0);
37687 return 0;
37689 _ACEOF
37690 if ac_fn_cxx_try_compile "$LINENO"; then :
37691 glibcxx_cv_func_modfl_use=yes
37692 else
37693 glibcxx_cv_func_modfl_use=no
37695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37696 ac_ext=c
37697 ac_cpp='$CPP $CPPFLAGS'
37698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37707 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37709 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37710 for ac_func in modfl
37711 do :
37712 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37713 if test "x$ac_cv_func_modfl" = x""yes; then :
37714 cat >>confdefs.h <<_ACEOF
37715 #define HAVE_MODFL 1
37716 _ACEOF
37719 done
37721 else
37723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37724 $as_echo_n "checking for _modfl declaration... " >&6; }
37725 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37726 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37727 $as_echo_n "(cached) " >&6
37728 else
37731 ac_ext=cpp
37732 ac_cpp='$CXXCPP $CPPFLAGS'
37733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37738 /* end confdefs.h. */
37739 #include <math.h>
37741 main ()
37743 _modfl(0, 0);
37745 return 0;
37747 _ACEOF
37748 if ac_fn_cxx_try_compile "$LINENO"; then :
37749 glibcxx_cv_func__modfl_use=yes
37750 else
37751 glibcxx_cv_func__modfl_use=no
37753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37754 ac_ext=c
37755 ac_cpp='$CPP $CPPFLAGS'
37756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37765 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37767 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37768 for ac_func in _modfl
37769 do :
37770 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37771 if test "x$ac_cv_func__modfl" = x""yes; then :
37772 cat >>confdefs.h <<_ACEOF
37773 #define HAVE__MODFL 1
37774 _ACEOF
37777 done
37786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37787 $as_echo_n "checking for powl declaration... " >&6; }
37788 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37789 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37790 $as_echo_n "(cached) " >&6
37791 else
37794 ac_ext=cpp
37795 ac_cpp='$CXXCPP $CPPFLAGS'
37796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37801 /* end confdefs.h. */
37802 #include <math.h>
37804 main ()
37806 powl(0, 0);
37808 return 0;
37810 _ACEOF
37811 if ac_fn_cxx_try_compile "$LINENO"; then :
37812 glibcxx_cv_func_powl_use=yes
37813 else
37814 glibcxx_cv_func_powl_use=no
37816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37817 ac_ext=c
37818 ac_cpp='$CPP $CPPFLAGS'
37819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37828 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37830 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37831 for ac_func in powl
37832 do :
37833 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37834 if test "x$ac_cv_func_powl" = x""yes; then :
37835 cat >>confdefs.h <<_ACEOF
37836 #define HAVE_POWL 1
37837 _ACEOF
37840 done
37842 else
37844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37845 $as_echo_n "checking for _powl declaration... " >&6; }
37846 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37847 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37848 $as_echo_n "(cached) " >&6
37849 else
37852 ac_ext=cpp
37853 ac_cpp='$CXXCPP $CPPFLAGS'
37854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37859 /* end confdefs.h. */
37860 #include <math.h>
37862 main ()
37864 _powl(0, 0);
37866 return 0;
37868 _ACEOF
37869 if ac_fn_cxx_try_compile "$LINENO"; then :
37870 glibcxx_cv_func__powl_use=yes
37871 else
37872 glibcxx_cv_func__powl_use=no
37874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37875 ac_ext=c
37876 ac_cpp='$CPP $CPPFLAGS'
37877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37886 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37888 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37889 for ac_func in _powl
37890 do :
37891 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37892 if test "x$ac_cv_func__powl" = x""yes; then :
37893 cat >>confdefs.h <<_ACEOF
37894 #define HAVE__POWL 1
37895 _ACEOF
37898 done
37907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37908 $as_echo_n "checking for sqrtl declaration... " >&6; }
37909 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37910 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37911 $as_echo_n "(cached) " >&6
37912 else
37915 ac_ext=cpp
37916 ac_cpp='$CXXCPP $CPPFLAGS'
37917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37922 /* end confdefs.h. */
37923 #include <math.h>
37924 #ifdef HAVE_IEEEFP_H
37925 #include <ieeefp.h>
37926 #endif
37929 main ()
37931 sqrtl(0);
37933 return 0;
37935 _ACEOF
37936 if ac_fn_cxx_try_compile "$LINENO"; then :
37937 glibcxx_cv_func_sqrtl_use=yes
37938 else
37939 glibcxx_cv_func_sqrtl_use=no
37941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37942 ac_ext=c
37943 ac_cpp='$CPP $CPPFLAGS'
37944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37953 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37955 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37956 for ac_func in sqrtl
37957 do :
37958 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37959 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37960 cat >>confdefs.h <<_ACEOF
37961 #define HAVE_SQRTL 1
37962 _ACEOF
37965 done
37967 else
37969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37970 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37971 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37972 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37973 $as_echo_n "(cached) " >&6
37974 else
37977 ac_ext=cpp
37978 ac_cpp='$CXXCPP $CPPFLAGS'
37979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37984 /* end confdefs.h. */
37985 #include <math.h>
37986 #ifdef HAVE_IEEEFP_H
37987 #include <ieeefp.h>
37988 #endif
37991 main ()
37993 _sqrtl(0);
37995 return 0;
37997 _ACEOF
37998 if ac_fn_cxx_try_compile "$LINENO"; then :
37999 glibcxx_cv_func__sqrtl_use=yes
38000 else
38001 glibcxx_cv_func__sqrtl_use=no
38003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38004 ac_ext=c
38005 ac_cpp='$CPP $CPPFLAGS'
38006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38015 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38017 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38018 for ac_func in _sqrtl
38019 do :
38020 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38021 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38022 cat >>confdefs.h <<_ACEOF
38023 #define HAVE__SQRTL 1
38024 _ACEOF
38027 done
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38037 $as_echo_n "checking for sincosl declaration... " >&6; }
38038 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38039 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38040 $as_echo_n "(cached) " >&6
38041 else
38044 ac_ext=cpp
38045 ac_cpp='$CXXCPP $CPPFLAGS'
38046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38051 /* end confdefs.h. */
38052 #include <math.h>
38054 main ()
38056 sincosl(0, 0, 0);
38058 return 0;
38060 _ACEOF
38061 if ac_fn_cxx_try_compile "$LINENO"; then :
38062 glibcxx_cv_func_sincosl_use=yes
38063 else
38064 glibcxx_cv_func_sincosl_use=no
38066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38067 ac_ext=c
38068 ac_cpp='$CPP $CPPFLAGS'
38069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38078 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38080 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38081 for ac_func in sincosl
38082 do :
38083 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38084 if test "x$ac_cv_func_sincosl" = x""yes; then :
38085 cat >>confdefs.h <<_ACEOF
38086 #define HAVE_SINCOSL 1
38087 _ACEOF
38090 done
38092 else
38094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38095 $as_echo_n "checking for _sincosl declaration... " >&6; }
38096 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38097 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38098 $as_echo_n "(cached) " >&6
38099 else
38102 ac_ext=cpp
38103 ac_cpp='$CXXCPP $CPPFLAGS'
38104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38109 /* end confdefs.h. */
38110 #include <math.h>
38112 main ()
38114 _sincosl(0, 0, 0);
38116 return 0;
38118 _ACEOF
38119 if ac_fn_cxx_try_compile "$LINENO"; then :
38120 glibcxx_cv_func__sincosl_use=yes
38121 else
38122 glibcxx_cv_func__sincosl_use=no
38124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38125 ac_ext=c
38126 ac_cpp='$CPP $CPPFLAGS'
38127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38136 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38138 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38139 for ac_func in _sincosl
38140 do :
38141 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38142 if test "x$ac_cv_func__sincosl" = x""yes; then :
38143 cat >>confdefs.h <<_ACEOF
38144 #define HAVE__SINCOSL 1
38145 _ACEOF
38148 done
38157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38158 $as_echo_n "checking for finitel declaration... " >&6; }
38159 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38160 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38161 $as_echo_n "(cached) " >&6
38162 else
38165 ac_ext=cpp
38166 ac_cpp='$CXXCPP $CPPFLAGS'
38167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38172 /* end confdefs.h. */
38173 #include <math.h>
38174 #ifdef HAVE_IEEEFP_H
38175 #include <ieeefp.h>
38176 #endif
38179 main ()
38181 finitel(0);
38183 return 0;
38185 _ACEOF
38186 if ac_fn_cxx_try_compile "$LINENO"; then :
38187 glibcxx_cv_func_finitel_use=yes
38188 else
38189 glibcxx_cv_func_finitel_use=no
38191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38192 ac_ext=c
38193 ac_cpp='$CPP $CPPFLAGS'
38194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38203 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38205 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38206 for ac_func in finitel
38207 do :
38208 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38209 if test "x$ac_cv_func_finitel" = x""yes; then :
38210 cat >>confdefs.h <<_ACEOF
38211 #define HAVE_FINITEL 1
38212 _ACEOF
38215 done
38217 else
38219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38220 $as_echo_n "checking for _finitel declaration... " >&6; }
38221 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38222 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38223 $as_echo_n "(cached) " >&6
38224 else
38227 ac_ext=cpp
38228 ac_cpp='$CXXCPP $CPPFLAGS'
38229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38234 /* end confdefs.h. */
38235 #include <math.h>
38236 #ifdef HAVE_IEEEFP_H
38237 #include <ieeefp.h>
38238 #endif
38241 main ()
38243 _finitel(0);
38245 return 0;
38247 _ACEOF
38248 if ac_fn_cxx_try_compile "$LINENO"; then :
38249 glibcxx_cv_func__finitel_use=yes
38250 else
38251 glibcxx_cv_func__finitel_use=no
38253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38254 ac_ext=c
38255 ac_cpp='$CPP $CPPFLAGS'
38256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38265 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38267 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38268 for ac_func in _finitel
38269 do :
38270 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38271 if test "x$ac_cv_func__finitel" = x""yes; then :
38272 cat >>confdefs.h <<_ACEOF
38273 #define HAVE__FINITEL 1
38274 _ACEOF
38277 done
38285 LIBS="$ac_save_LIBS"
38286 CXXFLAGS="$ac_save_CXXFLAGS"
38289 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38290 ac_save_CXXFLAGS="$CXXFLAGS"
38291 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38295 $as_echo_n "checking for strtold declaration... " >&6; }
38296 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38297 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38298 $as_echo_n "(cached) " >&6
38299 else
38302 ac_ext=cpp
38303 ac_cpp='$CXXCPP $CPPFLAGS'
38304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38309 /* end confdefs.h. */
38310 #include <stdlib.h>
38312 main ()
38314 strtold(0, 0);
38316 return 0;
38318 _ACEOF
38319 if ac_fn_cxx_try_compile "$LINENO"; then :
38320 glibcxx_cv_func_strtold_use=yes
38321 else
38322 glibcxx_cv_func_strtold_use=no
38324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38325 ac_ext=c
38326 ac_cpp='$CPP $CPPFLAGS'
38327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38336 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38337 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38338 for ac_func in strtold
38339 do :
38340 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38341 if test "x$ac_cv_func_strtold" = x""yes; then :
38342 cat >>confdefs.h <<_ACEOF
38343 #define HAVE_STRTOLD 1
38344 _ACEOF
38347 done
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38355 $as_echo_n "checking for strtof declaration... " >&6; }
38356 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38357 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38358 $as_echo_n "(cached) " >&6
38359 else
38362 ac_ext=cpp
38363 ac_cpp='$CXXCPP $CPPFLAGS'
38364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38369 /* end confdefs.h. */
38370 #include <stdlib.h>
38372 main ()
38374 strtof(0, 0);
38376 return 0;
38378 _ACEOF
38379 if ac_fn_cxx_try_compile "$LINENO"; then :
38380 glibcxx_cv_func_strtof_use=yes
38381 else
38382 glibcxx_cv_func_strtof_use=no
38384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38385 ac_ext=c
38386 ac_cpp='$CPP $CPPFLAGS'
38387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38396 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38397 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38398 for ac_func in strtof
38399 do :
38400 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38401 if test "x$ac_cv_func_strtof" = x""yes; then :
38402 cat >>confdefs.h <<_ACEOF
38403 #define HAVE_STRTOF 1
38404 _ACEOF
38407 done
38414 CXXFLAGS="$ac_save_CXXFLAGS"
38416 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38418 # We don't yet support AIX's TLS ABI.
38419 #GCC_CHECK_TLS
38425 am_save_CPPFLAGS="$CPPFLAGS"
38427 for element in $INCICONV; do
38428 haveit=
38429 for x in $CPPFLAGS; do
38431 acl_save_prefix="$prefix"
38432 prefix="$acl_final_prefix"
38433 acl_save_exec_prefix="$exec_prefix"
38434 exec_prefix="$acl_final_exec_prefix"
38435 eval x=\"$x\"
38436 exec_prefix="$acl_save_exec_prefix"
38437 prefix="$acl_save_prefix"
38439 if test "X$x" = "X$element"; then
38440 haveit=yes
38441 break
38443 done
38444 if test -z "$haveit"; then
38445 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38447 done
38450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38451 $as_echo_n "checking for iconv... " >&6; }
38452 if test "${am_cv_func_iconv+set}" = set; then :
38453 $as_echo_n "(cached) " >&6
38454 else
38456 am_cv_func_iconv="no, consider installing GNU libiconv"
38457 am_cv_lib_iconv=no
38458 if test x$gcc_no_link = xyes; then
38459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38462 /* end confdefs.h. */
38463 #include <stdlib.h>
38464 #include <iconv.h>
38466 main ()
38468 iconv_t cd = iconv_open("","");
38469 iconv(cd,NULL,NULL,NULL,NULL);
38470 iconv_close(cd);
38472 return 0;
38474 _ACEOF
38475 if ac_fn_c_try_link "$LINENO"; then :
38476 am_cv_func_iconv=yes
38478 rm -f core conftest.err conftest.$ac_objext \
38479 conftest$ac_exeext conftest.$ac_ext
38480 if test "$am_cv_func_iconv" != yes; then
38481 am_save_LIBS="$LIBS"
38482 LIBS="$LIBS $LIBICONV"
38483 if test x$gcc_no_link = xyes; then
38484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38487 /* end confdefs.h. */
38488 #include <stdlib.h>
38489 #include <iconv.h>
38491 main ()
38493 iconv_t cd = iconv_open("","");
38494 iconv(cd,NULL,NULL,NULL,NULL);
38495 iconv_close(cd);
38497 return 0;
38499 _ACEOF
38500 if ac_fn_c_try_link "$LINENO"; then :
38501 am_cv_lib_iconv=yes
38502 am_cv_func_iconv=yes
38504 rm -f core conftest.err conftest.$ac_objext \
38505 conftest$ac_exeext conftest.$ac_ext
38506 LIBS="$am_save_LIBS"
38510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38511 $as_echo "$am_cv_func_iconv" >&6; }
38512 if test "$am_cv_func_iconv" = yes; then
38514 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38517 if test "$am_cv_lib_iconv" = yes; then
38518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38519 $as_echo_n "checking how to link with libiconv... " >&6; }
38520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38521 $as_echo "$LIBICONV" >&6; }
38522 else
38523 CPPFLAGS="$am_save_CPPFLAGS"
38524 LIBICONV=
38525 LTLIBICONV=
38530 if test "$am_cv_func_iconv" = yes; then
38531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38532 $as_echo_n "checking for iconv declaration... " >&6; }
38533 if test "${am_cv_proto_iconv+set}" = set; then :
38534 $as_echo_n "(cached) " >&6
38535 else
38537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38538 /* end confdefs.h. */
38540 #include <stdlib.h>
38541 #include <iconv.h>
38542 extern
38543 #ifdef __cplusplus
38545 #endif
38546 #if defined(__STDC__) || defined(__cplusplus)
38547 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38548 #else
38549 size_t iconv();
38550 #endif
38553 main ()
38557 return 0;
38559 _ACEOF
38560 if ac_fn_c_try_compile "$LINENO"; then :
38561 am_cv_proto_iconv_arg1=""
38562 else
38563 am_cv_proto_iconv_arg1="const"
38565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38566 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);"
38569 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38571 }$am_cv_proto_iconv" >&5
38572 $as_echo "${ac_t:-
38573 }$am_cv_proto_iconv" >&6; }
38575 cat >>confdefs.h <<_ACEOF
38576 #define ICONV_CONST $am_cv_proto_iconv_arg1
38577 _ACEOF
38583 *-darwin*)
38584 # Darwin versions vary, but the linker should work in a cross environment,
38585 # so we just check for all the features here.
38586 # Check for available headers.
38588 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38590 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38591 ac_save_CXXFLAGS="$CXXFLAGS"
38592 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38595 $as_echo_n "checking for sin in -lm... " >&6; }
38596 if test "${ac_cv_lib_m_sin+set}" = set; then :
38597 $as_echo_n "(cached) " >&6
38598 else
38599 ac_check_lib_save_LIBS=$LIBS
38600 LIBS="-lm $LIBS"
38601 if test x$gcc_no_link = xyes; then
38602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38605 /* end confdefs.h. */
38607 /* Override any GCC internal prototype to avoid an error.
38608 Use char because int might match the return type of a GCC
38609 builtin and then its argument prototype would still apply. */
38610 #ifdef __cplusplus
38611 extern "C"
38612 #endif
38613 char sin ();
38615 main ()
38617 return sin ();
38619 return 0;
38621 _ACEOF
38622 if ac_fn_c_try_link "$LINENO"; then :
38623 ac_cv_lib_m_sin=yes
38624 else
38625 ac_cv_lib_m_sin=no
38627 rm -f core conftest.err conftest.$ac_objext \
38628 conftest$ac_exeext conftest.$ac_ext
38629 LIBS=$ac_check_lib_save_LIBS
38631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38632 $as_echo "$ac_cv_lib_m_sin" >&6; }
38633 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38634 libm="-lm"
38637 ac_save_LIBS="$LIBS"
38638 LIBS="$LIBS $libm"
38642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38643 $as_echo_n "checking for isinf declaration... " >&6; }
38644 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38645 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38646 $as_echo_n "(cached) " >&6
38647 else
38650 ac_ext=cpp
38651 ac_cpp='$CXXCPP $CPPFLAGS'
38652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38657 /* end confdefs.h. */
38658 #include <math.h>
38659 #ifdef HAVE_IEEEFP_H
38660 #include <ieeefp.h>
38661 #endif
38664 main ()
38666 isinf(0);
38668 return 0;
38670 _ACEOF
38671 if ac_fn_cxx_try_compile "$LINENO"; then :
38672 glibcxx_cv_func_isinf_use=yes
38673 else
38674 glibcxx_cv_func_isinf_use=no
38676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38677 ac_ext=c
38678 ac_cpp='$CPP $CPPFLAGS'
38679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38688 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38690 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38691 for ac_func in isinf
38692 do :
38693 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38694 if test "x$ac_cv_func_isinf" = x""yes; then :
38695 cat >>confdefs.h <<_ACEOF
38696 #define HAVE_ISINF 1
38697 _ACEOF
38700 done
38702 else
38704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38705 $as_echo_n "checking for _isinf declaration... " >&6; }
38706 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38707 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38708 $as_echo_n "(cached) " >&6
38709 else
38712 ac_ext=cpp
38713 ac_cpp='$CXXCPP $CPPFLAGS'
38714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38719 /* end confdefs.h. */
38720 #include <math.h>
38721 #ifdef HAVE_IEEEFP_H
38722 #include <ieeefp.h>
38723 #endif
38726 main ()
38728 _isinf(0);
38730 return 0;
38732 _ACEOF
38733 if ac_fn_cxx_try_compile "$LINENO"; then :
38734 glibcxx_cv_func__isinf_use=yes
38735 else
38736 glibcxx_cv_func__isinf_use=no
38738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38739 ac_ext=c
38740 ac_cpp='$CPP $CPPFLAGS'
38741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38750 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38752 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38753 for ac_func in _isinf
38754 do :
38755 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38756 if test "x$ac_cv_func__isinf" = x""yes; then :
38757 cat >>confdefs.h <<_ACEOF
38758 #define HAVE__ISINF 1
38759 _ACEOF
38762 done
38771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38772 $as_echo_n "checking for isnan declaration... " >&6; }
38773 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38774 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38775 $as_echo_n "(cached) " >&6
38776 else
38779 ac_ext=cpp
38780 ac_cpp='$CXXCPP $CPPFLAGS'
38781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38786 /* end confdefs.h. */
38787 #include <math.h>
38788 #ifdef HAVE_IEEEFP_H
38789 #include <ieeefp.h>
38790 #endif
38793 main ()
38795 isnan(0);
38797 return 0;
38799 _ACEOF
38800 if ac_fn_cxx_try_compile "$LINENO"; then :
38801 glibcxx_cv_func_isnan_use=yes
38802 else
38803 glibcxx_cv_func_isnan_use=no
38805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38806 ac_ext=c
38807 ac_cpp='$CPP $CPPFLAGS'
38808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38817 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38819 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38820 for ac_func in isnan
38821 do :
38822 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38823 if test "x$ac_cv_func_isnan" = x""yes; then :
38824 cat >>confdefs.h <<_ACEOF
38825 #define HAVE_ISNAN 1
38826 _ACEOF
38829 done
38831 else
38833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38834 $as_echo_n "checking for _isnan declaration... " >&6; }
38835 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38836 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38837 $as_echo_n "(cached) " >&6
38838 else
38841 ac_ext=cpp
38842 ac_cpp='$CXXCPP $CPPFLAGS'
38843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38848 /* end confdefs.h. */
38849 #include <math.h>
38850 #ifdef HAVE_IEEEFP_H
38851 #include <ieeefp.h>
38852 #endif
38855 main ()
38857 _isnan(0);
38859 return 0;
38861 _ACEOF
38862 if ac_fn_cxx_try_compile "$LINENO"; then :
38863 glibcxx_cv_func__isnan_use=yes
38864 else
38865 glibcxx_cv_func__isnan_use=no
38867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38868 ac_ext=c
38869 ac_cpp='$CPP $CPPFLAGS'
38870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38879 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38881 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38882 for ac_func in _isnan
38883 do :
38884 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38885 if test "x$ac_cv_func__isnan" = x""yes; then :
38886 cat >>confdefs.h <<_ACEOF
38887 #define HAVE__ISNAN 1
38888 _ACEOF
38891 done
38900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38901 $as_echo_n "checking for finite declaration... " >&6; }
38902 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38903 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38904 $as_echo_n "(cached) " >&6
38905 else
38908 ac_ext=cpp
38909 ac_cpp='$CXXCPP $CPPFLAGS'
38910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38915 /* end confdefs.h. */
38916 #include <math.h>
38917 #ifdef HAVE_IEEEFP_H
38918 #include <ieeefp.h>
38919 #endif
38922 main ()
38924 finite(0);
38926 return 0;
38928 _ACEOF
38929 if ac_fn_cxx_try_compile "$LINENO"; then :
38930 glibcxx_cv_func_finite_use=yes
38931 else
38932 glibcxx_cv_func_finite_use=no
38934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38935 ac_ext=c
38936 ac_cpp='$CPP $CPPFLAGS'
38937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38946 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38948 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38949 for ac_func in finite
38950 do :
38951 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38952 if test "x$ac_cv_func_finite" = x""yes; then :
38953 cat >>confdefs.h <<_ACEOF
38954 #define HAVE_FINITE 1
38955 _ACEOF
38958 done
38960 else
38962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38963 $as_echo_n "checking for _finite declaration... " >&6; }
38964 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38965 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38966 $as_echo_n "(cached) " >&6
38967 else
38970 ac_ext=cpp
38971 ac_cpp='$CXXCPP $CPPFLAGS'
38972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38977 /* end confdefs.h. */
38978 #include <math.h>
38979 #ifdef HAVE_IEEEFP_H
38980 #include <ieeefp.h>
38981 #endif
38984 main ()
38986 _finite(0);
38988 return 0;
38990 _ACEOF
38991 if ac_fn_cxx_try_compile "$LINENO"; then :
38992 glibcxx_cv_func__finite_use=yes
38993 else
38994 glibcxx_cv_func__finite_use=no
38996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38997 ac_ext=c
38998 ac_cpp='$CPP $CPPFLAGS'
38999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39008 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39010 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39011 for ac_func in _finite
39012 do :
39013 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39014 if test "x$ac_cv_func__finite" = x""yes; then :
39015 cat >>confdefs.h <<_ACEOF
39016 #define HAVE__FINITE 1
39017 _ACEOF
39020 done
39029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39030 $as_echo_n "checking for sincos declaration... " >&6; }
39031 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39032 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39033 $as_echo_n "(cached) " >&6
39034 else
39037 ac_ext=cpp
39038 ac_cpp='$CXXCPP $CPPFLAGS'
39039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39044 /* end confdefs.h. */
39045 #include <math.h>
39047 main ()
39049 sincos(0, 0, 0);
39051 return 0;
39053 _ACEOF
39054 if ac_fn_cxx_try_compile "$LINENO"; then :
39055 glibcxx_cv_func_sincos_use=yes
39056 else
39057 glibcxx_cv_func_sincos_use=no
39059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39060 ac_ext=c
39061 ac_cpp='$CPP $CPPFLAGS'
39062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39071 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39073 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39074 for ac_func in sincos
39075 do :
39076 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39077 if test "x$ac_cv_func_sincos" = x""yes; then :
39078 cat >>confdefs.h <<_ACEOF
39079 #define HAVE_SINCOS 1
39080 _ACEOF
39083 done
39085 else
39087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39088 $as_echo_n "checking for _sincos declaration... " >&6; }
39089 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39090 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39091 $as_echo_n "(cached) " >&6
39092 else
39095 ac_ext=cpp
39096 ac_cpp='$CXXCPP $CPPFLAGS'
39097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39102 /* end confdefs.h. */
39103 #include <math.h>
39105 main ()
39107 _sincos(0, 0, 0);
39109 return 0;
39111 _ACEOF
39112 if ac_fn_cxx_try_compile "$LINENO"; then :
39113 glibcxx_cv_func__sincos_use=yes
39114 else
39115 glibcxx_cv_func__sincos_use=no
39117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39118 ac_ext=c
39119 ac_cpp='$CPP $CPPFLAGS'
39120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39129 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39131 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39132 for ac_func in _sincos
39133 do :
39134 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39135 if test "x$ac_cv_func__sincos" = x""yes; then :
39136 cat >>confdefs.h <<_ACEOF
39137 #define HAVE__SINCOS 1
39138 _ACEOF
39141 done
39150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39151 $as_echo_n "checking for fpclass declaration... " >&6; }
39152 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39153 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39154 $as_echo_n "(cached) " >&6
39155 else
39158 ac_ext=cpp
39159 ac_cpp='$CXXCPP $CPPFLAGS'
39160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39165 /* end confdefs.h. */
39166 #include <math.h>
39167 #ifdef HAVE_IEEEFP_H
39168 #include <ieeefp.h>
39169 #endif
39172 main ()
39174 fpclass(0);
39176 return 0;
39178 _ACEOF
39179 if ac_fn_cxx_try_compile "$LINENO"; then :
39180 glibcxx_cv_func_fpclass_use=yes
39181 else
39182 glibcxx_cv_func_fpclass_use=no
39184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39185 ac_ext=c
39186 ac_cpp='$CPP $CPPFLAGS'
39187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39196 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39198 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39199 for ac_func in fpclass
39200 do :
39201 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39202 if test "x$ac_cv_func_fpclass" = x""yes; then :
39203 cat >>confdefs.h <<_ACEOF
39204 #define HAVE_FPCLASS 1
39205 _ACEOF
39208 done
39210 else
39212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39213 $as_echo_n "checking for _fpclass declaration... " >&6; }
39214 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39215 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39216 $as_echo_n "(cached) " >&6
39217 else
39220 ac_ext=cpp
39221 ac_cpp='$CXXCPP $CPPFLAGS'
39222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39227 /* end confdefs.h. */
39228 #include <math.h>
39229 #ifdef HAVE_IEEEFP_H
39230 #include <ieeefp.h>
39231 #endif
39234 main ()
39236 _fpclass(0);
39238 return 0;
39240 _ACEOF
39241 if ac_fn_cxx_try_compile "$LINENO"; then :
39242 glibcxx_cv_func__fpclass_use=yes
39243 else
39244 glibcxx_cv_func__fpclass_use=no
39246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39247 ac_ext=c
39248 ac_cpp='$CPP $CPPFLAGS'
39249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39258 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39260 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39261 for ac_func in _fpclass
39262 do :
39263 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39264 if test "x$ac_cv_func__fpclass" = x""yes; then :
39265 cat >>confdefs.h <<_ACEOF
39266 #define HAVE__FPCLASS 1
39267 _ACEOF
39270 done
39279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39280 $as_echo_n "checking for qfpclass declaration... " >&6; }
39281 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39282 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39283 $as_echo_n "(cached) " >&6
39284 else
39287 ac_ext=cpp
39288 ac_cpp='$CXXCPP $CPPFLAGS'
39289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39294 /* end confdefs.h. */
39295 #include <math.h>
39296 #ifdef HAVE_IEEEFP_H
39297 #include <ieeefp.h>
39298 #endif
39301 main ()
39303 qfpclass(0);
39305 return 0;
39307 _ACEOF
39308 if ac_fn_cxx_try_compile "$LINENO"; then :
39309 glibcxx_cv_func_qfpclass_use=yes
39310 else
39311 glibcxx_cv_func_qfpclass_use=no
39313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39314 ac_ext=c
39315 ac_cpp='$CPP $CPPFLAGS'
39316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39325 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39327 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39328 for ac_func in qfpclass
39329 do :
39330 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39331 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39332 cat >>confdefs.h <<_ACEOF
39333 #define HAVE_QFPCLASS 1
39334 _ACEOF
39337 done
39339 else
39341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39342 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39343 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39344 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39345 $as_echo_n "(cached) " >&6
39346 else
39349 ac_ext=cpp
39350 ac_cpp='$CXXCPP $CPPFLAGS'
39351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39356 /* end confdefs.h. */
39357 #include <math.h>
39358 #ifdef HAVE_IEEEFP_H
39359 #include <ieeefp.h>
39360 #endif
39363 main ()
39365 _qfpclass(0);
39367 return 0;
39369 _ACEOF
39370 if ac_fn_cxx_try_compile "$LINENO"; then :
39371 glibcxx_cv_func__qfpclass_use=yes
39372 else
39373 glibcxx_cv_func__qfpclass_use=no
39375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39376 ac_ext=c
39377 ac_cpp='$CPP $CPPFLAGS'
39378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39387 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39389 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39390 for ac_func in _qfpclass
39391 do :
39392 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39393 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39394 cat >>confdefs.h <<_ACEOF
39395 #define HAVE__QFPCLASS 1
39396 _ACEOF
39399 done
39408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39409 $as_echo_n "checking for hypot declaration... " >&6; }
39410 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39411 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39412 $as_echo_n "(cached) " >&6
39413 else
39416 ac_ext=cpp
39417 ac_cpp='$CXXCPP $CPPFLAGS'
39418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39423 /* end confdefs.h. */
39424 #include <math.h>
39426 main ()
39428 hypot(0, 0);
39430 return 0;
39432 _ACEOF
39433 if ac_fn_cxx_try_compile "$LINENO"; then :
39434 glibcxx_cv_func_hypot_use=yes
39435 else
39436 glibcxx_cv_func_hypot_use=no
39438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39439 ac_ext=c
39440 ac_cpp='$CPP $CPPFLAGS'
39441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39450 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39452 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39453 for ac_func in hypot
39454 do :
39455 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39456 if test "x$ac_cv_func_hypot" = x""yes; then :
39457 cat >>confdefs.h <<_ACEOF
39458 #define HAVE_HYPOT 1
39459 _ACEOF
39462 done
39464 else
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39467 $as_echo_n "checking for _hypot declaration... " >&6; }
39468 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39469 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39470 $as_echo_n "(cached) " >&6
39471 else
39474 ac_ext=cpp
39475 ac_cpp='$CXXCPP $CPPFLAGS'
39476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39481 /* end confdefs.h. */
39482 #include <math.h>
39484 main ()
39486 _hypot(0, 0);
39488 return 0;
39490 _ACEOF
39491 if ac_fn_cxx_try_compile "$LINENO"; then :
39492 glibcxx_cv_func__hypot_use=yes
39493 else
39494 glibcxx_cv_func__hypot_use=no
39496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39497 ac_ext=c
39498 ac_cpp='$CPP $CPPFLAGS'
39499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39508 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39510 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39511 for ac_func in _hypot
39512 do :
39513 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39514 if test "x$ac_cv_func__hypot" = x""yes; then :
39515 cat >>confdefs.h <<_ACEOF
39516 #define HAVE__HYPOT 1
39517 _ACEOF
39520 done
39529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39530 $as_echo_n "checking for float trig functions... " >&6; }
39531 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39532 $as_echo_n "(cached) " >&6
39533 else
39536 ac_ext=cpp
39537 ac_cpp='$CXXCPP $CPPFLAGS'
39538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39543 /* end confdefs.h. */
39544 #include <math.h>
39546 main ()
39548 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39550 return 0;
39552 _ACEOF
39553 if ac_fn_cxx_try_compile "$LINENO"; then :
39554 glibcxx_cv_func_float_trig_use=yes
39555 else
39556 glibcxx_cv_func_float_trig_use=no
39558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39559 ac_ext=c
39560 ac_cpp='$CPP $CPPFLAGS'
39561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39568 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39569 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39570 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39571 do :
39572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39574 eval as_val=\$$as_ac_var
39575 if test "x$as_val" = x""yes; then :
39576 cat >>confdefs.h <<_ACEOF
39577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39578 _ACEOF
39581 done
39583 else
39584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39585 $as_echo_n "checking for _float trig functions... " >&6; }
39586 if test "${glibcxx_cv_func__float_trig_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 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39605 return 0;
39607 _ACEOF
39608 if ac_fn_cxx_try_compile "$LINENO"; then :
39609 glibcxx_cv_func__float_trig_use=yes
39610 else
39611 glibcxx_cv_func__float_trig_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_trig_use" >&5
39623 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39624 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39625 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
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
39645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39646 $as_echo_n "checking for float round functions... " >&6; }
39647 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39648 $as_echo_n "(cached) " >&6
39649 else
39652 ac_ext=cpp
39653 ac_cpp='$CXXCPP $CPPFLAGS'
39654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39659 /* end confdefs.h. */
39660 #include <math.h>
39662 main ()
39664 ceilf (0); floorf (0);
39666 return 0;
39668 _ACEOF
39669 if ac_fn_cxx_try_compile "$LINENO"; then :
39670 glibcxx_cv_func_float_round_use=yes
39671 else
39672 glibcxx_cv_func_float_round_use=no
39674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39675 ac_ext=c
39676 ac_cpp='$CPP $CPPFLAGS'
39677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39684 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39685 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39686 for ac_func in ceilf floorf
39687 do :
39688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39690 eval as_val=\$$as_ac_var
39691 if test "x$as_val" = x""yes; then :
39692 cat >>confdefs.h <<_ACEOF
39693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39694 _ACEOF
39697 done
39699 else
39700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39701 $as_echo_n "checking for _float round functions... " >&6; }
39702 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39703 $as_echo_n "(cached) " >&6
39704 else
39707 ac_ext=cpp
39708 ac_cpp='$CXXCPP $CPPFLAGS'
39709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39714 /* end confdefs.h. */
39715 #include <math.h>
39717 main ()
39719 _ceilf (0); _floorf (0);
39721 return 0;
39723 _ACEOF
39724 if ac_fn_cxx_try_compile "$LINENO"; then :
39725 glibcxx_cv_func__float_round_use=yes
39726 else
39727 glibcxx_cv_func__float_round_use=no
39729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39730 ac_ext=c
39731 ac_cpp='$CPP $CPPFLAGS'
39732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39739 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39740 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39741 for ac_func in _ceilf _floorf
39742 do :
39743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39745 eval as_val=\$$as_ac_var
39746 if test "x$as_val" = x""yes; then :
39747 cat >>confdefs.h <<_ACEOF
39748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39749 _ACEOF
39752 done
39762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39763 $as_echo_n "checking for expf declaration... " >&6; }
39764 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39765 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39766 $as_echo_n "(cached) " >&6
39767 else
39770 ac_ext=cpp
39771 ac_cpp='$CXXCPP $CPPFLAGS'
39772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39777 /* end confdefs.h. */
39778 #include <math.h>
39779 #ifdef HAVE_IEEEFP_H
39780 #include <ieeefp.h>
39781 #endif
39784 main ()
39786 expf(0);
39788 return 0;
39790 _ACEOF
39791 if ac_fn_cxx_try_compile "$LINENO"; then :
39792 glibcxx_cv_func_expf_use=yes
39793 else
39794 glibcxx_cv_func_expf_use=no
39796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39797 ac_ext=c
39798 ac_cpp='$CPP $CPPFLAGS'
39799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39808 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39810 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39811 for ac_func in expf
39812 do :
39813 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39814 if test "x$ac_cv_func_expf" = x""yes; then :
39815 cat >>confdefs.h <<_ACEOF
39816 #define HAVE_EXPF 1
39817 _ACEOF
39820 done
39822 else
39824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39825 $as_echo_n "checking for _expf declaration... " >&6; }
39826 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39827 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39828 $as_echo_n "(cached) " >&6
39829 else
39832 ac_ext=cpp
39833 ac_cpp='$CXXCPP $CPPFLAGS'
39834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39839 /* end confdefs.h. */
39840 #include <math.h>
39841 #ifdef HAVE_IEEEFP_H
39842 #include <ieeefp.h>
39843 #endif
39846 main ()
39848 _expf(0);
39850 return 0;
39852 _ACEOF
39853 if ac_fn_cxx_try_compile "$LINENO"; then :
39854 glibcxx_cv_func__expf_use=yes
39855 else
39856 glibcxx_cv_func__expf_use=no
39858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39859 ac_ext=c
39860 ac_cpp='$CPP $CPPFLAGS'
39861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39870 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39872 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39873 for ac_func in _expf
39874 do :
39875 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39876 if test "x$ac_cv_func__expf" = x""yes; then :
39877 cat >>confdefs.h <<_ACEOF
39878 #define HAVE__EXPF 1
39879 _ACEOF
39882 done
39891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39892 $as_echo_n "checking for isnanf declaration... " >&6; }
39893 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39894 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39895 $as_echo_n "(cached) " >&6
39896 else
39899 ac_ext=cpp
39900 ac_cpp='$CXXCPP $CPPFLAGS'
39901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39906 /* end confdefs.h. */
39907 #include <math.h>
39908 #ifdef HAVE_IEEEFP_H
39909 #include <ieeefp.h>
39910 #endif
39913 main ()
39915 isnanf(0);
39917 return 0;
39919 _ACEOF
39920 if ac_fn_cxx_try_compile "$LINENO"; then :
39921 glibcxx_cv_func_isnanf_use=yes
39922 else
39923 glibcxx_cv_func_isnanf_use=no
39925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39926 ac_ext=c
39927 ac_cpp='$CPP $CPPFLAGS'
39928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39937 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39939 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39940 for ac_func in isnanf
39941 do :
39942 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39943 if test "x$ac_cv_func_isnanf" = x""yes; then :
39944 cat >>confdefs.h <<_ACEOF
39945 #define HAVE_ISNANF 1
39946 _ACEOF
39949 done
39951 else
39953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39954 $as_echo_n "checking for _isnanf declaration... " >&6; }
39955 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39956 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39957 $as_echo_n "(cached) " >&6
39958 else
39961 ac_ext=cpp
39962 ac_cpp='$CXXCPP $CPPFLAGS'
39963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39968 /* end confdefs.h. */
39969 #include <math.h>
39970 #ifdef HAVE_IEEEFP_H
39971 #include <ieeefp.h>
39972 #endif
39975 main ()
39977 _isnanf(0);
39979 return 0;
39981 _ACEOF
39982 if ac_fn_cxx_try_compile "$LINENO"; then :
39983 glibcxx_cv_func__isnanf_use=yes
39984 else
39985 glibcxx_cv_func__isnanf_use=no
39987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39988 ac_ext=c
39989 ac_cpp='$CPP $CPPFLAGS'
39990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39999 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40001 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40002 for ac_func in _isnanf
40003 do :
40004 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40005 if test "x$ac_cv_func__isnanf" = x""yes; then :
40006 cat >>confdefs.h <<_ACEOF
40007 #define HAVE__ISNANF 1
40008 _ACEOF
40011 done
40020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40021 $as_echo_n "checking for isinff declaration... " >&6; }
40022 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40023 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40024 $as_echo_n "(cached) " >&6
40025 else
40028 ac_ext=cpp
40029 ac_cpp='$CXXCPP $CPPFLAGS'
40030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40035 /* end confdefs.h. */
40036 #include <math.h>
40037 #ifdef HAVE_IEEEFP_H
40038 #include <ieeefp.h>
40039 #endif
40042 main ()
40044 isinff(0);
40046 return 0;
40048 _ACEOF
40049 if ac_fn_cxx_try_compile "$LINENO"; then :
40050 glibcxx_cv_func_isinff_use=yes
40051 else
40052 glibcxx_cv_func_isinff_use=no
40054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40055 ac_ext=c
40056 ac_cpp='$CPP $CPPFLAGS'
40057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40066 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40068 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40069 for ac_func in isinff
40070 do :
40071 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40072 if test "x$ac_cv_func_isinff" = x""yes; then :
40073 cat >>confdefs.h <<_ACEOF
40074 #define HAVE_ISINFF 1
40075 _ACEOF
40078 done
40080 else
40082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40083 $as_echo_n "checking for _isinff declaration... " >&6; }
40084 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40085 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40086 $as_echo_n "(cached) " >&6
40087 else
40090 ac_ext=cpp
40091 ac_cpp='$CXXCPP $CPPFLAGS'
40092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40097 /* end confdefs.h. */
40098 #include <math.h>
40099 #ifdef HAVE_IEEEFP_H
40100 #include <ieeefp.h>
40101 #endif
40104 main ()
40106 _isinff(0);
40108 return 0;
40110 _ACEOF
40111 if ac_fn_cxx_try_compile "$LINENO"; then :
40112 glibcxx_cv_func__isinff_use=yes
40113 else
40114 glibcxx_cv_func__isinff_use=no
40116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40117 ac_ext=c
40118 ac_cpp='$CPP $CPPFLAGS'
40119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40128 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40130 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40131 for ac_func in _isinff
40132 do :
40133 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40134 if test "x$ac_cv_func__isinff" = x""yes; then :
40135 cat >>confdefs.h <<_ACEOF
40136 #define HAVE__ISINFF 1
40137 _ACEOF
40140 done
40149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40150 $as_echo_n "checking for atan2f declaration... " >&6; }
40151 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40152 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40153 $as_echo_n "(cached) " >&6
40154 else
40157 ac_ext=cpp
40158 ac_cpp='$CXXCPP $CPPFLAGS'
40159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40164 /* end confdefs.h. */
40165 #include <math.h>
40167 main ()
40169 atan2f(0, 0);
40171 return 0;
40173 _ACEOF
40174 if ac_fn_cxx_try_compile "$LINENO"; then :
40175 glibcxx_cv_func_atan2f_use=yes
40176 else
40177 glibcxx_cv_func_atan2f_use=no
40179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40180 ac_ext=c
40181 ac_cpp='$CPP $CPPFLAGS'
40182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40191 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40193 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40194 for ac_func in atan2f
40195 do :
40196 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40197 if test "x$ac_cv_func_atan2f" = x""yes; then :
40198 cat >>confdefs.h <<_ACEOF
40199 #define HAVE_ATAN2F 1
40200 _ACEOF
40203 done
40205 else
40207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40208 $as_echo_n "checking for _atan2f declaration... " >&6; }
40209 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40210 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40211 $as_echo_n "(cached) " >&6
40212 else
40215 ac_ext=cpp
40216 ac_cpp='$CXXCPP $CPPFLAGS'
40217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40222 /* end confdefs.h. */
40223 #include <math.h>
40225 main ()
40227 _atan2f(0, 0);
40229 return 0;
40231 _ACEOF
40232 if ac_fn_cxx_try_compile "$LINENO"; then :
40233 glibcxx_cv_func__atan2f_use=yes
40234 else
40235 glibcxx_cv_func__atan2f_use=no
40237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40238 ac_ext=c
40239 ac_cpp='$CPP $CPPFLAGS'
40240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40249 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40251 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40252 for ac_func in _atan2f
40253 do :
40254 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40255 if test "x$ac_cv_func__atan2f" = x""yes; then :
40256 cat >>confdefs.h <<_ACEOF
40257 #define HAVE__ATAN2F 1
40258 _ACEOF
40261 done
40270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40271 $as_echo_n "checking for fabsf declaration... " >&6; }
40272 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40273 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40274 $as_echo_n "(cached) " >&6
40275 else
40278 ac_ext=cpp
40279 ac_cpp='$CXXCPP $CPPFLAGS'
40280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40285 /* end confdefs.h. */
40286 #include <math.h>
40287 #ifdef HAVE_IEEEFP_H
40288 #include <ieeefp.h>
40289 #endif
40292 main ()
40294 fabsf(0);
40296 return 0;
40298 _ACEOF
40299 if ac_fn_cxx_try_compile "$LINENO"; then :
40300 glibcxx_cv_func_fabsf_use=yes
40301 else
40302 glibcxx_cv_func_fabsf_use=no
40304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40305 ac_ext=c
40306 ac_cpp='$CPP $CPPFLAGS'
40307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40316 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40318 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40319 for ac_func in fabsf
40320 do :
40321 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40322 if test "x$ac_cv_func_fabsf" = x""yes; then :
40323 cat >>confdefs.h <<_ACEOF
40324 #define HAVE_FABSF 1
40325 _ACEOF
40328 done
40330 else
40332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40333 $as_echo_n "checking for _fabsf declaration... " >&6; }
40334 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40335 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40336 $as_echo_n "(cached) " >&6
40337 else
40340 ac_ext=cpp
40341 ac_cpp='$CXXCPP $CPPFLAGS'
40342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40347 /* end confdefs.h. */
40348 #include <math.h>
40349 #ifdef HAVE_IEEEFP_H
40350 #include <ieeefp.h>
40351 #endif
40354 main ()
40356 _fabsf(0);
40358 return 0;
40360 _ACEOF
40361 if ac_fn_cxx_try_compile "$LINENO"; then :
40362 glibcxx_cv_func__fabsf_use=yes
40363 else
40364 glibcxx_cv_func__fabsf_use=no
40366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40367 ac_ext=c
40368 ac_cpp='$CPP $CPPFLAGS'
40369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40378 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40380 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40381 for ac_func in _fabsf
40382 do :
40383 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40384 if test "x$ac_cv_func__fabsf" = x""yes; then :
40385 cat >>confdefs.h <<_ACEOF
40386 #define HAVE__FABSF 1
40387 _ACEOF
40390 done
40399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40400 $as_echo_n "checking for fmodf declaration... " >&6; }
40401 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40402 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40403 $as_echo_n "(cached) " >&6
40404 else
40407 ac_ext=cpp
40408 ac_cpp='$CXXCPP $CPPFLAGS'
40409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40414 /* end confdefs.h. */
40415 #include <math.h>
40417 main ()
40419 fmodf(0, 0);
40421 return 0;
40423 _ACEOF
40424 if ac_fn_cxx_try_compile "$LINENO"; then :
40425 glibcxx_cv_func_fmodf_use=yes
40426 else
40427 glibcxx_cv_func_fmodf_use=no
40429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40430 ac_ext=c
40431 ac_cpp='$CPP $CPPFLAGS'
40432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40441 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40443 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40444 for ac_func in fmodf
40445 do :
40446 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40447 if test "x$ac_cv_func_fmodf" = x""yes; then :
40448 cat >>confdefs.h <<_ACEOF
40449 #define HAVE_FMODF 1
40450 _ACEOF
40453 done
40455 else
40457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40458 $as_echo_n "checking for _fmodf declaration... " >&6; }
40459 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40460 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40461 $as_echo_n "(cached) " >&6
40462 else
40465 ac_ext=cpp
40466 ac_cpp='$CXXCPP $CPPFLAGS'
40467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40472 /* end confdefs.h. */
40473 #include <math.h>
40475 main ()
40477 _fmodf(0, 0);
40479 return 0;
40481 _ACEOF
40482 if ac_fn_cxx_try_compile "$LINENO"; then :
40483 glibcxx_cv_func__fmodf_use=yes
40484 else
40485 glibcxx_cv_func__fmodf_use=no
40487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40488 ac_ext=c
40489 ac_cpp='$CPP $CPPFLAGS'
40490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40499 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40501 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40502 for ac_func in _fmodf
40503 do :
40504 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40505 if test "x$ac_cv_func__fmodf" = x""yes; then :
40506 cat >>confdefs.h <<_ACEOF
40507 #define HAVE__FMODF 1
40508 _ACEOF
40511 done
40520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40521 $as_echo_n "checking for frexpf declaration... " >&6; }
40522 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40523 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40524 $as_echo_n "(cached) " >&6
40525 else
40528 ac_ext=cpp
40529 ac_cpp='$CXXCPP $CPPFLAGS'
40530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40535 /* end confdefs.h. */
40536 #include <math.h>
40538 main ()
40540 frexpf(0, 0);
40542 return 0;
40544 _ACEOF
40545 if ac_fn_cxx_try_compile "$LINENO"; then :
40546 glibcxx_cv_func_frexpf_use=yes
40547 else
40548 glibcxx_cv_func_frexpf_use=no
40550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40551 ac_ext=c
40552 ac_cpp='$CPP $CPPFLAGS'
40553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40562 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40564 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40565 for ac_func in frexpf
40566 do :
40567 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40568 if test "x$ac_cv_func_frexpf" = x""yes; then :
40569 cat >>confdefs.h <<_ACEOF
40570 #define HAVE_FREXPF 1
40571 _ACEOF
40574 done
40576 else
40578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40579 $as_echo_n "checking for _frexpf declaration... " >&6; }
40580 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40581 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40582 $as_echo_n "(cached) " >&6
40583 else
40586 ac_ext=cpp
40587 ac_cpp='$CXXCPP $CPPFLAGS'
40588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40593 /* end confdefs.h. */
40594 #include <math.h>
40596 main ()
40598 _frexpf(0, 0);
40600 return 0;
40602 _ACEOF
40603 if ac_fn_cxx_try_compile "$LINENO"; then :
40604 glibcxx_cv_func__frexpf_use=yes
40605 else
40606 glibcxx_cv_func__frexpf_use=no
40608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40609 ac_ext=c
40610 ac_cpp='$CPP $CPPFLAGS'
40611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40620 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40622 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40623 for ac_func in _frexpf
40624 do :
40625 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40626 if test "x$ac_cv_func__frexpf" = x""yes; then :
40627 cat >>confdefs.h <<_ACEOF
40628 #define HAVE__FREXPF 1
40629 _ACEOF
40632 done
40641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40642 $as_echo_n "checking for hypotf declaration... " >&6; }
40643 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40644 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40645 $as_echo_n "(cached) " >&6
40646 else
40649 ac_ext=cpp
40650 ac_cpp='$CXXCPP $CPPFLAGS'
40651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40656 /* end confdefs.h. */
40657 #include <math.h>
40659 main ()
40661 hypotf(0, 0);
40663 return 0;
40665 _ACEOF
40666 if ac_fn_cxx_try_compile "$LINENO"; then :
40667 glibcxx_cv_func_hypotf_use=yes
40668 else
40669 glibcxx_cv_func_hypotf_use=no
40671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40672 ac_ext=c
40673 ac_cpp='$CPP $CPPFLAGS'
40674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40683 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40685 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40686 for ac_func in hypotf
40687 do :
40688 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40689 if test "x$ac_cv_func_hypotf" = x""yes; then :
40690 cat >>confdefs.h <<_ACEOF
40691 #define HAVE_HYPOTF 1
40692 _ACEOF
40695 done
40697 else
40699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40700 $as_echo_n "checking for _hypotf declaration... " >&6; }
40701 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40702 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40703 $as_echo_n "(cached) " >&6
40704 else
40707 ac_ext=cpp
40708 ac_cpp='$CXXCPP $CPPFLAGS'
40709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40714 /* end confdefs.h. */
40715 #include <math.h>
40717 main ()
40719 _hypotf(0, 0);
40721 return 0;
40723 _ACEOF
40724 if ac_fn_cxx_try_compile "$LINENO"; then :
40725 glibcxx_cv_func__hypotf_use=yes
40726 else
40727 glibcxx_cv_func__hypotf_use=no
40729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40730 ac_ext=c
40731 ac_cpp='$CPP $CPPFLAGS'
40732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40741 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40743 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40744 for ac_func in _hypotf
40745 do :
40746 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40747 if test "x$ac_cv_func__hypotf" = x""yes; then :
40748 cat >>confdefs.h <<_ACEOF
40749 #define HAVE__HYPOTF 1
40750 _ACEOF
40753 done
40762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40763 $as_echo_n "checking for ldexpf declaration... " >&6; }
40764 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40765 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40766 $as_echo_n "(cached) " >&6
40767 else
40770 ac_ext=cpp
40771 ac_cpp='$CXXCPP $CPPFLAGS'
40772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40777 /* end confdefs.h. */
40778 #include <math.h>
40780 main ()
40782 ldexpf(0, 0);
40784 return 0;
40786 _ACEOF
40787 if ac_fn_cxx_try_compile "$LINENO"; then :
40788 glibcxx_cv_func_ldexpf_use=yes
40789 else
40790 glibcxx_cv_func_ldexpf_use=no
40792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40793 ac_ext=c
40794 ac_cpp='$CPP $CPPFLAGS'
40795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40804 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40806 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40807 for ac_func in ldexpf
40808 do :
40809 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40810 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40811 cat >>confdefs.h <<_ACEOF
40812 #define HAVE_LDEXPF 1
40813 _ACEOF
40816 done
40818 else
40820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40821 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40822 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40823 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40824 $as_echo_n "(cached) " >&6
40825 else
40828 ac_ext=cpp
40829 ac_cpp='$CXXCPP $CPPFLAGS'
40830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40835 /* end confdefs.h. */
40836 #include <math.h>
40838 main ()
40840 _ldexpf(0, 0);
40842 return 0;
40844 _ACEOF
40845 if ac_fn_cxx_try_compile "$LINENO"; then :
40846 glibcxx_cv_func__ldexpf_use=yes
40847 else
40848 glibcxx_cv_func__ldexpf_use=no
40850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40851 ac_ext=c
40852 ac_cpp='$CPP $CPPFLAGS'
40853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40862 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40864 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40865 for ac_func in _ldexpf
40866 do :
40867 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40868 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40869 cat >>confdefs.h <<_ACEOF
40870 #define HAVE__LDEXPF 1
40871 _ACEOF
40874 done
40883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40884 $as_echo_n "checking for logf declaration... " >&6; }
40885 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40886 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40887 $as_echo_n "(cached) " >&6
40888 else
40891 ac_ext=cpp
40892 ac_cpp='$CXXCPP $CPPFLAGS'
40893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40898 /* end confdefs.h. */
40899 #include <math.h>
40900 #ifdef HAVE_IEEEFP_H
40901 #include <ieeefp.h>
40902 #endif
40905 main ()
40907 logf(0);
40909 return 0;
40911 _ACEOF
40912 if ac_fn_cxx_try_compile "$LINENO"; then :
40913 glibcxx_cv_func_logf_use=yes
40914 else
40915 glibcxx_cv_func_logf_use=no
40917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40918 ac_ext=c
40919 ac_cpp='$CPP $CPPFLAGS'
40920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40929 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40931 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40932 for ac_func in logf
40933 do :
40934 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40935 if test "x$ac_cv_func_logf" = x""yes; then :
40936 cat >>confdefs.h <<_ACEOF
40937 #define HAVE_LOGF 1
40938 _ACEOF
40941 done
40943 else
40945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40946 $as_echo_n "checking for _logf declaration... " >&6; }
40947 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40948 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40949 $as_echo_n "(cached) " >&6
40950 else
40953 ac_ext=cpp
40954 ac_cpp='$CXXCPP $CPPFLAGS'
40955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40960 /* end confdefs.h. */
40961 #include <math.h>
40962 #ifdef HAVE_IEEEFP_H
40963 #include <ieeefp.h>
40964 #endif
40967 main ()
40969 _logf(0);
40971 return 0;
40973 _ACEOF
40974 if ac_fn_cxx_try_compile "$LINENO"; then :
40975 glibcxx_cv_func__logf_use=yes
40976 else
40977 glibcxx_cv_func__logf_use=no
40979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40980 ac_ext=c
40981 ac_cpp='$CPP $CPPFLAGS'
40982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40991 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40993 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40994 for ac_func in _logf
40995 do :
40996 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40997 if test "x$ac_cv_func__logf" = x""yes; then :
40998 cat >>confdefs.h <<_ACEOF
40999 #define HAVE__LOGF 1
41000 _ACEOF
41003 done
41012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41013 $as_echo_n "checking for log10f declaration... " >&6; }
41014 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41015 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41016 $as_echo_n "(cached) " >&6
41017 else
41020 ac_ext=cpp
41021 ac_cpp='$CXXCPP $CPPFLAGS'
41022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41027 /* end confdefs.h. */
41028 #include <math.h>
41029 #ifdef HAVE_IEEEFP_H
41030 #include <ieeefp.h>
41031 #endif
41034 main ()
41036 log10f(0);
41038 return 0;
41040 _ACEOF
41041 if ac_fn_cxx_try_compile "$LINENO"; then :
41042 glibcxx_cv_func_log10f_use=yes
41043 else
41044 glibcxx_cv_func_log10f_use=no
41046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41047 ac_ext=c
41048 ac_cpp='$CPP $CPPFLAGS'
41049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41058 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41060 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41061 for ac_func in log10f
41062 do :
41063 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41064 if test "x$ac_cv_func_log10f" = x""yes; then :
41065 cat >>confdefs.h <<_ACEOF
41066 #define HAVE_LOG10F 1
41067 _ACEOF
41070 done
41072 else
41074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41075 $as_echo_n "checking for _log10f declaration... " >&6; }
41076 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41077 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41078 $as_echo_n "(cached) " >&6
41079 else
41082 ac_ext=cpp
41083 ac_cpp='$CXXCPP $CPPFLAGS'
41084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41089 /* end confdefs.h. */
41090 #include <math.h>
41091 #ifdef HAVE_IEEEFP_H
41092 #include <ieeefp.h>
41093 #endif
41096 main ()
41098 _log10f(0);
41100 return 0;
41102 _ACEOF
41103 if ac_fn_cxx_try_compile "$LINENO"; then :
41104 glibcxx_cv_func__log10f_use=yes
41105 else
41106 glibcxx_cv_func__log10f_use=no
41108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41109 ac_ext=c
41110 ac_cpp='$CPP $CPPFLAGS'
41111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41120 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41122 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41123 for ac_func in _log10f
41124 do :
41125 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41126 if test "x$ac_cv_func__log10f" = x""yes; then :
41127 cat >>confdefs.h <<_ACEOF
41128 #define HAVE__LOG10F 1
41129 _ACEOF
41132 done
41141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41142 $as_echo_n "checking for modff declaration... " >&6; }
41143 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41144 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41145 $as_echo_n "(cached) " >&6
41146 else
41149 ac_ext=cpp
41150 ac_cpp='$CXXCPP $CPPFLAGS'
41151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41156 /* end confdefs.h. */
41157 #include <math.h>
41159 main ()
41161 modff(0, 0);
41163 return 0;
41165 _ACEOF
41166 if ac_fn_cxx_try_compile "$LINENO"; then :
41167 glibcxx_cv_func_modff_use=yes
41168 else
41169 glibcxx_cv_func_modff_use=no
41171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41172 ac_ext=c
41173 ac_cpp='$CPP $CPPFLAGS'
41174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41183 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41185 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41186 for ac_func in modff
41187 do :
41188 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41189 if test "x$ac_cv_func_modff" = x""yes; then :
41190 cat >>confdefs.h <<_ACEOF
41191 #define HAVE_MODFF 1
41192 _ACEOF
41195 done
41197 else
41199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41200 $as_echo_n "checking for _modff declaration... " >&6; }
41201 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41202 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41203 $as_echo_n "(cached) " >&6
41204 else
41207 ac_ext=cpp
41208 ac_cpp='$CXXCPP $CPPFLAGS'
41209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41214 /* end confdefs.h. */
41215 #include <math.h>
41217 main ()
41219 _modff(0, 0);
41221 return 0;
41223 _ACEOF
41224 if ac_fn_cxx_try_compile "$LINENO"; then :
41225 glibcxx_cv_func__modff_use=yes
41226 else
41227 glibcxx_cv_func__modff_use=no
41229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41230 ac_ext=c
41231 ac_cpp='$CPP $CPPFLAGS'
41232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41241 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41243 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41244 for ac_func in _modff
41245 do :
41246 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41247 if test "x$ac_cv_func__modff" = x""yes; then :
41248 cat >>confdefs.h <<_ACEOF
41249 #define HAVE__MODFF 1
41250 _ACEOF
41253 done
41262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41263 $as_echo_n "checking for modf declaration... " >&6; }
41264 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41265 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41266 $as_echo_n "(cached) " >&6
41267 else
41270 ac_ext=cpp
41271 ac_cpp='$CXXCPP $CPPFLAGS'
41272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41277 /* end confdefs.h. */
41278 #include <math.h>
41280 main ()
41282 modf(0, 0);
41284 return 0;
41286 _ACEOF
41287 if ac_fn_cxx_try_compile "$LINENO"; then :
41288 glibcxx_cv_func_modf_use=yes
41289 else
41290 glibcxx_cv_func_modf_use=no
41292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41293 ac_ext=c
41294 ac_cpp='$CPP $CPPFLAGS'
41295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41304 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41306 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41307 for ac_func in modf
41308 do :
41309 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41310 if test "x$ac_cv_func_modf" = x""yes; then :
41311 cat >>confdefs.h <<_ACEOF
41312 #define HAVE_MODF 1
41313 _ACEOF
41316 done
41318 else
41320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41321 $as_echo_n "checking for _modf declaration... " >&6; }
41322 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41323 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41324 $as_echo_n "(cached) " >&6
41325 else
41328 ac_ext=cpp
41329 ac_cpp='$CXXCPP $CPPFLAGS'
41330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41335 /* end confdefs.h. */
41336 #include <math.h>
41338 main ()
41340 _modf(0, 0);
41342 return 0;
41344 _ACEOF
41345 if ac_fn_cxx_try_compile "$LINENO"; then :
41346 glibcxx_cv_func__modf_use=yes
41347 else
41348 glibcxx_cv_func__modf_use=no
41350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41351 ac_ext=c
41352 ac_cpp='$CPP $CPPFLAGS'
41353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41362 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41364 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41365 for ac_func in _modf
41366 do :
41367 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41368 if test "x$ac_cv_func__modf" = x""yes; then :
41369 cat >>confdefs.h <<_ACEOF
41370 #define HAVE__MODF 1
41371 _ACEOF
41374 done
41383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41384 $as_echo_n "checking for powf declaration... " >&6; }
41385 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41386 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41387 $as_echo_n "(cached) " >&6
41388 else
41391 ac_ext=cpp
41392 ac_cpp='$CXXCPP $CPPFLAGS'
41393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41398 /* end confdefs.h. */
41399 #include <math.h>
41401 main ()
41403 powf(0, 0);
41405 return 0;
41407 _ACEOF
41408 if ac_fn_cxx_try_compile "$LINENO"; then :
41409 glibcxx_cv_func_powf_use=yes
41410 else
41411 glibcxx_cv_func_powf_use=no
41413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41414 ac_ext=c
41415 ac_cpp='$CPP $CPPFLAGS'
41416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41425 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41427 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41428 for ac_func in powf
41429 do :
41430 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41431 if test "x$ac_cv_func_powf" = x""yes; then :
41432 cat >>confdefs.h <<_ACEOF
41433 #define HAVE_POWF 1
41434 _ACEOF
41437 done
41439 else
41441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41442 $as_echo_n "checking for _powf declaration... " >&6; }
41443 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41444 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41445 $as_echo_n "(cached) " >&6
41446 else
41449 ac_ext=cpp
41450 ac_cpp='$CXXCPP $CPPFLAGS'
41451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41456 /* end confdefs.h. */
41457 #include <math.h>
41459 main ()
41461 _powf(0, 0);
41463 return 0;
41465 _ACEOF
41466 if ac_fn_cxx_try_compile "$LINENO"; then :
41467 glibcxx_cv_func__powf_use=yes
41468 else
41469 glibcxx_cv_func__powf_use=no
41471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41472 ac_ext=c
41473 ac_cpp='$CPP $CPPFLAGS'
41474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41483 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41485 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41486 for ac_func in _powf
41487 do :
41488 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41489 if test "x$ac_cv_func__powf" = x""yes; then :
41490 cat >>confdefs.h <<_ACEOF
41491 #define HAVE__POWF 1
41492 _ACEOF
41495 done
41504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41505 $as_echo_n "checking for sqrtf declaration... " >&6; }
41506 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41507 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41508 $as_echo_n "(cached) " >&6
41509 else
41512 ac_ext=cpp
41513 ac_cpp='$CXXCPP $CPPFLAGS'
41514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41519 /* end confdefs.h. */
41520 #include <math.h>
41521 #ifdef HAVE_IEEEFP_H
41522 #include <ieeefp.h>
41523 #endif
41526 main ()
41528 sqrtf(0);
41530 return 0;
41532 _ACEOF
41533 if ac_fn_cxx_try_compile "$LINENO"; then :
41534 glibcxx_cv_func_sqrtf_use=yes
41535 else
41536 glibcxx_cv_func_sqrtf_use=no
41538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41539 ac_ext=c
41540 ac_cpp='$CPP $CPPFLAGS'
41541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41550 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41552 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41553 for ac_func in sqrtf
41554 do :
41555 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41556 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41557 cat >>confdefs.h <<_ACEOF
41558 #define HAVE_SQRTF 1
41559 _ACEOF
41562 done
41564 else
41566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41567 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41568 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41569 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41570 $as_echo_n "(cached) " >&6
41571 else
41574 ac_ext=cpp
41575 ac_cpp='$CXXCPP $CPPFLAGS'
41576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41581 /* end confdefs.h. */
41582 #include <math.h>
41583 #ifdef HAVE_IEEEFP_H
41584 #include <ieeefp.h>
41585 #endif
41588 main ()
41590 _sqrtf(0);
41592 return 0;
41594 _ACEOF
41595 if ac_fn_cxx_try_compile "$LINENO"; then :
41596 glibcxx_cv_func__sqrtf_use=yes
41597 else
41598 glibcxx_cv_func__sqrtf_use=no
41600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41601 ac_ext=c
41602 ac_cpp='$CPP $CPPFLAGS'
41603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41612 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41614 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41615 for ac_func in _sqrtf
41616 do :
41617 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41618 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41619 cat >>confdefs.h <<_ACEOF
41620 #define HAVE__SQRTF 1
41621 _ACEOF
41624 done
41633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41634 $as_echo_n "checking for sincosf declaration... " >&6; }
41635 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41636 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41637 $as_echo_n "(cached) " >&6
41638 else
41641 ac_ext=cpp
41642 ac_cpp='$CXXCPP $CPPFLAGS'
41643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41648 /* end confdefs.h. */
41649 #include <math.h>
41651 main ()
41653 sincosf(0, 0, 0);
41655 return 0;
41657 _ACEOF
41658 if ac_fn_cxx_try_compile "$LINENO"; then :
41659 glibcxx_cv_func_sincosf_use=yes
41660 else
41661 glibcxx_cv_func_sincosf_use=no
41663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41664 ac_ext=c
41665 ac_cpp='$CPP $CPPFLAGS'
41666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41675 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41677 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41678 for ac_func in sincosf
41679 do :
41680 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41681 if test "x$ac_cv_func_sincosf" = x""yes; then :
41682 cat >>confdefs.h <<_ACEOF
41683 #define HAVE_SINCOSF 1
41684 _ACEOF
41687 done
41689 else
41691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41692 $as_echo_n "checking for _sincosf declaration... " >&6; }
41693 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41694 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41695 $as_echo_n "(cached) " >&6
41696 else
41699 ac_ext=cpp
41700 ac_cpp='$CXXCPP $CPPFLAGS'
41701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41706 /* end confdefs.h. */
41707 #include <math.h>
41709 main ()
41711 _sincosf(0, 0, 0);
41713 return 0;
41715 _ACEOF
41716 if ac_fn_cxx_try_compile "$LINENO"; then :
41717 glibcxx_cv_func__sincosf_use=yes
41718 else
41719 glibcxx_cv_func__sincosf_use=no
41721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41722 ac_ext=c
41723 ac_cpp='$CPP $CPPFLAGS'
41724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41733 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41735 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41736 for ac_func in _sincosf
41737 do :
41738 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41739 if test "x$ac_cv_func__sincosf" = x""yes; then :
41740 cat >>confdefs.h <<_ACEOF
41741 #define HAVE__SINCOSF 1
41742 _ACEOF
41745 done
41754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41755 $as_echo_n "checking for finitef declaration... " >&6; }
41756 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41757 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41758 $as_echo_n "(cached) " >&6
41759 else
41762 ac_ext=cpp
41763 ac_cpp='$CXXCPP $CPPFLAGS'
41764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41769 /* end confdefs.h. */
41770 #include <math.h>
41771 #ifdef HAVE_IEEEFP_H
41772 #include <ieeefp.h>
41773 #endif
41776 main ()
41778 finitef(0);
41780 return 0;
41782 _ACEOF
41783 if ac_fn_cxx_try_compile "$LINENO"; then :
41784 glibcxx_cv_func_finitef_use=yes
41785 else
41786 glibcxx_cv_func_finitef_use=no
41788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41789 ac_ext=c
41790 ac_cpp='$CPP $CPPFLAGS'
41791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41800 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41802 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41803 for ac_func in finitef
41804 do :
41805 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41806 if test "x$ac_cv_func_finitef" = x""yes; then :
41807 cat >>confdefs.h <<_ACEOF
41808 #define HAVE_FINITEF 1
41809 _ACEOF
41812 done
41814 else
41816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41817 $as_echo_n "checking for _finitef declaration... " >&6; }
41818 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41819 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41820 $as_echo_n "(cached) " >&6
41821 else
41824 ac_ext=cpp
41825 ac_cpp='$CXXCPP $CPPFLAGS'
41826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41831 /* end confdefs.h. */
41832 #include <math.h>
41833 #ifdef HAVE_IEEEFP_H
41834 #include <ieeefp.h>
41835 #endif
41838 main ()
41840 _finitef(0);
41842 return 0;
41844 _ACEOF
41845 if ac_fn_cxx_try_compile "$LINENO"; then :
41846 glibcxx_cv_func__finitef_use=yes
41847 else
41848 glibcxx_cv_func__finitef_use=no
41850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41851 ac_ext=c
41852 ac_cpp='$CPP $CPPFLAGS'
41853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41862 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41864 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41865 for ac_func in _finitef
41866 do :
41867 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41868 if test "x$ac_cv_func__finitef" = x""yes; then :
41869 cat >>confdefs.h <<_ACEOF
41870 #define HAVE__FINITEF 1
41871 _ACEOF
41874 done
41883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41884 $as_echo_n "checking for long double trig functions... " >&6; }
41885 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41886 $as_echo_n "(cached) " >&6
41887 else
41890 ac_ext=cpp
41891 ac_cpp='$CXXCPP $CPPFLAGS'
41892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41897 /* end confdefs.h. */
41898 #include <math.h>
41900 main ()
41902 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41904 return 0;
41906 _ACEOF
41907 if ac_fn_cxx_try_compile "$LINENO"; then :
41908 glibcxx_cv_func_long_double_trig_use=yes
41909 else
41910 glibcxx_cv_func_long_double_trig_use=no
41912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41913 ac_ext=c
41914 ac_cpp='$CPP $CPPFLAGS'
41915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41922 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41923 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41924 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41925 do :
41926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41928 eval as_val=\$$as_ac_var
41929 if test "x$as_val" = x""yes; then :
41930 cat >>confdefs.h <<_ACEOF
41931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41932 _ACEOF
41935 done
41937 else
41938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41939 $as_echo_n "checking for _long double trig functions... " >&6; }
41940 if test "${glibcxx_cv_func__long_double_trig_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 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41959 return 0;
41961 _ACEOF
41962 if ac_fn_cxx_try_compile "$LINENO"; then :
41963 glibcxx_cv_func__long_double_trig_use=yes
41964 else
41965 glibcxx_cv_func__long_double_trig_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_trig_use" >&5
41977 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41978 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41979 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
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
41999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42000 $as_echo_n "checking for long double round functions... " >&6; }
42001 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42002 $as_echo_n "(cached) " >&6
42003 else
42006 ac_ext=cpp
42007 ac_cpp='$CXXCPP $CPPFLAGS'
42008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42013 /* end confdefs.h. */
42014 #include <math.h>
42016 main ()
42018 ceill (0); floorl (0);
42020 return 0;
42022 _ACEOF
42023 if ac_fn_cxx_try_compile "$LINENO"; then :
42024 glibcxx_cv_func_long_double_round_use=yes
42025 else
42026 glibcxx_cv_func_long_double_round_use=no
42028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42029 ac_ext=c
42030 ac_cpp='$CPP $CPPFLAGS'
42031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42038 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42039 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42040 for ac_func in ceill floorl
42041 do :
42042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42044 eval as_val=\$$as_ac_var
42045 if test "x$as_val" = x""yes; then :
42046 cat >>confdefs.h <<_ACEOF
42047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42048 _ACEOF
42051 done
42053 else
42054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42055 $as_echo_n "checking for _long double round functions... " >&6; }
42056 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42057 $as_echo_n "(cached) " >&6
42058 else
42061 ac_ext=cpp
42062 ac_cpp='$CXXCPP $CPPFLAGS'
42063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42068 /* end confdefs.h. */
42069 #include <math.h>
42071 main ()
42073 _ceill (0); _floorl (0);
42075 return 0;
42077 _ACEOF
42078 if ac_fn_cxx_try_compile "$LINENO"; then :
42079 glibcxx_cv_func__long_double_round_use=yes
42080 else
42081 glibcxx_cv_func__long_double_round_use=no
42083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42084 ac_ext=c
42085 ac_cpp='$CPP $CPPFLAGS'
42086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42093 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42094 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42095 for ac_func in _ceill _floorl
42096 do :
42097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42099 eval as_val=\$$as_ac_var
42100 if test "x$as_val" = x""yes; then :
42101 cat >>confdefs.h <<_ACEOF
42102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42103 _ACEOF
42106 done
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42117 $as_echo_n "checking for isnanl declaration... " >&6; }
42118 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42119 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42120 $as_echo_n "(cached) " >&6
42121 else
42124 ac_ext=cpp
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42131 /* end confdefs.h. */
42132 #include <math.h>
42133 #ifdef HAVE_IEEEFP_H
42134 #include <ieeefp.h>
42135 #endif
42138 main ()
42140 isnanl(0);
42142 return 0;
42144 _ACEOF
42145 if ac_fn_cxx_try_compile "$LINENO"; then :
42146 glibcxx_cv_func_isnanl_use=yes
42147 else
42148 glibcxx_cv_func_isnanl_use=no
42150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42151 ac_ext=c
42152 ac_cpp='$CPP $CPPFLAGS'
42153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42162 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42164 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42165 for ac_func in isnanl
42166 do :
42167 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42168 if test "x$ac_cv_func_isnanl" = x""yes; then :
42169 cat >>confdefs.h <<_ACEOF
42170 #define HAVE_ISNANL 1
42171 _ACEOF
42174 done
42176 else
42178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42179 $as_echo_n "checking for _isnanl declaration... " >&6; }
42180 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42181 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42182 $as_echo_n "(cached) " >&6
42183 else
42186 ac_ext=cpp
42187 ac_cpp='$CXXCPP $CPPFLAGS'
42188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42193 /* end confdefs.h. */
42194 #include <math.h>
42195 #ifdef HAVE_IEEEFP_H
42196 #include <ieeefp.h>
42197 #endif
42200 main ()
42202 _isnanl(0);
42204 return 0;
42206 _ACEOF
42207 if ac_fn_cxx_try_compile "$LINENO"; then :
42208 glibcxx_cv_func__isnanl_use=yes
42209 else
42210 glibcxx_cv_func__isnanl_use=no
42212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42213 ac_ext=c
42214 ac_cpp='$CPP $CPPFLAGS'
42215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42224 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42226 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42227 for ac_func in _isnanl
42228 do :
42229 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42230 if test "x$ac_cv_func__isnanl" = x""yes; then :
42231 cat >>confdefs.h <<_ACEOF
42232 #define HAVE__ISNANL 1
42233 _ACEOF
42236 done
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42246 $as_echo_n "checking for isinfl declaration... " >&6; }
42247 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42248 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42249 $as_echo_n "(cached) " >&6
42250 else
42253 ac_ext=cpp
42254 ac_cpp='$CXXCPP $CPPFLAGS'
42255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42260 /* end confdefs.h. */
42261 #include <math.h>
42262 #ifdef HAVE_IEEEFP_H
42263 #include <ieeefp.h>
42264 #endif
42267 main ()
42269 isinfl(0);
42271 return 0;
42273 _ACEOF
42274 if ac_fn_cxx_try_compile "$LINENO"; then :
42275 glibcxx_cv_func_isinfl_use=yes
42276 else
42277 glibcxx_cv_func_isinfl_use=no
42279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42280 ac_ext=c
42281 ac_cpp='$CPP $CPPFLAGS'
42282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42291 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42293 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42294 for ac_func in isinfl
42295 do :
42296 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42297 if test "x$ac_cv_func_isinfl" = x""yes; then :
42298 cat >>confdefs.h <<_ACEOF
42299 #define HAVE_ISINFL 1
42300 _ACEOF
42303 done
42305 else
42307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42308 $as_echo_n "checking for _isinfl declaration... " >&6; }
42309 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42310 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42311 $as_echo_n "(cached) " >&6
42312 else
42315 ac_ext=cpp
42316 ac_cpp='$CXXCPP $CPPFLAGS'
42317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42322 /* end confdefs.h. */
42323 #include <math.h>
42324 #ifdef HAVE_IEEEFP_H
42325 #include <ieeefp.h>
42326 #endif
42329 main ()
42331 _isinfl(0);
42333 return 0;
42335 _ACEOF
42336 if ac_fn_cxx_try_compile "$LINENO"; then :
42337 glibcxx_cv_func__isinfl_use=yes
42338 else
42339 glibcxx_cv_func__isinfl_use=no
42341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42342 ac_ext=c
42343 ac_cpp='$CPP $CPPFLAGS'
42344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42353 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42355 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42356 for ac_func in _isinfl
42357 do :
42358 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42359 if test "x$ac_cv_func__isinfl" = x""yes; then :
42360 cat >>confdefs.h <<_ACEOF
42361 #define HAVE__ISINFL 1
42362 _ACEOF
42365 done
42374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42375 $as_echo_n "checking for atan2l declaration... " >&6; }
42376 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42377 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42378 $as_echo_n "(cached) " >&6
42379 else
42382 ac_ext=cpp
42383 ac_cpp='$CXXCPP $CPPFLAGS'
42384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42389 /* end confdefs.h. */
42390 #include <math.h>
42392 main ()
42394 atan2l(0, 0);
42396 return 0;
42398 _ACEOF
42399 if ac_fn_cxx_try_compile "$LINENO"; then :
42400 glibcxx_cv_func_atan2l_use=yes
42401 else
42402 glibcxx_cv_func_atan2l_use=no
42404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42405 ac_ext=c
42406 ac_cpp='$CPP $CPPFLAGS'
42407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42416 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42418 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42419 for ac_func in atan2l
42420 do :
42421 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42422 if test "x$ac_cv_func_atan2l" = x""yes; then :
42423 cat >>confdefs.h <<_ACEOF
42424 #define HAVE_ATAN2L 1
42425 _ACEOF
42428 done
42430 else
42432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42433 $as_echo_n "checking for _atan2l declaration... " >&6; }
42434 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42435 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42436 $as_echo_n "(cached) " >&6
42437 else
42440 ac_ext=cpp
42441 ac_cpp='$CXXCPP $CPPFLAGS'
42442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42447 /* end confdefs.h. */
42448 #include <math.h>
42450 main ()
42452 _atan2l(0, 0);
42454 return 0;
42456 _ACEOF
42457 if ac_fn_cxx_try_compile "$LINENO"; then :
42458 glibcxx_cv_func__atan2l_use=yes
42459 else
42460 glibcxx_cv_func__atan2l_use=no
42462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42463 ac_ext=c
42464 ac_cpp='$CPP $CPPFLAGS'
42465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42474 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42476 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42477 for ac_func in _atan2l
42478 do :
42479 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42480 if test "x$ac_cv_func__atan2l" = x""yes; then :
42481 cat >>confdefs.h <<_ACEOF
42482 #define HAVE__ATAN2L 1
42483 _ACEOF
42486 done
42495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42496 $as_echo_n "checking for expl declaration... " >&6; }
42497 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42498 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42499 $as_echo_n "(cached) " >&6
42500 else
42503 ac_ext=cpp
42504 ac_cpp='$CXXCPP $CPPFLAGS'
42505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42510 /* end confdefs.h. */
42511 #include <math.h>
42512 #ifdef HAVE_IEEEFP_H
42513 #include <ieeefp.h>
42514 #endif
42517 main ()
42519 expl(0);
42521 return 0;
42523 _ACEOF
42524 if ac_fn_cxx_try_compile "$LINENO"; then :
42525 glibcxx_cv_func_expl_use=yes
42526 else
42527 glibcxx_cv_func_expl_use=no
42529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42530 ac_ext=c
42531 ac_cpp='$CPP $CPPFLAGS'
42532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42541 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42543 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42544 for ac_func in expl
42545 do :
42546 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42547 if test "x$ac_cv_func_expl" = x""yes; then :
42548 cat >>confdefs.h <<_ACEOF
42549 #define HAVE_EXPL 1
42550 _ACEOF
42553 done
42555 else
42557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42558 $as_echo_n "checking for _expl declaration... " >&6; }
42559 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42560 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42561 $as_echo_n "(cached) " >&6
42562 else
42565 ac_ext=cpp
42566 ac_cpp='$CXXCPP $CPPFLAGS'
42567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42572 /* end confdefs.h. */
42573 #include <math.h>
42574 #ifdef HAVE_IEEEFP_H
42575 #include <ieeefp.h>
42576 #endif
42579 main ()
42581 _expl(0);
42583 return 0;
42585 _ACEOF
42586 if ac_fn_cxx_try_compile "$LINENO"; then :
42587 glibcxx_cv_func__expl_use=yes
42588 else
42589 glibcxx_cv_func__expl_use=no
42591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42592 ac_ext=c
42593 ac_cpp='$CPP $CPPFLAGS'
42594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42603 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42605 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42606 for ac_func in _expl
42607 do :
42608 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42609 if test "x$ac_cv_func__expl" = x""yes; then :
42610 cat >>confdefs.h <<_ACEOF
42611 #define HAVE__EXPL 1
42612 _ACEOF
42615 done
42624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42625 $as_echo_n "checking for fabsl declaration... " >&6; }
42626 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42627 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42628 $as_echo_n "(cached) " >&6
42629 else
42632 ac_ext=cpp
42633 ac_cpp='$CXXCPP $CPPFLAGS'
42634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42639 /* end confdefs.h. */
42640 #include <math.h>
42641 #ifdef HAVE_IEEEFP_H
42642 #include <ieeefp.h>
42643 #endif
42646 main ()
42648 fabsl(0);
42650 return 0;
42652 _ACEOF
42653 if ac_fn_cxx_try_compile "$LINENO"; then :
42654 glibcxx_cv_func_fabsl_use=yes
42655 else
42656 glibcxx_cv_func_fabsl_use=no
42658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42659 ac_ext=c
42660 ac_cpp='$CPP $CPPFLAGS'
42661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42670 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42672 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42673 for ac_func in fabsl
42674 do :
42675 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42676 if test "x$ac_cv_func_fabsl" = x""yes; then :
42677 cat >>confdefs.h <<_ACEOF
42678 #define HAVE_FABSL 1
42679 _ACEOF
42682 done
42684 else
42686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42687 $as_echo_n "checking for _fabsl declaration... " >&6; }
42688 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42689 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42690 $as_echo_n "(cached) " >&6
42691 else
42694 ac_ext=cpp
42695 ac_cpp='$CXXCPP $CPPFLAGS'
42696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42701 /* end confdefs.h. */
42702 #include <math.h>
42703 #ifdef HAVE_IEEEFP_H
42704 #include <ieeefp.h>
42705 #endif
42708 main ()
42710 _fabsl(0);
42712 return 0;
42714 _ACEOF
42715 if ac_fn_cxx_try_compile "$LINENO"; then :
42716 glibcxx_cv_func__fabsl_use=yes
42717 else
42718 glibcxx_cv_func__fabsl_use=no
42720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42721 ac_ext=c
42722 ac_cpp='$CPP $CPPFLAGS'
42723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42732 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42734 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42735 for ac_func in _fabsl
42736 do :
42737 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42738 if test "x$ac_cv_func__fabsl" = x""yes; then :
42739 cat >>confdefs.h <<_ACEOF
42740 #define HAVE__FABSL 1
42741 _ACEOF
42744 done
42753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42754 $as_echo_n "checking for fmodl declaration... " >&6; }
42755 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42756 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42757 $as_echo_n "(cached) " >&6
42758 else
42761 ac_ext=cpp
42762 ac_cpp='$CXXCPP $CPPFLAGS'
42763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42768 /* end confdefs.h. */
42769 #include <math.h>
42771 main ()
42773 fmodl(0, 0);
42775 return 0;
42777 _ACEOF
42778 if ac_fn_cxx_try_compile "$LINENO"; then :
42779 glibcxx_cv_func_fmodl_use=yes
42780 else
42781 glibcxx_cv_func_fmodl_use=no
42783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42784 ac_ext=c
42785 ac_cpp='$CPP $CPPFLAGS'
42786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42795 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42797 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42798 for ac_func in fmodl
42799 do :
42800 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42801 if test "x$ac_cv_func_fmodl" = x""yes; then :
42802 cat >>confdefs.h <<_ACEOF
42803 #define HAVE_FMODL 1
42804 _ACEOF
42807 done
42809 else
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42812 $as_echo_n "checking for _fmodl declaration... " >&6; }
42813 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42814 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42815 $as_echo_n "(cached) " >&6
42816 else
42819 ac_ext=cpp
42820 ac_cpp='$CXXCPP $CPPFLAGS'
42821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42826 /* end confdefs.h. */
42827 #include <math.h>
42829 main ()
42831 _fmodl(0, 0);
42833 return 0;
42835 _ACEOF
42836 if ac_fn_cxx_try_compile "$LINENO"; then :
42837 glibcxx_cv_func__fmodl_use=yes
42838 else
42839 glibcxx_cv_func__fmodl_use=no
42841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42842 ac_ext=c
42843 ac_cpp='$CPP $CPPFLAGS'
42844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42853 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42855 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42856 for ac_func in _fmodl
42857 do :
42858 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42859 if test "x$ac_cv_func__fmodl" = x""yes; then :
42860 cat >>confdefs.h <<_ACEOF
42861 #define HAVE__FMODL 1
42862 _ACEOF
42865 done
42874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42875 $as_echo_n "checking for frexpl declaration... " >&6; }
42876 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42877 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42878 $as_echo_n "(cached) " >&6
42879 else
42882 ac_ext=cpp
42883 ac_cpp='$CXXCPP $CPPFLAGS'
42884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42889 /* end confdefs.h. */
42890 #include <math.h>
42892 main ()
42894 frexpl(0, 0);
42896 return 0;
42898 _ACEOF
42899 if ac_fn_cxx_try_compile "$LINENO"; then :
42900 glibcxx_cv_func_frexpl_use=yes
42901 else
42902 glibcxx_cv_func_frexpl_use=no
42904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42905 ac_ext=c
42906 ac_cpp='$CPP $CPPFLAGS'
42907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42916 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42918 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42919 for ac_func in frexpl
42920 do :
42921 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42922 if test "x$ac_cv_func_frexpl" = x""yes; then :
42923 cat >>confdefs.h <<_ACEOF
42924 #define HAVE_FREXPL 1
42925 _ACEOF
42928 done
42930 else
42932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42933 $as_echo_n "checking for _frexpl declaration... " >&6; }
42934 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42935 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42936 $as_echo_n "(cached) " >&6
42937 else
42940 ac_ext=cpp
42941 ac_cpp='$CXXCPP $CPPFLAGS'
42942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42947 /* end confdefs.h. */
42948 #include <math.h>
42950 main ()
42952 _frexpl(0, 0);
42954 return 0;
42956 _ACEOF
42957 if ac_fn_cxx_try_compile "$LINENO"; then :
42958 glibcxx_cv_func__frexpl_use=yes
42959 else
42960 glibcxx_cv_func__frexpl_use=no
42962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42963 ac_ext=c
42964 ac_cpp='$CPP $CPPFLAGS'
42965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42974 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42976 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42977 for ac_func in _frexpl
42978 do :
42979 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42980 if test "x$ac_cv_func__frexpl" = x""yes; then :
42981 cat >>confdefs.h <<_ACEOF
42982 #define HAVE__FREXPL 1
42983 _ACEOF
42986 done
42995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42996 $as_echo_n "checking for hypotl declaration... " >&6; }
42997 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42998 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42999 $as_echo_n "(cached) " >&6
43000 else
43003 ac_ext=cpp
43004 ac_cpp='$CXXCPP $CPPFLAGS'
43005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43010 /* end confdefs.h. */
43011 #include <math.h>
43013 main ()
43015 hypotl(0, 0);
43017 return 0;
43019 _ACEOF
43020 if ac_fn_cxx_try_compile "$LINENO"; then :
43021 glibcxx_cv_func_hypotl_use=yes
43022 else
43023 glibcxx_cv_func_hypotl_use=no
43025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43026 ac_ext=c
43027 ac_cpp='$CPP $CPPFLAGS'
43028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43037 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43039 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43040 for ac_func in hypotl
43041 do :
43042 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43043 if test "x$ac_cv_func_hypotl" = x""yes; then :
43044 cat >>confdefs.h <<_ACEOF
43045 #define HAVE_HYPOTL 1
43046 _ACEOF
43049 done
43051 else
43053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43054 $as_echo_n "checking for _hypotl declaration... " >&6; }
43055 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43056 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43057 $as_echo_n "(cached) " >&6
43058 else
43061 ac_ext=cpp
43062 ac_cpp='$CXXCPP $CPPFLAGS'
43063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43068 /* end confdefs.h. */
43069 #include <math.h>
43071 main ()
43073 _hypotl(0, 0);
43075 return 0;
43077 _ACEOF
43078 if ac_fn_cxx_try_compile "$LINENO"; then :
43079 glibcxx_cv_func__hypotl_use=yes
43080 else
43081 glibcxx_cv_func__hypotl_use=no
43083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43084 ac_ext=c
43085 ac_cpp='$CPP $CPPFLAGS'
43086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43095 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43097 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43098 for ac_func in _hypotl
43099 do :
43100 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43101 if test "x$ac_cv_func__hypotl" = x""yes; then :
43102 cat >>confdefs.h <<_ACEOF
43103 #define HAVE__HYPOTL 1
43104 _ACEOF
43107 done
43116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43117 $as_echo_n "checking for ldexpl declaration... " >&6; }
43118 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43119 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43120 $as_echo_n "(cached) " >&6
43121 else
43124 ac_ext=cpp
43125 ac_cpp='$CXXCPP $CPPFLAGS'
43126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43131 /* end confdefs.h. */
43132 #include <math.h>
43134 main ()
43136 ldexpl(0, 0);
43138 return 0;
43140 _ACEOF
43141 if ac_fn_cxx_try_compile "$LINENO"; then :
43142 glibcxx_cv_func_ldexpl_use=yes
43143 else
43144 glibcxx_cv_func_ldexpl_use=no
43146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43147 ac_ext=c
43148 ac_cpp='$CPP $CPPFLAGS'
43149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43158 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43160 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43161 for ac_func in ldexpl
43162 do :
43163 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43164 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43165 cat >>confdefs.h <<_ACEOF
43166 #define HAVE_LDEXPL 1
43167 _ACEOF
43170 done
43172 else
43174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43175 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43176 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43177 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43178 $as_echo_n "(cached) " >&6
43179 else
43182 ac_ext=cpp
43183 ac_cpp='$CXXCPP $CPPFLAGS'
43184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43189 /* end confdefs.h. */
43190 #include <math.h>
43192 main ()
43194 _ldexpl(0, 0);
43196 return 0;
43198 _ACEOF
43199 if ac_fn_cxx_try_compile "$LINENO"; then :
43200 glibcxx_cv_func__ldexpl_use=yes
43201 else
43202 glibcxx_cv_func__ldexpl_use=no
43204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43205 ac_ext=c
43206 ac_cpp='$CPP $CPPFLAGS'
43207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43216 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43218 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43219 for ac_func in _ldexpl
43220 do :
43221 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43222 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43223 cat >>confdefs.h <<_ACEOF
43224 #define HAVE__LDEXPL 1
43225 _ACEOF
43228 done
43237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43238 $as_echo_n "checking for logl declaration... " >&6; }
43239 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43240 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43241 $as_echo_n "(cached) " >&6
43242 else
43245 ac_ext=cpp
43246 ac_cpp='$CXXCPP $CPPFLAGS'
43247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43252 /* end confdefs.h. */
43253 #include <math.h>
43254 #ifdef HAVE_IEEEFP_H
43255 #include <ieeefp.h>
43256 #endif
43259 main ()
43261 logl(0);
43263 return 0;
43265 _ACEOF
43266 if ac_fn_cxx_try_compile "$LINENO"; then :
43267 glibcxx_cv_func_logl_use=yes
43268 else
43269 glibcxx_cv_func_logl_use=no
43271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43272 ac_ext=c
43273 ac_cpp='$CPP $CPPFLAGS'
43274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43283 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43285 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43286 for ac_func in logl
43287 do :
43288 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43289 if test "x$ac_cv_func_logl" = x""yes; then :
43290 cat >>confdefs.h <<_ACEOF
43291 #define HAVE_LOGL 1
43292 _ACEOF
43295 done
43297 else
43299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43300 $as_echo_n "checking for _logl declaration... " >&6; }
43301 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43302 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43303 $as_echo_n "(cached) " >&6
43304 else
43307 ac_ext=cpp
43308 ac_cpp='$CXXCPP $CPPFLAGS'
43309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43314 /* end confdefs.h. */
43315 #include <math.h>
43316 #ifdef HAVE_IEEEFP_H
43317 #include <ieeefp.h>
43318 #endif
43321 main ()
43323 _logl(0);
43325 return 0;
43327 _ACEOF
43328 if ac_fn_cxx_try_compile "$LINENO"; then :
43329 glibcxx_cv_func__logl_use=yes
43330 else
43331 glibcxx_cv_func__logl_use=no
43333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43334 ac_ext=c
43335 ac_cpp='$CPP $CPPFLAGS'
43336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43345 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43347 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43348 for ac_func in _logl
43349 do :
43350 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43351 if test "x$ac_cv_func__logl" = x""yes; then :
43352 cat >>confdefs.h <<_ACEOF
43353 #define HAVE__LOGL 1
43354 _ACEOF
43357 done
43366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43367 $as_echo_n "checking for log10l declaration... " >&6; }
43368 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43369 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43370 $as_echo_n "(cached) " >&6
43371 else
43374 ac_ext=cpp
43375 ac_cpp='$CXXCPP $CPPFLAGS'
43376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43381 /* end confdefs.h. */
43382 #include <math.h>
43383 #ifdef HAVE_IEEEFP_H
43384 #include <ieeefp.h>
43385 #endif
43388 main ()
43390 log10l(0);
43392 return 0;
43394 _ACEOF
43395 if ac_fn_cxx_try_compile "$LINENO"; then :
43396 glibcxx_cv_func_log10l_use=yes
43397 else
43398 glibcxx_cv_func_log10l_use=no
43400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43401 ac_ext=c
43402 ac_cpp='$CPP $CPPFLAGS'
43403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43412 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43414 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43415 for ac_func in log10l
43416 do :
43417 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43418 if test "x$ac_cv_func_log10l" = x""yes; then :
43419 cat >>confdefs.h <<_ACEOF
43420 #define HAVE_LOG10L 1
43421 _ACEOF
43424 done
43426 else
43428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43429 $as_echo_n "checking for _log10l declaration... " >&6; }
43430 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43431 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43432 $as_echo_n "(cached) " >&6
43433 else
43436 ac_ext=cpp
43437 ac_cpp='$CXXCPP $CPPFLAGS'
43438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43443 /* end confdefs.h. */
43444 #include <math.h>
43445 #ifdef HAVE_IEEEFP_H
43446 #include <ieeefp.h>
43447 #endif
43450 main ()
43452 _log10l(0);
43454 return 0;
43456 _ACEOF
43457 if ac_fn_cxx_try_compile "$LINENO"; then :
43458 glibcxx_cv_func__log10l_use=yes
43459 else
43460 glibcxx_cv_func__log10l_use=no
43462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43463 ac_ext=c
43464 ac_cpp='$CPP $CPPFLAGS'
43465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43474 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43476 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43477 for ac_func in _log10l
43478 do :
43479 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43480 if test "x$ac_cv_func__log10l" = x""yes; then :
43481 cat >>confdefs.h <<_ACEOF
43482 #define HAVE__LOG10L 1
43483 _ACEOF
43486 done
43495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43496 $as_echo_n "checking for modfl declaration... " >&6; }
43497 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43498 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43499 $as_echo_n "(cached) " >&6
43500 else
43503 ac_ext=cpp
43504 ac_cpp='$CXXCPP $CPPFLAGS'
43505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43510 /* end confdefs.h. */
43511 #include <math.h>
43513 main ()
43515 modfl(0, 0);
43517 return 0;
43519 _ACEOF
43520 if ac_fn_cxx_try_compile "$LINENO"; then :
43521 glibcxx_cv_func_modfl_use=yes
43522 else
43523 glibcxx_cv_func_modfl_use=no
43525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43526 ac_ext=c
43527 ac_cpp='$CPP $CPPFLAGS'
43528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43537 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43539 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43540 for ac_func in modfl
43541 do :
43542 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43543 if test "x$ac_cv_func_modfl" = x""yes; then :
43544 cat >>confdefs.h <<_ACEOF
43545 #define HAVE_MODFL 1
43546 _ACEOF
43549 done
43551 else
43553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43554 $as_echo_n "checking for _modfl declaration... " >&6; }
43555 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43556 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43557 $as_echo_n "(cached) " >&6
43558 else
43561 ac_ext=cpp
43562 ac_cpp='$CXXCPP $CPPFLAGS'
43563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43568 /* end confdefs.h. */
43569 #include <math.h>
43571 main ()
43573 _modfl(0, 0);
43575 return 0;
43577 _ACEOF
43578 if ac_fn_cxx_try_compile "$LINENO"; then :
43579 glibcxx_cv_func__modfl_use=yes
43580 else
43581 glibcxx_cv_func__modfl_use=no
43583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43584 ac_ext=c
43585 ac_cpp='$CPP $CPPFLAGS'
43586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43595 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43597 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43598 for ac_func in _modfl
43599 do :
43600 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43601 if test "x$ac_cv_func__modfl" = x""yes; then :
43602 cat >>confdefs.h <<_ACEOF
43603 #define HAVE__MODFL 1
43604 _ACEOF
43607 done
43616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43617 $as_echo_n "checking for powl declaration... " >&6; }
43618 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43619 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43620 $as_echo_n "(cached) " >&6
43621 else
43624 ac_ext=cpp
43625 ac_cpp='$CXXCPP $CPPFLAGS'
43626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43631 /* end confdefs.h. */
43632 #include <math.h>
43634 main ()
43636 powl(0, 0);
43638 return 0;
43640 _ACEOF
43641 if ac_fn_cxx_try_compile "$LINENO"; then :
43642 glibcxx_cv_func_powl_use=yes
43643 else
43644 glibcxx_cv_func_powl_use=no
43646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43647 ac_ext=c
43648 ac_cpp='$CPP $CPPFLAGS'
43649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43658 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43660 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43661 for ac_func in powl
43662 do :
43663 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43664 if test "x$ac_cv_func_powl" = x""yes; then :
43665 cat >>confdefs.h <<_ACEOF
43666 #define HAVE_POWL 1
43667 _ACEOF
43670 done
43672 else
43674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43675 $as_echo_n "checking for _powl declaration... " >&6; }
43676 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43677 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43678 $as_echo_n "(cached) " >&6
43679 else
43682 ac_ext=cpp
43683 ac_cpp='$CXXCPP $CPPFLAGS'
43684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43689 /* end confdefs.h. */
43690 #include <math.h>
43692 main ()
43694 _powl(0, 0);
43696 return 0;
43698 _ACEOF
43699 if ac_fn_cxx_try_compile "$LINENO"; then :
43700 glibcxx_cv_func__powl_use=yes
43701 else
43702 glibcxx_cv_func__powl_use=no
43704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43705 ac_ext=c
43706 ac_cpp='$CPP $CPPFLAGS'
43707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43716 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43718 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43719 for ac_func in _powl
43720 do :
43721 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43722 if test "x$ac_cv_func__powl" = x""yes; then :
43723 cat >>confdefs.h <<_ACEOF
43724 #define HAVE__POWL 1
43725 _ACEOF
43728 done
43737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43738 $as_echo_n "checking for sqrtl declaration... " >&6; }
43739 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43740 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43741 $as_echo_n "(cached) " >&6
43742 else
43745 ac_ext=cpp
43746 ac_cpp='$CXXCPP $CPPFLAGS'
43747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43752 /* end confdefs.h. */
43753 #include <math.h>
43754 #ifdef HAVE_IEEEFP_H
43755 #include <ieeefp.h>
43756 #endif
43759 main ()
43761 sqrtl(0);
43763 return 0;
43765 _ACEOF
43766 if ac_fn_cxx_try_compile "$LINENO"; then :
43767 glibcxx_cv_func_sqrtl_use=yes
43768 else
43769 glibcxx_cv_func_sqrtl_use=no
43771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43772 ac_ext=c
43773 ac_cpp='$CPP $CPPFLAGS'
43774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43783 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43785 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43786 for ac_func in sqrtl
43787 do :
43788 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43789 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43790 cat >>confdefs.h <<_ACEOF
43791 #define HAVE_SQRTL 1
43792 _ACEOF
43795 done
43797 else
43799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43800 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43801 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43802 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43803 $as_echo_n "(cached) " >&6
43804 else
43807 ac_ext=cpp
43808 ac_cpp='$CXXCPP $CPPFLAGS'
43809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43814 /* end confdefs.h. */
43815 #include <math.h>
43816 #ifdef HAVE_IEEEFP_H
43817 #include <ieeefp.h>
43818 #endif
43821 main ()
43823 _sqrtl(0);
43825 return 0;
43827 _ACEOF
43828 if ac_fn_cxx_try_compile "$LINENO"; then :
43829 glibcxx_cv_func__sqrtl_use=yes
43830 else
43831 glibcxx_cv_func__sqrtl_use=no
43833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43834 ac_ext=c
43835 ac_cpp='$CPP $CPPFLAGS'
43836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43845 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43847 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43848 for ac_func in _sqrtl
43849 do :
43850 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43851 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43852 cat >>confdefs.h <<_ACEOF
43853 #define HAVE__SQRTL 1
43854 _ACEOF
43857 done
43866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43867 $as_echo_n "checking for sincosl declaration... " >&6; }
43868 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43869 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43870 $as_echo_n "(cached) " >&6
43871 else
43874 ac_ext=cpp
43875 ac_cpp='$CXXCPP $CPPFLAGS'
43876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43881 /* end confdefs.h. */
43882 #include <math.h>
43884 main ()
43886 sincosl(0, 0, 0);
43888 return 0;
43890 _ACEOF
43891 if ac_fn_cxx_try_compile "$LINENO"; then :
43892 glibcxx_cv_func_sincosl_use=yes
43893 else
43894 glibcxx_cv_func_sincosl_use=no
43896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43897 ac_ext=c
43898 ac_cpp='$CPP $CPPFLAGS'
43899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43908 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43910 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43911 for ac_func in sincosl
43912 do :
43913 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43914 if test "x$ac_cv_func_sincosl" = x""yes; then :
43915 cat >>confdefs.h <<_ACEOF
43916 #define HAVE_SINCOSL 1
43917 _ACEOF
43920 done
43922 else
43924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43925 $as_echo_n "checking for _sincosl declaration... " >&6; }
43926 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43927 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43928 $as_echo_n "(cached) " >&6
43929 else
43932 ac_ext=cpp
43933 ac_cpp='$CXXCPP $CPPFLAGS'
43934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43939 /* end confdefs.h. */
43940 #include <math.h>
43942 main ()
43944 _sincosl(0, 0, 0);
43946 return 0;
43948 _ACEOF
43949 if ac_fn_cxx_try_compile "$LINENO"; then :
43950 glibcxx_cv_func__sincosl_use=yes
43951 else
43952 glibcxx_cv_func__sincosl_use=no
43954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43955 ac_ext=c
43956 ac_cpp='$CPP $CPPFLAGS'
43957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43966 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43968 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43969 for ac_func in _sincosl
43970 do :
43971 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43972 if test "x$ac_cv_func__sincosl" = x""yes; then :
43973 cat >>confdefs.h <<_ACEOF
43974 #define HAVE__SINCOSL 1
43975 _ACEOF
43978 done
43987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43988 $as_echo_n "checking for finitel declaration... " >&6; }
43989 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43990 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43991 $as_echo_n "(cached) " >&6
43992 else
43995 ac_ext=cpp
43996 ac_cpp='$CXXCPP $CPPFLAGS'
43997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44002 /* end confdefs.h. */
44003 #include <math.h>
44004 #ifdef HAVE_IEEEFP_H
44005 #include <ieeefp.h>
44006 #endif
44009 main ()
44011 finitel(0);
44013 return 0;
44015 _ACEOF
44016 if ac_fn_cxx_try_compile "$LINENO"; then :
44017 glibcxx_cv_func_finitel_use=yes
44018 else
44019 glibcxx_cv_func_finitel_use=no
44021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44022 ac_ext=c
44023 ac_cpp='$CPP $CPPFLAGS'
44024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44033 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44035 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44036 for ac_func in finitel
44037 do :
44038 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44039 if test "x$ac_cv_func_finitel" = x""yes; then :
44040 cat >>confdefs.h <<_ACEOF
44041 #define HAVE_FINITEL 1
44042 _ACEOF
44045 done
44047 else
44049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44050 $as_echo_n "checking for _finitel declaration... " >&6; }
44051 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44052 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44053 $as_echo_n "(cached) " >&6
44054 else
44057 ac_ext=cpp
44058 ac_cpp='$CXXCPP $CPPFLAGS'
44059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44064 /* end confdefs.h. */
44065 #include <math.h>
44066 #ifdef HAVE_IEEEFP_H
44067 #include <ieeefp.h>
44068 #endif
44071 main ()
44073 _finitel(0);
44075 return 0;
44077 _ACEOF
44078 if ac_fn_cxx_try_compile "$LINENO"; then :
44079 glibcxx_cv_func__finitel_use=yes
44080 else
44081 glibcxx_cv_func__finitel_use=no
44083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44084 ac_ext=c
44085 ac_cpp='$CPP $CPPFLAGS'
44086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44095 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44097 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44098 for ac_func in _finitel
44099 do :
44100 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44101 if test "x$ac_cv_func__finitel" = x""yes; then :
44102 cat >>confdefs.h <<_ACEOF
44103 #define HAVE__FINITEL 1
44104 _ACEOF
44107 done
44115 LIBS="$ac_save_LIBS"
44116 CXXFLAGS="$ac_save_CXXFLAGS"
44119 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44120 ac_save_CXXFLAGS="$CXXFLAGS"
44121 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44125 $as_echo_n "checking for strtold declaration... " >&6; }
44126 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44127 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44128 $as_echo_n "(cached) " >&6
44129 else
44132 ac_ext=cpp
44133 ac_cpp='$CXXCPP $CPPFLAGS'
44134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44139 /* end confdefs.h. */
44140 #include <stdlib.h>
44142 main ()
44144 strtold(0, 0);
44146 return 0;
44148 _ACEOF
44149 if ac_fn_cxx_try_compile "$LINENO"; then :
44150 glibcxx_cv_func_strtold_use=yes
44151 else
44152 glibcxx_cv_func_strtold_use=no
44154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44155 ac_ext=c
44156 ac_cpp='$CPP $CPPFLAGS'
44157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44166 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44167 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44168 for ac_func in strtold
44169 do :
44170 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44171 if test "x$ac_cv_func_strtold" = x""yes; then :
44172 cat >>confdefs.h <<_ACEOF
44173 #define HAVE_STRTOLD 1
44174 _ACEOF
44177 done
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44185 $as_echo_n "checking for strtof declaration... " >&6; }
44186 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44187 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44188 $as_echo_n "(cached) " >&6
44189 else
44192 ac_ext=cpp
44193 ac_cpp='$CXXCPP $CPPFLAGS'
44194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44199 /* end confdefs.h. */
44200 #include <stdlib.h>
44202 main ()
44204 strtof(0, 0);
44206 return 0;
44208 _ACEOF
44209 if ac_fn_cxx_try_compile "$LINENO"; then :
44210 glibcxx_cv_func_strtof_use=yes
44211 else
44212 glibcxx_cv_func_strtof_use=no
44214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44215 ac_ext=c
44216 ac_cpp='$CPP $CPPFLAGS'
44217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44226 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44227 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44228 for ac_func in strtof
44229 do :
44230 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44231 if test "x$ac_cv_func_strtof" = x""yes; then :
44232 cat >>confdefs.h <<_ACEOF
44233 #define HAVE_STRTOF 1
44234 _ACEOF
44237 done
44244 CXXFLAGS="$ac_save_CXXFLAGS"
44248 *djgpp)
44249 # GLIBCXX_CHECK_MATH_SUPPORT
44250 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44252 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44254 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44256 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44258 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44262 *-freebsd*)
44263 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44266 # If we're not using GNU ld, then there's no point in even trying these
44267 # tests. Check for that first. We should have already tested for gld
44268 # by now (in libtool), but require it now just to be safe...
44269 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44270 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44274 # The name set by libtool depends on the version of libtool. Shame on us
44275 # for depending on an impl detail, but c'est la vie. Older versions used
44276 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44277 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44278 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44279 # set (hence we're using an older libtool), then set it.
44280 if test x${with_gnu_ld+set} != xset; then
44281 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44282 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44283 with_gnu_ld=no
44284 else
44285 with_gnu_ld=$ac_cv_prog_gnu_ld
44289 # Start by getting the version number. I think the libtool test already
44290 # does some of this, but throws away the result.
44291 glibcxx_ld_is_gold=no
44292 if test x"$with_gnu_ld" = x"yes"; then
44293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44294 $as_echo_n "checking for ld version... " >&6; }
44296 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44297 glibcxx_ld_is_gold=yes
44299 ldver=`$LD --version 2>/dev/null |
44300 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'`
44302 glibcxx_gnu_ld_version=`echo $ldver | \
44303 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44305 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44308 # Set --gc-sections.
44309 glibcxx_have_gc_sections=no
44310 if test "$glibcxx_ld_is_gold" = "yes"; then
44311 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44312 glibcxx_have_gc_sections=yes
44314 else
44315 glibcxx_gcsections_min_ld=21602
44316 if test x"$with_gnu_ld" = x"yes" &&
44317 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44318 glibcxx_have_gc_sections=yes
44321 if test "$glibcxx_have_gc_sections" = "yes"; then
44322 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44323 # NB: This flag only works reliably after 2.16.1. Configure tests
44324 # for this are difficult, so hard wire a value that should work.
44326 ac_test_CFLAGS="${CFLAGS+set}"
44327 ac_save_CFLAGS="$CFLAGS"
44328 CFLAGS='-Wl,--gc-sections'
44330 # Check for -Wl,--gc-sections
44331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44332 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44333 if test x$gcc_no_link = xyes; then
44334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44337 /* end confdefs.h. */
44338 int one(void) { return 1; }
44339 int two(void) { return 2; }
44342 main ()
44344 two();
44346 return 0;
44348 _ACEOF
44349 if ac_fn_c_try_link "$LINENO"; then :
44350 ac_gcsections=yes
44351 else
44352 ac_gcsections=no
44354 rm -f core conftest.err conftest.$ac_objext \
44355 conftest$ac_exeext conftest.$ac_ext
44356 if test "$ac_gcsections" = "yes"; then
44357 rm -f conftest.c
44358 touch conftest.c
44359 if $CC -c conftest.c; then
44360 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44361 grep "Warning: gc-sections option ignored" > /dev/null; then
44362 ac_gcsections=no
44365 rm -f conftest.c conftest.o conftest
44367 if test "$ac_gcsections" = "yes"; then
44368 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44371 $as_echo "$ac_gcsections" >&6; }
44373 if test "$ac_test_CFLAGS" = set; then
44374 CFLAGS="$ac_save_CFLAGS"
44375 else
44376 # this is the suspicious part
44377 CFLAGS=''
44381 # Set -z,relro.
44382 # Note this is only for shared objects.
44383 ac_ld_relro=no
44384 if test x"$with_gnu_ld" = x"yes"; then
44385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44386 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44387 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44388 if test -n "$cxx_z_relo"; then
44389 OPT_LDFLAGS="-Wl,-z,relro"
44390 ac_ld_relro=yes
44392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44393 $as_echo "$ac_ld_relro" >&6; }
44396 # Set linker optimization flags.
44397 if test x"$with_gnu_ld" = x"yes"; then
44398 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44404 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44406 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44408 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44410 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44412 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44414 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44416 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44418 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44420 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44423 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44425 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44427 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44429 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44431 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44433 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44435 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44437 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44439 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44441 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44443 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44445 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44447 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44449 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44451 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44453 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44455 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44457 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44459 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44461 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44463 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44465 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44467 if test x"long_double_math_on_this_cpu" = x"yes"; then
44468 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44470 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44472 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44476 *-hpux*)
44477 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44480 # If we're not using GNU ld, then there's no point in even trying these
44481 # tests. Check for that first. We should have already tested for gld
44482 # by now (in libtool), but require it now just to be safe...
44483 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44484 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44488 # The name set by libtool depends on the version of libtool. Shame on us
44489 # for depending on an impl detail, but c'est la vie. Older versions used
44490 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44491 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44492 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44493 # set (hence we're using an older libtool), then set it.
44494 if test x${with_gnu_ld+set} != xset; then
44495 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44496 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44497 with_gnu_ld=no
44498 else
44499 with_gnu_ld=$ac_cv_prog_gnu_ld
44503 # Start by getting the version number. I think the libtool test already
44504 # does some of this, but throws away the result.
44505 glibcxx_ld_is_gold=no
44506 if test x"$with_gnu_ld" = x"yes"; then
44507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44508 $as_echo_n "checking for ld version... " >&6; }
44510 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44511 glibcxx_ld_is_gold=yes
44513 ldver=`$LD --version 2>/dev/null |
44514 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'`
44516 glibcxx_gnu_ld_version=`echo $ldver | \
44517 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44519 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44522 # Set --gc-sections.
44523 glibcxx_have_gc_sections=no
44524 if test "$glibcxx_ld_is_gold" = "yes"; then
44525 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44526 glibcxx_have_gc_sections=yes
44528 else
44529 glibcxx_gcsections_min_ld=21602
44530 if test x"$with_gnu_ld" = x"yes" &&
44531 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44532 glibcxx_have_gc_sections=yes
44535 if test "$glibcxx_have_gc_sections" = "yes"; then
44536 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44537 # NB: This flag only works reliably after 2.16.1. Configure tests
44538 # for this are difficult, so hard wire a value that should work.
44540 ac_test_CFLAGS="${CFLAGS+set}"
44541 ac_save_CFLAGS="$CFLAGS"
44542 CFLAGS='-Wl,--gc-sections'
44544 # Check for -Wl,--gc-sections
44545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44546 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44547 if test x$gcc_no_link = xyes; then
44548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44551 /* end confdefs.h. */
44552 int one(void) { return 1; }
44553 int two(void) { return 2; }
44556 main ()
44558 two();
44560 return 0;
44562 _ACEOF
44563 if ac_fn_c_try_link "$LINENO"; then :
44564 ac_gcsections=yes
44565 else
44566 ac_gcsections=no
44568 rm -f core conftest.err conftest.$ac_objext \
44569 conftest$ac_exeext conftest.$ac_ext
44570 if test "$ac_gcsections" = "yes"; then
44571 rm -f conftest.c
44572 touch conftest.c
44573 if $CC -c conftest.c; then
44574 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44575 grep "Warning: gc-sections option ignored" > /dev/null; then
44576 ac_gcsections=no
44579 rm -f conftest.c conftest.o conftest
44581 if test "$ac_gcsections" = "yes"; then
44582 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44585 $as_echo "$ac_gcsections" >&6; }
44587 if test "$ac_test_CFLAGS" = set; then
44588 CFLAGS="$ac_save_CFLAGS"
44589 else
44590 # this is the suspicious part
44591 CFLAGS=''
44595 # Set -z,relro.
44596 # Note this is only for shared objects.
44597 ac_ld_relro=no
44598 if test x"$with_gnu_ld" = x"yes"; then
44599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44600 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44601 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44602 if test -n "$cxx_z_relo"; then
44603 OPT_LDFLAGS="-Wl,-z,relro"
44604 ac_ld_relro=yes
44606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44607 $as_echo "$ac_ld_relro" >&6; }
44610 # Set linker optimization flags.
44611 if test x"$with_gnu_ld" = x"yes"; then
44612 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44619 # GLIBCXX_CHECK_MATH_SUPPORT
44620 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44622 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44624 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44626 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44628 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44630 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44632 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44634 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44636 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44638 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44640 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44642 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44644 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44646 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44648 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44650 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44652 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44654 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44656 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44658 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44660 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44663 # GLIBCXX_CHECK_STDLIB_SUPPORT
44664 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44669 # Check whether --enable-tls was given.
44670 if test "${enable_tls+set}" = set; then :
44671 enableval=$enable_tls;
44672 case "$enableval" in
44673 yes|no) ;;
44674 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44675 esac
44677 else
44678 enable_tls=yes
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44683 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44684 if test "${gcc_cv_have_tls+set}" = set; then :
44685 $as_echo_n "(cached) " >&6
44686 else
44688 if test "$cross_compiling" = yes; then :
44689 if test x$gcc_no_link = xyes; then
44690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44693 /* end confdefs.h. */
44694 __thread int a; int b; int main() { return a = b; }
44695 _ACEOF
44696 if ac_fn_c_try_link "$LINENO"; then :
44697 chktls_save_LDFLAGS="$LDFLAGS"
44698 case $host in
44699 *-*-linux*)
44700 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44702 esac
44703 chktls_save_CFLAGS="$CFLAGS"
44704 CFLAGS="-fPIC $CFLAGS"
44705 if test x$gcc_no_link = xyes; then
44706 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44709 /* end confdefs.h. */
44710 int f() { return 0; }
44711 _ACEOF
44712 if ac_fn_c_try_link "$LINENO"; then :
44713 if test x$gcc_no_link = xyes; then
44714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44717 /* end confdefs.h. */
44718 __thread int a; int b; int f() { return a = b; }
44719 _ACEOF
44720 if ac_fn_c_try_link "$LINENO"; then :
44721 gcc_cv_have_tls=yes
44722 else
44723 gcc_cv_have_tls=no
44725 rm -f core conftest.err conftest.$ac_objext \
44726 conftest$ac_exeext conftest.$ac_ext
44727 else
44728 gcc_cv_have_tls=yes
44730 rm -f core conftest.err conftest.$ac_objext \
44731 conftest$ac_exeext conftest.$ac_ext
44732 CFLAGS="$chktls_save_CFLAGS"
44733 LDFLAGS="$chktls_save_LDFLAGS"
44734 else
44735 gcc_cv_have_tls=no
44737 rm -f core conftest.err conftest.$ac_objext \
44738 conftest$ac_exeext conftest.$ac_ext
44741 else
44742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44743 /* end confdefs.h. */
44744 __thread int a; int b; int main() { return a = b; }
44745 _ACEOF
44746 if ac_fn_c_try_run "$LINENO"; then :
44747 chktls_save_LDFLAGS="$LDFLAGS"
44748 LDFLAGS="-static $LDFLAGS"
44749 if test x$gcc_no_link = xyes; then
44750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44753 /* end confdefs.h. */
44754 int main() { return 0; }
44755 _ACEOF
44756 if ac_fn_c_try_link "$LINENO"; then :
44757 if test "$cross_compiling" = yes; then :
44758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44760 as_fn_error "cannot run test program while cross compiling
44761 See \`config.log' for more details." "$LINENO" 5; }
44762 else
44763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44764 /* end confdefs.h. */
44765 __thread int a; int b; int main() { return a = b; }
44766 _ACEOF
44767 if ac_fn_c_try_run "$LINENO"; then :
44768 gcc_cv_have_tls=yes
44769 else
44770 gcc_cv_have_tls=no
44772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44773 conftest.$ac_objext conftest.beam conftest.$ac_ext
44776 else
44777 gcc_cv_have_tls=yes
44779 rm -f core conftest.err conftest.$ac_objext \
44780 conftest$ac_exeext conftest.$ac_ext
44781 LDFLAGS="$chktls_save_LDFLAGS"
44782 if test $gcc_cv_have_tls = yes; then
44783 chktls_save_CFLAGS="$CFLAGS"
44784 thread_CFLAGS=failed
44785 for flag in '' '-pthread' '-lpthread'; do
44786 CFLAGS="$flag $chktls_save_CFLAGS"
44787 if test x$gcc_no_link = xyes; then
44788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44791 /* end confdefs.h. */
44792 #include <pthread.h>
44793 void *g(void *d) { return NULL; }
44795 main ()
44797 pthread_t t; pthread_create(&t,NULL,g,NULL);
44799 return 0;
44801 _ACEOF
44802 if ac_fn_c_try_link "$LINENO"; then :
44803 thread_CFLAGS="$flag"
44805 rm -f core conftest.err conftest.$ac_objext \
44806 conftest$ac_exeext conftest.$ac_ext
44807 if test "X$thread_CFLAGS" != Xfailed; then
44808 break
44810 done
44811 CFLAGS="$chktls_save_CFLAGS"
44812 if test "X$thread_CFLAGS" != Xfailed; then
44813 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44814 if test "$cross_compiling" = yes; then :
44815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44817 as_fn_error "cannot run test program while cross compiling
44818 See \`config.log' for more details." "$LINENO" 5; }
44819 else
44820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44821 /* end confdefs.h. */
44822 #include <pthread.h>
44823 __thread int a;
44824 static int *volatile a_in_other_thread;
44825 static void *
44826 thread_func (void *arg)
44828 a_in_other_thread = &a;
44829 return (void *)0;
44832 main ()
44834 pthread_t thread;
44835 void *thread_retval;
44836 int *volatile a_in_main_thread;
44837 a_in_main_thread = &a;
44838 if (pthread_create (&thread, (pthread_attr_t *)0,
44839 thread_func, (void *)0))
44840 return 0;
44841 if (pthread_join (thread, &thread_retval))
44842 return 0;
44843 return (a_in_other_thread == a_in_main_thread);
44845 return 0;
44847 _ACEOF
44848 if ac_fn_c_try_run "$LINENO"; then :
44849 gcc_cv_have_tls=yes
44850 else
44851 gcc_cv_have_tls=no
44853 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44854 conftest.$ac_objext conftest.beam conftest.$ac_ext
44857 CFLAGS="$chktls_save_CFLAGS"
44860 else
44861 gcc_cv_have_tls=no
44863 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44864 conftest.$ac_objext conftest.beam conftest.$ac_ext
44868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44869 $as_echo "$gcc_cv_have_tls" >&6; }
44870 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44872 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44875 case "$target" in
44876 *-hpux10*)
44877 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44879 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44881 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44883 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44885 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44888 esac
44890 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44892 # All these tests are for C++; save the language and the compiler flags.
44893 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44894 # found in GLIBCXX_CONFIGURE.
44896 ac_ext=cpp
44897 ac_cpp='$CXXCPP $CPPFLAGS'
44898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44902 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44903 ac_save_CXXFLAGS="$CXXFLAGS"
44905 # Check for maintainer-mode bits.
44906 if test x"$USE_MAINTAINER_MODE" = xno; then
44907 WERROR=''
44908 else
44909 WERROR='-Werror'
44912 # Check for -ffunction-sections -fdata-sections
44913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44914 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44915 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44917 /* end confdefs.h. */
44918 int foo; void bar() { };
44920 main ()
44924 return 0;
44926 _ACEOF
44927 if ac_fn_cxx_try_compile "$LINENO"; then :
44928 ac_fdsections=yes
44929 else
44930 ac_fdsections=no
44932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44933 if test "$ac_test_CXXFLAGS" = set; then
44934 CXXFLAGS="$ac_save_CXXFLAGS"
44935 else
44936 # this is the suspicious part
44937 CXXFLAGS=''
44939 if test x"$ac_fdsections" = x"yes"; then
44940 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44943 $as_echo "$ac_fdsections" >&6; }
44945 ac_ext=c
44946 ac_cpp='$CPP $CPPFLAGS'
44947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44955 # If we're not using GNU ld, then there's no point in even trying these
44956 # tests. Check for that first. We should have already tested for gld
44957 # by now (in libtool), but require it now just to be safe...
44958 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44959 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44963 # The name set by libtool depends on the version of libtool. Shame on us
44964 # for depending on an impl detail, but c'est la vie. Older versions used
44965 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44966 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44967 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44968 # set (hence we're using an older libtool), then set it.
44969 if test x${with_gnu_ld+set} != xset; then
44970 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44971 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44972 with_gnu_ld=no
44973 else
44974 with_gnu_ld=$ac_cv_prog_gnu_ld
44978 # Start by getting the version number. I think the libtool test already
44979 # does some of this, but throws away the result.
44980 glibcxx_ld_is_gold=no
44981 if test x"$with_gnu_ld" = x"yes"; then
44982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44983 $as_echo_n "checking for ld version... " >&6; }
44985 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44986 glibcxx_ld_is_gold=yes
44988 ldver=`$LD --version 2>/dev/null |
44989 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'`
44991 glibcxx_gnu_ld_version=`echo $ldver | \
44992 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44994 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44997 # Set --gc-sections.
44998 glibcxx_have_gc_sections=no
44999 if test "$glibcxx_ld_is_gold" = "yes"; then
45000 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45001 glibcxx_have_gc_sections=yes
45003 else
45004 glibcxx_gcsections_min_ld=21602
45005 if test x"$with_gnu_ld" = x"yes" &&
45006 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45007 glibcxx_have_gc_sections=yes
45010 if test "$glibcxx_have_gc_sections" = "yes"; then
45011 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45012 # NB: This flag only works reliably after 2.16.1. Configure tests
45013 # for this are difficult, so hard wire a value that should work.
45015 ac_test_CFLAGS="${CFLAGS+set}"
45016 ac_save_CFLAGS="$CFLAGS"
45017 CFLAGS='-Wl,--gc-sections'
45019 # Check for -Wl,--gc-sections
45020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45021 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45022 if test x$gcc_no_link = xyes; then
45023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45026 /* end confdefs.h. */
45027 int one(void) { return 1; }
45028 int two(void) { return 2; }
45031 main ()
45033 two();
45035 return 0;
45037 _ACEOF
45038 if ac_fn_c_try_link "$LINENO"; then :
45039 ac_gcsections=yes
45040 else
45041 ac_gcsections=no
45043 rm -f core conftest.err conftest.$ac_objext \
45044 conftest$ac_exeext conftest.$ac_ext
45045 if test "$ac_gcsections" = "yes"; then
45046 rm -f conftest.c
45047 touch conftest.c
45048 if $CC -c conftest.c; then
45049 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45050 grep "Warning: gc-sections option ignored" > /dev/null; then
45051 ac_gcsections=no
45054 rm -f conftest.c conftest.o conftest
45056 if test "$ac_gcsections" = "yes"; then
45057 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45060 $as_echo "$ac_gcsections" >&6; }
45062 if test "$ac_test_CFLAGS" = set; then
45063 CFLAGS="$ac_save_CFLAGS"
45064 else
45065 # this is the suspicious part
45066 CFLAGS=''
45070 # Set -z,relro.
45071 # Note this is only for shared objects.
45072 ac_ld_relro=no
45073 if test x"$with_gnu_ld" = x"yes"; then
45074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45075 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45076 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45077 if test -n "$cxx_z_relo"; then
45078 OPT_LDFLAGS="-Wl,-z,relro"
45079 ac_ld_relro=yes
45081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45082 $as_echo "$ac_ld_relro" >&6; }
45085 # Set linker optimization flags.
45086 if test x"$with_gnu_ld" = x"yes"; then
45087 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45094 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45095 ac_save_CXXFLAGS="$CXXFLAGS"
45096 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45099 $as_echo_n "checking for sin in -lm... " >&6; }
45100 if test "${ac_cv_lib_m_sin+set}" = set; then :
45101 $as_echo_n "(cached) " >&6
45102 else
45103 ac_check_lib_save_LIBS=$LIBS
45104 LIBS="-lm $LIBS"
45105 if test x$gcc_no_link = xyes; then
45106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45109 /* end confdefs.h. */
45111 /* Override any GCC internal prototype to avoid an error.
45112 Use char because int might match the return type of a GCC
45113 builtin and then its argument prototype would still apply. */
45114 #ifdef __cplusplus
45115 extern "C"
45116 #endif
45117 char sin ();
45119 main ()
45121 return sin ();
45123 return 0;
45125 _ACEOF
45126 if ac_fn_c_try_link "$LINENO"; then :
45127 ac_cv_lib_m_sin=yes
45128 else
45129 ac_cv_lib_m_sin=no
45131 rm -f core conftest.err conftest.$ac_objext \
45132 conftest$ac_exeext conftest.$ac_ext
45133 LIBS=$ac_check_lib_save_LIBS
45135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45136 $as_echo "$ac_cv_lib_m_sin" >&6; }
45137 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45138 libm="-lm"
45141 ac_save_LIBS="$LIBS"
45142 LIBS="$LIBS $libm"
45146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45147 $as_echo_n "checking for isinf declaration... " >&6; }
45148 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45149 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45150 $as_echo_n "(cached) " >&6
45151 else
45154 ac_ext=cpp
45155 ac_cpp='$CXXCPP $CPPFLAGS'
45156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45161 /* end confdefs.h. */
45162 #include <math.h>
45163 #ifdef HAVE_IEEEFP_H
45164 #include <ieeefp.h>
45165 #endif
45168 main ()
45170 isinf(0);
45172 return 0;
45174 _ACEOF
45175 if ac_fn_cxx_try_compile "$LINENO"; then :
45176 glibcxx_cv_func_isinf_use=yes
45177 else
45178 glibcxx_cv_func_isinf_use=no
45180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45181 ac_ext=c
45182 ac_cpp='$CPP $CPPFLAGS'
45183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45192 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45194 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45195 for ac_func in isinf
45196 do :
45197 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45198 if test "x$ac_cv_func_isinf" = x""yes; then :
45199 cat >>confdefs.h <<_ACEOF
45200 #define HAVE_ISINF 1
45201 _ACEOF
45204 done
45206 else
45208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45209 $as_echo_n "checking for _isinf declaration... " >&6; }
45210 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45211 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45212 $as_echo_n "(cached) " >&6
45213 else
45216 ac_ext=cpp
45217 ac_cpp='$CXXCPP $CPPFLAGS'
45218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45223 /* end confdefs.h. */
45224 #include <math.h>
45225 #ifdef HAVE_IEEEFP_H
45226 #include <ieeefp.h>
45227 #endif
45230 main ()
45232 _isinf(0);
45234 return 0;
45236 _ACEOF
45237 if ac_fn_cxx_try_compile "$LINENO"; then :
45238 glibcxx_cv_func__isinf_use=yes
45239 else
45240 glibcxx_cv_func__isinf_use=no
45242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45243 ac_ext=c
45244 ac_cpp='$CPP $CPPFLAGS'
45245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45254 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45256 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45257 for ac_func in _isinf
45258 do :
45259 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45260 if test "x$ac_cv_func__isinf" = x""yes; then :
45261 cat >>confdefs.h <<_ACEOF
45262 #define HAVE__ISINF 1
45263 _ACEOF
45266 done
45275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45276 $as_echo_n "checking for isnan declaration... " >&6; }
45277 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45278 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45279 $as_echo_n "(cached) " >&6
45280 else
45283 ac_ext=cpp
45284 ac_cpp='$CXXCPP $CPPFLAGS'
45285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45290 /* end confdefs.h. */
45291 #include <math.h>
45292 #ifdef HAVE_IEEEFP_H
45293 #include <ieeefp.h>
45294 #endif
45297 main ()
45299 isnan(0);
45301 return 0;
45303 _ACEOF
45304 if ac_fn_cxx_try_compile "$LINENO"; then :
45305 glibcxx_cv_func_isnan_use=yes
45306 else
45307 glibcxx_cv_func_isnan_use=no
45309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45310 ac_ext=c
45311 ac_cpp='$CPP $CPPFLAGS'
45312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45321 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45323 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45324 for ac_func in isnan
45325 do :
45326 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45327 if test "x$ac_cv_func_isnan" = x""yes; then :
45328 cat >>confdefs.h <<_ACEOF
45329 #define HAVE_ISNAN 1
45330 _ACEOF
45333 done
45335 else
45337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45338 $as_echo_n "checking for _isnan declaration... " >&6; }
45339 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45340 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45341 $as_echo_n "(cached) " >&6
45342 else
45345 ac_ext=cpp
45346 ac_cpp='$CXXCPP $CPPFLAGS'
45347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45352 /* end confdefs.h. */
45353 #include <math.h>
45354 #ifdef HAVE_IEEEFP_H
45355 #include <ieeefp.h>
45356 #endif
45359 main ()
45361 _isnan(0);
45363 return 0;
45365 _ACEOF
45366 if ac_fn_cxx_try_compile "$LINENO"; then :
45367 glibcxx_cv_func__isnan_use=yes
45368 else
45369 glibcxx_cv_func__isnan_use=no
45371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45372 ac_ext=c
45373 ac_cpp='$CPP $CPPFLAGS'
45374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45383 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45385 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45386 for ac_func in _isnan
45387 do :
45388 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45389 if test "x$ac_cv_func__isnan" = x""yes; then :
45390 cat >>confdefs.h <<_ACEOF
45391 #define HAVE__ISNAN 1
45392 _ACEOF
45395 done
45404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45405 $as_echo_n "checking for finite declaration... " >&6; }
45406 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45407 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45408 $as_echo_n "(cached) " >&6
45409 else
45412 ac_ext=cpp
45413 ac_cpp='$CXXCPP $CPPFLAGS'
45414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45419 /* end confdefs.h. */
45420 #include <math.h>
45421 #ifdef HAVE_IEEEFP_H
45422 #include <ieeefp.h>
45423 #endif
45426 main ()
45428 finite(0);
45430 return 0;
45432 _ACEOF
45433 if ac_fn_cxx_try_compile "$LINENO"; then :
45434 glibcxx_cv_func_finite_use=yes
45435 else
45436 glibcxx_cv_func_finite_use=no
45438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45439 ac_ext=c
45440 ac_cpp='$CPP $CPPFLAGS'
45441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45450 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45452 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45453 for ac_func in finite
45454 do :
45455 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45456 if test "x$ac_cv_func_finite" = x""yes; then :
45457 cat >>confdefs.h <<_ACEOF
45458 #define HAVE_FINITE 1
45459 _ACEOF
45462 done
45464 else
45466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45467 $as_echo_n "checking for _finite declaration... " >&6; }
45468 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45469 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45470 $as_echo_n "(cached) " >&6
45471 else
45474 ac_ext=cpp
45475 ac_cpp='$CXXCPP $CPPFLAGS'
45476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45481 /* end confdefs.h. */
45482 #include <math.h>
45483 #ifdef HAVE_IEEEFP_H
45484 #include <ieeefp.h>
45485 #endif
45488 main ()
45490 _finite(0);
45492 return 0;
45494 _ACEOF
45495 if ac_fn_cxx_try_compile "$LINENO"; then :
45496 glibcxx_cv_func__finite_use=yes
45497 else
45498 glibcxx_cv_func__finite_use=no
45500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45501 ac_ext=c
45502 ac_cpp='$CPP $CPPFLAGS'
45503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45512 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45514 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45515 for ac_func in _finite
45516 do :
45517 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45518 if test "x$ac_cv_func__finite" = x""yes; then :
45519 cat >>confdefs.h <<_ACEOF
45520 #define HAVE__FINITE 1
45521 _ACEOF
45524 done
45533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45534 $as_echo_n "checking for sincos declaration... " >&6; }
45535 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45536 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45537 $as_echo_n "(cached) " >&6
45538 else
45541 ac_ext=cpp
45542 ac_cpp='$CXXCPP $CPPFLAGS'
45543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45548 /* end confdefs.h. */
45549 #include <math.h>
45551 main ()
45553 sincos(0, 0, 0);
45555 return 0;
45557 _ACEOF
45558 if ac_fn_cxx_try_compile "$LINENO"; then :
45559 glibcxx_cv_func_sincos_use=yes
45560 else
45561 glibcxx_cv_func_sincos_use=no
45563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45564 ac_ext=c
45565 ac_cpp='$CPP $CPPFLAGS'
45566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45575 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45577 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45578 for ac_func in sincos
45579 do :
45580 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45581 if test "x$ac_cv_func_sincos" = x""yes; then :
45582 cat >>confdefs.h <<_ACEOF
45583 #define HAVE_SINCOS 1
45584 _ACEOF
45587 done
45589 else
45591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45592 $as_echo_n "checking for _sincos declaration... " >&6; }
45593 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45594 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45595 $as_echo_n "(cached) " >&6
45596 else
45599 ac_ext=cpp
45600 ac_cpp='$CXXCPP $CPPFLAGS'
45601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45606 /* end confdefs.h. */
45607 #include <math.h>
45609 main ()
45611 _sincos(0, 0, 0);
45613 return 0;
45615 _ACEOF
45616 if ac_fn_cxx_try_compile "$LINENO"; then :
45617 glibcxx_cv_func__sincos_use=yes
45618 else
45619 glibcxx_cv_func__sincos_use=no
45621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45622 ac_ext=c
45623 ac_cpp='$CPP $CPPFLAGS'
45624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45633 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45635 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45636 for ac_func in _sincos
45637 do :
45638 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45639 if test "x$ac_cv_func__sincos" = x""yes; then :
45640 cat >>confdefs.h <<_ACEOF
45641 #define HAVE__SINCOS 1
45642 _ACEOF
45645 done
45654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45655 $as_echo_n "checking for fpclass declaration... " >&6; }
45656 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45657 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45658 $as_echo_n "(cached) " >&6
45659 else
45662 ac_ext=cpp
45663 ac_cpp='$CXXCPP $CPPFLAGS'
45664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45669 /* end confdefs.h. */
45670 #include <math.h>
45671 #ifdef HAVE_IEEEFP_H
45672 #include <ieeefp.h>
45673 #endif
45676 main ()
45678 fpclass(0);
45680 return 0;
45682 _ACEOF
45683 if ac_fn_cxx_try_compile "$LINENO"; then :
45684 glibcxx_cv_func_fpclass_use=yes
45685 else
45686 glibcxx_cv_func_fpclass_use=no
45688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45689 ac_ext=c
45690 ac_cpp='$CPP $CPPFLAGS'
45691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45700 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45702 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45703 for ac_func in fpclass
45704 do :
45705 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45706 if test "x$ac_cv_func_fpclass" = x""yes; then :
45707 cat >>confdefs.h <<_ACEOF
45708 #define HAVE_FPCLASS 1
45709 _ACEOF
45712 done
45714 else
45716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45717 $as_echo_n "checking for _fpclass declaration... " >&6; }
45718 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45719 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45720 $as_echo_n "(cached) " >&6
45721 else
45724 ac_ext=cpp
45725 ac_cpp='$CXXCPP $CPPFLAGS'
45726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45731 /* end confdefs.h. */
45732 #include <math.h>
45733 #ifdef HAVE_IEEEFP_H
45734 #include <ieeefp.h>
45735 #endif
45738 main ()
45740 _fpclass(0);
45742 return 0;
45744 _ACEOF
45745 if ac_fn_cxx_try_compile "$LINENO"; then :
45746 glibcxx_cv_func__fpclass_use=yes
45747 else
45748 glibcxx_cv_func__fpclass_use=no
45750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45751 ac_ext=c
45752 ac_cpp='$CPP $CPPFLAGS'
45753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45762 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45764 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45765 for ac_func in _fpclass
45766 do :
45767 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45768 if test "x$ac_cv_func__fpclass" = x""yes; then :
45769 cat >>confdefs.h <<_ACEOF
45770 #define HAVE__FPCLASS 1
45771 _ACEOF
45774 done
45783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45784 $as_echo_n "checking for qfpclass declaration... " >&6; }
45785 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45786 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45787 $as_echo_n "(cached) " >&6
45788 else
45791 ac_ext=cpp
45792 ac_cpp='$CXXCPP $CPPFLAGS'
45793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45798 /* end confdefs.h. */
45799 #include <math.h>
45800 #ifdef HAVE_IEEEFP_H
45801 #include <ieeefp.h>
45802 #endif
45805 main ()
45807 qfpclass(0);
45809 return 0;
45811 _ACEOF
45812 if ac_fn_cxx_try_compile "$LINENO"; then :
45813 glibcxx_cv_func_qfpclass_use=yes
45814 else
45815 glibcxx_cv_func_qfpclass_use=no
45817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45818 ac_ext=c
45819 ac_cpp='$CPP $CPPFLAGS'
45820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45829 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45831 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45832 for ac_func in qfpclass
45833 do :
45834 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45835 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45836 cat >>confdefs.h <<_ACEOF
45837 #define HAVE_QFPCLASS 1
45838 _ACEOF
45841 done
45843 else
45845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45846 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45847 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45848 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45849 $as_echo_n "(cached) " >&6
45850 else
45853 ac_ext=cpp
45854 ac_cpp='$CXXCPP $CPPFLAGS'
45855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45860 /* end confdefs.h. */
45861 #include <math.h>
45862 #ifdef HAVE_IEEEFP_H
45863 #include <ieeefp.h>
45864 #endif
45867 main ()
45869 _qfpclass(0);
45871 return 0;
45873 _ACEOF
45874 if ac_fn_cxx_try_compile "$LINENO"; then :
45875 glibcxx_cv_func__qfpclass_use=yes
45876 else
45877 glibcxx_cv_func__qfpclass_use=no
45879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45880 ac_ext=c
45881 ac_cpp='$CPP $CPPFLAGS'
45882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45891 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45893 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45894 for ac_func in _qfpclass
45895 do :
45896 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45897 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45898 cat >>confdefs.h <<_ACEOF
45899 #define HAVE__QFPCLASS 1
45900 _ACEOF
45903 done
45912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45913 $as_echo_n "checking for hypot declaration... " >&6; }
45914 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45915 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45916 $as_echo_n "(cached) " >&6
45917 else
45920 ac_ext=cpp
45921 ac_cpp='$CXXCPP $CPPFLAGS'
45922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45927 /* end confdefs.h. */
45928 #include <math.h>
45930 main ()
45932 hypot(0, 0);
45934 return 0;
45936 _ACEOF
45937 if ac_fn_cxx_try_compile "$LINENO"; then :
45938 glibcxx_cv_func_hypot_use=yes
45939 else
45940 glibcxx_cv_func_hypot_use=no
45942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45943 ac_ext=c
45944 ac_cpp='$CPP $CPPFLAGS'
45945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45954 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45956 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45957 for ac_func in hypot
45958 do :
45959 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45960 if test "x$ac_cv_func_hypot" = x""yes; then :
45961 cat >>confdefs.h <<_ACEOF
45962 #define HAVE_HYPOT 1
45963 _ACEOF
45966 done
45968 else
45970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45971 $as_echo_n "checking for _hypot declaration... " >&6; }
45972 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45973 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45974 $as_echo_n "(cached) " >&6
45975 else
45978 ac_ext=cpp
45979 ac_cpp='$CXXCPP $CPPFLAGS'
45980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45985 /* end confdefs.h. */
45986 #include <math.h>
45988 main ()
45990 _hypot(0, 0);
45992 return 0;
45994 _ACEOF
45995 if ac_fn_cxx_try_compile "$LINENO"; then :
45996 glibcxx_cv_func__hypot_use=yes
45997 else
45998 glibcxx_cv_func__hypot_use=no
46000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46001 ac_ext=c
46002 ac_cpp='$CPP $CPPFLAGS'
46003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46012 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46014 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46015 for ac_func in _hypot
46016 do :
46017 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46018 if test "x$ac_cv_func__hypot" = x""yes; then :
46019 cat >>confdefs.h <<_ACEOF
46020 #define HAVE__HYPOT 1
46021 _ACEOF
46024 done
46033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46034 $as_echo_n "checking for float trig functions... " >&6; }
46035 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46036 $as_echo_n "(cached) " >&6
46037 else
46040 ac_ext=cpp
46041 ac_cpp='$CXXCPP $CPPFLAGS'
46042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46047 /* end confdefs.h. */
46048 #include <math.h>
46050 main ()
46052 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46054 return 0;
46056 _ACEOF
46057 if ac_fn_cxx_try_compile "$LINENO"; then :
46058 glibcxx_cv_func_float_trig_use=yes
46059 else
46060 glibcxx_cv_func_float_trig_use=no
46062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46063 ac_ext=c
46064 ac_cpp='$CPP $CPPFLAGS'
46065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46072 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46073 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46074 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46075 do :
46076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46078 eval as_val=\$$as_ac_var
46079 if test "x$as_val" = x""yes; then :
46080 cat >>confdefs.h <<_ACEOF
46081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46082 _ACEOF
46085 done
46087 else
46088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46089 $as_echo_n "checking for _float trig functions... " >&6; }
46090 if test "${glibcxx_cv_func__float_trig_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 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46109 return 0;
46111 _ACEOF
46112 if ac_fn_cxx_try_compile "$LINENO"; then :
46113 glibcxx_cv_func__float_trig_use=yes
46114 else
46115 glibcxx_cv_func__float_trig_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_trig_use" >&5
46127 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46128 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46129 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
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
46149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46150 $as_echo_n "checking for float round functions... " >&6; }
46151 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46152 $as_echo_n "(cached) " >&6
46153 else
46156 ac_ext=cpp
46157 ac_cpp='$CXXCPP $CPPFLAGS'
46158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46163 /* end confdefs.h. */
46164 #include <math.h>
46166 main ()
46168 ceilf (0); floorf (0);
46170 return 0;
46172 _ACEOF
46173 if ac_fn_cxx_try_compile "$LINENO"; then :
46174 glibcxx_cv_func_float_round_use=yes
46175 else
46176 glibcxx_cv_func_float_round_use=no
46178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46179 ac_ext=c
46180 ac_cpp='$CPP $CPPFLAGS'
46181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46188 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46189 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46190 for ac_func in ceilf floorf
46191 do :
46192 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46194 eval as_val=\$$as_ac_var
46195 if test "x$as_val" = x""yes; then :
46196 cat >>confdefs.h <<_ACEOF
46197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46198 _ACEOF
46201 done
46203 else
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46205 $as_echo_n "checking for _float round functions... " >&6; }
46206 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46207 $as_echo_n "(cached) " >&6
46208 else
46211 ac_ext=cpp
46212 ac_cpp='$CXXCPP $CPPFLAGS'
46213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46218 /* end confdefs.h. */
46219 #include <math.h>
46221 main ()
46223 _ceilf (0); _floorf (0);
46225 return 0;
46227 _ACEOF
46228 if ac_fn_cxx_try_compile "$LINENO"; then :
46229 glibcxx_cv_func__float_round_use=yes
46230 else
46231 glibcxx_cv_func__float_round_use=no
46233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46234 ac_ext=c
46235 ac_cpp='$CPP $CPPFLAGS'
46236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46243 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46244 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46245 for ac_func in _ceilf _floorf
46246 do :
46247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46249 eval as_val=\$$as_ac_var
46250 if test "x$as_val" = x""yes; then :
46251 cat >>confdefs.h <<_ACEOF
46252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46253 _ACEOF
46256 done
46266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46267 $as_echo_n "checking for expf declaration... " >&6; }
46268 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46269 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46270 $as_echo_n "(cached) " >&6
46271 else
46274 ac_ext=cpp
46275 ac_cpp='$CXXCPP $CPPFLAGS'
46276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46281 /* end confdefs.h. */
46282 #include <math.h>
46283 #ifdef HAVE_IEEEFP_H
46284 #include <ieeefp.h>
46285 #endif
46288 main ()
46290 expf(0);
46292 return 0;
46294 _ACEOF
46295 if ac_fn_cxx_try_compile "$LINENO"; then :
46296 glibcxx_cv_func_expf_use=yes
46297 else
46298 glibcxx_cv_func_expf_use=no
46300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46301 ac_ext=c
46302 ac_cpp='$CPP $CPPFLAGS'
46303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46312 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46314 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46315 for ac_func in expf
46316 do :
46317 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46318 if test "x$ac_cv_func_expf" = x""yes; then :
46319 cat >>confdefs.h <<_ACEOF
46320 #define HAVE_EXPF 1
46321 _ACEOF
46324 done
46326 else
46328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46329 $as_echo_n "checking for _expf declaration... " >&6; }
46330 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46331 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46332 $as_echo_n "(cached) " >&6
46333 else
46336 ac_ext=cpp
46337 ac_cpp='$CXXCPP $CPPFLAGS'
46338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46343 /* end confdefs.h. */
46344 #include <math.h>
46345 #ifdef HAVE_IEEEFP_H
46346 #include <ieeefp.h>
46347 #endif
46350 main ()
46352 _expf(0);
46354 return 0;
46356 _ACEOF
46357 if ac_fn_cxx_try_compile "$LINENO"; then :
46358 glibcxx_cv_func__expf_use=yes
46359 else
46360 glibcxx_cv_func__expf_use=no
46362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46363 ac_ext=c
46364 ac_cpp='$CPP $CPPFLAGS'
46365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46374 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46376 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46377 for ac_func in _expf
46378 do :
46379 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46380 if test "x$ac_cv_func__expf" = x""yes; then :
46381 cat >>confdefs.h <<_ACEOF
46382 #define HAVE__EXPF 1
46383 _ACEOF
46386 done
46395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46396 $as_echo_n "checking for isnanf declaration... " >&6; }
46397 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46398 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46399 $as_echo_n "(cached) " >&6
46400 else
46403 ac_ext=cpp
46404 ac_cpp='$CXXCPP $CPPFLAGS'
46405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46410 /* end confdefs.h. */
46411 #include <math.h>
46412 #ifdef HAVE_IEEEFP_H
46413 #include <ieeefp.h>
46414 #endif
46417 main ()
46419 isnanf(0);
46421 return 0;
46423 _ACEOF
46424 if ac_fn_cxx_try_compile "$LINENO"; then :
46425 glibcxx_cv_func_isnanf_use=yes
46426 else
46427 glibcxx_cv_func_isnanf_use=no
46429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46430 ac_ext=c
46431 ac_cpp='$CPP $CPPFLAGS'
46432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46441 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46443 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46444 for ac_func in isnanf
46445 do :
46446 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46447 if test "x$ac_cv_func_isnanf" = x""yes; then :
46448 cat >>confdefs.h <<_ACEOF
46449 #define HAVE_ISNANF 1
46450 _ACEOF
46453 done
46455 else
46457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46458 $as_echo_n "checking for _isnanf declaration... " >&6; }
46459 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46460 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46461 $as_echo_n "(cached) " >&6
46462 else
46465 ac_ext=cpp
46466 ac_cpp='$CXXCPP $CPPFLAGS'
46467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46472 /* end confdefs.h. */
46473 #include <math.h>
46474 #ifdef HAVE_IEEEFP_H
46475 #include <ieeefp.h>
46476 #endif
46479 main ()
46481 _isnanf(0);
46483 return 0;
46485 _ACEOF
46486 if ac_fn_cxx_try_compile "$LINENO"; then :
46487 glibcxx_cv_func__isnanf_use=yes
46488 else
46489 glibcxx_cv_func__isnanf_use=no
46491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46492 ac_ext=c
46493 ac_cpp='$CPP $CPPFLAGS'
46494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46503 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46505 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46506 for ac_func in _isnanf
46507 do :
46508 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46509 if test "x$ac_cv_func__isnanf" = x""yes; then :
46510 cat >>confdefs.h <<_ACEOF
46511 #define HAVE__ISNANF 1
46512 _ACEOF
46515 done
46524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46525 $as_echo_n "checking for isinff declaration... " >&6; }
46526 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46527 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46528 $as_echo_n "(cached) " >&6
46529 else
46532 ac_ext=cpp
46533 ac_cpp='$CXXCPP $CPPFLAGS'
46534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46539 /* end confdefs.h. */
46540 #include <math.h>
46541 #ifdef HAVE_IEEEFP_H
46542 #include <ieeefp.h>
46543 #endif
46546 main ()
46548 isinff(0);
46550 return 0;
46552 _ACEOF
46553 if ac_fn_cxx_try_compile "$LINENO"; then :
46554 glibcxx_cv_func_isinff_use=yes
46555 else
46556 glibcxx_cv_func_isinff_use=no
46558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46559 ac_ext=c
46560 ac_cpp='$CPP $CPPFLAGS'
46561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46570 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46572 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46573 for ac_func in isinff
46574 do :
46575 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46576 if test "x$ac_cv_func_isinff" = x""yes; then :
46577 cat >>confdefs.h <<_ACEOF
46578 #define HAVE_ISINFF 1
46579 _ACEOF
46582 done
46584 else
46586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46587 $as_echo_n "checking for _isinff declaration... " >&6; }
46588 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46589 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46590 $as_echo_n "(cached) " >&6
46591 else
46594 ac_ext=cpp
46595 ac_cpp='$CXXCPP $CPPFLAGS'
46596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46601 /* end confdefs.h. */
46602 #include <math.h>
46603 #ifdef HAVE_IEEEFP_H
46604 #include <ieeefp.h>
46605 #endif
46608 main ()
46610 _isinff(0);
46612 return 0;
46614 _ACEOF
46615 if ac_fn_cxx_try_compile "$LINENO"; then :
46616 glibcxx_cv_func__isinff_use=yes
46617 else
46618 glibcxx_cv_func__isinff_use=no
46620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46621 ac_ext=c
46622 ac_cpp='$CPP $CPPFLAGS'
46623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46632 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46634 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46635 for ac_func in _isinff
46636 do :
46637 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46638 if test "x$ac_cv_func__isinff" = x""yes; then :
46639 cat >>confdefs.h <<_ACEOF
46640 #define HAVE__ISINFF 1
46641 _ACEOF
46644 done
46653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46654 $as_echo_n "checking for atan2f declaration... " >&6; }
46655 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46656 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46657 $as_echo_n "(cached) " >&6
46658 else
46661 ac_ext=cpp
46662 ac_cpp='$CXXCPP $CPPFLAGS'
46663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46668 /* end confdefs.h. */
46669 #include <math.h>
46671 main ()
46673 atan2f(0, 0);
46675 return 0;
46677 _ACEOF
46678 if ac_fn_cxx_try_compile "$LINENO"; then :
46679 glibcxx_cv_func_atan2f_use=yes
46680 else
46681 glibcxx_cv_func_atan2f_use=no
46683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46684 ac_ext=c
46685 ac_cpp='$CPP $CPPFLAGS'
46686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46695 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46697 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46698 for ac_func in atan2f
46699 do :
46700 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46701 if test "x$ac_cv_func_atan2f" = x""yes; then :
46702 cat >>confdefs.h <<_ACEOF
46703 #define HAVE_ATAN2F 1
46704 _ACEOF
46707 done
46709 else
46711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46712 $as_echo_n "checking for _atan2f declaration... " >&6; }
46713 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46714 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46715 $as_echo_n "(cached) " >&6
46716 else
46719 ac_ext=cpp
46720 ac_cpp='$CXXCPP $CPPFLAGS'
46721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46726 /* end confdefs.h. */
46727 #include <math.h>
46729 main ()
46731 _atan2f(0, 0);
46733 return 0;
46735 _ACEOF
46736 if ac_fn_cxx_try_compile "$LINENO"; then :
46737 glibcxx_cv_func__atan2f_use=yes
46738 else
46739 glibcxx_cv_func__atan2f_use=no
46741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46742 ac_ext=c
46743 ac_cpp='$CPP $CPPFLAGS'
46744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46753 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46755 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46756 for ac_func in _atan2f
46757 do :
46758 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46759 if test "x$ac_cv_func__atan2f" = x""yes; then :
46760 cat >>confdefs.h <<_ACEOF
46761 #define HAVE__ATAN2F 1
46762 _ACEOF
46765 done
46774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46775 $as_echo_n "checking for fabsf declaration... " >&6; }
46776 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46777 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46778 $as_echo_n "(cached) " >&6
46779 else
46782 ac_ext=cpp
46783 ac_cpp='$CXXCPP $CPPFLAGS'
46784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46789 /* end confdefs.h. */
46790 #include <math.h>
46791 #ifdef HAVE_IEEEFP_H
46792 #include <ieeefp.h>
46793 #endif
46796 main ()
46798 fabsf(0);
46800 return 0;
46802 _ACEOF
46803 if ac_fn_cxx_try_compile "$LINENO"; then :
46804 glibcxx_cv_func_fabsf_use=yes
46805 else
46806 glibcxx_cv_func_fabsf_use=no
46808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46809 ac_ext=c
46810 ac_cpp='$CPP $CPPFLAGS'
46811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46820 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46822 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46823 for ac_func in fabsf
46824 do :
46825 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46826 if test "x$ac_cv_func_fabsf" = x""yes; then :
46827 cat >>confdefs.h <<_ACEOF
46828 #define HAVE_FABSF 1
46829 _ACEOF
46832 done
46834 else
46836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46837 $as_echo_n "checking for _fabsf declaration... " >&6; }
46838 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46839 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46840 $as_echo_n "(cached) " >&6
46841 else
46844 ac_ext=cpp
46845 ac_cpp='$CXXCPP $CPPFLAGS'
46846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46851 /* end confdefs.h. */
46852 #include <math.h>
46853 #ifdef HAVE_IEEEFP_H
46854 #include <ieeefp.h>
46855 #endif
46858 main ()
46860 _fabsf(0);
46862 return 0;
46864 _ACEOF
46865 if ac_fn_cxx_try_compile "$LINENO"; then :
46866 glibcxx_cv_func__fabsf_use=yes
46867 else
46868 glibcxx_cv_func__fabsf_use=no
46870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46871 ac_ext=c
46872 ac_cpp='$CPP $CPPFLAGS'
46873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46882 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46884 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46885 for ac_func in _fabsf
46886 do :
46887 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46888 if test "x$ac_cv_func__fabsf" = x""yes; then :
46889 cat >>confdefs.h <<_ACEOF
46890 #define HAVE__FABSF 1
46891 _ACEOF
46894 done
46903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46904 $as_echo_n "checking for fmodf declaration... " >&6; }
46905 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46906 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46907 $as_echo_n "(cached) " >&6
46908 else
46911 ac_ext=cpp
46912 ac_cpp='$CXXCPP $CPPFLAGS'
46913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46918 /* end confdefs.h. */
46919 #include <math.h>
46921 main ()
46923 fmodf(0, 0);
46925 return 0;
46927 _ACEOF
46928 if ac_fn_cxx_try_compile "$LINENO"; then :
46929 glibcxx_cv_func_fmodf_use=yes
46930 else
46931 glibcxx_cv_func_fmodf_use=no
46933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46934 ac_ext=c
46935 ac_cpp='$CPP $CPPFLAGS'
46936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46945 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46947 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46948 for ac_func in fmodf
46949 do :
46950 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46951 if test "x$ac_cv_func_fmodf" = x""yes; then :
46952 cat >>confdefs.h <<_ACEOF
46953 #define HAVE_FMODF 1
46954 _ACEOF
46957 done
46959 else
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46962 $as_echo_n "checking for _fmodf declaration... " >&6; }
46963 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46964 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46965 $as_echo_n "(cached) " >&6
46966 else
46969 ac_ext=cpp
46970 ac_cpp='$CXXCPP $CPPFLAGS'
46971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46976 /* end confdefs.h. */
46977 #include <math.h>
46979 main ()
46981 _fmodf(0, 0);
46983 return 0;
46985 _ACEOF
46986 if ac_fn_cxx_try_compile "$LINENO"; then :
46987 glibcxx_cv_func__fmodf_use=yes
46988 else
46989 glibcxx_cv_func__fmodf_use=no
46991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46992 ac_ext=c
46993 ac_cpp='$CPP $CPPFLAGS'
46994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47003 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47005 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47006 for ac_func in _fmodf
47007 do :
47008 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47009 if test "x$ac_cv_func__fmodf" = x""yes; then :
47010 cat >>confdefs.h <<_ACEOF
47011 #define HAVE__FMODF 1
47012 _ACEOF
47015 done
47024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47025 $as_echo_n "checking for frexpf declaration... " >&6; }
47026 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47027 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47028 $as_echo_n "(cached) " >&6
47029 else
47032 ac_ext=cpp
47033 ac_cpp='$CXXCPP $CPPFLAGS'
47034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47039 /* end confdefs.h. */
47040 #include <math.h>
47042 main ()
47044 frexpf(0, 0);
47046 return 0;
47048 _ACEOF
47049 if ac_fn_cxx_try_compile "$LINENO"; then :
47050 glibcxx_cv_func_frexpf_use=yes
47051 else
47052 glibcxx_cv_func_frexpf_use=no
47054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47055 ac_ext=c
47056 ac_cpp='$CPP $CPPFLAGS'
47057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47066 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47068 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47069 for ac_func in frexpf
47070 do :
47071 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47072 if test "x$ac_cv_func_frexpf" = x""yes; then :
47073 cat >>confdefs.h <<_ACEOF
47074 #define HAVE_FREXPF 1
47075 _ACEOF
47078 done
47080 else
47082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47083 $as_echo_n "checking for _frexpf declaration... " >&6; }
47084 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47085 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47086 $as_echo_n "(cached) " >&6
47087 else
47090 ac_ext=cpp
47091 ac_cpp='$CXXCPP $CPPFLAGS'
47092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47097 /* end confdefs.h. */
47098 #include <math.h>
47100 main ()
47102 _frexpf(0, 0);
47104 return 0;
47106 _ACEOF
47107 if ac_fn_cxx_try_compile "$LINENO"; then :
47108 glibcxx_cv_func__frexpf_use=yes
47109 else
47110 glibcxx_cv_func__frexpf_use=no
47112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47113 ac_ext=c
47114 ac_cpp='$CPP $CPPFLAGS'
47115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47124 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47126 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47127 for ac_func in _frexpf
47128 do :
47129 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47130 if test "x$ac_cv_func__frexpf" = x""yes; then :
47131 cat >>confdefs.h <<_ACEOF
47132 #define HAVE__FREXPF 1
47133 _ACEOF
47136 done
47145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47146 $as_echo_n "checking for hypotf declaration... " >&6; }
47147 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47148 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47149 $as_echo_n "(cached) " >&6
47150 else
47153 ac_ext=cpp
47154 ac_cpp='$CXXCPP $CPPFLAGS'
47155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47160 /* end confdefs.h. */
47161 #include <math.h>
47163 main ()
47165 hypotf(0, 0);
47167 return 0;
47169 _ACEOF
47170 if ac_fn_cxx_try_compile "$LINENO"; then :
47171 glibcxx_cv_func_hypotf_use=yes
47172 else
47173 glibcxx_cv_func_hypotf_use=no
47175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47176 ac_ext=c
47177 ac_cpp='$CPP $CPPFLAGS'
47178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47187 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47189 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47190 for ac_func in hypotf
47191 do :
47192 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47193 if test "x$ac_cv_func_hypotf" = x""yes; then :
47194 cat >>confdefs.h <<_ACEOF
47195 #define HAVE_HYPOTF 1
47196 _ACEOF
47199 done
47201 else
47203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47204 $as_echo_n "checking for _hypotf declaration... " >&6; }
47205 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47206 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47207 $as_echo_n "(cached) " >&6
47208 else
47211 ac_ext=cpp
47212 ac_cpp='$CXXCPP $CPPFLAGS'
47213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47218 /* end confdefs.h. */
47219 #include <math.h>
47221 main ()
47223 _hypotf(0, 0);
47225 return 0;
47227 _ACEOF
47228 if ac_fn_cxx_try_compile "$LINENO"; then :
47229 glibcxx_cv_func__hypotf_use=yes
47230 else
47231 glibcxx_cv_func__hypotf_use=no
47233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47234 ac_ext=c
47235 ac_cpp='$CPP $CPPFLAGS'
47236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47245 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47247 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47248 for ac_func in _hypotf
47249 do :
47250 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47251 if test "x$ac_cv_func__hypotf" = x""yes; then :
47252 cat >>confdefs.h <<_ACEOF
47253 #define HAVE__HYPOTF 1
47254 _ACEOF
47257 done
47266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47267 $as_echo_n "checking for ldexpf declaration... " >&6; }
47268 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47269 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47270 $as_echo_n "(cached) " >&6
47271 else
47274 ac_ext=cpp
47275 ac_cpp='$CXXCPP $CPPFLAGS'
47276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47281 /* end confdefs.h. */
47282 #include <math.h>
47284 main ()
47286 ldexpf(0, 0);
47288 return 0;
47290 _ACEOF
47291 if ac_fn_cxx_try_compile "$LINENO"; then :
47292 glibcxx_cv_func_ldexpf_use=yes
47293 else
47294 glibcxx_cv_func_ldexpf_use=no
47296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47297 ac_ext=c
47298 ac_cpp='$CPP $CPPFLAGS'
47299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47308 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47310 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47311 for ac_func in ldexpf
47312 do :
47313 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47314 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47315 cat >>confdefs.h <<_ACEOF
47316 #define HAVE_LDEXPF 1
47317 _ACEOF
47320 done
47322 else
47324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47325 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47326 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47327 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47328 $as_echo_n "(cached) " >&6
47329 else
47332 ac_ext=cpp
47333 ac_cpp='$CXXCPP $CPPFLAGS'
47334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47339 /* end confdefs.h. */
47340 #include <math.h>
47342 main ()
47344 _ldexpf(0, 0);
47346 return 0;
47348 _ACEOF
47349 if ac_fn_cxx_try_compile "$LINENO"; then :
47350 glibcxx_cv_func__ldexpf_use=yes
47351 else
47352 glibcxx_cv_func__ldexpf_use=no
47354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47355 ac_ext=c
47356 ac_cpp='$CPP $CPPFLAGS'
47357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47366 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47368 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47369 for ac_func in _ldexpf
47370 do :
47371 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47372 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47373 cat >>confdefs.h <<_ACEOF
47374 #define HAVE__LDEXPF 1
47375 _ACEOF
47378 done
47387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47388 $as_echo_n "checking for logf declaration... " >&6; }
47389 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47390 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47391 $as_echo_n "(cached) " >&6
47392 else
47395 ac_ext=cpp
47396 ac_cpp='$CXXCPP $CPPFLAGS'
47397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47402 /* end confdefs.h. */
47403 #include <math.h>
47404 #ifdef HAVE_IEEEFP_H
47405 #include <ieeefp.h>
47406 #endif
47409 main ()
47411 logf(0);
47413 return 0;
47415 _ACEOF
47416 if ac_fn_cxx_try_compile "$LINENO"; then :
47417 glibcxx_cv_func_logf_use=yes
47418 else
47419 glibcxx_cv_func_logf_use=no
47421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47422 ac_ext=c
47423 ac_cpp='$CPP $CPPFLAGS'
47424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47433 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47435 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47436 for ac_func in logf
47437 do :
47438 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47439 if test "x$ac_cv_func_logf" = x""yes; then :
47440 cat >>confdefs.h <<_ACEOF
47441 #define HAVE_LOGF 1
47442 _ACEOF
47445 done
47447 else
47449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47450 $as_echo_n "checking for _logf declaration... " >&6; }
47451 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47452 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47453 $as_echo_n "(cached) " >&6
47454 else
47457 ac_ext=cpp
47458 ac_cpp='$CXXCPP $CPPFLAGS'
47459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47464 /* end confdefs.h. */
47465 #include <math.h>
47466 #ifdef HAVE_IEEEFP_H
47467 #include <ieeefp.h>
47468 #endif
47471 main ()
47473 _logf(0);
47475 return 0;
47477 _ACEOF
47478 if ac_fn_cxx_try_compile "$LINENO"; then :
47479 glibcxx_cv_func__logf_use=yes
47480 else
47481 glibcxx_cv_func__logf_use=no
47483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47484 ac_ext=c
47485 ac_cpp='$CPP $CPPFLAGS'
47486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47495 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47497 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47498 for ac_func in _logf
47499 do :
47500 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47501 if test "x$ac_cv_func__logf" = x""yes; then :
47502 cat >>confdefs.h <<_ACEOF
47503 #define HAVE__LOGF 1
47504 _ACEOF
47507 done
47516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47517 $as_echo_n "checking for log10f declaration... " >&6; }
47518 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47519 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47520 $as_echo_n "(cached) " >&6
47521 else
47524 ac_ext=cpp
47525 ac_cpp='$CXXCPP $CPPFLAGS'
47526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47531 /* end confdefs.h. */
47532 #include <math.h>
47533 #ifdef HAVE_IEEEFP_H
47534 #include <ieeefp.h>
47535 #endif
47538 main ()
47540 log10f(0);
47542 return 0;
47544 _ACEOF
47545 if ac_fn_cxx_try_compile "$LINENO"; then :
47546 glibcxx_cv_func_log10f_use=yes
47547 else
47548 glibcxx_cv_func_log10f_use=no
47550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47551 ac_ext=c
47552 ac_cpp='$CPP $CPPFLAGS'
47553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47562 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47564 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47565 for ac_func in log10f
47566 do :
47567 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47568 if test "x$ac_cv_func_log10f" = x""yes; then :
47569 cat >>confdefs.h <<_ACEOF
47570 #define HAVE_LOG10F 1
47571 _ACEOF
47574 done
47576 else
47578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47579 $as_echo_n "checking for _log10f declaration... " >&6; }
47580 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47581 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47582 $as_echo_n "(cached) " >&6
47583 else
47586 ac_ext=cpp
47587 ac_cpp='$CXXCPP $CPPFLAGS'
47588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47593 /* end confdefs.h. */
47594 #include <math.h>
47595 #ifdef HAVE_IEEEFP_H
47596 #include <ieeefp.h>
47597 #endif
47600 main ()
47602 _log10f(0);
47604 return 0;
47606 _ACEOF
47607 if ac_fn_cxx_try_compile "$LINENO"; then :
47608 glibcxx_cv_func__log10f_use=yes
47609 else
47610 glibcxx_cv_func__log10f_use=no
47612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47613 ac_ext=c
47614 ac_cpp='$CPP $CPPFLAGS'
47615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47624 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47626 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47627 for ac_func in _log10f
47628 do :
47629 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47630 if test "x$ac_cv_func__log10f" = x""yes; then :
47631 cat >>confdefs.h <<_ACEOF
47632 #define HAVE__LOG10F 1
47633 _ACEOF
47636 done
47645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47646 $as_echo_n "checking for modff declaration... " >&6; }
47647 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47648 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47649 $as_echo_n "(cached) " >&6
47650 else
47653 ac_ext=cpp
47654 ac_cpp='$CXXCPP $CPPFLAGS'
47655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47660 /* end confdefs.h. */
47661 #include <math.h>
47663 main ()
47665 modff(0, 0);
47667 return 0;
47669 _ACEOF
47670 if ac_fn_cxx_try_compile "$LINENO"; then :
47671 glibcxx_cv_func_modff_use=yes
47672 else
47673 glibcxx_cv_func_modff_use=no
47675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47676 ac_ext=c
47677 ac_cpp='$CPP $CPPFLAGS'
47678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47687 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47689 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47690 for ac_func in modff
47691 do :
47692 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47693 if test "x$ac_cv_func_modff" = x""yes; then :
47694 cat >>confdefs.h <<_ACEOF
47695 #define HAVE_MODFF 1
47696 _ACEOF
47699 done
47701 else
47703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47704 $as_echo_n "checking for _modff declaration... " >&6; }
47705 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47706 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47707 $as_echo_n "(cached) " >&6
47708 else
47711 ac_ext=cpp
47712 ac_cpp='$CXXCPP $CPPFLAGS'
47713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47718 /* end confdefs.h. */
47719 #include <math.h>
47721 main ()
47723 _modff(0, 0);
47725 return 0;
47727 _ACEOF
47728 if ac_fn_cxx_try_compile "$LINENO"; then :
47729 glibcxx_cv_func__modff_use=yes
47730 else
47731 glibcxx_cv_func__modff_use=no
47733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47734 ac_ext=c
47735 ac_cpp='$CPP $CPPFLAGS'
47736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47745 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47747 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47748 for ac_func in _modff
47749 do :
47750 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47751 if test "x$ac_cv_func__modff" = x""yes; then :
47752 cat >>confdefs.h <<_ACEOF
47753 #define HAVE__MODFF 1
47754 _ACEOF
47757 done
47766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47767 $as_echo_n "checking for modf declaration... " >&6; }
47768 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47769 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47770 $as_echo_n "(cached) " >&6
47771 else
47774 ac_ext=cpp
47775 ac_cpp='$CXXCPP $CPPFLAGS'
47776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47781 /* end confdefs.h. */
47782 #include <math.h>
47784 main ()
47786 modf(0, 0);
47788 return 0;
47790 _ACEOF
47791 if ac_fn_cxx_try_compile "$LINENO"; then :
47792 glibcxx_cv_func_modf_use=yes
47793 else
47794 glibcxx_cv_func_modf_use=no
47796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47797 ac_ext=c
47798 ac_cpp='$CPP $CPPFLAGS'
47799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47808 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47810 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47811 for ac_func in modf
47812 do :
47813 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47814 if test "x$ac_cv_func_modf" = x""yes; then :
47815 cat >>confdefs.h <<_ACEOF
47816 #define HAVE_MODF 1
47817 _ACEOF
47820 done
47822 else
47824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47825 $as_echo_n "checking for _modf declaration... " >&6; }
47826 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47827 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47828 $as_echo_n "(cached) " >&6
47829 else
47832 ac_ext=cpp
47833 ac_cpp='$CXXCPP $CPPFLAGS'
47834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47839 /* end confdefs.h. */
47840 #include <math.h>
47842 main ()
47844 _modf(0, 0);
47846 return 0;
47848 _ACEOF
47849 if ac_fn_cxx_try_compile "$LINENO"; then :
47850 glibcxx_cv_func__modf_use=yes
47851 else
47852 glibcxx_cv_func__modf_use=no
47854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47855 ac_ext=c
47856 ac_cpp='$CPP $CPPFLAGS'
47857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47866 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47868 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47869 for ac_func in _modf
47870 do :
47871 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47872 if test "x$ac_cv_func__modf" = x""yes; then :
47873 cat >>confdefs.h <<_ACEOF
47874 #define HAVE__MODF 1
47875 _ACEOF
47878 done
47887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47888 $as_echo_n "checking for powf declaration... " >&6; }
47889 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47890 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47891 $as_echo_n "(cached) " >&6
47892 else
47895 ac_ext=cpp
47896 ac_cpp='$CXXCPP $CPPFLAGS'
47897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47902 /* end confdefs.h. */
47903 #include <math.h>
47905 main ()
47907 powf(0, 0);
47909 return 0;
47911 _ACEOF
47912 if ac_fn_cxx_try_compile "$LINENO"; then :
47913 glibcxx_cv_func_powf_use=yes
47914 else
47915 glibcxx_cv_func_powf_use=no
47917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47918 ac_ext=c
47919 ac_cpp='$CPP $CPPFLAGS'
47920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47929 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47931 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47932 for ac_func in powf
47933 do :
47934 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47935 if test "x$ac_cv_func_powf" = x""yes; then :
47936 cat >>confdefs.h <<_ACEOF
47937 #define HAVE_POWF 1
47938 _ACEOF
47941 done
47943 else
47945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47946 $as_echo_n "checking for _powf declaration... " >&6; }
47947 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47948 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47949 $as_echo_n "(cached) " >&6
47950 else
47953 ac_ext=cpp
47954 ac_cpp='$CXXCPP $CPPFLAGS'
47955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47960 /* end confdefs.h. */
47961 #include <math.h>
47963 main ()
47965 _powf(0, 0);
47967 return 0;
47969 _ACEOF
47970 if ac_fn_cxx_try_compile "$LINENO"; then :
47971 glibcxx_cv_func__powf_use=yes
47972 else
47973 glibcxx_cv_func__powf_use=no
47975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47976 ac_ext=c
47977 ac_cpp='$CPP $CPPFLAGS'
47978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47987 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47989 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47990 for ac_func in _powf
47991 do :
47992 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47993 if test "x$ac_cv_func__powf" = x""yes; then :
47994 cat >>confdefs.h <<_ACEOF
47995 #define HAVE__POWF 1
47996 _ACEOF
47999 done
48008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48009 $as_echo_n "checking for sqrtf declaration... " >&6; }
48010 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48011 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48012 $as_echo_n "(cached) " >&6
48013 else
48016 ac_ext=cpp
48017 ac_cpp='$CXXCPP $CPPFLAGS'
48018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48023 /* end confdefs.h. */
48024 #include <math.h>
48025 #ifdef HAVE_IEEEFP_H
48026 #include <ieeefp.h>
48027 #endif
48030 main ()
48032 sqrtf(0);
48034 return 0;
48036 _ACEOF
48037 if ac_fn_cxx_try_compile "$LINENO"; then :
48038 glibcxx_cv_func_sqrtf_use=yes
48039 else
48040 glibcxx_cv_func_sqrtf_use=no
48042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48043 ac_ext=c
48044 ac_cpp='$CPP $CPPFLAGS'
48045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48054 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48056 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48057 for ac_func in sqrtf
48058 do :
48059 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48060 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48061 cat >>confdefs.h <<_ACEOF
48062 #define HAVE_SQRTF 1
48063 _ACEOF
48066 done
48068 else
48070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48071 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48072 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48073 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48074 $as_echo_n "(cached) " >&6
48075 else
48078 ac_ext=cpp
48079 ac_cpp='$CXXCPP $CPPFLAGS'
48080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48085 /* end confdefs.h. */
48086 #include <math.h>
48087 #ifdef HAVE_IEEEFP_H
48088 #include <ieeefp.h>
48089 #endif
48092 main ()
48094 _sqrtf(0);
48096 return 0;
48098 _ACEOF
48099 if ac_fn_cxx_try_compile "$LINENO"; then :
48100 glibcxx_cv_func__sqrtf_use=yes
48101 else
48102 glibcxx_cv_func__sqrtf_use=no
48104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48105 ac_ext=c
48106 ac_cpp='$CPP $CPPFLAGS'
48107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48116 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48118 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48119 for ac_func in _sqrtf
48120 do :
48121 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48122 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48123 cat >>confdefs.h <<_ACEOF
48124 #define HAVE__SQRTF 1
48125 _ACEOF
48128 done
48137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48138 $as_echo_n "checking for sincosf declaration... " >&6; }
48139 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48140 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48141 $as_echo_n "(cached) " >&6
48142 else
48145 ac_ext=cpp
48146 ac_cpp='$CXXCPP $CPPFLAGS'
48147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48152 /* end confdefs.h. */
48153 #include <math.h>
48155 main ()
48157 sincosf(0, 0, 0);
48159 return 0;
48161 _ACEOF
48162 if ac_fn_cxx_try_compile "$LINENO"; then :
48163 glibcxx_cv_func_sincosf_use=yes
48164 else
48165 glibcxx_cv_func_sincosf_use=no
48167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48168 ac_ext=c
48169 ac_cpp='$CPP $CPPFLAGS'
48170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48179 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48181 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48182 for ac_func in sincosf
48183 do :
48184 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48185 if test "x$ac_cv_func_sincosf" = x""yes; then :
48186 cat >>confdefs.h <<_ACEOF
48187 #define HAVE_SINCOSF 1
48188 _ACEOF
48191 done
48193 else
48195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48196 $as_echo_n "checking for _sincosf declaration... " >&6; }
48197 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48198 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48199 $as_echo_n "(cached) " >&6
48200 else
48203 ac_ext=cpp
48204 ac_cpp='$CXXCPP $CPPFLAGS'
48205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48210 /* end confdefs.h. */
48211 #include <math.h>
48213 main ()
48215 _sincosf(0, 0, 0);
48217 return 0;
48219 _ACEOF
48220 if ac_fn_cxx_try_compile "$LINENO"; then :
48221 glibcxx_cv_func__sincosf_use=yes
48222 else
48223 glibcxx_cv_func__sincosf_use=no
48225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48226 ac_ext=c
48227 ac_cpp='$CPP $CPPFLAGS'
48228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48237 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48239 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48240 for ac_func in _sincosf
48241 do :
48242 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48243 if test "x$ac_cv_func__sincosf" = x""yes; then :
48244 cat >>confdefs.h <<_ACEOF
48245 #define HAVE__SINCOSF 1
48246 _ACEOF
48249 done
48258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48259 $as_echo_n "checking for finitef declaration... " >&6; }
48260 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48261 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48262 $as_echo_n "(cached) " >&6
48263 else
48266 ac_ext=cpp
48267 ac_cpp='$CXXCPP $CPPFLAGS'
48268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48273 /* end confdefs.h. */
48274 #include <math.h>
48275 #ifdef HAVE_IEEEFP_H
48276 #include <ieeefp.h>
48277 #endif
48280 main ()
48282 finitef(0);
48284 return 0;
48286 _ACEOF
48287 if ac_fn_cxx_try_compile "$LINENO"; then :
48288 glibcxx_cv_func_finitef_use=yes
48289 else
48290 glibcxx_cv_func_finitef_use=no
48292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48293 ac_ext=c
48294 ac_cpp='$CPP $CPPFLAGS'
48295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48304 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48306 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48307 for ac_func in finitef
48308 do :
48309 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48310 if test "x$ac_cv_func_finitef" = x""yes; then :
48311 cat >>confdefs.h <<_ACEOF
48312 #define HAVE_FINITEF 1
48313 _ACEOF
48316 done
48318 else
48320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48321 $as_echo_n "checking for _finitef declaration... " >&6; }
48322 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48323 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48324 $as_echo_n "(cached) " >&6
48325 else
48328 ac_ext=cpp
48329 ac_cpp='$CXXCPP $CPPFLAGS'
48330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48335 /* end confdefs.h. */
48336 #include <math.h>
48337 #ifdef HAVE_IEEEFP_H
48338 #include <ieeefp.h>
48339 #endif
48342 main ()
48344 _finitef(0);
48346 return 0;
48348 _ACEOF
48349 if ac_fn_cxx_try_compile "$LINENO"; then :
48350 glibcxx_cv_func__finitef_use=yes
48351 else
48352 glibcxx_cv_func__finitef_use=no
48354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48355 ac_ext=c
48356 ac_cpp='$CPP $CPPFLAGS'
48357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48366 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48368 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48369 for ac_func in _finitef
48370 do :
48371 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48372 if test "x$ac_cv_func__finitef" = x""yes; then :
48373 cat >>confdefs.h <<_ACEOF
48374 #define HAVE__FINITEF 1
48375 _ACEOF
48378 done
48387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48388 $as_echo_n "checking for long double trig functions... " >&6; }
48389 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48390 $as_echo_n "(cached) " >&6
48391 else
48394 ac_ext=cpp
48395 ac_cpp='$CXXCPP $CPPFLAGS'
48396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48401 /* end confdefs.h. */
48402 #include <math.h>
48404 main ()
48406 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48408 return 0;
48410 _ACEOF
48411 if ac_fn_cxx_try_compile "$LINENO"; then :
48412 glibcxx_cv_func_long_double_trig_use=yes
48413 else
48414 glibcxx_cv_func_long_double_trig_use=no
48416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48417 ac_ext=c
48418 ac_cpp='$CPP $CPPFLAGS'
48419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48426 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48427 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48428 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48429 do :
48430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48432 eval as_val=\$$as_ac_var
48433 if test "x$as_val" = x""yes; then :
48434 cat >>confdefs.h <<_ACEOF
48435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48436 _ACEOF
48439 done
48441 else
48442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48443 $as_echo_n "checking for _long double trig functions... " >&6; }
48444 if test "${glibcxx_cv_func__long_double_trig_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 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48463 return 0;
48465 _ACEOF
48466 if ac_fn_cxx_try_compile "$LINENO"; then :
48467 glibcxx_cv_func__long_double_trig_use=yes
48468 else
48469 glibcxx_cv_func__long_double_trig_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_trig_use" >&5
48481 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48482 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48483 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
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
48503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48504 $as_echo_n "checking for long double round functions... " >&6; }
48505 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48506 $as_echo_n "(cached) " >&6
48507 else
48510 ac_ext=cpp
48511 ac_cpp='$CXXCPP $CPPFLAGS'
48512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48517 /* end confdefs.h. */
48518 #include <math.h>
48520 main ()
48522 ceill (0); floorl (0);
48524 return 0;
48526 _ACEOF
48527 if ac_fn_cxx_try_compile "$LINENO"; then :
48528 glibcxx_cv_func_long_double_round_use=yes
48529 else
48530 glibcxx_cv_func_long_double_round_use=no
48532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48533 ac_ext=c
48534 ac_cpp='$CPP $CPPFLAGS'
48535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48542 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48543 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48544 for ac_func in ceill floorl
48545 do :
48546 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48548 eval as_val=\$$as_ac_var
48549 if test "x$as_val" = x""yes; then :
48550 cat >>confdefs.h <<_ACEOF
48551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48552 _ACEOF
48555 done
48557 else
48558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48559 $as_echo_n "checking for _long double round functions... " >&6; }
48560 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48561 $as_echo_n "(cached) " >&6
48562 else
48565 ac_ext=cpp
48566 ac_cpp='$CXXCPP $CPPFLAGS'
48567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48572 /* end confdefs.h. */
48573 #include <math.h>
48575 main ()
48577 _ceill (0); _floorl (0);
48579 return 0;
48581 _ACEOF
48582 if ac_fn_cxx_try_compile "$LINENO"; then :
48583 glibcxx_cv_func__long_double_round_use=yes
48584 else
48585 glibcxx_cv_func__long_double_round_use=no
48587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48588 ac_ext=c
48589 ac_cpp='$CPP $CPPFLAGS'
48590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48597 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48598 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48599 for ac_func in _ceill _floorl
48600 do :
48601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48603 eval as_val=\$$as_ac_var
48604 if test "x$as_val" = x""yes; then :
48605 cat >>confdefs.h <<_ACEOF
48606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48607 _ACEOF
48610 done
48620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48621 $as_echo_n "checking for isnanl declaration... " >&6; }
48622 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48623 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48624 $as_echo_n "(cached) " >&6
48625 else
48628 ac_ext=cpp
48629 ac_cpp='$CXXCPP $CPPFLAGS'
48630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48635 /* end confdefs.h. */
48636 #include <math.h>
48637 #ifdef HAVE_IEEEFP_H
48638 #include <ieeefp.h>
48639 #endif
48642 main ()
48644 isnanl(0);
48646 return 0;
48648 _ACEOF
48649 if ac_fn_cxx_try_compile "$LINENO"; then :
48650 glibcxx_cv_func_isnanl_use=yes
48651 else
48652 glibcxx_cv_func_isnanl_use=no
48654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48655 ac_ext=c
48656 ac_cpp='$CPP $CPPFLAGS'
48657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48666 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48668 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48669 for ac_func in isnanl
48670 do :
48671 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48672 if test "x$ac_cv_func_isnanl" = x""yes; then :
48673 cat >>confdefs.h <<_ACEOF
48674 #define HAVE_ISNANL 1
48675 _ACEOF
48678 done
48680 else
48682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48683 $as_echo_n "checking for _isnanl declaration... " >&6; }
48684 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48685 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48686 $as_echo_n "(cached) " >&6
48687 else
48690 ac_ext=cpp
48691 ac_cpp='$CXXCPP $CPPFLAGS'
48692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48697 /* end confdefs.h. */
48698 #include <math.h>
48699 #ifdef HAVE_IEEEFP_H
48700 #include <ieeefp.h>
48701 #endif
48704 main ()
48706 _isnanl(0);
48708 return 0;
48710 _ACEOF
48711 if ac_fn_cxx_try_compile "$LINENO"; then :
48712 glibcxx_cv_func__isnanl_use=yes
48713 else
48714 glibcxx_cv_func__isnanl_use=no
48716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48717 ac_ext=c
48718 ac_cpp='$CPP $CPPFLAGS'
48719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48728 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48730 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48731 for ac_func in _isnanl
48732 do :
48733 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48734 if test "x$ac_cv_func__isnanl" = x""yes; then :
48735 cat >>confdefs.h <<_ACEOF
48736 #define HAVE__ISNANL 1
48737 _ACEOF
48740 done
48749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48750 $as_echo_n "checking for isinfl declaration... " >&6; }
48751 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48752 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48753 $as_echo_n "(cached) " >&6
48754 else
48757 ac_ext=cpp
48758 ac_cpp='$CXXCPP $CPPFLAGS'
48759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48764 /* end confdefs.h. */
48765 #include <math.h>
48766 #ifdef HAVE_IEEEFP_H
48767 #include <ieeefp.h>
48768 #endif
48771 main ()
48773 isinfl(0);
48775 return 0;
48777 _ACEOF
48778 if ac_fn_cxx_try_compile "$LINENO"; then :
48779 glibcxx_cv_func_isinfl_use=yes
48780 else
48781 glibcxx_cv_func_isinfl_use=no
48783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48784 ac_ext=c
48785 ac_cpp='$CPP $CPPFLAGS'
48786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48795 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48797 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48798 for ac_func in isinfl
48799 do :
48800 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48801 if test "x$ac_cv_func_isinfl" = x""yes; then :
48802 cat >>confdefs.h <<_ACEOF
48803 #define HAVE_ISINFL 1
48804 _ACEOF
48807 done
48809 else
48811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48812 $as_echo_n "checking for _isinfl declaration... " >&6; }
48813 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48814 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48815 $as_echo_n "(cached) " >&6
48816 else
48819 ac_ext=cpp
48820 ac_cpp='$CXXCPP $CPPFLAGS'
48821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48826 /* end confdefs.h. */
48827 #include <math.h>
48828 #ifdef HAVE_IEEEFP_H
48829 #include <ieeefp.h>
48830 #endif
48833 main ()
48835 _isinfl(0);
48837 return 0;
48839 _ACEOF
48840 if ac_fn_cxx_try_compile "$LINENO"; then :
48841 glibcxx_cv_func__isinfl_use=yes
48842 else
48843 glibcxx_cv_func__isinfl_use=no
48845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48846 ac_ext=c
48847 ac_cpp='$CPP $CPPFLAGS'
48848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48857 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48859 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48860 for ac_func in _isinfl
48861 do :
48862 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48863 if test "x$ac_cv_func__isinfl" = x""yes; then :
48864 cat >>confdefs.h <<_ACEOF
48865 #define HAVE__ISINFL 1
48866 _ACEOF
48869 done
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48879 $as_echo_n "checking for atan2l declaration... " >&6; }
48880 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48881 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48882 $as_echo_n "(cached) " >&6
48883 else
48886 ac_ext=cpp
48887 ac_cpp='$CXXCPP $CPPFLAGS'
48888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48893 /* end confdefs.h. */
48894 #include <math.h>
48896 main ()
48898 atan2l(0, 0);
48900 return 0;
48902 _ACEOF
48903 if ac_fn_cxx_try_compile "$LINENO"; then :
48904 glibcxx_cv_func_atan2l_use=yes
48905 else
48906 glibcxx_cv_func_atan2l_use=no
48908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48909 ac_ext=c
48910 ac_cpp='$CPP $CPPFLAGS'
48911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48920 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48922 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48923 for ac_func in atan2l
48924 do :
48925 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48926 if test "x$ac_cv_func_atan2l" = x""yes; then :
48927 cat >>confdefs.h <<_ACEOF
48928 #define HAVE_ATAN2L 1
48929 _ACEOF
48932 done
48934 else
48936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48937 $as_echo_n "checking for _atan2l declaration... " >&6; }
48938 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48939 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48940 $as_echo_n "(cached) " >&6
48941 else
48944 ac_ext=cpp
48945 ac_cpp='$CXXCPP $CPPFLAGS'
48946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48951 /* end confdefs.h. */
48952 #include <math.h>
48954 main ()
48956 _atan2l(0, 0);
48958 return 0;
48960 _ACEOF
48961 if ac_fn_cxx_try_compile "$LINENO"; then :
48962 glibcxx_cv_func__atan2l_use=yes
48963 else
48964 glibcxx_cv_func__atan2l_use=no
48966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48967 ac_ext=c
48968 ac_cpp='$CPP $CPPFLAGS'
48969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48978 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48980 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48981 for ac_func in _atan2l
48982 do :
48983 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48984 if test "x$ac_cv_func__atan2l" = x""yes; then :
48985 cat >>confdefs.h <<_ACEOF
48986 #define HAVE__ATAN2L 1
48987 _ACEOF
48990 done
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49000 $as_echo_n "checking for expl declaration... " >&6; }
49001 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49002 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49003 $as_echo_n "(cached) " >&6
49004 else
49007 ac_ext=cpp
49008 ac_cpp='$CXXCPP $CPPFLAGS'
49009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49014 /* end confdefs.h. */
49015 #include <math.h>
49016 #ifdef HAVE_IEEEFP_H
49017 #include <ieeefp.h>
49018 #endif
49021 main ()
49023 expl(0);
49025 return 0;
49027 _ACEOF
49028 if ac_fn_cxx_try_compile "$LINENO"; then :
49029 glibcxx_cv_func_expl_use=yes
49030 else
49031 glibcxx_cv_func_expl_use=no
49033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49034 ac_ext=c
49035 ac_cpp='$CPP $CPPFLAGS'
49036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49045 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49047 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49048 for ac_func in expl
49049 do :
49050 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49051 if test "x$ac_cv_func_expl" = x""yes; then :
49052 cat >>confdefs.h <<_ACEOF
49053 #define HAVE_EXPL 1
49054 _ACEOF
49057 done
49059 else
49061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49062 $as_echo_n "checking for _expl declaration... " >&6; }
49063 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49064 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49065 $as_echo_n "(cached) " >&6
49066 else
49069 ac_ext=cpp
49070 ac_cpp='$CXXCPP $CPPFLAGS'
49071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49076 /* end confdefs.h. */
49077 #include <math.h>
49078 #ifdef HAVE_IEEEFP_H
49079 #include <ieeefp.h>
49080 #endif
49083 main ()
49085 _expl(0);
49087 return 0;
49089 _ACEOF
49090 if ac_fn_cxx_try_compile "$LINENO"; then :
49091 glibcxx_cv_func__expl_use=yes
49092 else
49093 glibcxx_cv_func__expl_use=no
49095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49096 ac_ext=c
49097 ac_cpp='$CPP $CPPFLAGS'
49098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49107 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49109 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49110 for ac_func in _expl
49111 do :
49112 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49113 if test "x$ac_cv_func__expl" = x""yes; then :
49114 cat >>confdefs.h <<_ACEOF
49115 #define HAVE__EXPL 1
49116 _ACEOF
49119 done
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49129 $as_echo_n "checking for fabsl declaration... " >&6; }
49130 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49131 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49132 $as_echo_n "(cached) " >&6
49133 else
49136 ac_ext=cpp
49137 ac_cpp='$CXXCPP $CPPFLAGS'
49138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49143 /* end confdefs.h. */
49144 #include <math.h>
49145 #ifdef HAVE_IEEEFP_H
49146 #include <ieeefp.h>
49147 #endif
49150 main ()
49152 fabsl(0);
49154 return 0;
49156 _ACEOF
49157 if ac_fn_cxx_try_compile "$LINENO"; then :
49158 glibcxx_cv_func_fabsl_use=yes
49159 else
49160 glibcxx_cv_func_fabsl_use=no
49162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49163 ac_ext=c
49164 ac_cpp='$CPP $CPPFLAGS'
49165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49174 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49176 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49177 for ac_func in fabsl
49178 do :
49179 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49180 if test "x$ac_cv_func_fabsl" = x""yes; then :
49181 cat >>confdefs.h <<_ACEOF
49182 #define HAVE_FABSL 1
49183 _ACEOF
49186 done
49188 else
49190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49191 $as_echo_n "checking for _fabsl declaration... " >&6; }
49192 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49193 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49194 $as_echo_n "(cached) " >&6
49195 else
49198 ac_ext=cpp
49199 ac_cpp='$CXXCPP $CPPFLAGS'
49200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49205 /* end confdefs.h. */
49206 #include <math.h>
49207 #ifdef HAVE_IEEEFP_H
49208 #include <ieeefp.h>
49209 #endif
49212 main ()
49214 _fabsl(0);
49216 return 0;
49218 _ACEOF
49219 if ac_fn_cxx_try_compile "$LINENO"; then :
49220 glibcxx_cv_func__fabsl_use=yes
49221 else
49222 glibcxx_cv_func__fabsl_use=no
49224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49225 ac_ext=c
49226 ac_cpp='$CPP $CPPFLAGS'
49227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49236 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49238 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49239 for ac_func in _fabsl
49240 do :
49241 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49242 if test "x$ac_cv_func__fabsl" = x""yes; then :
49243 cat >>confdefs.h <<_ACEOF
49244 #define HAVE__FABSL 1
49245 _ACEOF
49248 done
49257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49258 $as_echo_n "checking for fmodl declaration... " >&6; }
49259 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49260 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49261 $as_echo_n "(cached) " >&6
49262 else
49265 ac_ext=cpp
49266 ac_cpp='$CXXCPP $CPPFLAGS'
49267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49272 /* end confdefs.h. */
49273 #include <math.h>
49275 main ()
49277 fmodl(0, 0);
49279 return 0;
49281 _ACEOF
49282 if ac_fn_cxx_try_compile "$LINENO"; then :
49283 glibcxx_cv_func_fmodl_use=yes
49284 else
49285 glibcxx_cv_func_fmodl_use=no
49287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49288 ac_ext=c
49289 ac_cpp='$CPP $CPPFLAGS'
49290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49299 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49301 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49302 for ac_func in fmodl
49303 do :
49304 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49305 if test "x$ac_cv_func_fmodl" = x""yes; then :
49306 cat >>confdefs.h <<_ACEOF
49307 #define HAVE_FMODL 1
49308 _ACEOF
49311 done
49313 else
49315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49316 $as_echo_n "checking for _fmodl declaration... " >&6; }
49317 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49318 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49319 $as_echo_n "(cached) " >&6
49320 else
49323 ac_ext=cpp
49324 ac_cpp='$CXXCPP $CPPFLAGS'
49325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49330 /* end confdefs.h. */
49331 #include <math.h>
49333 main ()
49335 _fmodl(0, 0);
49337 return 0;
49339 _ACEOF
49340 if ac_fn_cxx_try_compile "$LINENO"; then :
49341 glibcxx_cv_func__fmodl_use=yes
49342 else
49343 glibcxx_cv_func__fmodl_use=no
49345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49346 ac_ext=c
49347 ac_cpp='$CPP $CPPFLAGS'
49348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49357 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49359 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49360 for ac_func in _fmodl
49361 do :
49362 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49363 if test "x$ac_cv_func__fmodl" = x""yes; then :
49364 cat >>confdefs.h <<_ACEOF
49365 #define HAVE__FMODL 1
49366 _ACEOF
49369 done
49378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49379 $as_echo_n "checking for frexpl declaration... " >&6; }
49380 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49381 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49382 $as_echo_n "(cached) " >&6
49383 else
49386 ac_ext=cpp
49387 ac_cpp='$CXXCPP $CPPFLAGS'
49388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49393 /* end confdefs.h. */
49394 #include <math.h>
49396 main ()
49398 frexpl(0, 0);
49400 return 0;
49402 _ACEOF
49403 if ac_fn_cxx_try_compile "$LINENO"; then :
49404 glibcxx_cv_func_frexpl_use=yes
49405 else
49406 glibcxx_cv_func_frexpl_use=no
49408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49409 ac_ext=c
49410 ac_cpp='$CPP $CPPFLAGS'
49411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49420 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49422 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49423 for ac_func in frexpl
49424 do :
49425 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49426 if test "x$ac_cv_func_frexpl" = x""yes; then :
49427 cat >>confdefs.h <<_ACEOF
49428 #define HAVE_FREXPL 1
49429 _ACEOF
49432 done
49434 else
49436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49437 $as_echo_n "checking for _frexpl declaration... " >&6; }
49438 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49439 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49440 $as_echo_n "(cached) " >&6
49441 else
49444 ac_ext=cpp
49445 ac_cpp='$CXXCPP $CPPFLAGS'
49446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49451 /* end confdefs.h. */
49452 #include <math.h>
49454 main ()
49456 _frexpl(0, 0);
49458 return 0;
49460 _ACEOF
49461 if ac_fn_cxx_try_compile "$LINENO"; then :
49462 glibcxx_cv_func__frexpl_use=yes
49463 else
49464 glibcxx_cv_func__frexpl_use=no
49466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49467 ac_ext=c
49468 ac_cpp='$CPP $CPPFLAGS'
49469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49478 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49480 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49481 for ac_func in _frexpl
49482 do :
49483 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49484 if test "x$ac_cv_func__frexpl" = x""yes; then :
49485 cat >>confdefs.h <<_ACEOF
49486 #define HAVE__FREXPL 1
49487 _ACEOF
49490 done
49499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49500 $as_echo_n "checking for hypotl declaration... " >&6; }
49501 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49502 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49503 $as_echo_n "(cached) " >&6
49504 else
49507 ac_ext=cpp
49508 ac_cpp='$CXXCPP $CPPFLAGS'
49509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49514 /* end confdefs.h. */
49515 #include <math.h>
49517 main ()
49519 hypotl(0, 0);
49521 return 0;
49523 _ACEOF
49524 if ac_fn_cxx_try_compile "$LINENO"; then :
49525 glibcxx_cv_func_hypotl_use=yes
49526 else
49527 glibcxx_cv_func_hypotl_use=no
49529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49530 ac_ext=c
49531 ac_cpp='$CPP $CPPFLAGS'
49532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49541 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49543 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49544 for ac_func in hypotl
49545 do :
49546 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49547 if test "x$ac_cv_func_hypotl" = x""yes; then :
49548 cat >>confdefs.h <<_ACEOF
49549 #define HAVE_HYPOTL 1
49550 _ACEOF
49553 done
49555 else
49557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49558 $as_echo_n "checking for _hypotl declaration... " >&6; }
49559 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49560 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49561 $as_echo_n "(cached) " >&6
49562 else
49565 ac_ext=cpp
49566 ac_cpp='$CXXCPP $CPPFLAGS'
49567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49572 /* end confdefs.h. */
49573 #include <math.h>
49575 main ()
49577 _hypotl(0, 0);
49579 return 0;
49581 _ACEOF
49582 if ac_fn_cxx_try_compile "$LINENO"; then :
49583 glibcxx_cv_func__hypotl_use=yes
49584 else
49585 glibcxx_cv_func__hypotl_use=no
49587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49588 ac_ext=c
49589 ac_cpp='$CPP $CPPFLAGS'
49590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49599 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49601 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49602 for ac_func in _hypotl
49603 do :
49604 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49605 if test "x$ac_cv_func__hypotl" = x""yes; then :
49606 cat >>confdefs.h <<_ACEOF
49607 #define HAVE__HYPOTL 1
49608 _ACEOF
49611 done
49620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49621 $as_echo_n "checking for ldexpl declaration... " >&6; }
49622 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49623 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49624 $as_echo_n "(cached) " >&6
49625 else
49628 ac_ext=cpp
49629 ac_cpp='$CXXCPP $CPPFLAGS'
49630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49635 /* end confdefs.h. */
49636 #include <math.h>
49638 main ()
49640 ldexpl(0, 0);
49642 return 0;
49644 _ACEOF
49645 if ac_fn_cxx_try_compile "$LINENO"; then :
49646 glibcxx_cv_func_ldexpl_use=yes
49647 else
49648 glibcxx_cv_func_ldexpl_use=no
49650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49651 ac_ext=c
49652 ac_cpp='$CPP $CPPFLAGS'
49653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49662 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49664 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49665 for ac_func in ldexpl
49666 do :
49667 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49668 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49669 cat >>confdefs.h <<_ACEOF
49670 #define HAVE_LDEXPL 1
49671 _ACEOF
49674 done
49676 else
49678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49679 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49680 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49681 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49682 $as_echo_n "(cached) " >&6
49683 else
49686 ac_ext=cpp
49687 ac_cpp='$CXXCPP $CPPFLAGS'
49688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49693 /* end confdefs.h. */
49694 #include <math.h>
49696 main ()
49698 _ldexpl(0, 0);
49700 return 0;
49702 _ACEOF
49703 if ac_fn_cxx_try_compile "$LINENO"; then :
49704 glibcxx_cv_func__ldexpl_use=yes
49705 else
49706 glibcxx_cv_func__ldexpl_use=no
49708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49709 ac_ext=c
49710 ac_cpp='$CPP $CPPFLAGS'
49711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49720 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49722 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49723 for ac_func in _ldexpl
49724 do :
49725 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49726 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49727 cat >>confdefs.h <<_ACEOF
49728 #define HAVE__LDEXPL 1
49729 _ACEOF
49732 done
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49742 $as_echo_n "checking for logl declaration... " >&6; }
49743 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49744 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49745 $as_echo_n "(cached) " >&6
49746 else
49749 ac_ext=cpp
49750 ac_cpp='$CXXCPP $CPPFLAGS'
49751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49756 /* end confdefs.h. */
49757 #include <math.h>
49758 #ifdef HAVE_IEEEFP_H
49759 #include <ieeefp.h>
49760 #endif
49763 main ()
49765 logl(0);
49767 return 0;
49769 _ACEOF
49770 if ac_fn_cxx_try_compile "$LINENO"; then :
49771 glibcxx_cv_func_logl_use=yes
49772 else
49773 glibcxx_cv_func_logl_use=no
49775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49776 ac_ext=c
49777 ac_cpp='$CPP $CPPFLAGS'
49778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49787 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49789 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49790 for ac_func in logl
49791 do :
49792 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49793 if test "x$ac_cv_func_logl" = x""yes; then :
49794 cat >>confdefs.h <<_ACEOF
49795 #define HAVE_LOGL 1
49796 _ACEOF
49799 done
49801 else
49803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49804 $as_echo_n "checking for _logl declaration... " >&6; }
49805 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49806 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49807 $as_echo_n "(cached) " >&6
49808 else
49811 ac_ext=cpp
49812 ac_cpp='$CXXCPP $CPPFLAGS'
49813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49818 /* end confdefs.h. */
49819 #include <math.h>
49820 #ifdef HAVE_IEEEFP_H
49821 #include <ieeefp.h>
49822 #endif
49825 main ()
49827 _logl(0);
49829 return 0;
49831 _ACEOF
49832 if ac_fn_cxx_try_compile "$LINENO"; then :
49833 glibcxx_cv_func__logl_use=yes
49834 else
49835 glibcxx_cv_func__logl_use=no
49837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49838 ac_ext=c
49839 ac_cpp='$CPP $CPPFLAGS'
49840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49849 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49851 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49852 for ac_func in _logl
49853 do :
49854 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49855 if test "x$ac_cv_func__logl" = x""yes; then :
49856 cat >>confdefs.h <<_ACEOF
49857 #define HAVE__LOGL 1
49858 _ACEOF
49861 done
49870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49871 $as_echo_n "checking for log10l declaration... " >&6; }
49872 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49873 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49874 $as_echo_n "(cached) " >&6
49875 else
49878 ac_ext=cpp
49879 ac_cpp='$CXXCPP $CPPFLAGS'
49880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49885 /* end confdefs.h. */
49886 #include <math.h>
49887 #ifdef HAVE_IEEEFP_H
49888 #include <ieeefp.h>
49889 #endif
49892 main ()
49894 log10l(0);
49896 return 0;
49898 _ACEOF
49899 if ac_fn_cxx_try_compile "$LINENO"; then :
49900 glibcxx_cv_func_log10l_use=yes
49901 else
49902 glibcxx_cv_func_log10l_use=no
49904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49905 ac_ext=c
49906 ac_cpp='$CPP $CPPFLAGS'
49907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49916 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49918 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49919 for ac_func in log10l
49920 do :
49921 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49922 if test "x$ac_cv_func_log10l" = x""yes; then :
49923 cat >>confdefs.h <<_ACEOF
49924 #define HAVE_LOG10L 1
49925 _ACEOF
49928 done
49930 else
49932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49933 $as_echo_n "checking for _log10l declaration... " >&6; }
49934 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49935 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49936 $as_echo_n "(cached) " >&6
49937 else
49940 ac_ext=cpp
49941 ac_cpp='$CXXCPP $CPPFLAGS'
49942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49947 /* end confdefs.h. */
49948 #include <math.h>
49949 #ifdef HAVE_IEEEFP_H
49950 #include <ieeefp.h>
49951 #endif
49954 main ()
49956 _log10l(0);
49958 return 0;
49960 _ACEOF
49961 if ac_fn_cxx_try_compile "$LINENO"; then :
49962 glibcxx_cv_func__log10l_use=yes
49963 else
49964 glibcxx_cv_func__log10l_use=no
49966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49967 ac_ext=c
49968 ac_cpp='$CPP $CPPFLAGS'
49969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49978 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49980 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49981 for ac_func in _log10l
49982 do :
49983 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49984 if test "x$ac_cv_func__log10l" = x""yes; then :
49985 cat >>confdefs.h <<_ACEOF
49986 #define HAVE__LOG10L 1
49987 _ACEOF
49990 done
49999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50000 $as_echo_n "checking for modfl declaration... " >&6; }
50001 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50002 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50003 $as_echo_n "(cached) " >&6
50004 else
50007 ac_ext=cpp
50008 ac_cpp='$CXXCPP $CPPFLAGS'
50009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50014 /* end confdefs.h. */
50015 #include <math.h>
50017 main ()
50019 modfl(0, 0);
50021 return 0;
50023 _ACEOF
50024 if ac_fn_cxx_try_compile "$LINENO"; then :
50025 glibcxx_cv_func_modfl_use=yes
50026 else
50027 glibcxx_cv_func_modfl_use=no
50029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50030 ac_ext=c
50031 ac_cpp='$CPP $CPPFLAGS'
50032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50041 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50043 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50044 for ac_func in modfl
50045 do :
50046 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50047 if test "x$ac_cv_func_modfl" = x""yes; then :
50048 cat >>confdefs.h <<_ACEOF
50049 #define HAVE_MODFL 1
50050 _ACEOF
50053 done
50055 else
50057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50058 $as_echo_n "checking for _modfl declaration... " >&6; }
50059 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50060 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50061 $as_echo_n "(cached) " >&6
50062 else
50065 ac_ext=cpp
50066 ac_cpp='$CXXCPP $CPPFLAGS'
50067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50072 /* end confdefs.h. */
50073 #include <math.h>
50075 main ()
50077 _modfl(0, 0);
50079 return 0;
50081 _ACEOF
50082 if ac_fn_cxx_try_compile "$LINENO"; then :
50083 glibcxx_cv_func__modfl_use=yes
50084 else
50085 glibcxx_cv_func__modfl_use=no
50087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50088 ac_ext=c
50089 ac_cpp='$CPP $CPPFLAGS'
50090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50099 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50101 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50102 for ac_func in _modfl
50103 do :
50104 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50105 if test "x$ac_cv_func__modfl" = x""yes; then :
50106 cat >>confdefs.h <<_ACEOF
50107 #define HAVE__MODFL 1
50108 _ACEOF
50111 done
50120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50121 $as_echo_n "checking for powl declaration... " >&6; }
50122 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50123 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50124 $as_echo_n "(cached) " >&6
50125 else
50128 ac_ext=cpp
50129 ac_cpp='$CXXCPP $CPPFLAGS'
50130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50135 /* end confdefs.h. */
50136 #include <math.h>
50138 main ()
50140 powl(0, 0);
50142 return 0;
50144 _ACEOF
50145 if ac_fn_cxx_try_compile "$LINENO"; then :
50146 glibcxx_cv_func_powl_use=yes
50147 else
50148 glibcxx_cv_func_powl_use=no
50150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50151 ac_ext=c
50152 ac_cpp='$CPP $CPPFLAGS'
50153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50162 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50164 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50165 for ac_func in powl
50166 do :
50167 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50168 if test "x$ac_cv_func_powl" = x""yes; then :
50169 cat >>confdefs.h <<_ACEOF
50170 #define HAVE_POWL 1
50171 _ACEOF
50174 done
50176 else
50178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50179 $as_echo_n "checking for _powl declaration... " >&6; }
50180 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50181 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50182 $as_echo_n "(cached) " >&6
50183 else
50186 ac_ext=cpp
50187 ac_cpp='$CXXCPP $CPPFLAGS'
50188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50193 /* end confdefs.h. */
50194 #include <math.h>
50196 main ()
50198 _powl(0, 0);
50200 return 0;
50202 _ACEOF
50203 if ac_fn_cxx_try_compile "$LINENO"; then :
50204 glibcxx_cv_func__powl_use=yes
50205 else
50206 glibcxx_cv_func__powl_use=no
50208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50209 ac_ext=c
50210 ac_cpp='$CPP $CPPFLAGS'
50211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50220 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50222 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50223 for ac_func in _powl
50224 do :
50225 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50226 if test "x$ac_cv_func__powl" = x""yes; then :
50227 cat >>confdefs.h <<_ACEOF
50228 #define HAVE__POWL 1
50229 _ACEOF
50232 done
50241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50242 $as_echo_n "checking for sqrtl declaration... " >&6; }
50243 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50244 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50245 $as_echo_n "(cached) " >&6
50246 else
50249 ac_ext=cpp
50250 ac_cpp='$CXXCPP $CPPFLAGS'
50251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50256 /* end confdefs.h. */
50257 #include <math.h>
50258 #ifdef HAVE_IEEEFP_H
50259 #include <ieeefp.h>
50260 #endif
50263 main ()
50265 sqrtl(0);
50267 return 0;
50269 _ACEOF
50270 if ac_fn_cxx_try_compile "$LINENO"; then :
50271 glibcxx_cv_func_sqrtl_use=yes
50272 else
50273 glibcxx_cv_func_sqrtl_use=no
50275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50276 ac_ext=c
50277 ac_cpp='$CPP $CPPFLAGS'
50278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50287 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50289 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50290 for ac_func in sqrtl
50291 do :
50292 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50293 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50294 cat >>confdefs.h <<_ACEOF
50295 #define HAVE_SQRTL 1
50296 _ACEOF
50299 done
50301 else
50303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50304 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50305 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50306 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50307 $as_echo_n "(cached) " >&6
50308 else
50311 ac_ext=cpp
50312 ac_cpp='$CXXCPP $CPPFLAGS'
50313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50318 /* end confdefs.h. */
50319 #include <math.h>
50320 #ifdef HAVE_IEEEFP_H
50321 #include <ieeefp.h>
50322 #endif
50325 main ()
50327 _sqrtl(0);
50329 return 0;
50331 _ACEOF
50332 if ac_fn_cxx_try_compile "$LINENO"; then :
50333 glibcxx_cv_func__sqrtl_use=yes
50334 else
50335 glibcxx_cv_func__sqrtl_use=no
50337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50338 ac_ext=c
50339 ac_cpp='$CPP $CPPFLAGS'
50340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50349 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50351 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50352 for ac_func in _sqrtl
50353 do :
50354 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50355 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50356 cat >>confdefs.h <<_ACEOF
50357 #define HAVE__SQRTL 1
50358 _ACEOF
50361 done
50370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50371 $as_echo_n "checking for sincosl declaration... " >&6; }
50372 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50373 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50374 $as_echo_n "(cached) " >&6
50375 else
50378 ac_ext=cpp
50379 ac_cpp='$CXXCPP $CPPFLAGS'
50380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50385 /* end confdefs.h. */
50386 #include <math.h>
50388 main ()
50390 sincosl(0, 0, 0);
50392 return 0;
50394 _ACEOF
50395 if ac_fn_cxx_try_compile "$LINENO"; then :
50396 glibcxx_cv_func_sincosl_use=yes
50397 else
50398 glibcxx_cv_func_sincosl_use=no
50400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50401 ac_ext=c
50402 ac_cpp='$CPP $CPPFLAGS'
50403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50412 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50414 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50415 for ac_func in sincosl
50416 do :
50417 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50418 if test "x$ac_cv_func_sincosl" = x""yes; then :
50419 cat >>confdefs.h <<_ACEOF
50420 #define HAVE_SINCOSL 1
50421 _ACEOF
50424 done
50426 else
50428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50429 $as_echo_n "checking for _sincosl declaration... " >&6; }
50430 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50431 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50432 $as_echo_n "(cached) " >&6
50433 else
50436 ac_ext=cpp
50437 ac_cpp='$CXXCPP $CPPFLAGS'
50438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50443 /* end confdefs.h. */
50444 #include <math.h>
50446 main ()
50448 _sincosl(0, 0, 0);
50450 return 0;
50452 _ACEOF
50453 if ac_fn_cxx_try_compile "$LINENO"; then :
50454 glibcxx_cv_func__sincosl_use=yes
50455 else
50456 glibcxx_cv_func__sincosl_use=no
50458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50459 ac_ext=c
50460 ac_cpp='$CPP $CPPFLAGS'
50461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50470 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50472 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50473 for ac_func in _sincosl
50474 do :
50475 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50476 if test "x$ac_cv_func__sincosl" = x""yes; then :
50477 cat >>confdefs.h <<_ACEOF
50478 #define HAVE__SINCOSL 1
50479 _ACEOF
50482 done
50491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50492 $as_echo_n "checking for finitel declaration... " >&6; }
50493 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50494 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50495 $as_echo_n "(cached) " >&6
50496 else
50499 ac_ext=cpp
50500 ac_cpp='$CXXCPP $CPPFLAGS'
50501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50506 /* end confdefs.h. */
50507 #include <math.h>
50508 #ifdef HAVE_IEEEFP_H
50509 #include <ieeefp.h>
50510 #endif
50513 main ()
50515 finitel(0);
50517 return 0;
50519 _ACEOF
50520 if ac_fn_cxx_try_compile "$LINENO"; then :
50521 glibcxx_cv_func_finitel_use=yes
50522 else
50523 glibcxx_cv_func_finitel_use=no
50525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50526 ac_ext=c
50527 ac_cpp='$CPP $CPPFLAGS'
50528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50537 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50539 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50540 for ac_func in finitel
50541 do :
50542 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50543 if test "x$ac_cv_func_finitel" = x""yes; then :
50544 cat >>confdefs.h <<_ACEOF
50545 #define HAVE_FINITEL 1
50546 _ACEOF
50549 done
50551 else
50553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50554 $as_echo_n "checking for _finitel declaration... " >&6; }
50555 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50556 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50557 $as_echo_n "(cached) " >&6
50558 else
50561 ac_ext=cpp
50562 ac_cpp='$CXXCPP $CPPFLAGS'
50563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50568 /* end confdefs.h. */
50569 #include <math.h>
50570 #ifdef HAVE_IEEEFP_H
50571 #include <ieeefp.h>
50572 #endif
50575 main ()
50577 _finitel(0);
50579 return 0;
50581 _ACEOF
50582 if ac_fn_cxx_try_compile "$LINENO"; then :
50583 glibcxx_cv_func__finitel_use=yes
50584 else
50585 glibcxx_cv_func__finitel_use=no
50587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50588 ac_ext=c
50589 ac_cpp='$CPP $CPPFLAGS'
50590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50599 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50601 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50602 for ac_func in _finitel
50603 do :
50604 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50605 if test "x$ac_cv_func__finitel" = x""yes; then :
50606 cat >>confdefs.h <<_ACEOF
50607 #define HAVE__FINITEL 1
50608 _ACEOF
50611 done
50619 LIBS="$ac_save_LIBS"
50620 CXXFLAGS="$ac_save_CXXFLAGS"
50623 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50624 ac_save_CXXFLAGS="$CXXFLAGS"
50625 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50629 $as_echo_n "checking for strtold declaration... " >&6; }
50630 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50631 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50632 $as_echo_n "(cached) " >&6
50633 else
50636 ac_ext=cpp
50637 ac_cpp='$CXXCPP $CPPFLAGS'
50638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50643 /* end confdefs.h. */
50644 #include <stdlib.h>
50646 main ()
50648 strtold(0, 0);
50650 return 0;
50652 _ACEOF
50653 if ac_fn_cxx_try_compile "$LINENO"; then :
50654 glibcxx_cv_func_strtold_use=yes
50655 else
50656 glibcxx_cv_func_strtold_use=no
50658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50659 ac_ext=c
50660 ac_cpp='$CPP $CPPFLAGS'
50661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50670 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50671 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50672 for ac_func in strtold
50673 do :
50674 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50675 if test "x$ac_cv_func_strtold" = x""yes; then :
50676 cat >>confdefs.h <<_ACEOF
50677 #define HAVE_STRTOLD 1
50678 _ACEOF
50681 done
50688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50689 $as_echo_n "checking for strtof declaration... " >&6; }
50690 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50691 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50692 $as_echo_n "(cached) " >&6
50693 else
50696 ac_ext=cpp
50697 ac_cpp='$CXXCPP $CPPFLAGS'
50698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50703 /* end confdefs.h. */
50704 #include <stdlib.h>
50706 main ()
50708 strtof(0, 0);
50710 return 0;
50712 _ACEOF
50713 if ac_fn_cxx_try_compile "$LINENO"; then :
50714 glibcxx_cv_func_strtof_use=yes
50715 else
50716 glibcxx_cv_func_strtof_use=no
50718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50719 ac_ext=c
50720 ac_cpp='$CPP $CPPFLAGS'
50721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50730 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50731 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50732 for ac_func in strtof
50733 do :
50734 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50735 if test "x$ac_cv_func_strtof" = x""yes; then :
50736 cat >>confdefs.h <<_ACEOF
50737 #define HAVE_STRTOF 1
50738 _ACEOF
50741 done
50748 CXXFLAGS="$ac_save_CXXFLAGS"
50750 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50754 # Check whether --enable-tls was given.
50755 if test "${enable_tls+set}" = set; then :
50756 enableval=$enable_tls;
50757 case "$enableval" in
50758 yes|no) ;;
50759 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50760 esac
50762 else
50763 enable_tls=yes
50767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50768 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50769 if test "${gcc_cv_have_tls+set}" = set; then :
50770 $as_echo_n "(cached) " >&6
50771 else
50773 if test "$cross_compiling" = yes; then :
50774 if test x$gcc_no_link = xyes; then
50775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50778 /* end confdefs.h. */
50779 __thread int a; int b; int main() { return a = b; }
50780 _ACEOF
50781 if ac_fn_c_try_link "$LINENO"; then :
50782 chktls_save_LDFLAGS="$LDFLAGS"
50783 case $host in
50784 *-*-linux*)
50785 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50787 esac
50788 chktls_save_CFLAGS="$CFLAGS"
50789 CFLAGS="-fPIC $CFLAGS"
50790 if test x$gcc_no_link = xyes; then
50791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50794 /* end confdefs.h. */
50795 int f() { return 0; }
50796 _ACEOF
50797 if ac_fn_c_try_link "$LINENO"; then :
50798 if test x$gcc_no_link = xyes; then
50799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50802 /* end confdefs.h. */
50803 __thread int a; int b; int f() { return a = b; }
50804 _ACEOF
50805 if ac_fn_c_try_link "$LINENO"; then :
50806 gcc_cv_have_tls=yes
50807 else
50808 gcc_cv_have_tls=no
50810 rm -f core conftest.err conftest.$ac_objext \
50811 conftest$ac_exeext conftest.$ac_ext
50812 else
50813 gcc_cv_have_tls=yes
50815 rm -f core conftest.err conftest.$ac_objext \
50816 conftest$ac_exeext conftest.$ac_ext
50817 CFLAGS="$chktls_save_CFLAGS"
50818 LDFLAGS="$chktls_save_LDFLAGS"
50819 else
50820 gcc_cv_have_tls=no
50822 rm -f core conftest.err conftest.$ac_objext \
50823 conftest$ac_exeext conftest.$ac_ext
50826 else
50827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50828 /* end confdefs.h. */
50829 __thread int a; int b; int main() { return a = b; }
50830 _ACEOF
50831 if ac_fn_c_try_run "$LINENO"; then :
50832 chktls_save_LDFLAGS="$LDFLAGS"
50833 LDFLAGS="-static $LDFLAGS"
50834 if test x$gcc_no_link = xyes; then
50835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50838 /* end confdefs.h. */
50839 int main() { return 0; }
50840 _ACEOF
50841 if ac_fn_c_try_link "$LINENO"; then :
50842 if test "$cross_compiling" = yes; then :
50843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50845 as_fn_error "cannot run test program while cross compiling
50846 See \`config.log' for more details." "$LINENO" 5; }
50847 else
50848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50849 /* end confdefs.h. */
50850 __thread int a; int b; int main() { return a = b; }
50851 _ACEOF
50852 if ac_fn_c_try_run "$LINENO"; then :
50853 gcc_cv_have_tls=yes
50854 else
50855 gcc_cv_have_tls=no
50857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50858 conftest.$ac_objext conftest.beam conftest.$ac_ext
50861 else
50862 gcc_cv_have_tls=yes
50864 rm -f core conftest.err conftest.$ac_objext \
50865 conftest$ac_exeext conftest.$ac_ext
50866 LDFLAGS="$chktls_save_LDFLAGS"
50867 if test $gcc_cv_have_tls = yes; then
50868 chktls_save_CFLAGS="$CFLAGS"
50869 thread_CFLAGS=failed
50870 for flag in '' '-pthread' '-lpthread'; do
50871 CFLAGS="$flag $chktls_save_CFLAGS"
50872 if test x$gcc_no_link = xyes; then
50873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50876 /* end confdefs.h. */
50877 #include <pthread.h>
50878 void *g(void *d) { return NULL; }
50880 main ()
50882 pthread_t t; pthread_create(&t,NULL,g,NULL);
50884 return 0;
50886 _ACEOF
50887 if ac_fn_c_try_link "$LINENO"; then :
50888 thread_CFLAGS="$flag"
50890 rm -f core conftest.err conftest.$ac_objext \
50891 conftest$ac_exeext conftest.$ac_ext
50892 if test "X$thread_CFLAGS" != Xfailed; then
50893 break
50895 done
50896 CFLAGS="$chktls_save_CFLAGS"
50897 if test "X$thread_CFLAGS" != Xfailed; then
50898 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50899 if test "$cross_compiling" = yes; then :
50900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50902 as_fn_error "cannot run test program while cross compiling
50903 See \`config.log' for more details." "$LINENO" 5; }
50904 else
50905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50906 /* end confdefs.h. */
50907 #include <pthread.h>
50908 __thread int a;
50909 static int *volatile a_in_other_thread;
50910 static void *
50911 thread_func (void *arg)
50913 a_in_other_thread = &a;
50914 return (void *)0;
50917 main ()
50919 pthread_t thread;
50920 void *thread_retval;
50921 int *volatile a_in_main_thread;
50922 a_in_main_thread = &a;
50923 if (pthread_create (&thread, (pthread_attr_t *)0,
50924 thread_func, (void *)0))
50925 return 0;
50926 if (pthread_join (thread, &thread_retval))
50927 return 0;
50928 return (a_in_other_thread == a_in_main_thread);
50930 return 0;
50932 _ACEOF
50933 if ac_fn_c_try_run "$LINENO"; then :
50934 gcc_cv_have_tls=yes
50935 else
50936 gcc_cv_have_tls=no
50938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50939 conftest.$ac_objext conftest.beam conftest.$ac_ext
50942 CFLAGS="$chktls_save_CFLAGS"
50945 else
50946 gcc_cv_have_tls=no
50948 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50949 conftest.$ac_objext conftest.beam conftest.$ac_ext
50953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50954 $as_echo "$gcc_cv_have_tls" >&6; }
50955 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50957 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50965 am_save_CPPFLAGS="$CPPFLAGS"
50967 for element in $INCICONV; do
50968 haveit=
50969 for x in $CPPFLAGS; do
50971 acl_save_prefix="$prefix"
50972 prefix="$acl_final_prefix"
50973 acl_save_exec_prefix="$exec_prefix"
50974 exec_prefix="$acl_final_exec_prefix"
50975 eval x=\"$x\"
50976 exec_prefix="$acl_save_exec_prefix"
50977 prefix="$acl_save_prefix"
50979 if test "X$x" = "X$element"; then
50980 haveit=yes
50981 break
50983 done
50984 if test -z "$haveit"; then
50985 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50987 done
50990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50991 $as_echo_n "checking for iconv... " >&6; }
50992 if test "${am_cv_func_iconv+set}" = set; then :
50993 $as_echo_n "(cached) " >&6
50994 else
50996 am_cv_func_iconv="no, consider installing GNU libiconv"
50997 am_cv_lib_iconv=no
50998 if test x$gcc_no_link = xyes; then
50999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51002 /* end confdefs.h. */
51003 #include <stdlib.h>
51004 #include <iconv.h>
51006 main ()
51008 iconv_t cd = iconv_open("","");
51009 iconv(cd,NULL,NULL,NULL,NULL);
51010 iconv_close(cd);
51012 return 0;
51014 _ACEOF
51015 if ac_fn_c_try_link "$LINENO"; then :
51016 am_cv_func_iconv=yes
51018 rm -f core conftest.err conftest.$ac_objext \
51019 conftest$ac_exeext conftest.$ac_ext
51020 if test "$am_cv_func_iconv" != yes; then
51021 am_save_LIBS="$LIBS"
51022 LIBS="$LIBS $LIBICONV"
51023 if test x$gcc_no_link = xyes; then
51024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51027 /* end confdefs.h. */
51028 #include <stdlib.h>
51029 #include <iconv.h>
51031 main ()
51033 iconv_t cd = iconv_open("","");
51034 iconv(cd,NULL,NULL,NULL,NULL);
51035 iconv_close(cd);
51037 return 0;
51039 _ACEOF
51040 if ac_fn_c_try_link "$LINENO"; then :
51041 am_cv_lib_iconv=yes
51042 am_cv_func_iconv=yes
51044 rm -f core conftest.err conftest.$ac_objext \
51045 conftest$ac_exeext conftest.$ac_ext
51046 LIBS="$am_save_LIBS"
51050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51051 $as_echo "$am_cv_func_iconv" >&6; }
51052 if test "$am_cv_func_iconv" = yes; then
51054 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51057 if test "$am_cv_lib_iconv" = yes; then
51058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51059 $as_echo_n "checking how to link with libiconv... " >&6; }
51060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51061 $as_echo "$LIBICONV" >&6; }
51062 else
51063 CPPFLAGS="$am_save_CPPFLAGS"
51064 LIBICONV=
51065 LTLIBICONV=
51070 if test "$am_cv_func_iconv" = yes; then
51071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51072 $as_echo_n "checking for iconv declaration... " >&6; }
51073 if test "${am_cv_proto_iconv+set}" = set; then :
51074 $as_echo_n "(cached) " >&6
51075 else
51077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51078 /* end confdefs.h. */
51080 #include <stdlib.h>
51081 #include <iconv.h>
51082 extern
51083 #ifdef __cplusplus
51085 #endif
51086 #if defined(__STDC__) || defined(__cplusplus)
51087 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51088 #else
51089 size_t iconv();
51090 #endif
51093 main ()
51097 return 0;
51099 _ACEOF
51100 if ac_fn_c_try_compile "$LINENO"; then :
51101 am_cv_proto_iconv_arg1=""
51102 else
51103 am_cv_proto_iconv_arg1="const"
51105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51106 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);"
51109 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51111 }$am_cv_proto_iconv" >&5
51112 $as_echo "${ac_t:-
51113 }$am_cv_proto_iconv" >&6; }
51115 cat >>confdefs.h <<_ACEOF
51116 #define ICONV_CONST $am_cv_proto_iconv_arg1
51117 _ACEOF
51122 *-mingw32*)
51124 # If we're not using GNU ld, then there's no point in even trying these
51125 # tests. Check for that first. We should have already tested for gld
51126 # by now (in libtool), but require it now just to be safe...
51127 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51128 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51132 # The name set by libtool depends on the version of libtool. Shame on us
51133 # for depending on an impl detail, but c'est la vie. Older versions used
51134 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51135 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51136 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51137 # set (hence we're using an older libtool), then set it.
51138 if test x${with_gnu_ld+set} != xset; then
51139 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51140 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51141 with_gnu_ld=no
51142 else
51143 with_gnu_ld=$ac_cv_prog_gnu_ld
51147 # Start by getting the version number. I think the libtool test already
51148 # does some of this, but throws away the result.
51149 glibcxx_ld_is_gold=no
51150 if test x"$with_gnu_ld" = x"yes"; then
51151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51152 $as_echo_n "checking for ld version... " >&6; }
51154 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51155 glibcxx_ld_is_gold=yes
51157 ldver=`$LD --version 2>/dev/null |
51158 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'`
51160 glibcxx_gnu_ld_version=`echo $ldver | \
51161 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51163 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51166 # Set --gc-sections.
51167 glibcxx_have_gc_sections=no
51168 if test "$glibcxx_ld_is_gold" = "yes"; then
51169 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51170 glibcxx_have_gc_sections=yes
51172 else
51173 glibcxx_gcsections_min_ld=21602
51174 if test x"$with_gnu_ld" = x"yes" &&
51175 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51176 glibcxx_have_gc_sections=yes
51179 if test "$glibcxx_have_gc_sections" = "yes"; then
51180 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51181 # NB: This flag only works reliably after 2.16.1. Configure tests
51182 # for this are difficult, so hard wire a value that should work.
51184 ac_test_CFLAGS="${CFLAGS+set}"
51185 ac_save_CFLAGS="$CFLAGS"
51186 CFLAGS='-Wl,--gc-sections'
51188 # Check for -Wl,--gc-sections
51189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51190 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51191 if test x$gcc_no_link = xyes; then
51192 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51195 /* end confdefs.h. */
51196 int one(void) { return 1; }
51197 int two(void) { return 2; }
51200 main ()
51202 two();
51204 return 0;
51206 _ACEOF
51207 if ac_fn_c_try_link "$LINENO"; then :
51208 ac_gcsections=yes
51209 else
51210 ac_gcsections=no
51212 rm -f core conftest.err conftest.$ac_objext \
51213 conftest$ac_exeext conftest.$ac_ext
51214 if test "$ac_gcsections" = "yes"; then
51215 rm -f conftest.c
51216 touch conftest.c
51217 if $CC -c conftest.c; then
51218 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51219 grep "Warning: gc-sections option ignored" > /dev/null; then
51220 ac_gcsections=no
51223 rm -f conftest.c conftest.o conftest
51225 if test "$ac_gcsections" = "yes"; then
51226 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51229 $as_echo "$ac_gcsections" >&6; }
51231 if test "$ac_test_CFLAGS" = set; then
51232 CFLAGS="$ac_save_CFLAGS"
51233 else
51234 # this is the suspicious part
51235 CFLAGS=''
51239 # Set -z,relro.
51240 # Note this is only for shared objects.
51241 ac_ld_relro=no
51242 if test x"$with_gnu_ld" = x"yes"; then
51243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51244 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51245 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51246 if test -n "$cxx_z_relo"; then
51247 OPT_LDFLAGS="-Wl,-z,relro"
51248 ac_ld_relro=yes
51250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51251 $as_echo "$ac_ld_relro" >&6; }
51254 # Set linker optimization flags.
51255 if test x"$with_gnu_ld" = x"yes"; then
51256 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51263 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51264 ac_save_CXXFLAGS="$CXXFLAGS"
51265 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51268 $as_echo_n "checking for sin in -lm... " >&6; }
51269 if test "${ac_cv_lib_m_sin+set}" = set; then :
51270 $as_echo_n "(cached) " >&6
51271 else
51272 ac_check_lib_save_LIBS=$LIBS
51273 LIBS="-lm $LIBS"
51274 if test x$gcc_no_link = xyes; then
51275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51278 /* end confdefs.h. */
51280 /* Override any GCC internal prototype to avoid an error.
51281 Use char because int might match the return type of a GCC
51282 builtin and then its argument prototype would still apply. */
51283 #ifdef __cplusplus
51284 extern "C"
51285 #endif
51286 char sin ();
51288 main ()
51290 return sin ();
51292 return 0;
51294 _ACEOF
51295 if ac_fn_c_try_link "$LINENO"; then :
51296 ac_cv_lib_m_sin=yes
51297 else
51298 ac_cv_lib_m_sin=no
51300 rm -f core conftest.err conftest.$ac_objext \
51301 conftest$ac_exeext conftest.$ac_ext
51302 LIBS=$ac_check_lib_save_LIBS
51304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51305 $as_echo "$ac_cv_lib_m_sin" >&6; }
51306 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51307 libm="-lm"
51310 ac_save_LIBS="$LIBS"
51311 LIBS="$LIBS $libm"
51315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51316 $as_echo_n "checking for isinf declaration... " >&6; }
51317 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51318 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51319 $as_echo_n "(cached) " >&6
51320 else
51323 ac_ext=cpp
51324 ac_cpp='$CXXCPP $CPPFLAGS'
51325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51330 /* end confdefs.h. */
51331 #include <math.h>
51332 #ifdef HAVE_IEEEFP_H
51333 #include <ieeefp.h>
51334 #endif
51337 main ()
51339 isinf(0);
51341 return 0;
51343 _ACEOF
51344 if ac_fn_cxx_try_compile "$LINENO"; then :
51345 glibcxx_cv_func_isinf_use=yes
51346 else
51347 glibcxx_cv_func_isinf_use=no
51349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51350 ac_ext=c
51351 ac_cpp='$CPP $CPPFLAGS'
51352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51361 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51363 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51364 for ac_func in isinf
51365 do :
51366 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51367 if test "x$ac_cv_func_isinf" = x""yes; then :
51368 cat >>confdefs.h <<_ACEOF
51369 #define HAVE_ISINF 1
51370 _ACEOF
51373 done
51375 else
51377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51378 $as_echo_n "checking for _isinf declaration... " >&6; }
51379 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51380 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51381 $as_echo_n "(cached) " >&6
51382 else
51385 ac_ext=cpp
51386 ac_cpp='$CXXCPP $CPPFLAGS'
51387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51392 /* end confdefs.h. */
51393 #include <math.h>
51394 #ifdef HAVE_IEEEFP_H
51395 #include <ieeefp.h>
51396 #endif
51399 main ()
51401 _isinf(0);
51403 return 0;
51405 _ACEOF
51406 if ac_fn_cxx_try_compile "$LINENO"; then :
51407 glibcxx_cv_func__isinf_use=yes
51408 else
51409 glibcxx_cv_func__isinf_use=no
51411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51412 ac_ext=c
51413 ac_cpp='$CPP $CPPFLAGS'
51414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51423 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51425 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51426 for ac_func in _isinf
51427 do :
51428 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51429 if test "x$ac_cv_func__isinf" = x""yes; then :
51430 cat >>confdefs.h <<_ACEOF
51431 #define HAVE__ISINF 1
51432 _ACEOF
51435 done
51444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51445 $as_echo_n "checking for isnan declaration... " >&6; }
51446 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51447 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51448 $as_echo_n "(cached) " >&6
51449 else
51452 ac_ext=cpp
51453 ac_cpp='$CXXCPP $CPPFLAGS'
51454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51459 /* end confdefs.h. */
51460 #include <math.h>
51461 #ifdef HAVE_IEEEFP_H
51462 #include <ieeefp.h>
51463 #endif
51466 main ()
51468 isnan(0);
51470 return 0;
51472 _ACEOF
51473 if ac_fn_cxx_try_compile "$LINENO"; then :
51474 glibcxx_cv_func_isnan_use=yes
51475 else
51476 glibcxx_cv_func_isnan_use=no
51478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51479 ac_ext=c
51480 ac_cpp='$CPP $CPPFLAGS'
51481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51490 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51492 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51493 for ac_func in isnan
51494 do :
51495 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51496 if test "x$ac_cv_func_isnan" = x""yes; then :
51497 cat >>confdefs.h <<_ACEOF
51498 #define HAVE_ISNAN 1
51499 _ACEOF
51502 done
51504 else
51506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51507 $as_echo_n "checking for _isnan declaration... " >&6; }
51508 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51509 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51510 $as_echo_n "(cached) " >&6
51511 else
51514 ac_ext=cpp
51515 ac_cpp='$CXXCPP $CPPFLAGS'
51516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51521 /* end confdefs.h. */
51522 #include <math.h>
51523 #ifdef HAVE_IEEEFP_H
51524 #include <ieeefp.h>
51525 #endif
51528 main ()
51530 _isnan(0);
51532 return 0;
51534 _ACEOF
51535 if ac_fn_cxx_try_compile "$LINENO"; then :
51536 glibcxx_cv_func__isnan_use=yes
51537 else
51538 glibcxx_cv_func__isnan_use=no
51540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51541 ac_ext=c
51542 ac_cpp='$CPP $CPPFLAGS'
51543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51552 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51554 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51555 for ac_func in _isnan
51556 do :
51557 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51558 if test "x$ac_cv_func__isnan" = x""yes; then :
51559 cat >>confdefs.h <<_ACEOF
51560 #define HAVE__ISNAN 1
51561 _ACEOF
51564 done
51573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51574 $as_echo_n "checking for finite declaration... " >&6; }
51575 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51576 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51577 $as_echo_n "(cached) " >&6
51578 else
51581 ac_ext=cpp
51582 ac_cpp='$CXXCPP $CPPFLAGS'
51583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51588 /* end confdefs.h. */
51589 #include <math.h>
51590 #ifdef HAVE_IEEEFP_H
51591 #include <ieeefp.h>
51592 #endif
51595 main ()
51597 finite(0);
51599 return 0;
51601 _ACEOF
51602 if ac_fn_cxx_try_compile "$LINENO"; then :
51603 glibcxx_cv_func_finite_use=yes
51604 else
51605 glibcxx_cv_func_finite_use=no
51607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51608 ac_ext=c
51609 ac_cpp='$CPP $CPPFLAGS'
51610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51619 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51621 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51622 for ac_func in finite
51623 do :
51624 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51625 if test "x$ac_cv_func_finite" = x""yes; then :
51626 cat >>confdefs.h <<_ACEOF
51627 #define HAVE_FINITE 1
51628 _ACEOF
51631 done
51633 else
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51636 $as_echo_n "checking for _finite declaration... " >&6; }
51637 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51638 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51639 $as_echo_n "(cached) " >&6
51640 else
51643 ac_ext=cpp
51644 ac_cpp='$CXXCPP $CPPFLAGS'
51645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51650 /* end confdefs.h. */
51651 #include <math.h>
51652 #ifdef HAVE_IEEEFP_H
51653 #include <ieeefp.h>
51654 #endif
51657 main ()
51659 _finite(0);
51661 return 0;
51663 _ACEOF
51664 if ac_fn_cxx_try_compile "$LINENO"; then :
51665 glibcxx_cv_func__finite_use=yes
51666 else
51667 glibcxx_cv_func__finite_use=no
51669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51670 ac_ext=c
51671 ac_cpp='$CPP $CPPFLAGS'
51672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51681 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51683 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51684 for ac_func in _finite
51685 do :
51686 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51687 if test "x$ac_cv_func__finite" = x""yes; then :
51688 cat >>confdefs.h <<_ACEOF
51689 #define HAVE__FINITE 1
51690 _ACEOF
51693 done
51702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51703 $as_echo_n "checking for sincos declaration... " >&6; }
51704 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51705 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51706 $as_echo_n "(cached) " >&6
51707 else
51710 ac_ext=cpp
51711 ac_cpp='$CXXCPP $CPPFLAGS'
51712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51717 /* end confdefs.h. */
51718 #include <math.h>
51720 main ()
51722 sincos(0, 0, 0);
51724 return 0;
51726 _ACEOF
51727 if ac_fn_cxx_try_compile "$LINENO"; then :
51728 glibcxx_cv_func_sincos_use=yes
51729 else
51730 glibcxx_cv_func_sincos_use=no
51732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51733 ac_ext=c
51734 ac_cpp='$CPP $CPPFLAGS'
51735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51744 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51746 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51747 for ac_func in sincos
51748 do :
51749 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51750 if test "x$ac_cv_func_sincos" = x""yes; then :
51751 cat >>confdefs.h <<_ACEOF
51752 #define HAVE_SINCOS 1
51753 _ACEOF
51756 done
51758 else
51760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51761 $as_echo_n "checking for _sincos declaration... " >&6; }
51762 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51763 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51764 $as_echo_n "(cached) " >&6
51765 else
51768 ac_ext=cpp
51769 ac_cpp='$CXXCPP $CPPFLAGS'
51770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51775 /* end confdefs.h. */
51776 #include <math.h>
51778 main ()
51780 _sincos(0, 0, 0);
51782 return 0;
51784 _ACEOF
51785 if ac_fn_cxx_try_compile "$LINENO"; then :
51786 glibcxx_cv_func__sincos_use=yes
51787 else
51788 glibcxx_cv_func__sincos_use=no
51790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51791 ac_ext=c
51792 ac_cpp='$CPP $CPPFLAGS'
51793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51802 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51804 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51805 for ac_func in _sincos
51806 do :
51807 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51808 if test "x$ac_cv_func__sincos" = x""yes; then :
51809 cat >>confdefs.h <<_ACEOF
51810 #define HAVE__SINCOS 1
51811 _ACEOF
51814 done
51823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51824 $as_echo_n "checking for fpclass declaration... " >&6; }
51825 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51826 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51827 $as_echo_n "(cached) " >&6
51828 else
51831 ac_ext=cpp
51832 ac_cpp='$CXXCPP $CPPFLAGS'
51833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51838 /* end confdefs.h. */
51839 #include <math.h>
51840 #ifdef HAVE_IEEEFP_H
51841 #include <ieeefp.h>
51842 #endif
51845 main ()
51847 fpclass(0);
51849 return 0;
51851 _ACEOF
51852 if ac_fn_cxx_try_compile "$LINENO"; then :
51853 glibcxx_cv_func_fpclass_use=yes
51854 else
51855 glibcxx_cv_func_fpclass_use=no
51857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51858 ac_ext=c
51859 ac_cpp='$CPP $CPPFLAGS'
51860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51869 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51871 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51872 for ac_func in fpclass
51873 do :
51874 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51875 if test "x$ac_cv_func_fpclass" = x""yes; then :
51876 cat >>confdefs.h <<_ACEOF
51877 #define HAVE_FPCLASS 1
51878 _ACEOF
51881 done
51883 else
51885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51886 $as_echo_n "checking for _fpclass declaration... " >&6; }
51887 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51888 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51889 $as_echo_n "(cached) " >&6
51890 else
51893 ac_ext=cpp
51894 ac_cpp='$CXXCPP $CPPFLAGS'
51895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51900 /* end confdefs.h. */
51901 #include <math.h>
51902 #ifdef HAVE_IEEEFP_H
51903 #include <ieeefp.h>
51904 #endif
51907 main ()
51909 _fpclass(0);
51911 return 0;
51913 _ACEOF
51914 if ac_fn_cxx_try_compile "$LINENO"; then :
51915 glibcxx_cv_func__fpclass_use=yes
51916 else
51917 glibcxx_cv_func__fpclass_use=no
51919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51920 ac_ext=c
51921 ac_cpp='$CPP $CPPFLAGS'
51922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51931 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51933 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51934 for ac_func in _fpclass
51935 do :
51936 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51937 if test "x$ac_cv_func__fpclass" = x""yes; then :
51938 cat >>confdefs.h <<_ACEOF
51939 #define HAVE__FPCLASS 1
51940 _ACEOF
51943 done
51952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51953 $as_echo_n "checking for qfpclass declaration... " >&6; }
51954 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51955 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51956 $as_echo_n "(cached) " >&6
51957 else
51960 ac_ext=cpp
51961 ac_cpp='$CXXCPP $CPPFLAGS'
51962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51967 /* end confdefs.h. */
51968 #include <math.h>
51969 #ifdef HAVE_IEEEFP_H
51970 #include <ieeefp.h>
51971 #endif
51974 main ()
51976 qfpclass(0);
51978 return 0;
51980 _ACEOF
51981 if ac_fn_cxx_try_compile "$LINENO"; then :
51982 glibcxx_cv_func_qfpclass_use=yes
51983 else
51984 glibcxx_cv_func_qfpclass_use=no
51986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51987 ac_ext=c
51988 ac_cpp='$CPP $CPPFLAGS'
51989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51998 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52000 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52001 for ac_func in qfpclass
52002 do :
52003 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52004 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52005 cat >>confdefs.h <<_ACEOF
52006 #define HAVE_QFPCLASS 1
52007 _ACEOF
52010 done
52012 else
52014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52015 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52016 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52017 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52018 $as_echo_n "(cached) " >&6
52019 else
52022 ac_ext=cpp
52023 ac_cpp='$CXXCPP $CPPFLAGS'
52024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52029 /* end confdefs.h. */
52030 #include <math.h>
52031 #ifdef HAVE_IEEEFP_H
52032 #include <ieeefp.h>
52033 #endif
52036 main ()
52038 _qfpclass(0);
52040 return 0;
52042 _ACEOF
52043 if ac_fn_cxx_try_compile "$LINENO"; then :
52044 glibcxx_cv_func__qfpclass_use=yes
52045 else
52046 glibcxx_cv_func__qfpclass_use=no
52048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52049 ac_ext=c
52050 ac_cpp='$CPP $CPPFLAGS'
52051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52060 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52062 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52063 for ac_func in _qfpclass
52064 do :
52065 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52066 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52067 cat >>confdefs.h <<_ACEOF
52068 #define HAVE__QFPCLASS 1
52069 _ACEOF
52072 done
52081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52082 $as_echo_n "checking for hypot declaration... " >&6; }
52083 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52084 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52085 $as_echo_n "(cached) " >&6
52086 else
52089 ac_ext=cpp
52090 ac_cpp='$CXXCPP $CPPFLAGS'
52091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52096 /* end confdefs.h. */
52097 #include <math.h>
52099 main ()
52101 hypot(0, 0);
52103 return 0;
52105 _ACEOF
52106 if ac_fn_cxx_try_compile "$LINENO"; then :
52107 glibcxx_cv_func_hypot_use=yes
52108 else
52109 glibcxx_cv_func_hypot_use=no
52111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52112 ac_ext=c
52113 ac_cpp='$CPP $CPPFLAGS'
52114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52123 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52125 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52126 for ac_func in hypot
52127 do :
52128 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52129 if test "x$ac_cv_func_hypot" = x""yes; then :
52130 cat >>confdefs.h <<_ACEOF
52131 #define HAVE_HYPOT 1
52132 _ACEOF
52135 done
52137 else
52139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52140 $as_echo_n "checking for _hypot declaration... " >&6; }
52141 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52142 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52143 $as_echo_n "(cached) " >&6
52144 else
52147 ac_ext=cpp
52148 ac_cpp='$CXXCPP $CPPFLAGS'
52149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52154 /* end confdefs.h. */
52155 #include <math.h>
52157 main ()
52159 _hypot(0, 0);
52161 return 0;
52163 _ACEOF
52164 if ac_fn_cxx_try_compile "$LINENO"; then :
52165 glibcxx_cv_func__hypot_use=yes
52166 else
52167 glibcxx_cv_func__hypot_use=no
52169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52170 ac_ext=c
52171 ac_cpp='$CPP $CPPFLAGS'
52172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52181 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52183 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52184 for ac_func in _hypot
52185 do :
52186 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52187 if test "x$ac_cv_func__hypot" = x""yes; then :
52188 cat >>confdefs.h <<_ACEOF
52189 #define HAVE__HYPOT 1
52190 _ACEOF
52193 done
52202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52203 $as_echo_n "checking for float trig functions... " >&6; }
52204 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52205 $as_echo_n "(cached) " >&6
52206 else
52209 ac_ext=cpp
52210 ac_cpp='$CXXCPP $CPPFLAGS'
52211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52216 /* end confdefs.h. */
52217 #include <math.h>
52219 main ()
52221 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52223 return 0;
52225 _ACEOF
52226 if ac_fn_cxx_try_compile "$LINENO"; then :
52227 glibcxx_cv_func_float_trig_use=yes
52228 else
52229 glibcxx_cv_func_float_trig_use=no
52231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52232 ac_ext=c
52233 ac_cpp='$CPP $CPPFLAGS'
52234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52241 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52242 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52243 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52244 do :
52245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52247 eval as_val=\$$as_ac_var
52248 if test "x$as_val" = x""yes; then :
52249 cat >>confdefs.h <<_ACEOF
52250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52251 _ACEOF
52254 done
52256 else
52257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52258 $as_echo_n "checking for _float trig functions... " >&6; }
52259 if test "${glibcxx_cv_func__float_trig_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 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52278 return 0;
52280 _ACEOF
52281 if ac_fn_cxx_try_compile "$LINENO"; then :
52282 glibcxx_cv_func__float_trig_use=yes
52283 else
52284 glibcxx_cv_func__float_trig_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_trig_use" >&5
52296 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52297 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52298 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
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
52318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52319 $as_echo_n "checking for float round functions... " >&6; }
52320 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52321 $as_echo_n "(cached) " >&6
52322 else
52325 ac_ext=cpp
52326 ac_cpp='$CXXCPP $CPPFLAGS'
52327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52332 /* end confdefs.h. */
52333 #include <math.h>
52335 main ()
52337 ceilf (0); floorf (0);
52339 return 0;
52341 _ACEOF
52342 if ac_fn_cxx_try_compile "$LINENO"; then :
52343 glibcxx_cv_func_float_round_use=yes
52344 else
52345 glibcxx_cv_func_float_round_use=no
52347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52348 ac_ext=c
52349 ac_cpp='$CPP $CPPFLAGS'
52350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52357 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52358 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52359 for ac_func in ceilf floorf
52360 do :
52361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52363 eval as_val=\$$as_ac_var
52364 if test "x$as_val" = x""yes; then :
52365 cat >>confdefs.h <<_ACEOF
52366 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52367 _ACEOF
52370 done
52372 else
52373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52374 $as_echo_n "checking for _float round functions... " >&6; }
52375 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52376 $as_echo_n "(cached) " >&6
52377 else
52380 ac_ext=cpp
52381 ac_cpp='$CXXCPP $CPPFLAGS'
52382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52387 /* end confdefs.h. */
52388 #include <math.h>
52390 main ()
52392 _ceilf (0); _floorf (0);
52394 return 0;
52396 _ACEOF
52397 if ac_fn_cxx_try_compile "$LINENO"; then :
52398 glibcxx_cv_func__float_round_use=yes
52399 else
52400 glibcxx_cv_func__float_round_use=no
52402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52403 ac_ext=c
52404 ac_cpp='$CPP $CPPFLAGS'
52405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52412 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52413 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52414 for ac_func in _ceilf _floorf
52415 do :
52416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52418 eval as_val=\$$as_ac_var
52419 if test "x$as_val" = x""yes; then :
52420 cat >>confdefs.h <<_ACEOF
52421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52422 _ACEOF
52425 done
52435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52436 $as_echo_n "checking for expf declaration... " >&6; }
52437 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52438 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52439 $as_echo_n "(cached) " >&6
52440 else
52443 ac_ext=cpp
52444 ac_cpp='$CXXCPP $CPPFLAGS'
52445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52450 /* end confdefs.h. */
52451 #include <math.h>
52452 #ifdef HAVE_IEEEFP_H
52453 #include <ieeefp.h>
52454 #endif
52457 main ()
52459 expf(0);
52461 return 0;
52463 _ACEOF
52464 if ac_fn_cxx_try_compile "$LINENO"; then :
52465 glibcxx_cv_func_expf_use=yes
52466 else
52467 glibcxx_cv_func_expf_use=no
52469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52470 ac_ext=c
52471 ac_cpp='$CPP $CPPFLAGS'
52472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52481 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52483 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52484 for ac_func in expf
52485 do :
52486 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52487 if test "x$ac_cv_func_expf" = x""yes; then :
52488 cat >>confdefs.h <<_ACEOF
52489 #define HAVE_EXPF 1
52490 _ACEOF
52493 done
52495 else
52497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52498 $as_echo_n "checking for _expf declaration... " >&6; }
52499 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52500 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52501 $as_echo_n "(cached) " >&6
52502 else
52505 ac_ext=cpp
52506 ac_cpp='$CXXCPP $CPPFLAGS'
52507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52512 /* end confdefs.h. */
52513 #include <math.h>
52514 #ifdef HAVE_IEEEFP_H
52515 #include <ieeefp.h>
52516 #endif
52519 main ()
52521 _expf(0);
52523 return 0;
52525 _ACEOF
52526 if ac_fn_cxx_try_compile "$LINENO"; then :
52527 glibcxx_cv_func__expf_use=yes
52528 else
52529 glibcxx_cv_func__expf_use=no
52531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52532 ac_ext=c
52533 ac_cpp='$CPP $CPPFLAGS'
52534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52543 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52545 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52546 for ac_func in _expf
52547 do :
52548 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52549 if test "x$ac_cv_func__expf" = x""yes; then :
52550 cat >>confdefs.h <<_ACEOF
52551 #define HAVE__EXPF 1
52552 _ACEOF
52555 done
52564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52565 $as_echo_n "checking for isnanf declaration... " >&6; }
52566 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52567 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52568 $as_echo_n "(cached) " >&6
52569 else
52572 ac_ext=cpp
52573 ac_cpp='$CXXCPP $CPPFLAGS'
52574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52579 /* end confdefs.h. */
52580 #include <math.h>
52581 #ifdef HAVE_IEEEFP_H
52582 #include <ieeefp.h>
52583 #endif
52586 main ()
52588 isnanf(0);
52590 return 0;
52592 _ACEOF
52593 if ac_fn_cxx_try_compile "$LINENO"; then :
52594 glibcxx_cv_func_isnanf_use=yes
52595 else
52596 glibcxx_cv_func_isnanf_use=no
52598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52599 ac_ext=c
52600 ac_cpp='$CPP $CPPFLAGS'
52601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52610 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52612 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52613 for ac_func in isnanf
52614 do :
52615 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52616 if test "x$ac_cv_func_isnanf" = x""yes; then :
52617 cat >>confdefs.h <<_ACEOF
52618 #define HAVE_ISNANF 1
52619 _ACEOF
52622 done
52624 else
52626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52627 $as_echo_n "checking for _isnanf declaration... " >&6; }
52628 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52629 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52630 $as_echo_n "(cached) " >&6
52631 else
52634 ac_ext=cpp
52635 ac_cpp='$CXXCPP $CPPFLAGS'
52636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52641 /* end confdefs.h. */
52642 #include <math.h>
52643 #ifdef HAVE_IEEEFP_H
52644 #include <ieeefp.h>
52645 #endif
52648 main ()
52650 _isnanf(0);
52652 return 0;
52654 _ACEOF
52655 if ac_fn_cxx_try_compile "$LINENO"; then :
52656 glibcxx_cv_func__isnanf_use=yes
52657 else
52658 glibcxx_cv_func__isnanf_use=no
52660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52661 ac_ext=c
52662 ac_cpp='$CPP $CPPFLAGS'
52663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52672 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52674 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52675 for ac_func in _isnanf
52676 do :
52677 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52678 if test "x$ac_cv_func__isnanf" = x""yes; then :
52679 cat >>confdefs.h <<_ACEOF
52680 #define HAVE__ISNANF 1
52681 _ACEOF
52684 done
52693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52694 $as_echo_n "checking for isinff declaration... " >&6; }
52695 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52696 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52697 $as_echo_n "(cached) " >&6
52698 else
52701 ac_ext=cpp
52702 ac_cpp='$CXXCPP $CPPFLAGS'
52703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52708 /* end confdefs.h. */
52709 #include <math.h>
52710 #ifdef HAVE_IEEEFP_H
52711 #include <ieeefp.h>
52712 #endif
52715 main ()
52717 isinff(0);
52719 return 0;
52721 _ACEOF
52722 if ac_fn_cxx_try_compile "$LINENO"; then :
52723 glibcxx_cv_func_isinff_use=yes
52724 else
52725 glibcxx_cv_func_isinff_use=no
52727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52728 ac_ext=c
52729 ac_cpp='$CPP $CPPFLAGS'
52730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52739 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52741 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52742 for ac_func in isinff
52743 do :
52744 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52745 if test "x$ac_cv_func_isinff" = x""yes; then :
52746 cat >>confdefs.h <<_ACEOF
52747 #define HAVE_ISINFF 1
52748 _ACEOF
52751 done
52753 else
52755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52756 $as_echo_n "checking for _isinff declaration... " >&6; }
52757 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52758 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52759 $as_echo_n "(cached) " >&6
52760 else
52763 ac_ext=cpp
52764 ac_cpp='$CXXCPP $CPPFLAGS'
52765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52770 /* end confdefs.h. */
52771 #include <math.h>
52772 #ifdef HAVE_IEEEFP_H
52773 #include <ieeefp.h>
52774 #endif
52777 main ()
52779 _isinff(0);
52781 return 0;
52783 _ACEOF
52784 if ac_fn_cxx_try_compile "$LINENO"; then :
52785 glibcxx_cv_func__isinff_use=yes
52786 else
52787 glibcxx_cv_func__isinff_use=no
52789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52790 ac_ext=c
52791 ac_cpp='$CPP $CPPFLAGS'
52792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52801 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52803 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52804 for ac_func in _isinff
52805 do :
52806 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52807 if test "x$ac_cv_func__isinff" = x""yes; then :
52808 cat >>confdefs.h <<_ACEOF
52809 #define HAVE__ISINFF 1
52810 _ACEOF
52813 done
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52823 $as_echo_n "checking for atan2f declaration... " >&6; }
52824 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52825 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52826 $as_echo_n "(cached) " >&6
52827 else
52830 ac_ext=cpp
52831 ac_cpp='$CXXCPP $CPPFLAGS'
52832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52837 /* end confdefs.h. */
52838 #include <math.h>
52840 main ()
52842 atan2f(0, 0);
52844 return 0;
52846 _ACEOF
52847 if ac_fn_cxx_try_compile "$LINENO"; then :
52848 glibcxx_cv_func_atan2f_use=yes
52849 else
52850 glibcxx_cv_func_atan2f_use=no
52852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52853 ac_ext=c
52854 ac_cpp='$CPP $CPPFLAGS'
52855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52864 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52866 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52867 for ac_func in atan2f
52868 do :
52869 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52870 if test "x$ac_cv_func_atan2f" = x""yes; then :
52871 cat >>confdefs.h <<_ACEOF
52872 #define HAVE_ATAN2F 1
52873 _ACEOF
52876 done
52878 else
52880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52881 $as_echo_n "checking for _atan2f declaration... " >&6; }
52882 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52883 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52884 $as_echo_n "(cached) " >&6
52885 else
52888 ac_ext=cpp
52889 ac_cpp='$CXXCPP $CPPFLAGS'
52890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52895 /* end confdefs.h. */
52896 #include <math.h>
52898 main ()
52900 _atan2f(0, 0);
52902 return 0;
52904 _ACEOF
52905 if ac_fn_cxx_try_compile "$LINENO"; then :
52906 glibcxx_cv_func__atan2f_use=yes
52907 else
52908 glibcxx_cv_func__atan2f_use=no
52910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52911 ac_ext=c
52912 ac_cpp='$CPP $CPPFLAGS'
52913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52922 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52924 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52925 for ac_func in _atan2f
52926 do :
52927 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52928 if test "x$ac_cv_func__atan2f" = x""yes; then :
52929 cat >>confdefs.h <<_ACEOF
52930 #define HAVE__ATAN2F 1
52931 _ACEOF
52934 done
52943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52944 $as_echo_n "checking for fabsf declaration... " >&6; }
52945 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52946 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52947 $as_echo_n "(cached) " >&6
52948 else
52951 ac_ext=cpp
52952 ac_cpp='$CXXCPP $CPPFLAGS'
52953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52958 /* end confdefs.h. */
52959 #include <math.h>
52960 #ifdef HAVE_IEEEFP_H
52961 #include <ieeefp.h>
52962 #endif
52965 main ()
52967 fabsf(0);
52969 return 0;
52971 _ACEOF
52972 if ac_fn_cxx_try_compile "$LINENO"; then :
52973 glibcxx_cv_func_fabsf_use=yes
52974 else
52975 glibcxx_cv_func_fabsf_use=no
52977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52978 ac_ext=c
52979 ac_cpp='$CPP $CPPFLAGS'
52980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52989 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52991 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52992 for ac_func in fabsf
52993 do :
52994 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52995 if test "x$ac_cv_func_fabsf" = x""yes; then :
52996 cat >>confdefs.h <<_ACEOF
52997 #define HAVE_FABSF 1
52998 _ACEOF
53001 done
53003 else
53005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53006 $as_echo_n "checking for _fabsf declaration... " >&6; }
53007 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53008 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53009 $as_echo_n "(cached) " >&6
53010 else
53013 ac_ext=cpp
53014 ac_cpp='$CXXCPP $CPPFLAGS'
53015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53020 /* end confdefs.h. */
53021 #include <math.h>
53022 #ifdef HAVE_IEEEFP_H
53023 #include <ieeefp.h>
53024 #endif
53027 main ()
53029 _fabsf(0);
53031 return 0;
53033 _ACEOF
53034 if ac_fn_cxx_try_compile "$LINENO"; then :
53035 glibcxx_cv_func__fabsf_use=yes
53036 else
53037 glibcxx_cv_func__fabsf_use=no
53039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53040 ac_ext=c
53041 ac_cpp='$CPP $CPPFLAGS'
53042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53051 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53053 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53054 for ac_func in _fabsf
53055 do :
53056 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53057 if test "x$ac_cv_func__fabsf" = x""yes; then :
53058 cat >>confdefs.h <<_ACEOF
53059 #define HAVE__FABSF 1
53060 _ACEOF
53063 done
53072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53073 $as_echo_n "checking for fmodf declaration... " >&6; }
53074 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53075 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53076 $as_echo_n "(cached) " >&6
53077 else
53080 ac_ext=cpp
53081 ac_cpp='$CXXCPP $CPPFLAGS'
53082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53087 /* end confdefs.h. */
53088 #include <math.h>
53090 main ()
53092 fmodf(0, 0);
53094 return 0;
53096 _ACEOF
53097 if ac_fn_cxx_try_compile "$LINENO"; then :
53098 glibcxx_cv_func_fmodf_use=yes
53099 else
53100 glibcxx_cv_func_fmodf_use=no
53102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53103 ac_ext=c
53104 ac_cpp='$CPP $CPPFLAGS'
53105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53114 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53116 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53117 for ac_func in fmodf
53118 do :
53119 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53120 if test "x$ac_cv_func_fmodf" = x""yes; then :
53121 cat >>confdefs.h <<_ACEOF
53122 #define HAVE_FMODF 1
53123 _ACEOF
53126 done
53128 else
53130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53131 $as_echo_n "checking for _fmodf declaration... " >&6; }
53132 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53133 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53134 $as_echo_n "(cached) " >&6
53135 else
53138 ac_ext=cpp
53139 ac_cpp='$CXXCPP $CPPFLAGS'
53140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53145 /* end confdefs.h. */
53146 #include <math.h>
53148 main ()
53150 _fmodf(0, 0);
53152 return 0;
53154 _ACEOF
53155 if ac_fn_cxx_try_compile "$LINENO"; then :
53156 glibcxx_cv_func__fmodf_use=yes
53157 else
53158 glibcxx_cv_func__fmodf_use=no
53160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53161 ac_ext=c
53162 ac_cpp='$CPP $CPPFLAGS'
53163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53172 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53174 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53175 for ac_func in _fmodf
53176 do :
53177 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53178 if test "x$ac_cv_func__fmodf" = x""yes; then :
53179 cat >>confdefs.h <<_ACEOF
53180 #define HAVE__FMODF 1
53181 _ACEOF
53184 done
53193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53194 $as_echo_n "checking for frexpf declaration... " >&6; }
53195 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53196 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53197 $as_echo_n "(cached) " >&6
53198 else
53201 ac_ext=cpp
53202 ac_cpp='$CXXCPP $CPPFLAGS'
53203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53208 /* end confdefs.h. */
53209 #include <math.h>
53211 main ()
53213 frexpf(0, 0);
53215 return 0;
53217 _ACEOF
53218 if ac_fn_cxx_try_compile "$LINENO"; then :
53219 glibcxx_cv_func_frexpf_use=yes
53220 else
53221 glibcxx_cv_func_frexpf_use=no
53223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53224 ac_ext=c
53225 ac_cpp='$CPP $CPPFLAGS'
53226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53235 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53237 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53238 for ac_func in frexpf
53239 do :
53240 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53241 if test "x$ac_cv_func_frexpf" = x""yes; then :
53242 cat >>confdefs.h <<_ACEOF
53243 #define HAVE_FREXPF 1
53244 _ACEOF
53247 done
53249 else
53251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53252 $as_echo_n "checking for _frexpf declaration... " >&6; }
53253 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53254 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53255 $as_echo_n "(cached) " >&6
53256 else
53259 ac_ext=cpp
53260 ac_cpp='$CXXCPP $CPPFLAGS'
53261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53266 /* end confdefs.h. */
53267 #include <math.h>
53269 main ()
53271 _frexpf(0, 0);
53273 return 0;
53275 _ACEOF
53276 if ac_fn_cxx_try_compile "$LINENO"; then :
53277 glibcxx_cv_func__frexpf_use=yes
53278 else
53279 glibcxx_cv_func__frexpf_use=no
53281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53282 ac_ext=c
53283 ac_cpp='$CPP $CPPFLAGS'
53284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53293 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53295 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53296 for ac_func in _frexpf
53297 do :
53298 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53299 if test "x$ac_cv_func__frexpf" = x""yes; then :
53300 cat >>confdefs.h <<_ACEOF
53301 #define HAVE__FREXPF 1
53302 _ACEOF
53305 done
53314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53315 $as_echo_n "checking for hypotf declaration... " >&6; }
53316 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53317 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53318 $as_echo_n "(cached) " >&6
53319 else
53322 ac_ext=cpp
53323 ac_cpp='$CXXCPP $CPPFLAGS'
53324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53329 /* end confdefs.h. */
53330 #include <math.h>
53332 main ()
53334 hypotf(0, 0);
53336 return 0;
53338 _ACEOF
53339 if ac_fn_cxx_try_compile "$LINENO"; then :
53340 glibcxx_cv_func_hypotf_use=yes
53341 else
53342 glibcxx_cv_func_hypotf_use=no
53344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53345 ac_ext=c
53346 ac_cpp='$CPP $CPPFLAGS'
53347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53356 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53358 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53359 for ac_func in hypotf
53360 do :
53361 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53362 if test "x$ac_cv_func_hypotf" = x""yes; then :
53363 cat >>confdefs.h <<_ACEOF
53364 #define HAVE_HYPOTF 1
53365 _ACEOF
53368 done
53370 else
53372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53373 $as_echo_n "checking for _hypotf declaration... " >&6; }
53374 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53375 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53376 $as_echo_n "(cached) " >&6
53377 else
53380 ac_ext=cpp
53381 ac_cpp='$CXXCPP $CPPFLAGS'
53382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53387 /* end confdefs.h. */
53388 #include <math.h>
53390 main ()
53392 _hypotf(0, 0);
53394 return 0;
53396 _ACEOF
53397 if ac_fn_cxx_try_compile "$LINENO"; then :
53398 glibcxx_cv_func__hypotf_use=yes
53399 else
53400 glibcxx_cv_func__hypotf_use=no
53402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53403 ac_ext=c
53404 ac_cpp='$CPP $CPPFLAGS'
53405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53414 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53416 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53417 for ac_func in _hypotf
53418 do :
53419 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53420 if test "x$ac_cv_func__hypotf" = x""yes; then :
53421 cat >>confdefs.h <<_ACEOF
53422 #define HAVE__HYPOTF 1
53423 _ACEOF
53426 done
53435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53436 $as_echo_n "checking for ldexpf declaration... " >&6; }
53437 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53438 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53439 $as_echo_n "(cached) " >&6
53440 else
53443 ac_ext=cpp
53444 ac_cpp='$CXXCPP $CPPFLAGS'
53445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53450 /* end confdefs.h. */
53451 #include <math.h>
53453 main ()
53455 ldexpf(0, 0);
53457 return 0;
53459 _ACEOF
53460 if ac_fn_cxx_try_compile "$LINENO"; then :
53461 glibcxx_cv_func_ldexpf_use=yes
53462 else
53463 glibcxx_cv_func_ldexpf_use=no
53465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53466 ac_ext=c
53467 ac_cpp='$CPP $CPPFLAGS'
53468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53477 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53479 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53480 for ac_func in ldexpf
53481 do :
53482 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53483 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53484 cat >>confdefs.h <<_ACEOF
53485 #define HAVE_LDEXPF 1
53486 _ACEOF
53489 done
53491 else
53493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53494 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53495 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53496 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53497 $as_echo_n "(cached) " >&6
53498 else
53501 ac_ext=cpp
53502 ac_cpp='$CXXCPP $CPPFLAGS'
53503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53508 /* end confdefs.h. */
53509 #include <math.h>
53511 main ()
53513 _ldexpf(0, 0);
53515 return 0;
53517 _ACEOF
53518 if ac_fn_cxx_try_compile "$LINENO"; then :
53519 glibcxx_cv_func__ldexpf_use=yes
53520 else
53521 glibcxx_cv_func__ldexpf_use=no
53523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53524 ac_ext=c
53525 ac_cpp='$CPP $CPPFLAGS'
53526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53535 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53537 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53538 for ac_func in _ldexpf
53539 do :
53540 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53541 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53542 cat >>confdefs.h <<_ACEOF
53543 #define HAVE__LDEXPF 1
53544 _ACEOF
53547 done
53556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53557 $as_echo_n "checking for logf declaration... " >&6; }
53558 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53559 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53560 $as_echo_n "(cached) " >&6
53561 else
53564 ac_ext=cpp
53565 ac_cpp='$CXXCPP $CPPFLAGS'
53566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53571 /* end confdefs.h. */
53572 #include <math.h>
53573 #ifdef HAVE_IEEEFP_H
53574 #include <ieeefp.h>
53575 #endif
53578 main ()
53580 logf(0);
53582 return 0;
53584 _ACEOF
53585 if ac_fn_cxx_try_compile "$LINENO"; then :
53586 glibcxx_cv_func_logf_use=yes
53587 else
53588 glibcxx_cv_func_logf_use=no
53590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53591 ac_ext=c
53592 ac_cpp='$CPP $CPPFLAGS'
53593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53602 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53604 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53605 for ac_func in logf
53606 do :
53607 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53608 if test "x$ac_cv_func_logf" = x""yes; then :
53609 cat >>confdefs.h <<_ACEOF
53610 #define HAVE_LOGF 1
53611 _ACEOF
53614 done
53616 else
53618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53619 $as_echo_n "checking for _logf declaration... " >&6; }
53620 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53621 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53622 $as_echo_n "(cached) " >&6
53623 else
53626 ac_ext=cpp
53627 ac_cpp='$CXXCPP $CPPFLAGS'
53628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53633 /* end confdefs.h. */
53634 #include <math.h>
53635 #ifdef HAVE_IEEEFP_H
53636 #include <ieeefp.h>
53637 #endif
53640 main ()
53642 _logf(0);
53644 return 0;
53646 _ACEOF
53647 if ac_fn_cxx_try_compile "$LINENO"; then :
53648 glibcxx_cv_func__logf_use=yes
53649 else
53650 glibcxx_cv_func__logf_use=no
53652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53653 ac_ext=c
53654 ac_cpp='$CPP $CPPFLAGS'
53655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53664 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53666 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53667 for ac_func in _logf
53668 do :
53669 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53670 if test "x$ac_cv_func__logf" = x""yes; then :
53671 cat >>confdefs.h <<_ACEOF
53672 #define HAVE__LOGF 1
53673 _ACEOF
53676 done
53685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53686 $as_echo_n "checking for log10f declaration... " >&6; }
53687 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53688 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53689 $as_echo_n "(cached) " >&6
53690 else
53693 ac_ext=cpp
53694 ac_cpp='$CXXCPP $CPPFLAGS'
53695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53700 /* end confdefs.h. */
53701 #include <math.h>
53702 #ifdef HAVE_IEEEFP_H
53703 #include <ieeefp.h>
53704 #endif
53707 main ()
53709 log10f(0);
53711 return 0;
53713 _ACEOF
53714 if ac_fn_cxx_try_compile "$LINENO"; then :
53715 glibcxx_cv_func_log10f_use=yes
53716 else
53717 glibcxx_cv_func_log10f_use=no
53719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53720 ac_ext=c
53721 ac_cpp='$CPP $CPPFLAGS'
53722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53731 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53733 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53734 for ac_func in log10f
53735 do :
53736 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53737 if test "x$ac_cv_func_log10f" = x""yes; then :
53738 cat >>confdefs.h <<_ACEOF
53739 #define HAVE_LOG10F 1
53740 _ACEOF
53743 done
53745 else
53747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53748 $as_echo_n "checking for _log10f declaration... " >&6; }
53749 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53750 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53751 $as_echo_n "(cached) " >&6
53752 else
53755 ac_ext=cpp
53756 ac_cpp='$CXXCPP $CPPFLAGS'
53757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53762 /* end confdefs.h. */
53763 #include <math.h>
53764 #ifdef HAVE_IEEEFP_H
53765 #include <ieeefp.h>
53766 #endif
53769 main ()
53771 _log10f(0);
53773 return 0;
53775 _ACEOF
53776 if ac_fn_cxx_try_compile "$LINENO"; then :
53777 glibcxx_cv_func__log10f_use=yes
53778 else
53779 glibcxx_cv_func__log10f_use=no
53781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53782 ac_ext=c
53783 ac_cpp='$CPP $CPPFLAGS'
53784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53793 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53795 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53796 for ac_func in _log10f
53797 do :
53798 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53799 if test "x$ac_cv_func__log10f" = x""yes; then :
53800 cat >>confdefs.h <<_ACEOF
53801 #define HAVE__LOG10F 1
53802 _ACEOF
53805 done
53814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53815 $as_echo_n "checking for modff declaration... " >&6; }
53816 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53817 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53818 $as_echo_n "(cached) " >&6
53819 else
53822 ac_ext=cpp
53823 ac_cpp='$CXXCPP $CPPFLAGS'
53824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53829 /* end confdefs.h. */
53830 #include <math.h>
53832 main ()
53834 modff(0, 0);
53836 return 0;
53838 _ACEOF
53839 if ac_fn_cxx_try_compile "$LINENO"; then :
53840 glibcxx_cv_func_modff_use=yes
53841 else
53842 glibcxx_cv_func_modff_use=no
53844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53845 ac_ext=c
53846 ac_cpp='$CPP $CPPFLAGS'
53847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53856 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53858 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53859 for ac_func in modff
53860 do :
53861 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53862 if test "x$ac_cv_func_modff" = x""yes; then :
53863 cat >>confdefs.h <<_ACEOF
53864 #define HAVE_MODFF 1
53865 _ACEOF
53868 done
53870 else
53872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53873 $as_echo_n "checking for _modff declaration... " >&6; }
53874 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53875 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53876 $as_echo_n "(cached) " >&6
53877 else
53880 ac_ext=cpp
53881 ac_cpp='$CXXCPP $CPPFLAGS'
53882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53887 /* end confdefs.h. */
53888 #include <math.h>
53890 main ()
53892 _modff(0, 0);
53894 return 0;
53896 _ACEOF
53897 if ac_fn_cxx_try_compile "$LINENO"; then :
53898 glibcxx_cv_func__modff_use=yes
53899 else
53900 glibcxx_cv_func__modff_use=no
53902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53903 ac_ext=c
53904 ac_cpp='$CPP $CPPFLAGS'
53905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53914 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53916 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53917 for ac_func in _modff
53918 do :
53919 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53920 if test "x$ac_cv_func__modff" = x""yes; then :
53921 cat >>confdefs.h <<_ACEOF
53922 #define HAVE__MODFF 1
53923 _ACEOF
53926 done
53935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53936 $as_echo_n "checking for modf declaration... " >&6; }
53937 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53938 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53939 $as_echo_n "(cached) " >&6
53940 else
53943 ac_ext=cpp
53944 ac_cpp='$CXXCPP $CPPFLAGS'
53945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53950 /* end confdefs.h. */
53951 #include <math.h>
53953 main ()
53955 modf(0, 0);
53957 return 0;
53959 _ACEOF
53960 if ac_fn_cxx_try_compile "$LINENO"; then :
53961 glibcxx_cv_func_modf_use=yes
53962 else
53963 glibcxx_cv_func_modf_use=no
53965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53966 ac_ext=c
53967 ac_cpp='$CPP $CPPFLAGS'
53968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53977 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53979 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53980 for ac_func in modf
53981 do :
53982 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53983 if test "x$ac_cv_func_modf" = x""yes; then :
53984 cat >>confdefs.h <<_ACEOF
53985 #define HAVE_MODF 1
53986 _ACEOF
53989 done
53991 else
53993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53994 $as_echo_n "checking for _modf declaration... " >&6; }
53995 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53996 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53997 $as_echo_n "(cached) " >&6
53998 else
54001 ac_ext=cpp
54002 ac_cpp='$CXXCPP $CPPFLAGS'
54003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54008 /* end confdefs.h. */
54009 #include <math.h>
54011 main ()
54013 _modf(0, 0);
54015 return 0;
54017 _ACEOF
54018 if ac_fn_cxx_try_compile "$LINENO"; then :
54019 glibcxx_cv_func__modf_use=yes
54020 else
54021 glibcxx_cv_func__modf_use=no
54023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54024 ac_ext=c
54025 ac_cpp='$CPP $CPPFLAGS'
54026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54035 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54037 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54038 for ac_func in _modf
54039 do :
54040 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54041 if test "x$ac_cv_func__modf" = x""yes; then :
54042 cat >>confdefs.h <<_ACEOF
54043 #define HAVE__MODF 1
54044 _ACEOF
54047 done
54056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54057 $as_echo_n "checking for powf declaration... " >&6; }
54058 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54059 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54060 $as_echo_n "(cached) " >&6
54061 else
54064 ac_ext=cpp
54065 ac_cpp='$CXXCPP $CPPFLAGS'
54066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54071 /* end confdefs.h. */
54072 #include <math.h>
54074 main ()
54076 powf(0, 0);
54078 return 0;
54080 _ACEOF
54081 if ac_fn_cxx_try_compile "$LINENO"; then :
54082 glibcxx_cv_func_powf_use=yes
54083 else
54084 glibcxx_cv_func_powf_use=no
54086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54087 ac_ext=c
54088 ac_cpp='$CPP $CPPFLAGS'
54089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54098 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54100 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54101 for ac_func in powf
54102 do :
54103 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54104 if test "x$ac_cv_func_powf" = x""yes; then :
54105 cat >>confdefs.h <<_ACEOF
54106 #define HAVE_POWF 1
54107 _ACEOF
54110 done
54112 else
54114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54115 $as_echo_n "checking for _powf declaration... " >&6; }
54116 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54117 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54118 $as_echo_n "(cached) " >&6
54119 else
54122 ac_ext=cpp
54123 ac_cpp='$CXXCPP $CPPFLAGS'
54124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54129 /* end confdefs.h. */
54130 #include <math.h>
54132 main ()
54134 _powf(0, 0);
54136 return 0;
54138 _ACEOF
54139 if ac_fn_cxx_try_compile "$LINENO"; then :
54140 glibcxx_cv_func__powf_use=yes
54141 else
54142 glibcxx_cv_func__powf_use=no
54144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54145 ac_ext=c
54146 ac_cpp='$CPP $CPPFLAGS'
54147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54156 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54158 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54159 for ac_func in _powf
54160 do :
54161 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54162 if test "x$ac_cv_func__powf" = x""yes; then :
54163 cat >>confdefs.h <<_ACEOF
54164 #define HAVE__POWF 1
54165 _ACEOF
54168 done
54177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54178 $as_echo_n "checking for sqrtf declaration... " >&6; }
54179 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54180 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54181 $as_echo_n "(cached) " >&6
54182 else
54185 ac_ext=cpp
54186 ac_cpp='$CXXCPP $CPPFLAGS'
54187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54192 /* end confdefs.h. */
54193 #include <math.h>
54194 #ifdef HAVE_IEEEFP_H
54195 #include <ieeefp.h>
54196 #endif
54199 main ()
54201 sqrtf(0);
54203 return 0;
54205 _ACEOF
54206 if ac_fn_cxx_try_compile "$LINENO"; then :
54207 glibcxx_cv_func_sqrtf_use=yes
54208 else
54209 glibcxx_cv_func_sqrtf_use=no
54211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54212 ac_ext=c
54213 ac_cpp='$CPP $CPPFLAGS'
54214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54223 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54225 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54226 for ac_func in sqrtf
54227 do :
54228 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54229 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54230 cat >>confdefs.h <<_ACEOF
54231 #define HAVE_SQRTF 1
54232 _ACEOF
54235 done
54237 else
54239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54240 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54241 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54242 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54243 $as_echo_n "(cached) " >&6
54244 else
54247 ac_ext=cpp
54248 ac_cpp='$CXXCPP $CPPFLAGS'
54249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54254 /* end confdefs.h. */
54255 #include <math.h>
54256 #ifdef HAVE_IEEEFP_H
54257 #include <ieeefp.h>
54258 #endif
54261 main ()
54263 _sqrtf(0);
54265 return 0;
54267 _ACEOF
54268 if ac_fn_cxx_try_compile "$LINENO"; then :
54269 glibcxx_cv_func__sqrtf_use=yes
54270 else
54271 glibcxx_cv_func__sqrtf_use=no
54273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54274 ac_ext=c
54275 ac_cpp='$CPP $CPPFLAGS'
54276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54285 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54287 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54288 for ac_func in _sqrtf
54289 do :
54290 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54291 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54292 cat >>confdefs.h <<_ACEOF
54293 #define HAVE__SQRTF 1
54294 _ACEOF
54297 done
54306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54307 $as_echo_n "checking for sincosf declaration... " >&6; }
54308 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54309 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54310 $as_echo_n "(cached) " >&6
54311 else
54314 ac_ext=cpp
54315 ac_cpp='$CXXCPP $CPPFLAGS'
54316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54321 /* end confdefs.h. */
54322 #include <math.h>
54324 main ()
54326 sincosf(0, 0, 0);
54328 return 0;
54330 _ACEOF
54331 if ac_fn_cxx_try_compile "$LINENO"; then :
54332 glibcxx_cv_func_sincosf_use=yes
54333 else
54334 glibcxx_cv_func_sincosf_use=no
54336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54337 ac_ext=c
54338 ac_cpp='$CPP $CPPFLAGS'
54339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54348 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54350 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54351 for ac_func in sincosf
54352 do :
54353 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54354 if test "x$ac_cv_func_sincosf" = x""yes; then :
54355 cat >>confdefs.h <<_ACEOF
54356 #define HAVE_SINCOSF 1
54357 _ACEOF
54360 done
54362 else
54364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54365 $as_echo_n "checking for _sincosf declaration... " >&6; }
54366 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54367 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54368 $as_echo_n "(cached) " >&6
54369 else
54372 ac_ext=cpp
54373 ac_cpp='$CXXCPP $CPPFLAGS'
54374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54379 /* end confdefs.h. */
54380 #include <math.h>
54382 main ()
54384 _sincosf(0, 0, 0);
54386 return 0;
54388 _ACEOF
54389 if ac_fn_cxx_try_compile "$LINENO"; then :
54390 glibcxx_cv_func__sincosf_use=yes
54391 else
54392 glibcxx_cv_func__sincosf_use=no
54394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54395 ac_ext=c
54396 ac_cpp='$CPP $CPPFLAGS'
54397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54406 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54408 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54409 for ac_func in _sincosf
54410 do :
54411 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54412 if test "x$ac_cv_func__sincosf" = x""yes; then :
54413 cat >>confdefs.h <<_ACEOF
54414 #define HAVE__SINCOSF 1
54415 _ACEOF
54418 done
54427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54428 $as_echo_n "checking for finitef declaration... " >&6; }
54429 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54430 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54431 $as_echo_n "(cached) " >&6
54432 else
54435 ac_ext=cpp
54436 ac_cpp='$CXXCPP $CPPFLAGS'
54437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54442 /* end confdefs.h. */
54443 #include <math.h>
54444 #ifdef HAVE_IEEEFP_H
54445 #include <ieeefp.h>
54446 #endif
54449 main ()
54451 finitef(0);
54453 return 0;
54455 _ACEOF
54456 if ac_fn_cxx_try_compile "$LINENO"; then :
54457 glibcxx_cv_func_finitef_use=yes
54458 else
54459 glibcxx_cv_func_finitef_use=no
54461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54462 ac_ext=c
54463 ac_cpp='$CPP $CPPFLAGS'
54464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54473 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54475 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54476 for ac_func in finitef
54477 do :
54478 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54479 if test "x$ac_cv_func_finitef" = x""yes; then :
54480 cat >>confdefs.h <<_ACEOF
54481 #define HAVE_FINITEF 1
54482 _ACEOF
54485 done
54487 else
54489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54490 $as_echo_n "checking for _finitef declaration... " >&6; }
54491 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54492 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54493 $as_echo_n "(cached) " >&6
54494 else
54497 ac_ext=cpp
54498 ac_cpp='$CXXCPP $CPPFLAGS'
54499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54504 /* end confdefs.h. */
54505 #include <math.h>
54506 #ifdef HAVE_IEEEFP_H
54507 #include <ieeefp.h>
54508 #endif
54511 main ()
54513 _finitef(0);
54515 return 0;
54517 _ACEOF
54518 if ac_fn_cxx_try_compile "$LINENO"; then :
54519 glibcxx_cv_func__finitef_use=yes
54520 else
54521 glibcxx_cv_func__finitef_use=no
54523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54524 ac_ext=c
54525 ac_cpp='$CPP $CPPFLAGS'
54526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54535 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54537 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54538 for ac_func in _finitef
54539 do :
54540 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54541 if test "x$ac_cv_func__finitef" = x""yes; then :
54542 cat >>confdefs.h <<_ACEOF
54543 #define HAVE__FINITEF 1
54544 _ACEOF
54547 done
54556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54557 $as_echo_n "checking for long double trig functions... " >&6; }
54558 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54559 $as_echo_n "(cached) " >&6
54560 else
54563 ac_ext=cpp
54564 ac_cpp='$CXXCPP $CPPFLAGS'
54565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54570 /* end confdefs.h. */
54571 #include <math.h>
54573 main ()
54575 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54577 return 0;
54579 _ACEOF
54580 if ac_fn_cxx_try_compile "$LINENO"; then :
54581 glibcxx_cv_func_long_double_trig_use=yes
54582 else
54583 glibcxx_cv_func_long_double_trig_use=no
54585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54586 ac_ext=c
54587 ac_cpp='$CPP $CPPFLAGS'
54588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54595 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54596 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54597 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54598 do :
54599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54601 eval as_val=\$$as_ac_var
54602 if test "x$as_val" = x""yes; then :
54603 cat >>confdefs.h <<_ACEOF
54604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54605 _ACEOF
54608 done
54610 else
54611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54612 $as_echo_n "checking for _long double trig functions... " >&6; }
54613 if test "${glibcxx_cv_func__long_double_trig_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 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54632 return 0;
54634 _ACEOF
54635 if ac_fn_cxx_try_compile "$LINENO"; then :
54636 glibcxx_cv_func__long_double_trig_use=yes
54637 else
54638 glibcxx_cv_func__long_double_trig_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_trig_use" >&5
54650 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54651 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54652 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
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
54672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54673 $as_echo_n "checking for long double round functions... " >&6; }
54674 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54675 $as_echo_n "(cached) " >&6
54676 else
54679 ac_ext=cpp
54680 ac_cpp='$CXXCPP $CPPFLAGS'
54681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54686 /* end confdefs.h. */
54687 #include <math.h>
54689 main ()
54691 ceill (0); floorl (0);
54693 return 0;
54695 _ACEOF
54696 if ac_fn_cxx_try_compile "$LINENO"; then :
54697 glibcxx_cv_func_long_double_round_use=yes
54698 else
54699 glibcxx_cv_func_long_double_round_use=no
54701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54702 ac_ext=c
54703 ac_cpp='$CPP $CPPFLAGS'
54704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54711 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54712 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54713 for ac_func in ceill floorl
54714 do :
54715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54717 eval as_val=\$$as_ac_var
54718 if test "x$as_val" = x""yes; then :
54719 cat >>confdefs.h <<_ACEOF
54720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54721 _ACEOF
54724 done
54726 else
54727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54728 $as_echo_n "checking for _long double round functions... " >&6; }
54729 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54730 $as_echo_n "(cached) " >&6
54731 else
54734 ac_ext=cpp
54735 ac_cpp='$CXXCPP $CPPFLAGS'
54736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54741 /* end confdefs.h. */
54742 #include <math.h>
54744 main ()
54746 _ceill (0); _floorl (0);
54748 return 0;
54750 _ACEOF
54751 if ac_fn_cxx_try_compile "$LINENO"; then :
54752 glibcxx_cv_func__long_double_round_use=yes
54753 else
54754 glibcxx_cv_func__long_double_round_use=no
54756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54757 ac_ext=c
54758 ac_cpp='$CPP $CPPFLAGS'
54759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54766 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54767 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54768 for ac_func in _ceill _floorl
54769 do :
54770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54772 eval as_val=\$$as_ac_var
54773 if test "x$as_val" = x""yes; then :
54774 cat >>confdefs.h <<_ACEOF
54775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54776 _ACEOF
54779 done
54789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54790 $as_echo_n "checking for isnanl declaration... " >&6; }
54791 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54792 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54793 $as_echo_n "(cached) " >&6
54794 else
54797 ac_ext=cpp
54798 ac_cpp='$CXXCPP $CPPFLAGS'
54799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54804 /* end confdefs.h. */
54805 #include <math.h>
54806 #ifdef HAVE_IEEEFP_H
54807 #include <ieeefp.h>
54808 #endif
54811 main ()
54813 isnanl(0);
54815 return 0;
54817 _ACEOF
54818 if ac_fn_cxx_try_compile "$LINENO"; then :
54819 glibcxx_cv_func_isnanl_use=yes
54820 else
54821 glibcxx_cv_func_isnanl_use=no
54823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54824 ac_ext=c
54825 ac_cpp='$CPP $CPPFLAGS'
54826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54835 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54837 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54838 for ac_func in isnanl
54839 do :
54840 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54841 if test "x$ac_cv_func_isnanl" = x""yes; then :
54842 cat >>confdefs.h <<_ACEOF
54843 #define HAVE_ISNANL 1
54844 _ACEOF
54847 done
54849 else
54851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54852 $as_echo_n "checking for _isnanl declaration... " >&6; }
54853 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54854 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54855 $as_echo_n "(cached) " >&6
54856 else
54859 ac_ext=cpp
54860 ac_cpp='$CXXCPP $CPPFLAGS'
54861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54866 /* end confdefs.h. */
54867 #include <math.h>
54868 #ifdef HAVE_IEEEFP_H
54869 #include <ieeefp.h>
54870 #endif
54873 main ()
54875 _isnanl(0);
54877 return 0;
54879 _ACEOF
54880 if ac_fn_cxx_try_compile "$LINENO"; then :
54881 glibcxx_cv_func__isnanl_use=yes
54882 else
54883 glibcxx_cv_func__isnanl_use=no
54885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54886 ac_ext=c
54887 ac_cpp='$CPP $CPPFLAGS'
54888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54897 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54899 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54900 for ac_func in _isnanl
54901 do :
54902 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54903 if test "x$ac_cv_func__isnanl" = x""yes; then :
54904 cat >>confdefs.h <<_ACEOF
54905 #define HAVE__ISNANL 1
54906 _ACEOF
54909 done
54918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54919 $as_echo_n "checking for isinfl declaration... " >&6; }
54920 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54921 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54922 $as_echo_n "(cached) " >&6
54923 else
54926 ac_ext=cpp
54927 ac_cpp='$CXXCPP $CPPFLAGS'
54928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54933 /* end confdefs.h. */
54934 #include <math.h>
54935 #ifdef HAVE_IEEEFP_H
54936 #include <ieeefp.h>
54937 #endif
54940 main ()
54942 isinfl(0);
54944 return 0;
54946 _ACEOF
54947 if ac_fn_cxx_try_compile "$LINENO"; then :
54948 glibcxx_cv_func_isinfl_use=yes
54949 else
54950 glibcxx_cv_func_isinfl_use=no
54952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54953 ac_ext=c
54954 ac_cpp='$CPP $CPPFLAGS'
54955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54964 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54966 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54967 for ac_func in isinfl
54968 do :
54969 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54970 if test "x$ac_cv_func_isinfl" = x""yes; then :
54971 cat >>confdefs.h <<_ACEOF
54972 #define HAVE_ISINFL 1
54973 _ACEOF
54976 done
54978 else
54980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54981 $as_echo_n "checking for _isinfl declaration... " >&6; }
54982 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54983 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54984 $as_echo_n "(cached) " >&6
54985 else
54988 ac_ext=cpp
54989 ac_cpp='$CXXCPP $CPPFLAGS'
54990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54995 /* end confdefs.h. */
54996 #include <math.h>
54997 #ifdef HAVE_IEEEFP_H
54998 #include <ieeefp.h>
54999 #endif
55002 main ()
55004 _isinfl(0);
55006 return 0;
55008 _ACEOF
55009 if ac_fn_cxx_try_compile "$LINENO"; then :
55010 glibcxx_cv_func__isinfl_use=yes
55011 else
55012 glibcxx_cv_func__isinfl_use=no
55014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55015 ac_ext=c
55016 ac_cpp='$CPP $CPPFLAGS'
55017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55026 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55028 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55029 for ac_func in _isinfl
55030 do :
55031 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55032 if test "x$ac_cv_func__isinfl" = x""yes; then :
55033 cat >>confdefs.h <<_ACEOF
55034 #define HAVE__ISINFL 1
55035 _ACEOF
55038 done
55047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55048 $as_echo_n "checking for atan2l declaration... " >&6; }
55049 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55050 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55051 $as_echo_n "(cached) " >&6
55052 else
55055 ac_ext=cpp
55056 ac_cpp='$CXXCPP $CPPFLAGS'
55057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55062 /* end confdefs.h. */
55063 #include <math.h>
55065 main ()
55067 atan2l(0, 0);
55069 return 0;
55071 _ACEOF
55072 if ac_fn_cxx_try_compile "$LINENO"; then :
55073 glibcxx_cv_func_atan2l_use=yes
55074 else
55075 glibcxx_cv_func_atan2l_use=no
55077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55078 ac_ext=c
55079 ac_cpp='$CPP $CPPFLAGS'
55080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55089 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55091 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55092 for ac_func in atan2l
55093 do :
55094 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55095 if test "x$ac_cv_func_atan2l" = x""yes; then :
55096 cat >>confdefs.h <<_ACEOF
55097 #define HAVE_ATAN2L 1
55098 _ACEOF
55101 done
55103 else
55105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55106 $as_echo_n "checking for _atan2l declaration... " >&6; }
55107 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55108 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55109 $as_echo_n "(cached) " >&6
55110 else
55113 ac_ext=cpp
55114 ac_cpp='$CXXCPP $CPPFLAGS'
55115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55120 /* end confdefs.h. */
55121 #include <math.h>
55123 main ()
55125 _atan2l(0, 0);
55127 return 0;
55129 _ACEOF
55130 if ac_fn_cxx_try_compile "$LINENO"; then :
55131 glibcxx_cv_func__atan2l_use=yes
55132 else
55133 glibcxx_cv_func__atan2l_use=no
55135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55136 ac_ext=c
55137 ac_cpp='$CPP $CPPFLAGS'
55138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55147 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55149 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55150 for ac_func in _atan2l
55151 do :
55152 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55153 if test "x$ac_cv_func__atan2l" = x""yes; then :
55154 cat >>confdefs.h <<_ACEOF
55155 #define HAVE__ATAN2L 1
55156 _ACEOF
55159 done
55168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55169 $as_echo_n "checking for expl declaration... " >&6; }
55170 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55171 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55172 $as_echo_n "(cached) " >&6
55173 else
55176 ac_ext=cpp
55177 ac_cpp='$CXXCPP $CPPFLAGS'
55178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55183 /* end confdefs.h. */
55184 #include <math.h>
55185 #ifdef HAVE_IEEEFP_H
55186 #include <ieeefp.h>
55187 #endif
55190 main ()
55192 expl(0);
55194 return 0;
55196 _ACEOF
55197 if ac_fn_cxx_try_compile "$LINENO"; then :
55198 glibcxx_cv_func_expl_use=yes
55199 else
55200 glibcxx_cv_func_expl_use=no
55202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55203 ac_ext=c
55204 ac_cpp='$CPP $CPPFLAGS'
55205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55214 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55216 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55217 for ac_func in expl
55218 do :
55219 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55220 if test "x$ac_cv_func_expl" = x""yes; then :
55221 cat >>confdefs.h <<_ACEOF
55222 #define HAVE_EXPL 1
55223 _ACEOF
55226 done
55228 else
55230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55231 $as_echo_n "checking for _expl declaration... " >&6; }
55232 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55233 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55234 $as_echo_n "(cached) " >&6
55235 else
55238 ac_ext=cpp
55239 ac_cpp='$CXXCPP $CPPFLAGS'
55240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55245 /* end confdefs.h. */
55246 #include <math.h>
55247 #ifdef HAVE_IEEEFP_H
55248 #include <ieeefp.h>
55249 #endif
55252 main ()
55254 _expl(0);
55256 return 0;
55258 _ACEOF
55259 if ac_fn_cxx_try_compile "$LINENO"; then :
55260 glibcxx_cv_func__expl_use=yes
55261 else
55262 glibcxx_cv_func__expl_use=no
55264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55265 ac_ext=c
55266 ac_cpp='$CPP $CPPFLAGS'
55267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55276 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55278 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55279 for ac_func in _expl
55280 do :
55281 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55282 if test "x$ac_cv_func__expl" = x""yes; then :
55283 cat >>confdefs.h <<_ACEOF
55284 #define HAVE__EXPL 1
55285 _ACEOF
55288 done
55297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55298 $as_echo_n "checking for fabsl declaration... " >&6; }
55299 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55300 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55301 $as_echo_n "(cached) " >&6
55302 else
55305 ac_ext=cpp
55306 ac_cpp='$CXXCPP $CPPFLAGS'
55307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55312 /* end confdefs.h. */
55313 #include <math.h>
55314 #ifdef HAVE_IEEEFP_H
55315 #include <ieeefp.h>
55316 #endif
55319 main ()
55321 fabsl(0);
55323 return 0;
55325 _ACEOF
55326 if ac_fn_cxx_try_compile "$LINENO"; then :
55327 glibcxx_cv_func_fabsl_use=yes
55328 else
55329 glibcxx_cv_func_fabsl_use=no
55331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55332 ac_ext=c
55333 ac_cpp='$CPP $CPPFLAGS'
55334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55343 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55345 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55346 for ac_func in fabsl
55347 do :
55348 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55349 if test "x$ac_cv_func_fabsl" = x""yes; then :
55350 cat >>confdefs.h <<_ACEOF
55351 #define HAVE_FABSL 1
55352 _ACEOF
55355 done
55357 else
55359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55360 $as_echo_n "checking for _fabsl declaration... " >&6; }
55361 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55362 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55363 $as_echo_n "(cached) " >&6
55364 else
55367 ac_ext=cpp
55368 ac_cpp='$CXXCPP $CPPFLAGS'
55369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55374 /* end confdefs.h. */
55375 #include <math.h>
55376 #ifdef HAVE_IEEEFP_H
55377 #include <ieeefp.h>
55378 #endif
55381 main ()
55383 _fabsl(0);
55385 return 0;
55387 _ACEOF
55388 if ac_fn_cxx_try_compile "$LINENO"; then :
55389 glibcxx_cv_func__fabsl_use=yes
55390 else
55391 glibcxx_cv_func__fabsl_use=no
55393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55394 ac_ext=c
55395 ac_cpp='$CPP $CPPFLAGS'
55396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55405 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55407 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55408 for ac_func in _fabsl
55409 do :
55410 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55411 if test "x$ac_cv_func__fabsl" = x""yes; then :
55412 cat >>confdefs.h <<_ACEOF
55413 #define HAVE__FABSL 1
55414 _ACEOF
55417 done
55426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55427 $as_echo_n "checking for fmodl declaration... " >&6; }
55428 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55429 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55430 $as_echo_n "(cached) " >&6
55431 else
55434 ac_ext=cpp
55435 ac_cpp='$CXXCPP $CPPFLAGS'
55436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55441 /* end confdefs.h. */
55442 #include <math.h>
55444 main ()
55446 fmodl(0, 0);
55448 return 0;
55450 _ACEOF
55451 if ac_fn_cxx_try_compile "$LINENO"; then :
55452 glibcxx_cv_func_fmodl_use=yes
55453 else
55454 glibcxx_cv_func_fmodl_use=no
55456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55457 ac_ext=c
55458 ac_cpp='$CPP $CPPFLAGS'
55459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55468 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55470 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55471 for ac_func in fmodl
55472 do :
55473 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55474 if test "x$ac_cv_func_fmodl" = x""yes; then :
55475 cat >>confdefs.h <<_ACEOF
55476 #define HAVE_FMODL 1
55477 _ACEOF
55480 done
55482 else
55484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55485 $as_echo_n "checking for _fmodl declaration... " >&6; }
55486 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55487 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55488 $as_echo_n "(cached) " >&6
55489 else
55492 ac_ext=cpp
55493 ac_cpp='$CXXCPP $CPPFLAGS'
55494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55499 /* end confdefs.h. */
55500 #include <math.h>
55502 main ()
55504 _fmodl(0, 0);
55506 return 0;
55508 _ACEOF
55509 if ac_fn_cxx_try_compile "$LINENO"; then :
55510 glibcxx_cv_func__fmodl_use=yes
55511 else
55512 glibcxx_cv_func__fmodl_use=no
55514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55515 ac_ext=c
55516 ac_cpp='$CPP $CPPFLAGS'
55517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55526 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55528 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55529 for ac_func in _fmodl
55530 do :
55531 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55532 if test "x$ac_cv_func__fmodl" = x""yes; then :
55533 cat >>confdefs.h <<_ACEOF
55534 #define HAVE__FMODL 1
55535 _ACEOF
55538 done
55547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55548 $as_echo_n "checking for frexpl declaration... " >&6; }
55549 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55550 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55551 $as_echo_n "(cached) " >&6
55552 else
55555 ac_ext=cpp
55556 ac_cpp='$CXXCPP $CPPFLAGS'
55557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55562 /* end confdefs.h. */
55563 #include <math.h>
55565 main ()
55567 frexpl(0, 0);
55569 return 0;
55571 _ACEOF
55572 if ac_fn_cxx_try_compile "$LINENO"; then :
55573 glibcxx_cv_func_frexpl_use=yes
55574 else
55575 glibcxx_cv_func_frexpl_use=no
55577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55578 ac_ext=c
55579 ac_cpp='$CPP $CPPFLAGS'
55580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55589 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55591 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55592 for ac_func in frexpl
55593 do :
55594 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55595 if test "x$ac_cv_func_frexpl" = x""yes; then :
55596 cat >>confdefs.h <<_ACEOF
55597 #define HAVE_FREXPL 1
55598 _ACEOF
55601 done
55603 else
55605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55606 $as_echo_n "checking for _frexpl declaration... " >&6; }
55607 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55608 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55609 $as_echo_n "(cached) " >&6
55610 else
55613 ac_ext=cpp
55614 ac_cpp='$CXXCPP $CPPFLAGS'
55615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55620 /* end confdefs.h. */
55621 #include <math.h>
55623 main ()
55625 _frexpl(0, 0);
55627 return 0;
55629 _ACEOF
55630 if ac_fn_cxx_try_compile "$LINENO"; then :
55631 glibcxx_cv_func__frexpl_use=yes
55632 else
55633 glibcxx_cv_func__frexpl_use=no
55635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55636 ac_ext=c
55637 ac_cpp='$CPP $CPPFLAGS'
55638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55647 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55649 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55650 for ac_func in _frexpl
55651 do :
55652 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55653 if test "x$ac_cv_func__frexpl" = x""yes; then :
55654 cat >>confdefs.h <<_ACEOF
55655 #define HAVE__FREXPL 1
55656 _ACEOF
55659 done
55668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55669 $as_echo_n "checking for hypotl declaration... " >&6; }
55670 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55671 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55672 $as_echo_n "(cached) " >&6
55673 else
55676 ac_ext=cpp
55677 ac_cpp='$CXXCPP $CPPFLAGS'
55678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55683 /* end confdefs.h. */
55684 #include <math.h>
55686 main ()
55688 hypotl(0, 0);
55690 return 0;
55692 _ACEOF
55693 if ac_fn_cxx_try_compile "$LINENO"; then :
55694 glibcxx_cv_func_hypotl_use=yes
55695 else
55696 glibcxx_cv_func_hypotl_use=no
55698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55699 ac_ext=c
55700 ac_cpp='$CPP $CPPFLAGS'
55701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55710 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55712 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55713 for ac_func in hypotl
55714 do :
55715 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55716 if test "x$ac_cv_func_hypotl" = x""yes; then :
55717 cat >>confdefs.h <<_ACEOF
55718 #define HAVE_HYPOTL 1
55719 _ACEOF
55722 done
55724 else
55726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55727 $as_echo_n "checking for _hypotl declaration... " >&6; }
55728 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55729 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55730 $as_echo_n "(cached) " >&6
55731 else
55734 ac_ext=cpp
55735 ac_cpp='$CXXCPP $CPPFLAGS'
55736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55741 /* end confdefs.h. */
55742 #include <math.h>
55744 main ()
55746 _hypotl(0, 0);
55748 return 0;
55750 _ACEOF
55751 if ac_fn_cxx_try_compile "$LINENO"; then :
55752 glibcxx_cv_func__hypotl_use=yes
55753 else
55754 glibcxx_cv_func__hypotl_use=no
55756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55757 ac_ext=c
55758 ac_cpp='$CPP $CPPFLAGS'
55759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55768 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55770 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55771 for ac_func in _hypotl
55772 do :
55773 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55774 if test "x$ac_cv_func__hypotl" = x""yes; then :
55775 cat >>confdefs.h <<_ACEOF
55776 #define HAVE__HYPOTL 1
55777 _ACEOF
55780 done
55789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55790 $as_echo_n "checking for ldexpl declaration... " >&6; }
55791 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55792 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55793 $as_echo_n "(cached) " >&6
55794 else
55797 ac_ext=cpp
55798 ac_cpp='$CXXCPP $CPPFLAGS'
55799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55804 /* end confdefs.h. */
55805 #include <math.h>
55807 main ()
55809 ldexpl(0, 0);
55811 return 0;
55813 _ACEOF
55814 if ac_fn_cxx_try_compile "$LINENO"; then :
55815 glibcxx_cv_func_ldexpl_use=yes
55816 else
55817 glibcxx_cv_func_ldexpl_use=no
55819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55820 ac_ext=c
55821 ac_cpp='$CPP $CPPFLAGS'
55822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55831 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55833 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55834 for ac_func in ldexpl
55835 do :
55836 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55837 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55838 cat >>confdefs.h <<_ACEOF
55839 #define HAVE_LDEXPL 1
55840 _ACEOF
55843 done
55845 else
55847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55848 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55849 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55850 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55851 $as_echo_n "(cached) " >&6
55852 else
55855 ac_ext=cpp
55856 ac_cpp='$CXXCPP $CPPFLAGS'
55857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55862 /* end confdefs.h. */
55863 #include <math.h>
55865 main ()
55867 _ldexpl(0, 0);
55869 return 0;
55871 _ACEOF
55872 if ac_fn_cxx_try_compile "$LINENO"; then :
55873 glibcxx_cv_func__ldexpl_use=yes
55874 else
55875 glibcxx_cv_func__ldexpl_use=no
55877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55878 ac_ext=c
55879 ac_cpp='$CPP $CPPFLAGS'
55880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55889 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55891 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55892 for ac_func in _ldexpl
55893 do :
55894 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55895 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55896 cat >>confdefs.h <<_ACEOF
55897 #define HAVE__LDEXPL 1
55898 _ACEOF
55901 done
55910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55911 $as_echo_n "checking for logl declaration... " >&6; }
55912 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55913 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55914 $as_echo_n "(cached) " >&6
55915 else
55918 ac_ext=cpp
55919 ac_cpp='$CXXCPP $CPPFLAGS'
55920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55925 /* end confdefs.h. */
55926 #include <math.h>
55927 #ifdef HAVE_IEEEFP_H
55928 #include <ieeefp.h>
55929 #endif
55932 main ()
55934 logl(0);
55936 return 0;
55938 _ACEOF
55939 if ac_fn_cxx_try_compile "$LINENO"; then :
55940 glibcxx_cv_func_logl_use=yes
55941 else
55942 glibcxx_cv_func_logl_use=no
55944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55945 ac_ext=c
55946 ac_cpp='$CPP $CPPFLAGS'
55947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55956 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55958 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55959 for ac_func in logl
55960 do :
55961 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55962 if test "x$ac_cv_func_logl" = x""yes; then :
55963 cat >>confdefs.h <<_ACEOF
55964 #define HAVE_LOGL 1
55965 _ACEOF
55968 done
55970 else
55972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55973 $as_echo_n "checking for _logl declaration... " >&6; }
55974 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55975 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55976 $as_echo_n "(cached) " >&6
55977 else
55980 ac_ext=cpp
55981 ac_cpp='$CXXCPP $CPPFLAGS'
55982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55987 /* end confdefs.h. */
55988 #include <math.h>
55989 #ifdef HAVE_IEEEFP_H
55990 #include <ieeefp.h>
55991 #endif
55994 main ()
55996 _logl(0);
55998 return 0;
56000 _ACEOF
56001 if ac_fn_cxx_try_compile "$LINENO"; then :
56002 glibcxx_cv_func__logl_use=yes
56003 else
56004 glibcxx_cv_func__logl_use=no
56006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56007 ac_ext=c
56008 ac_cpp='$CPP $CPPFLAGS'
56009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56018 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56020 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56021 for ac_func in _logl
56022 do :
56023 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56024 if test "x$ac_cv_func__logl" = x""yes; then :
56025 cat >>confdefs.h <<_ACEOF
56026 #define HAVE__LOGL 1
56027 _ACEOF
56030 done
56039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56040 $as_echo_n "checking for log10l declaration... " >&6; }
56041 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56042 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56043 $as_echo_n "(cached) " >&6
56044 else
56047 ac_ext=cpp
56048 ac_cpp='$CXXCPP $CPPFLAGS'
56049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56054 /* end confdefs.h. */
56055 #include <math.h>
56056 #ifdef HAVE_IEEEFP_H
56057 #include <ieeefp.h>
56058 #endif
56061 main ()
56063 log10l(0);
56065 return 0;
56067 _ACEOF
56068 if ac_fn_cxx_try_compile "$LINENO"; then :
56069 glibcxx_cv_func_log10l_use=yes
56070 else
56071 glibcxx_cv_func_log10l_use=no
56073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56074 ac_ext=c
56075 ac_cpp='$CPP $CPPFLAGS'
56076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56085 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56087 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56088 for ac_func in log10l
56089 do :
56090 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56091 if test "x$ac_cv_func_log10l" = x""yes; then :
56092 cat >>confdefs.h <<_ACEOF
56093 #define HAVE_LOG10L 1
56094 _ACEOF
56097 done
56099 else
56101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56102 $as_echo_n "checking for _log10l declaration... " >&6; }
56103 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56104 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56105 $as_echo_n "(cached) " >&6
56106 else
56109 ac_ext=cpp
56110 ac_cpp='$CXXCPP $CPPFLAGS'
56111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56116 /* end confdefs.h. */
56117 #include <math.h>
56118 #ifdef HAVE_IEEEFP_H
56119 #include <ieeefp.h>
56120 #endif
56123 main ()
56125 _log10l(0);
56127 return 0;
56129 _ACEOF
56130 if ac_fn_cxx_try_compile "$LINENO"; then :
56131 glibcxx_cv_func__log10l_use=yes
56132 else
56133 glibcxx_cv_func__log10l_use=no
56135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56136 ac_ext=c
56137 ac_cpp='$CPP $CPPFLAGS'
56138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56147 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56149 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56150 for ac_func in _log10l
56151 do :
56152 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56153 if test "x$ac_cv_func__log10l" = x""yes; then :
56154 cat >>confdefs.h <<_ACEOF
56155 #define HAVE__LOG10L 1
56156 _ACEOF
56159 done
56168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56169 $as_echo_n "checking for modfl declaration... " >&6; }
56170 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56171 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56172 $as_echo_n "(cached) " >&6
56173 else
56176 ac_ext=cpp
56177 ac_cpp='$CXXCPP $CPPFLAGS'
56178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56183 /* end confdefs.h. */
56184 #include <math.h>
56186 main ()
56188 modfl(0, 0);
56190 return 0;
56192 _ACEOF
56193 if ac_fn_cxx_try_compile "$LINENO"; then :
56194 glibcxx_cv_func_modfl_use=yes
56195 else
56196 glibcxx_cv_func_modfl_use=no
56198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56199 ac_ext=c
56200 ac_cpp='$CPP $CPPFLAGS'
56201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56210 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56212 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56213 for ac_func in modfl
56214 do :
56215 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56216 if test "x$ac_cv_func_modfl" = x""yes; then :
56217 cat >>confdefs.h <<_ACEOF
56218 #define HAVE_MODFL 1
56219 _ACEOF
56222 done
56224 else
56226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56227 $as_echo_n "checking for _modfl declaration... " >&6; }
56228 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56229 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56230 $as_echo_n "(cached) " >&6
56231 else
56234 ac_ext=cpp
56235 ac_cpp='$CXXCPP $CPPFLAGS'
56236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56241 /* end confdefs.h. */
56242 #include <math.h>
56244 main ()
56246 _modfl(0, 0);
56248 return 0;
56250 _ACEOF
56251 if ac_fn_cxx_try_compile "$LINENO"; then :
56252 glibcxx_cv_func__modfl_use=yes
56253 else
56254 glibcxx_cv_func__modfl_use=no
56256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56257 ac_ext=c
56258 ac_cpp='$CPP $CPPFLAGS'
56259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56268 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56270 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56271 for ac_func in _modfl
56272 do :
56273 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56274 if test "x$ac_cv_func__modfl" = x""yes; then :
56275 cat >>confdefs.h <<_ACEOF
56276 #define HAVE__MODFL 1
56277 _ACEOF
56280 done
56289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56290 $as_echo_n "checking for powl declaration... " >&6; }
56291 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56292 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56293 $as_echo_n "(cached) " >&6
56294 else
56297 ac_ext=cpp
56298 ac_cpp='$CXXCPP $CPPFLAGS'
56299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56304 /* end confdefs.h. */
56305 #include <math.h>
56307 main ()
56309 powl(0, 0);
56311 return 0;
56313 _ACEOF
56314 if ac_fn_cxx_try_compile "$LINENO"; then :
56315 glibcxx_cv_func_powl_use=yes
56316 else
56317 glibcxx_cv_func_powl_use=no
56319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56320 ac_ext=c
56321 ac_cpp='$CPP $CPPFLAGS'
56322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56331 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56333 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56334 for ac_func in powl
56335 do :
56336 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56337 if test "x$ac_cv_func_powl" = x""yes; then :
56338 cat >>confdefs.h <<_ACEOF
56339 #define HAVE_POWL 1
56340 _ACEOF
56343 done
56345 else
56347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56348 $as_echo_n "checking for _powl declaration... " >&6; }
56349 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56350 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56351 $as_echo_n "(cached) " >&6
56352 else
56355 ac_ext=cpp
56356 ac_cpp='$CXXCPP $CPPFLAGS'
56357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56362 /* end confdefs.h. */
56363 #include <math.h>
56365 main ()
56367 _powl(0, 0);
56369 return 0;
56371 _ACEOF
56372 if ac_fn_cxx_try_compile "$LINENO"; then :
56373 glibcxx_cv_func__powl_use=yes
56374 else
56375 glibcxx_cv_func__powl_use=no
56377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56378 ac_ext=c
56379 ac_cpp='$CPP $CPPFLAGS'
56380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56389 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56391 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56392 for ac_func in _powl
56393 do :
56394 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56395 if test "x$ac_cv_func__powl" = x""yes; then :
56396 cat >>confdefs.h <<_ACEOF
56397 #define HAVE__POWL 1
56398 _ACEOF
56401 done
56410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56411 $as_echo_n "checking for sqrtl declaration... " >&6; }
56412 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56413 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56414 $as_echo_n "(cached) " >&6
56415 else
56418 ac_ext=cpp
56419 ac_cpp='$CXXCPP $CPPFLAGS'
56420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56425 /* end confdefs.h. */
56426 #include <math.h>
56427 #ifdef HAVE_IEEEFP_H
56428 #include <ieeefp.h>
56429 #endif
56432 main ()
56434 sqrtl(0);
56436 return 0;
56438 _ACEOF
56439 if ac_fn_cxx_try_compile "$LINENO"; then :
56440 glibcxx_cv_func_sqrtl_use=yes
56441 else
56442 glibcxx_cv_func_sqrtl_use=no
56444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56445 ac_ext=c
56446 ac_cpp='$CPP $CPPFLAGS'
56447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56456 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56458 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56459 for ac_func in sqrtl
56460 do :
56461 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56462 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56463 cat >>confdefs.h <<_ACEOF
56464 #define HAVE_SQRTL 1
56465 _ACEOF
56468 done
56470 else
56472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56473 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56474 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56475 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56476 $as_echo_n "(cached) " >&6
56477 else
56480 ac_ext=cpp
56481 ac_cpp='$CXXCPP $CPPFLAGS'
56482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56487 /* end confdefs.h. */
56488 #include <math.h>
56489 #ifdef HAVE_IEEEFP_H
56490 #include <ieeefp.h>
56491 #endif
56494 main ()
56496 _sqrtl(0);
56498 return 0;
56500 _ACEOF
56501 if ac_fn_cxx_try_compile "$LINENO"; then :
56502 glibcxx_cv_func__sqrtl_use=yes
56503 else
56504 glibcxx_cv_func__sqrtl_use=no
56506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56507 ac_ext=c
56508 ac_cpp='$CPP $CPPFLAGS'
56509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56518 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56520 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56521 for ac_func in _sqrtl
56522 do :
56523 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56524 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56525 cat >>confdefs.h <<_ACEOF
56526 #define HAVE__SQRTL 1
56527 _ACEOF
56530 done
56539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56540 $as_echo_n "checking for sincosl declaration... " >&6; }
56541 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56542 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56543 $as_echo_n "(cached) " >&6
56544 else
56547 ac_ext=cpp
56548 ac_cpp='$CXXCPP $CPPFLAGS'
56549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56554 /* end confdefs.h. */
56555 #include <math.h>
56557 main ()
56559 sincosl(0, 0, 0);
56561 return 0;
56563 _ACEOF
56564 if ac_fn_cxx_try_compile "$LINENO"; then :
56565 glibcxx_cv_func_sincosl_use=yes
56566 else
56567 glibcxx_cv_func_sincosl_use=no
56569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56570 ac_ext=c
56571 ac_cpp='$CPP $CPPFLAGS'
56572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56581 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56583 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56584 for ac_func in sincosl
56585 do :
56586 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56587 if test "x$ac_cv_func_sincosl" = x""yes; then :
56588 cat >>confdefs.h <<_ACEOF
56589 #define HAVE_SINCOSL 1
56590 _ACEOF
56593 done
56595 else
56597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56598 $as_echo_n "checking for _sincosl declaration... " >&6; }
56599 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56600 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56601 $as_echo_n "(cached) " >&6
56602 else
56605 ac_ext=cpp
56606 ac_cpp='$CXXCPP $CPPFLAGS'
56607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56612 /* end confdefs.h. */
56613 #include <math.h>
56615 main ()
56617 _sincosl(0, 0, 0);
56619 return 0;
56621 _ACEOF
56622 if ac_fn_cxx_try_compile "$LINENO"; then :
56623 glibcxx_cv_func__sincosl_use=yes
56624 else
56625 glibcxx_cv_func__sincosl_use=no
56627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56628 ac_ext=c
56629 ac_cpp='$CPP $CPPFLAGS'
56630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56639 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56641 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56642 for ac_func in _sincosl
56643 do :
56644 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56645 if test "x$ac_cv_func__sincosl" = x""yes; then :
56646 cat >>confdefs.h <<_ACEOF
56647 #define HAVE__SINCOSL 1
56648 _ACEOF
56651 done
56660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56661 $as_echo_n "checking for finitel declaration... " >&6; }
56662 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56663 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56664 $as_echo_n "(cached) " >&6
56665 else
56668 ac_ext=cpp
56669 ac_cpp='$CXXCPP $CPPFLAGS'
56670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56675 /* end confdefs.h. */
56676 #include <math.h>
56677 #ifdef HAVE_IEEEFP_H
56678 #include <ieeefp.h>
56679 #endif
56682 main ()
56684 finitel(0);
56686 return 0;
56688 _ACEOF
56689 if ac_fn_cxx_try_compile "$LINENO"; then :
56690 glibcxx_cv_func_finitel_use=yes
56691 else
56692 glibcxx_cv_func_finitel_use=no
56694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56695 ac_ext=c
56696 ac_cpp='$CPP $CPPFLAGS'
56697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56706 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56708 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56709 for ac_func in finitel
56710 do :
56711 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56712 if test "x$ac_cv_func_finitel" = x""yes; then :
56713 cat >>confdefs.h <<_ACEOF
56714 #define HAVE_FINITEL 1
56715 _ACEOF
56718 done
56720 else
56722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56723 $as_echo_n "checking for _finitel declaration... " >&6; }
56724 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56725 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56726 $as_echo_n "(cached) " >&6
56727 else
56730 ac_ext=cpp
56731 ac_cpp='$CXXCPP $CPPFLAGS'
56732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56737 /* end confdefs.h. */
56738 #include <math.h>
56739 #ifdef HAVE_IEEEFP_H
56740 #include <ieeefp.h>
56741 #endif
56744 main ()
56746 _finitel(0);
56748 return 0;
56750 _ACEOF
56751 if ac_fn_cxx_try_compile "$LINENO"; then :
56752 glibcxx_cv_func__finitel_use=yes
56753 else
56754 glibcxx_cv_func__finitel_use=no
56756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56757 ac_ext=c
56758 ac_cpp='$CPP $CPPFLAGS'
56759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56768 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56770 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56771 for ac_func in _finitel
56772 do :
56773 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56774 if test "x$ac_cv_func__finitel" = x""yes; then :
56775 cat >>confdefs.h <<_ACEOF
56776 #define HAVE__FINITEL 1
56777 _ACEOF
56780 done
56788 LIBS="$ac_save_LIBS"
56789 CXXFLAGS="$ac_save_CXXFLAGS"
56792 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56793 ac_save_CXXFLAGS="$CXXFLAGS"
56794 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56798 $as_echo_n "checking for strtold declaration... " >&6; }
56799 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56800 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56801 $as_echo_n "(cached) " >&6
56802 else
56805 ac_ext=cpp
56806 ac_cpp='$CXXCPP $CPPFLAGS'
56807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56812 /* end confdefs.h. */
56813 #include <stdlib.h>
56815 main ()
56817 strtold(0, 0);
56819 return 0;
56821 _ACEOF
56822 if ac_fn_cxx_try_compile "$LINENO"; then :
56823 glibcxx_cv_func_strtold_use=yes
56824 else
56825 glibcxx_cv_func_strtold_use=no
56827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56828 ac_ext=c
56829 ac_cpp='$CPP $CPPFLAGS'
56830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56839 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56840 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56841 for ac_func in strtold
56842 do :
56843 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56844 if test "x$ac_cv_func_strtold" = x""yes; then :
56845 cat >>confdefs.h <<_ACEOF
56846 #define HAVE_STRTOLD 1
56847 _ACEOF
56850 done
56857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56858 $as_echo_n "checking for strtof declaration... " >&6; }
56859 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56860 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56861 $as_echo_n "(cached) " >&6
56862 else
56865 ac_ext=cpp
56866 ac_cpp='$CXXCPP $CPPFLAGS'
56867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56872 /* end confdefs.h. */
56873 #include <stdlib.h>
56875 main ()
56877 strtof(0, 0);
56879 return 0;
56881 _ACEOF
56882 if ac_fn_cxx_try_compile "$LINENO"; then :
56883 glibcxx_cv_func_strtof_use=yes
56884 else
56885 glibcxx_cv_func_strtof_use=no
56887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56888 ac_ext=c
56889 ac_cpp='$CPP $CPPFLAGS'
56890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56899 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56900 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56901 for ac_func in strtof
56902 do :
56903 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56904 if test "x$ac_cv_func_strtof" = x""yes; then :
56905 cat >>confdefs.h <<_ACEOF
56906 #define HAVE_STRTOF 1
56907 _ACEOF
56910 done
56917 CXXFLAGS="$ac_save_CXXFLAGS"
56920 *-netbsd*)
56921 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56924 # If we're not using GNU ld, then there's no point in even trying these
56925 # tests. Check for that first. We should have already tested for gld
56926 # by now (in libtool), but require it now just to be safe...
56927 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56928 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56932 # The name set by libtool depends on the version of libtool. Shame on us
56933 # for depending on an impl detail, but c'est la vie. Older versions used
56934 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56935 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56936 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56937 # set (hence we're using an older libtool), then set it.
56938 if test x${with_gnu_ld+set} != xset; then
56939 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56940 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56941 with_gnu_ld=no
56942 else
56943 with_gnu_ld=$ac_cv_prog_gnu_ld
56947 # Start by getting the version number. I think the libtool test already
56948 # does some of this, but throws away the result.
56949 glibcxx_ld_is_gold=no
56950 if test x"$with_gnu_ld" = x"yes"; then
56951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56952 $as_echo_n "checking for ld version... " >&6; }
56954 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56955 glibcxx_ld_is_gold=yes
56957 ldver=`$LD --version 2>/dev/null |
56958 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'`
56960 glibcxx_gnu_ld_version=`echo $ldver | \
56961 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56963 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56966 # Set --gc-sections.
56967 glibcxx_have_gc_sections=no
56968 if test "$glibcxx_ld_is_gold" = "yes"; then
56969 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56970 glibcxx_have_gc_sections=yes
56972 else
56973 glibcxx_gcsections_min_ld=21602
56974 if test x"$with_gnu_ld" = x"yes" &&
56975 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56976 glibcxx_have_gc_sections=yes
56979 if test "$glibcxx_have_gc_sections" = "yes"; then
56980 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56981 # NB: This flag only works reliably after 2.16.1. Configure tests
56982 # for this are difficult, so hard wire a value that should work.
56984 ac_test_CFLAGS="${CFLAGS+set}"
56985 ac_save_CFLAGS="$CFLAGS"
56986 CFLAGS='-Wl,--gc-sections'
56988 # Check for -Wl,--gc-sections
56989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56990 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56991 if test x$gcc_no_link = xyes; then
56992 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56995 /* end confdefs.h. */
56996 int one(void) { return 1; }
56997 int two(void) { return 2; }
57000 main ()
57002 two();
57004 return 0;
57006 _ACEOF
57007 if ac_fn_c_try_link "$LINENO"; then :
57008 ac_gcsections=yes
57009 else
57010 ac_gcsections=no
57012 rm -f core conftest.err conftest.$ac_objext \
57013 conftest$ac_exeext conftest.$ac_ext
57014 if test "$ac_gcsections" = "yes"; then
57015 rm -f conftest.c
57016 touch conftest.c
57017 if $CC -c conftest.c; then
57018 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57019 grep "Warning: gc-sections option ignored" > /dev/null; then
57020 ac_gcsections=no
57023 rm -f conftest.c conftest.o conftest
57025 if test "$ac_gcsections" = "yes"; then
57026 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57029 $as_echo "$ac_gcsections" >&6; }
57031 if test "$ac_test_CFLAGS" = set; then
57032 CFLAGS="$ac_save_CFLAGS"
57033 else
57034 # this is the suspicious part
57035 CFLAGS=''
57039 # Set -z,relro.
57040 # Note this is only for shared objects.
57041 ac_ld_relro=no
57042 if test x"$with_gnu_ld" = x"yes"; then
57043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57044 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57045 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57046 if test -n "$cxx_z_relo"; then
57047 OPT_LDFLAGS="-Wl,-z,relro"
57048 ac_ld_relro=yes
57050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57051 $as_echo "$ac_ld_relro" >&6; }
57054 # Set linker optimization flags.
57055 if test x"$with_gnu_ld" = x"yes"; then
57056 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57062 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57064 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57066 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57068 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57070 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57072 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57074 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57076 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57078 if test x"long_double_math_on_this_cpu" = x"yes"; then
57079 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57081 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57083 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57087 *-qnx6.1* | *-qnx6.2*)
57088 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57091 # If we're not using GNU ld, then there's no point in even trying these
57092 # tests. Check for that first. We should have already tested for gld
57093 # by now (in libtool), but require it now just to be safe...
57094 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57095 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57099 # The name set by libtool depends on the version of libtool. Shame on us
57100 # for depending on an impl detail, but c'est la vie. Older versions used
57101 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57102 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57103 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57104 # set (hence we're using an older libtool), then set it.
57105 if test x${with_gnu_ld+set} != xset; then
57106 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57107 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57108 with_gnu_ld=no
57109 else
57110 with_gnu_ld=$ac_cv_prog_gnu_ld
57114 # Start by getting the version number. I think the libtool test already
57115 # does some of this, but throws away the result.
57116 glibcxx_ld_is_gold=no
57117 if test x"$with_gnu_ld" = x"yes"; then
57118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57119 $as_echo_n "checking for ld version... " >&6; }
57121 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57122 glibcxx_ld_is_gold=yes
57124 ldver=`$LD --version 2>/dev/null |
57125 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'`
57127 glibcxx_gnu_ld_version=`echo $ldver | \
57128 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57130 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57133 # Set --gc-sections.
57134 glibcxx_have_gc_sections=no
57135 if test "$glibcxx_ld_is_gold" = "yes"; then
57136 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57137 glibcxx_have_gc_sections=yes
57139 else
57140 glibcxx_gcsections_min_ld=21602
57141 if test x"$with_gnu_ld" = x"yes" &&
57142 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57143 glibcxx_have_gc_sections=yes
57146 if test "$glibcxx_have_gc_sections" = "yes"; then
57147 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57148 # NB: This flag only works reliably after 2.16.1. Configure tests
57149 # for this are difficult, so hard wire a value that should work.
57151 ac_test_CFLAGS="${CFLAGS+set}"
57152 ac_save_CFLAGS="$CFLAGS"
57153 CFLAGS='-Wl,--gc-sections'
57155 # Check for -Wl,--gc-sections
57156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57157 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57158 if test x$gcc_no_link = xyes; then
57159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57162 /* end confdefs.h. */
57163 int one(void) { return 1; }
57164 int two(void) { return 2; }
57167 main ()
57169 two();
57171 return 0;
57173 _ACEOF
57174 if ac_fn_c_try_link "$LINENO"; then :
57175 ac_gcsections=yes
57176 else
57177 ac_gcsections=no
57179 rm -f core conftest.err conftest.$ac_objext \
57180 conftest$ac_exeext conftest.$ac_ext
57181 if test "$ac_gcsections" = "yes"; then
57182 rm -f conftest.c
57183 touch conftest.c
57184 if $CC -c conftest.c; then
57185 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57186 grep "Warning: gc-sections option ignored" > /dev/null; then
57187 ac_gcsections=no
57190 rm -f conftest.c conftest.o conftest
57192 if test "$ac_gcsections" = "yes"; then
57193 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57196 $as_echo "$ac_gcsections" >&6; }
57198 if test "$ac_test_CFLAGS" = set; then
57199 CFLAGS="$ac_save_CFLAGS"
57200 else
57201 # this is the suspicious part
57202 CFLAGS=''
57206 # Set -z,relro.
57207 # Note this is only for shared objects.
57208 ac_ld_relro=no
57209 if test x"$with_gnu_ld" = x"yes"; then
57210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57211 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57212 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57213 if test -n "$cxx_z_relo"; then
57214 OPT_LDFLAGS="-Wl,-z,relro"
57215 ac_ld_relro=yes
57217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57218 $as_echo "$ac_ld_relro" >&6; }
57221 # Set linker optimization flags.
57222 if test x"$with_gnu_ld" = x"yes"; then
57223 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57229 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57231 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57233 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57235 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57237 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57239 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57241 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57243 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57245 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57247 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57249 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57251 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57254 *-rtems*)
57256 # All these tests are for C++; save the language and the compiler flags.
57257 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57258 # found in GLIBCXX_CONFIGURE.
57260 ac_ext=cpp
57261 ac_cpp='$CXXCPP $CPPFLAGS'
57262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57266 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57267 ac_save_CXXFLAGS="$CXXFLAGS"
57269 # Check for maintainer-mode bits.
57270 if test x"$USE_MAINTAINER_MODE" = xno; then
57271 WERROR=''
57272 else
57273 WERROR='-Werror'
57276 # Check for -ffunction-sections -fdata-sections
57277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57278 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57279 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57281 /* end confdefs.h. */
57282 int foo; void bar() { };
57284 main ()
57288 return 0;
57290 _ACEOF
57291 if ac_fn_cxx_try_compile "$LINENO"; then :
57292 ac_fdsections=yes
57293 else
57294 ac_fdsections=no
57296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57297 if test "$ac_test_CXXFLAGS" = set; then
57298 CXXFLAGS="$ac_save_CXXFLAGS"
57299 else
57300 # this is the suspicious part
57301 CXXFLAGS=''
57303 if test x"$ac_fdsections" = x"yes"; then
57304 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57307 $as_echo "$ac_fdsections" >&6; }
57309 ac_ext=c
57310 ac_cpp='$CPP $CPPFLAGS'
57311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57319 # If we're not using GNU ld, then there's no point in even trying these
57320 # tests. Check for that first. We should have already tested for gld
57321 # by now (in libtool), but require it now just to be safe...
57322 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57323 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57327 # The name set by libtool depends on the version of libtool. Shame on us
57328 # for depending on an impl detail, but c'est la vie. Older versions used
57329 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57330 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57331 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57332 # set (hence we're using an older libtool), then set it.
57333 if test x${with_gnu_ld+set} != xset; then
57334 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57335 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57336 with_gnu_ld=no
57337 else
57338 with_gnu_ld=$ac_cv_prog_gnu_ld
57342 # Start by getting the version number. I think the libtool test already
57343 # does some of this, but throws away the result.
57344 glibcxx_ld_is_gold=no
57345 if test x"$with_gnu_ld" = x"yes"; then
57346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57347 $as_echo_n "checking for ld version... " >&6; }
57349 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57350 glibcxx_ld_is_gold=yes
57352 ldver=`$LD --version 2>/dev/null |
57353 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'`
57355 glibcxx_gnu_ld_version=`echo $ldver | \
57356 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57358 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57361 # Set --gc-sections.
57362 glibcxx_have_gc_sections=no
57363 if test "$glibcxx_ld_is_gold" = "yes"; then
57364 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57365 glibcxx_have_gc_sections=yes
57367 else
57368 glibcxx_gcsections_min_ld=21602
57369 if test x"$with_gnu_ld" = x"yes" &&
57370 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57371 glibcxx_have_gc_sections=yes
57374 if test "$glibcxx_have_gc_sections" = "yes"; then
57375 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57376 # NB: This flag only works reliably after 2.16.1. Configure tests
57377 # for this are difficult, so hard wire a value that should work.
57379 ac_test_CFLAGS="${CFLAGS+set}"
57380 ac_save_CFLAGS="$CFLAGS"
57381 CFLAGS='-Wl,--gc-sections'
57383 # Check for -Wl,--gc-sections
57384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57385 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57386 if test x$gcc_no_link = xyes; then
57387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57390 /* end confdefs.h. */
57391 int one(void) { return 1; }
57392 int two(void) { return 2; }
57395 main ()
57397 two();
57399 return 0;
57401 _ACEOF
57402 if ac_fn_c_try_link "$LINENO"; then :
57403 ac_gcsections=yes
57404 else
57405 ac_gcsections=no
57407 rm -f core conftest.err conftest.$ac_objext \
57408 conftest$ac_exeext conftest.$ac_ext
57409 if test "$ac_gcsections" = "yes"; then
57410 rm -f conftest.c
57411 touch conftest.c
57412 if $CC -c conftest.c; then
57413 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57414 grep "Warning: gc-sections option ignored" > /dev/null; then
57415 ac_gcsections=no
57418 rm -f conftest.c conftest.o conftest
57420 if test "$ac_gcsections" = "yes"; then
57421 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57424 $as_echo "$ac_gcsections" >&6; }
57426 if test "$ac_test_CFLAGS" = set; then
57427 CFLAGS="$ac_save_CFLAGS"
57428 else
57429 # this is the suspicious part
57430 CFLAGS=''
57434 # Set -z,relro.
57435 # Note this is only for shared objects.
57436 ac_ld_relro=no
57437 if test x"$with_gnu_ld" = x"yes"; then
57438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57439 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57440 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57441 if test -n "$cxx_z_relo"; then
57442 OPT_LDFLAGS="-Wl,-z,relro"
57443 ac_ld_relro=yes
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57446 $as_echo "$ac_ld_relro" >&6; }
57449 # Set linker optimization flags.
57450 if test x"$with_gnu_ld" = x"yes"; then
57451 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57458 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57459 ac_save_CXXFLAGS="$CXXFLAGS"
57460 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57463 $as_echo_n "checking for sin in -lm... " >&6; }
57464 if test "${ac_cv_lib_m_sin+set}" = set; then :
57465 $as_echo_n "(cached) " >&6
57466 else
57467 ac_check_lib_save_LIBS=$LIBS
57468 LIBS="-lm $LIBS"
57469 if test x$gcc_no_link = xyes; then
57470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57473 /* end confdefs.h. */
57475 /* Override any GCC internal prototype to avoid an error.
57476 Use char because int might match the return type of a GCC
57477 builtin and then its argument prototype would still apply. */
57478 #ifdef __cplusplus
57479 extern "C"
57480 #endif
57481 char sin ();
57483 main ()
57485 return sin ();
57487 return 0;
57489 _ACEOF
57490 if ac_fn_c_try_link "$LINENO"; then :
57491 ac_cv_lib_m_sin=yes
57492 else
57493 ac_cv_lib_m_sin=no
57495 rm -f core conftest.err conftest.$ac_objext \
57496 conftest$ac_exeext conftest.$ac_ext
57497 LIBS=$ac_check_lib_save_LIBS
57499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57500 $as_echo "$ac_cv_lib_m_sin" >&6; }
57501 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57502 libm="-lm"
57505 ac_save_LIBS="$LIBS"
57506 LIBS="$LIBS $libm"
57510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57511 $as_echo_n "checking for isinf declaration... " >&6; }
57512 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57513 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57514 $as_echo_n "(cached) " >&6
57515 else
57518 ac_ext=cpp
57519 ac_cpp='$CXXCPP $CPPFLAGS'
57520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57525 /* end confdefs.h. */
57526 #include <math.h>
57527 #ifdef HAVE_IEEEFP_H
57528 #include <ieeefp.h>
57529 #endif
57532 main ()
57534 isinf(0);
57536 return 0;
57538 _ACEOF
57539 if ac_fn_cxx_try_compile "$LINENO"; then :
57540 glibcxx_cv_func_isinf_use=yes
57541 else
57542 glibcxx_cv_func_isinf_use=no
57544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57545 ac_ext=c
57546 ac_cpp='$CPP $CPPFLAGS'
57547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57556 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57558 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57559 for ac_func in isinf
57560 do :
57561 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57562 if test "x$ac_cv_func_isinf" = x""yes; then :
57563 cat >>confdefs.h <<_ACEOF
57564 #define HAVE_ISINF 1
57565 _ACEOF
57568 done
57570 else
57572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57573 $as_echo_n "checking for _isinf declaration... " >&6; }
57574 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57575 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57576 $as_echo_n "(cached) " >&6
57577 else
57580 ac_ext=cpp
57581 ac_cpp='$CXXCPP $CPPFLAGS'
57582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57587 /* end confdefs.h. */
57588 #include <math.h>
57589 #ifdef HAVE_IEEEFP_H
57590 #include <ieeefp.h>
57591 #endif
57594 main ()
57596 _isinf(0);
57598 return 0;
57600 _ACEOF
57601 if ac_fn_cxx_try_compile "$LINENO"; then :
57602 glibcxx_cv_func__isinf_use=yes
57603 else
57604 glibcxx_cv_func__isinf_use=no
57606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57607 ac_ext=c
57608 ac_cpp='$CPP $CPPFLAGS'
57609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57618 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57620 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57621 for ac_func in _isinf
57622 do :
57623 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57624 if test "x$ac_cv_func__isinf" = x""yes; then :
57625 cat >>confdefs.h <<_ACEOF
57626 #define HAVE__ISINF 1
57627 _ACEOF
57630 done
57639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57640 $as_echo_n "checking for isnan declaration... " >&6; }
57641 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57642 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57643 $as_echo_n "(cached) " >&6
57644 else
57647 ac_ext=cpp
57648 ac_cpp='$CXXCPP $CPPFLAGS'
57649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57654 /* end confdefs.h. */
57655 #include <math.h>
57656 #ifdef HAVE_IEEEFP_H
57657 #include <ieeefp.h>
57658 #endif
57661 main ()
57663 isnan(0);
57665 return 0;
57667 _ACEOF
57668 if ac_fn_cxx_try_compile "$LINENO"; then :
57669 glibcxx_cv_func_isnan_use=yes
57670 else
57671 glibcxx_cv_func_isnan_use=no
57673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57674 ac_ext=c
57675 ac_cpp='$CPP $CPPFLAGS'
57676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57685 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57687 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57688 for ac_func in isnan
57689 do :
57690 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57691 if test "x$ac_cv_func_isnan" = x""yes; then :
57692 cat >>confdefs.h <<_ACEOF
57693 #define HAVE_ISNAN 1
57694 _ACEOF
57697 done
57699 else
57701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57702 $as_echo_n "checking for _isnan declaration... " >&6; }
57703 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57704 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57705 $as_echo_n "(cached) " >&6
57706 else
57709 ac_ext=cpp
57710 ac_cpp='$CXXCPP $CPPFLAGS'
57711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57716 /* end confdefs.h. */
57717 #include <math.h>
57718 #ifdef HAVE_IEEEFP_H
57719 #include <ieeefp.h>
57720 #endif
57723 main ()
57725 _isnan(0);
57727 return 0;
57729 _ACEOF
57730 if ac_fn_cxx_try_compile "$LINENO"; then :
57731 glibcxx_cv_func__isnan_use=yes
57732 else
57733 glibcxx_cv_func__isnan_use=no
57735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57736 ac_ext=c
57737 ac_cpp='$CPP $CPPFLAGS'
57738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
57747 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
57749 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57750 for ac_func in _isnan
57751 do :
57752 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
57753 if test "x$ac_cv_func__isnan" = x""yes; then :
57754 cat >>confdefs.h <<_ACEOF
57755 #define HAVE__ISNAN 1
57756 _ACEOF
57759 done
57768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
57769 $as_echo_n "checking for finite declaration... " >&6; }
57770 if test x${glibcxx_cv_func_finite_use+set} != xset; then
57771 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
57772 $as_echo_n "(cached) " >&6
57773 else
57776 ac_ext=cpp
57777 ac_cpp='$CXXCPP $CPPFLAGS'
57778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57783 /* end confdefs.h. */
57784 #include <math.h>
57785 #ifdef HAVE_IEEEFP_H
57786 #include <ieeefp.h>
57787 #endif
57790 main ()
57792 finite(0);
57794 return 0;
57796 _ACEOF
57797 if ac_fn_cxx_try_compile "$LINENO"; then :
57798 glibcxx_cv_func_finite_use=yes
57799 else
57800 glibcxx_cv_func_finite_use=no
57802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57803 ac_ext=c
57804 ac_cpp='$CPP $CPPFLAGS'
57805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
57814 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
57816 if test x$glibcxx_cv_func_finite_use = x"yes"; then
57817 for ac_func in finite
57818 do :
57819 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
57820 if test "x$ac_cv_func_finite" = x""yes; then :
57821 cat >>confdefs.h <<_ACEOF
57822 #define HAVE_FINITE 1
57823 _ACEOF
57826 done
57828 else
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
57831 $as_echo_n "checking for _finite declaration... " >&6; }
57832 if test x${glibcxx_cv_func__finite_use+set} != xset; then
57833 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
57834 $as_echo_n "(cached) " >&6
57835 else
57838 ac_ext=cpp
57839 ac_cpp='$CXXCPP $CPPFLAGS'
57840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57845 /* end confdefs.h. */
57846 #include <math.h>
57847 #ifdef HAVE_IEEEFP_H
57848 #include <ieeefp.h>
57849 #endif
57852 main ()
57854 _finite(0);
57856 return 0;
57858 _ACEOF
57859 if ac_fn_cxx_try_compile "$LINENO"; then :
57860 glibcxx_cv_func__finite_use=yes
57861 else
57862 glibcxx_cv_func__finite_use=no
57864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57865 ac_ext=c
57866 ac_cpp='$CPP $CPPFLAGS'
57867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
57876 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
57878 if test x$glibcxx_cv_func__finite_use = x"yes"; then
57879 for ac_func in _finite
57880 do :
57881 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
57882 if test "x$ac_cv_func__finite" = x""yes; then :
57883 cat >>confdefs.h <<_ACEOF
57884 #define HAVE__FINITE 1
57885 _ACEOF
57888 done
57897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
57898 $as_echo_n "checking for sincos declaration... " >&6; }
57899 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
57900 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
57901 $as_echo_n "(cached) " >&6
57902 else
57905 ac_ext=cpp
57906 ac_cpp='$CXXCPP $CPPFLAGS'
57907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57912 /* end confdefs.h. */
57913 #include <math.h>
57915 main ()
57917 sincos(0, 0, 0);
57919 return 0;
57921 _ACEOF
57922 if ac_fn_cxx_try_compile "$LINENO"; then :
57923 glibcxx_cv_func_sincos_use=yes
57924 else
57925 glibcxx_cv_func_sincos_use=no
57927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57928 ac_ext=c
57929 ac_cpp='$CPP $CPPFLAGS'
57930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
57939 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
57941 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
57942 for ac_func in sincos
57943 do :
57944 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
57945 if test "x$ac_cv_func_sincos" = x""yes; then :
57946 cat >>confdefs.h <<_ACEOF
57947 #define HAVE_SINCOS 1
57948 _ACEOF
57951 done
57953 else
57955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
57956 $as_echo_n "checking for _sincos declaration... " >&6; }
57957 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57958 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
57959 $as_echo_n "(cached) " >&6
57960 else
57963 ac_ext=cpp
57964 ac_cpp='$CXXCPP $CPPFLAGS'
57965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57970 /* end confdefs.h. */
57971 #include <math.h>
57973 main ()
57975 _sincos(0, 0, 0);
57977 return 0;
57979 _ACEOF
57980 if ac_fn_cxx_try_compile "$LINENO"; then :
57981 glibcxx_cv_func__sincos_use=yes
57982 else
57983 glibcxx_cv_func__sincos_use=no
57985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57986 ac_ext=c
57987 ac_cpp='$CPP $CPPFLAGS'
57988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
57997 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
57999 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58000 for ac_func in _sincos
58001 do :
58002 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58003 if test "x$ac_cv_func__sincos" = x""yes; then :
58004 cat >>confdefs.h <<_ACEOF
58005 #define HAVE__SINCOS 1
58006 _ACEOF
58009 done
58018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58019 $as_echo_n "checking for fpclass declaration... " >&6; }
58020 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58021 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58022 $as_echo_n "(cached) " >&6
58023 else
58026 ac_ext=cpp
58027 ac_cpp='$CXXCPP $CPPFLAGS'
58028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58033 /* end confdefs.h. */
58034 #include <math.h>
58035 #ifdef HAVE_IEEEFP_H
58036 #include <ieeefp.h>
58037 #endif
58040 main ()
58042 fpclass(0);
58044 return 0;
58046 _ACEOF
58047 if ac_fn_cxx_try_compile "$LINENO"; then :
58048 glibcxx_cv_func_fpclass_use=yes
58049 else
58050 glibcxx_cv_func_fpclass_use=no
58052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58053 ac_ext=c
58054 ac_cpp='$CPP $CPPFLAGS'
58055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58064 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58066 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58067 for ac_func in fpclass
58068 do :
58069 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58070 if test "x$ac_cv_func_fpclass" = x""yes; then :
58071 cat >>confdefs.h <<_ACEOF
58072 #define HAVE_FPCLASS 1
58073 _ACEOF
58076 done
58078 else
58080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58081 $as_echo_n "checking for _fpclass declaration... " >&6; }
58082 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58083 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58084 $as_echo_n "(cached) " >&6
58085 else
58088 ac_ext=cpp
58089 ac_cpp='$CXXCPP $CPPFLAGS'
58090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58095 /* end confdefs.h. */
58096 #include <math.h>
58097 #ifdef HAVE_IEEEFP_H
58098 #include <ieeefp.h>
58099 #endif
58102 main ()
58104 _fpclass(0);
58106 return 0;
58108 _ACEOF
58109 if ac_fn_cxx_try_compile "$LINENO"; then :
58110 glibcxx_cv_func__fpclass_use=yes
58111 else
58112 glibcxx_cv_func__fpclass_use=no
58114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58115 ac_ext=c
58116 ac_cpp='$CPP $CPPFLAGS'
58117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58126 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58128 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58129 for ac_func in _fpclass
58130 do :
58131 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58132 if test "x$ac_cv_func__fpclass" = x""yes; then :
58133 cat >>confdefs.h <<_ACEOF
58134 #define HAVE__FPCLASS 1
58135 _ACEOF
58138 done
58147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58148 $as_echo_n "checking for qfpclass declaration... " >&6; }
58149 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58150 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58151 $as_echo_n "(cached) " >&6
58152 else
58155 ac_ext=cpp
58156 ac_cpp='$CXXCPP $CPPFLAGS'
58157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58162 /* end confdefs.h. */
58163 #include <math.h>
58164 #ifdef HAVE_IEEEFP_H
58165 #include <ieeefp.h>
58166 #endif
58169 main ()
58171 qfpclass(0);
58173 return 0;
58175 _ACEOF
58176 if ac_fn_cxx_try_compile "$LINENO"; then :
58177 glibcxx_cv_func_qfpclass_use=yes
58178 else
58179 glibcxx_cv_func_qfpclass_use=no
58181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58182 ac_ext=c
58183 ac_cpp='$CPP $CPPFLAGS'
58184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58193 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58195 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58196 for ac_func in qfpclass
58197 do :
58198 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58199 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58200 cat >>confdefs.h <<_ACEOF
58201 #define HAVE_QFPCLASS 1
58202 _ACEOF
58205 done
58207 else
58209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58210 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58211 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58212 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58213 $as_echo_n "(cached) " >&6
58214 else
58217 ac_ext=cpp
58218 ac_cpp='$CXXCPP $CPPFLAGS'
58219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58224 /* end confdefs.h. */
58225 #include <math.h>
58226 #ifdef HAVE_IEEEFP_H
58227 #include <ieeefp.h>
58228 #endif
58231 main ()
58233 _qfpclass(0);
58235 return 0;
58237 _ACEOF
58238 if ac_fn_cxx_try_compile "$LINENO"; then :
58239 glibcxx_cv_func__qfpclass_use=yes
58240 else
58241 glibcxx_cv_func__qfpclass_use=no
58243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58244 ac_ext=c
58245 ac_cpp='$CPP $CPPFLAGS'
58246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58255 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58257 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58258 for ac_func in _qfpclass
58259 do :
58260 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58261 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58262 cat >>confdefs.h <<_ACEOF
58263 #define HAVE__QFPCLASS 1
58264 _ACEOF
58267 done
58276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58277 $as_echo_n "checking for hypot declaration... " >&6; }
58278 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58279 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58280 $as_echo_n "(cached) " >&6
58281 else
58284 ac_ext=cpp
58285 ac_cpp='$CXXCPP $CPPFLAGS'
58286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58291 /* end confdefs.h. */
58292 #include <math.h>
58294 main ()
58296 hypot(0, 0);
58298 return 0;
58300 _ACEOF
58301 if ac_fn_cxx_try_compile "$LINENO"; then :
58302 glibcxx_cv_func_hypot_use=yes
58303 else
58304 glibcxx_cv_func_hypot_use=no
58306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58307 ac_ext=c
58308 ac_cpp='$CPP $CPPFLAGS'
58309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58318 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58320 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58321 for ac_func in hypot
58322 do :
58323 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58324 if test "x$ac_cv_func_hypot" = x""yes; then :
58325 cat >>confdefs.h <<_ACEOF
58326 #define HAVE_HYPOT 1
58327 _ACEOF
58330 done
58332 else
58334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58335 $as_echo_n "checking for _hypot declaration... " >&6; }
58336 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58337 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58338 $as_echo_n "(cached) " >&6
58339 else
58342 ac_ext=cpp
58343 ac_cpp='$CXXCPP $CPPFLAGS'
58344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58349 /* end confdefs.h. */
58350 #include <math.h>
58352 main ()
58354 _hypot(0, 0);
58356 return 0;
58358 _ACEOF
58359 if ac_fn_cxx_try_compile "$LINENO"; then :
58360 glibcxx_cv_func__hypot_use=yes
58361 else
58362 glibcxx_cv_func__hypot_use=no
58364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58365 ac_ext=c
58366 ac_cpp='$CPP $CPPFLAGS'
58367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58376 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58378 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58379 for ac_func in _hypot
58380 do :
58381 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58382 if test "x$ac_cv_func__hypot" = x""yes; then :
58383 cat >>confdefs.h <<_ACEOF
58384 #define HAVE__HYPOT 1
58385 _ACEOF
58388 done
58397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58398 $as_echo_n "checking for float trig functions... " >&6; }
58399 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58400 $as_echo_n "(cached) " >&6
58401 else
58404 ac_ext=cpp
58405 ac_cpp='$CXXCPP $CPPFLAGS'
58406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58411 /* end confdefs.h. */
58412 #include <math.h>
58414 main ()
58416 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58418 return 0;
58420 _ACEOF
58421 if ac_fn_cxx_try_compile "$LINENO"; then :
58422 glibcxx_cv_func_float_trig_use=yes
58423 else
58424 glibcxx_cv_func_float_trig_use=no
58426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58427 ac_ext=c
58428 ac_cpp='$CPP $CPPFLAGS'
58429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58436 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58437 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58438 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58439 do :
58440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58442 eval as_val=\$$as_ac_var
58443 if test "x$as_val" = x""yes; then :
58444 cat >>confdefs.h <<_ACEOF
58445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58446 _ACEOF
58449 done
58451 else
58452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58453 $as_echo_n "checking for _float trig functions... " >&6; }
58454 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58455 $as_echo_n "(cached) " >&6
58456 else
58459 ac_ext=cpp
58460 ac_cpp='$CXXCPP $CPPFLAGS'
58461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58466 /* end confdefs.h. */
58467 #include <math.h>
58469 main ()
58471 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58473 return 0;
58475 _ACEOF
58476 if ac_fn_cxx_try_compile "$LINENO"; then :
58477 glibcxx_cv_func__float_trig_use=yes
58478 else
58479 glibcxx_cv_func__float_trig_use=no
58481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58482 ac_ext=c
58483 ac_cpp='$CPP $CPPFLAGS'
58484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58491 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58492 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58493 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58494 do :
58495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58497 eval as_val=\$$as_ac_var
58498 if test "x$as_val" = x""yes; then :
58499 cat >>confdefs.h <<_ACEOF
58500 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58501 _ACEOF
58504 done
58513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58514 $as_echo_n "checking for float round functions... " >&6; }
58515 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58516 $as_echo_n "(cached) " >&6
58517 else
58520 ac_ext=cpp
58521 ac_cpp='$CXXCPP $CPPFLAGS'
58522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58527 /* end confdefs.h. */
58528 #include <math.h>
58530 main ()
58532 ceilf (0); floorf (0);
58534 return 0;
58536 _ACEOF
58537 if ac_fn_cxx_try_compile "$LINENO"; then :
58538 glibcxx_cv_func_float_round_use=yes
58539 else
58540 glibcxx_cv_func_float_round_use=no
58542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58543 ac_ext=c
58544 ac_cpp='$CPP $CPPFLAGS'
58545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58552 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58553 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58554 for ac_func in ceilf floorf
58555 do :
58556 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58557 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58558 eval as_val=\$$as_ac_var
58559 if test "x$as_val" = x""yes; then :
58560 cat >>confdefs.h <<_ACEOF
58561 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58562 _ACEOF
58565 done
58567 else
58568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58569 $as_echo_n "checking for _float round functions... " >&6; }
58570 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58571 $as_echo_n "(cached) " >&6
58572 else
58575 ac_ext=cpp
58576 ac_cpp='$CXXCPP $CPPFLAGS'
58577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58582 /* end confdefs.h. */
58583 #include <math.h>
58585 main ()
58587 _ceilf (0); _floorf (0);
58589 return 0;
58591 _ACEOF
58592 if ac_fn_cxx_try_compile "$LINENO"; then :
58593 glibcxx_cv_func__float_round_use=yes
58594 else
58595 glibcxx_cv_func__float_round_use=no
58597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58598 ac_ext=c
58599 ac_cpp='$CPP $CPPFLAGS'
58600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58607 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58608 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58609 for ac_func in _ceilf _floorf
58610 do :
58611 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58612 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58613 eval as_val=\$$as_ac_var
58614 if test "x$as_val" = x""yes; then :
58615 cat >>confdefs.h <<_ACEOF
58616 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58617 _ACEOF
58620 done
58630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58631 $as_echo_n "checking for expf declaration... " >&6; }
58632 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58633 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58634 $as_echo_n "(cached) " >&6
58635 else
58638 ac_ext=cpp
58639 ac_cpp='$CXXCPP $CPPFLAGS'
58640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58645 /* end confdefs.h. */
58646 #include <math.h>
58647 #ifdef HAVE_IEEEFP_H
58648 #include <ieeefp.h>
58649 #endif
58652 main ()
58654 expf(0);
58656 return 0;
58658 _ACEOF
58659 if ac_fn_cxx_try_compile "$LINENO"; then :
58660 glibcxx_cv_func_expf_use=yes
58661 else
58662 glibcxx_cv_func_expf_use=no
58664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58665 ac_ext=c
58666 ac_cpp='$CPP $CPPFLAGS'
58667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58676 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58678 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58679 for ac_func in expf
58680 do :
58681 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58682 if test "x$ac_cv_func_expf" = x""yes; then :
58683 cat >>confdefs.h <<_ACEOF
58684 #define HAVE_EXPF 1
58685 _ACEOF
58688 done
58690 else
58692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58693 $as_echo_n "checking for _expf declaration... " >&6; }
58694 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58695 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
58696 $as_echo_n "(cached) " >&6
58697 else
58700 ac_ext=cpp
58701 ac_cpp='$CXXCPP $CPPFLAGS'
58702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58707 /* end confdefs.h. */
58708 #include <math.h>
58709 #ifdef HAVE_IEEEFP_H
58710 #include <ieeefp.h>
58711 #endif
58714 main ()
58716 _expf(0);
58718 return 0;
58720 _ACEOF
58721 if ac_fn_cxx_try_compile "$LINENO"; then :
58722 glibcxx_cv_func__expf_use=yes
58723 else
58724 glibcxx_cv_func__expf_use=no
58726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58727 ac_ext=c
58728 ac_cpp='$CPP $CPPFLAGS'
58729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
58738 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
58740 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58741 for ac_func in _expf
58742 do :
58743 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
58744 if test "x$ac_cv_func__expf" = x""yes; then :
58745 cat >>confdefs.h <<_ACEOF
58746 #define HAVE__EXPF 1
58747 _ACEOF
58750 done
58759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
58760 $as_echo_n "checking for isnanf declaration... " >&6; }
58761 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58762 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
58763 $as_echo_n "(cached) " >&6
58764 else
58767 ac_ext=cpp
58768 ac_cpp='$CXXCPP $CPPFLAGS'
58769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58774 /* end confdefs.h. */
58775 #include <math.h>
58776 #ifdef HAVE_IEEEFP_H
58777 #include <ieeefp.h>
58778 #endif
58781 main ()
58783 isnanf(0);
58785 return 0;
58787 _ACEOF
58788 if ac_fn_cxx_try_compile "$LINENO"; then :
58789 glibcxx_cv_func_isnanf_use=yes
58790 else
58791 glibcxx_cv_func_isnanf_use=no
58793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58794 ac_ext=c
58795 ac_cpp='$CPP $CPPFLAGS'
58796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
58805 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
58807 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58808 for ac_func in isnanf
58809 do :
58810 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
58811 if test "x$ac_cv_func_isnanf" = x""yes; then :
58812 cat >>confdefs.h <<_ACEOF
58813 #define HAVE_ISNANF 1
58814 _ACEOF
58817 done
58819 else
58821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
58822 $as_echo_n "checking for _isnanf declaration... " >&6; }
58823 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58824 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
58825 $as_echo_n "(cached) " >&6
58826 else
58829 ac_ext=cpp
58830 ac_cpp='$CXXCPP $CPPFLAGS'
58831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58836 /* end confdefs.h. */
58837 #include <math.h>
58838 #ifdef HAVE_IEEEFP_H
58839 #include <ieeefp.h>
58840 #endif
58843 main ()
58845 _isnanf(0);
58847 return 0;
58849 _ACEOF
58850 if ac_fn_cxx_try_compile "$LINENO"; then :
58851 glibcxx_cv_func__isnanf_use=yes
58852 else
58853 glibcxx_cv_func__isnanf_use=no
58855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58856 ac_ext=c
58857 ac_cpp='$CPP $CPPFLAGS'
58858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
58867 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
58869 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58870 for ac_func in _isnanf
58871 do :
58872 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
58873 if test "x$ac_cv_func__isnanf" = x""yes; then :
58874 cat >>confdefs.h <<_ACEOF
58875 #define HAVE__ISNANF 1
58876 _ACEOF
58879 done
58888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
58889 $as_echo_n "checking for isinff declaration... " >&6; }
58890 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58891 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
58892 $as_echo_n "(cached) " >&6
58893 else
58896 ac_ext=cpp
58897 ac_cpp='$CXXCPP $CPPFLAGS'
58898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58903 /* end confdefs.h. */
58904 #include <math.h>
58905 #ifdef HAVE_IEEEFP_H
58906 #include <ieeefp.h>
58907 #endif
58910 main ()
58912 isinff(0);
58914 return 0;
58916 _ACEOF
58917 if ac_fn_cxx_try_compile "$LINENO"; then :
58918 glibcxx_cv_func_isinff_use=yes
58919 else
58920 glibcxx_cv_func_isinff_use=no
58922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58923 ac_ext=c
58924 ac_cpp='$CPP $CPPFLAGS'
58925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
58934 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
58936 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58937 for ac_func in isinff
58938 do :
58939 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
58940 if test "x$ac_cv_func_isinff" = x""yes; then :
58941 cat >>confdefs.h <<_ACEOF
58942 #define HAVE_ISINFF 1
58943 _ACEOF
58946 done
58948 else
58950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
58951 $as_echo_n "checking for _isinff declaration... " >&6; }
58952 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58953 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
58954 $as_echo_n "(cached) " >&6
58955 else
58958 ac_ext=cpp
58959 ac_cpp='$CXXCPP $CPPFLAGS'
58960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58965 /* end confdefs.h. */
58966 #include <math.h>
58967 #ifdef HAVE_IEEEFP_H
58968 #include <ieeefp.h>
58969 #endif
58972 main ()
58974 _isinff(0);
58976 return 0;
58978 _ACEOF
58979 if ac_fn_cxx_try_compile "$LINENO"; then :
58980 glibcxx_cv_func__isinff_use=yes
58981 else
58982 glibcxx_cv_func__isinff_use=no
58984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58985 ac_ext=c
58986 ac_cpp='$CPP $CPPFLAGS'
58987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
58996 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
58998 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58999 for ac_func in _isinff
59000 do :
59001 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59002 if test "x$ac_cv_func__isinff" = x""yes; then :
59003 cat >>confdefs.h <<_ACEOF
59004 #define HAVE__ISINFF 1
59005 _ACEOF
59008 done
59017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59018 $as_echo_n "checking for atan2f declaration... " >&6; }
59019 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59020 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59021 $as_echo_n "(cached) " >&6
59022 else
59025 ac_ext=cpp
59026 ac_cpp='$CXXCPP $CPPFLAGS'
59027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59032 /* end confdefs.h. */
59033 #include <math.h>
59035 main ()
59037 atan2f(0, 0);
59039 return 0;
59041 _ACEOF
59042 if ac_fn_cxx_try_compile "$LINENO"; then :
59043 glibcxx_cv_func_atan2f_use=yes
59044 else
59045 glibcxx_cv_func_atan2f_use=no
59047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59048 ac_ext=c
59049 ac_cpp='$CPP $CPPFLAGS'
59050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59059 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59061 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59062 for ac_func in atan2f
59063 do :
59064 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59065 if test "x$ac_cv_func_atan2f" = x""yes; then :
59066 cat >>confdefs.h <<_ACEOF
59067 #define HAVE_ATAN2F 1
59068 _ACEOF
59071 done
59073 else
59075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59076 $as_echo_n "checking for _atan2f declaration... " >&6; }
59077 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59078 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59079 $as_echo_n "(cached) " >&6
59080 else
59083 ac_ext=cpp
59084 ac_cpp='$CXXCPP $CPPFLAGS'
59085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59090 /* end confdefs.h. */
59091 #include <math.h>
59093 main ()
59095 _atan2f(0, 0);
59097 return 0;
59099 _ACEOF
59100 if ac_fn_cxx_try_compile "$LINENO"; then :
59101 glibcxx_cv_func__atan2f_use=yes
59102 else
59103 glibcxx_cv_func__atan2f_use=no
59105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59106 ac_ext=c
59107 ac_cpp='$CPP $CPPFLAGS'
59108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59117 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59119 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59120 for ac_func in _atan2f
59121 do :
59122 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59123 if test "x$ac_cv_func__atan2f" = x""yes; then :
59124 cat >>confdefs.h <<_ACEOF
59125 #define HAVE__ATAN2F 1
59126 _ACEOF
59129 done
59138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59139 $as_echo_n "checking for fabsf declaration... " >&6; }
59140 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59141 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59142 $as_echo_n "(cached) " >&6
59143 else
59146 ac_ext=cpp
59147 ac_cpp='$CXXCPP $CPPFLAGS'
59148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59153 /* end confdefs.h. */
59154 #include <math.h>
59155 #ifdef HAVE_IEEEFP_H
59156 #include <ieeefp.h>
59157 #endif
59160 main ()
59162 fabsf(0);
59164 return 0;
59166 _ACEOF
59167 if ac_fn_cxx_try_compile "$LINENO"; then :
59168 glibcxx_cv_func_fabsf_use=yes
59169 else
59170 glibcxx_cv_func_fabsf_use=no
59172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59173 ac_ext=c
59174 ac_cpp='$CPP $CPPFLAGS'
59175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59184 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59186 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59187 for ac_func in fabsf
59188 do :
59189 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59190 if test "x$ac_cv_func_fabsf" = x""yes; then :
59191 cat >>confdefs.h <<_ACEOF
59192 #define HAVE_FABSF 1
59193 _ACEOF
59196 done
59198 else
59200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59201 $as_echo_n "checking for _fabsf declaration... " >&6; }
59202 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59203 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59204 $as_echo_n "(cached) " >&6
59205 else
59208 ac_ext=cpp
59209 ac_cpp='$CXXCPP $CPPFLAGS'
59210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59215 /* end confdefs.h. */
59216 #include <math.h>
59217 #ifdef HAVE_IEEEFP_H
59218 #include <ieeefp.h>
59219 #endif
59222 main ()
59224 _fabsf(0);
59226 return 0;
59228 _ACEOF
59229 if ac_fn_cxx_try_compile "$LINENO"; then :
59230 glibcxx_cv_func__fabsf_use=yes
59231 else
59232 glibcxx_cv_func__fabsf_use=no
59234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59235 ac_ext=c
59236 ac_cpp='$CPP $CPPFLAGS'
59237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59246 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59248 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59249 for ac_func in _fabsf
59250 do :
59251 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59252 if test "x$ac_cv_func__fabsf" = x""yes; then :
59253 cat >>confdefs.h <<_ACEOF
59254 #define HAVE__FABSF 1
59255 _ACEOF
59258 done
59267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59268 $as_echo_n "checking for fmodf declaration... " >&6; }
59269 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59270 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59271 $as_echo_n "(cached) " >&6
59272 else
59275 ac_ext=cpp
59276 ac_cpp='$CXXCPP $CPPFLAGS'
59277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59282 /* end confdefs.h. */
59283 #include <math.h>
59285 main ()
59287 fmodf(0, 0);
59289 return 0;
59291 _ACEOF
59292 if ac_fn_cxx_try_compile "$LINENO"; then :
59293 glibcxx_cv_func_fmodf_use=yes
59294 else
59295 glibcxx_cv_func_fmodf_use=no
59297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59298 ac_ext=c
59299 ac_cpp='$CPP $CPPFLAGS'
59300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59309 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59311 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59312 for ac_func in fmodf
59313 do :
59314 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59315 if test "x$ac_cv_func_fmodf" = x""yes; then :
59316 cat >>confdefs.h <<_ACEOF
59317 #define HAVE_FMODF 1
59318 _ACEOF
59321 done
59323 else
59325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59326 $as_echo_n "checking for _fmodf declaration... " >&6; }
59327 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59328 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59329 $as_echo_n "(cached) " >&6
59330 else
59333 ac_ext=cpp
59334 ac_cpp='$CXXCPP $CPPFLAGS'
59335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59340 /* end confdefs.h. */
59341 #include <math.h>
59343 main ()
59345 _fmodf(0, 0);
59347 return 0;
59349 _ACEOF
59350 if ac_fn_cxx_try_compile "$LINENO"; then :
59351 glibcxx_cv_func__fmodf_use=yes
59352 else
59353 glibcxx_cv_func__fmodf_use=no
59355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59356 ac_ext=c
59357 ac_cpp='$CPP $CPPFLAGS'
59358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59367 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59369 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59370 for ac_func in _fmodf
59371 do :
59372 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59373 if test "x$ac_cv_func__fmodf" = x""yes; then :
59374 cat >>confdefs.h <<_ACEOF
59375 #define HAVE__FMODF 1
59376 _ACEOF
59379 done
59388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59389 $as_echo_n "checking for frexpf declaration... " >&6; }
59390 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59391 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59392 $as_echo_n "(cached) " >&6
59393 else
59396 ac_ext=cpp
59397 ac_cpp='$CXXCPP $CPPFLAGS'
59398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59403 /* end confdefs.h. */
59404 #include <math.h>
59406 main ()
59408 frexpf(0, 0);
59410 return 0;
59412 _ACEOF
59413 if ac_fn_cxx_try_compile "$LINENO"; then :
59414 glibcxx_cv_func_frexpf_use=yes
59415 else
59416 glibcxx_cv_func_frexpf_use=no
59418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59419 ac_ext=c
59420 ac_cpp='$CPP $CPPFLAGS'
59421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59430 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59432 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59433 for ac_func in frexpf
59434 do :
59435 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59436 if test "x$ac_cv_func_frexpf" = x""yes; then :
59437 cat >>confdefs.h <<_ACEOF
59438 #define HAVE_FREXPF 1
59439 _ACEOF
59442 done
59444 else
59446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59447 $as_echo_n "checking for _frexpf declaration... " >&6; }
59448 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59449 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59450 $as_echo_n "(cached) " >&6
59451 else
59454 ac_ext=cpp
59455 ac_cpp='$CXXCPP $CPPFLAGS'
59456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59461 /* end confdefs.h. */
59462 #include <math.h>
59464 main ()
59466 _frexpf(0, 0);
59468 return 0;
59470 _ACEOF
59471 if ac_fn_cxx_try_compile "$LINENO"; then :
59472 glibcxx_cv_func__frexpf_use=yes
59473 else
59474 glibcxx_cv_func__frexpf_use=no
59476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59477 ac_ext=c
59478 ac_cpp='$CPP $CPPFLAGS'
59479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59488 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59490 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59491 for ac_func in _frexpf
59492 do :
59493 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59494 if test "x$ac_cv_func__frexpf" = x""yes; then :
59495 cat >>confdefs.h <<_ACEOF
59496 #define HAVE__FREXPF 1
59497 _ACEOF
59500 done
59509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59510 $as_echo_n "checking for hypotf declaration... " >&6; }
59511 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59512 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59513 $as_echo_n "(cached) " >&6
59514 else
59517 ac_ext=cpp
59518 ac_cpp='$CXXCPP $CPPFLAGS'
59519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59524 /* end confdefs.h. */
59525 #include <math.h>
59527 main ()
59529 hypotf(0, 0);
59531 return 0;
59533 _ACEOF
59534 if ac_fn_cxx_try_compile "$LINENO"; then :
59535 glibcxx_cv_func_hypotf_use=yes
59536 else
59537 glibcxx_cv_func_hypotf_use=no
59539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59540 ac_ext=c
59541 ac_cpp='$CPP $CPPFLAGS'
59542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59551 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59553 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59554 for ac_func in hypotf
59555 do :
59556 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59557 if test "x$ac_cv_func_hypotf" = x""yes; then :
59558 cat >>confdefs.h <<_ACEOF
59559 #define HAVE_HYPOTF 1
59560 _ACEOF
59563 done
59565 else
59567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59568 $as_echo_n "checking for _hypotf declaration... " >&6; }
59569 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59570 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59571 $as_echo_n "(cached) " >&6
59572 else
59575 ac_ext=cpp
59576 ac_cpp='$CXXCPP $CPPFLAGS'
59577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59582 /* end confdefs.h. */
59583 #include <math.h>
59585 main ()
59587 _hypotf(0, 0);
59589 return 0;
59591 _ACEOF
59592 if ac_fn_cxx_try_compile "$LINENO"; then :
59593 glibcxx_cv_func__hypotf_use=yes
59594 else
59595 glibcxx_cv_func__hypotf_use=no
59597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59598 ac_ext=c
59599 ac_cpp='$CPP $CPPFLAGS'
59600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59609 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59611 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59612 for ac_func in _hypotf
59613 do :
59614 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59615 if test "x$ac_cv_func__hypotf" = x""yes; then :
59616 cat >>confdefs.h <<_ACEOF
59617 #define HAVE__HYPOTF 1
59618 _ACEOF
59621 done
59630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59631 $as_echo_n "checking for ldexpf declaration... " >&6; }
59632 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59633 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59634 $as_echo_n "(cached) " >&6
59635 else
59638 ac_ext=cpp
59639 ac_cpp='$CXXCPP $CPPFLAGS'
59640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59645 /* end confdefs.h. */
59646 #include <math.h>
59648 main ()
59650 ldexpf(0, 0);
59652 return 0;
59654 _ACEOF
59655 if ac_fn_cxx_try_compile "$LINENO"; then :
59656 glibcxx_cv_func_ldexpf_use=yes
59657 else
59658 glibcxx_cv_func_ldexpf_use=no
59660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59661 ac_ext=c
59662 ac_cpp='$CPP $CPPFLAGS'
59663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59672 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59674 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59675 for ac_func in ldexpf
59676 do :
59677 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59678 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59679 cat >>confdefs.h <<_ACEOF
59680 #define HAVE_LDEXPF 1
59681 _ACEOF
59684 done
59686 else
59688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59689 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59690 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59691 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59692 $as_echo_n "(cached) " >&6
59693 else
59696 ac_ext=cpp
59697 ac_cpp='$CXXCPP $CPPFLAGS'
59698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703 /* end confdefs.h. */
59704 #include <math.h>
59706 main ()
59708 _ldexpf(0, 0);
59710 return 0;
59712 _ACEOF
59713 if ac_fn_cxx_try_compile "$LINENO"; then :
59714 glibcxx_cv_func__ldexpf_use=yes
59715 else
59716 glibcxx_cv_func__ldexpf_use=no
59718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59719 ac_ext=c
59720 ac_cpp='$CPP $CPPFLAGS'
59721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
59730 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
59732 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59733 for ac_func in _ldexpf
59734 do :
59735 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
59736 if test "x$ac_cv_func__ldexpf" = x""yes; then :
59737 cat >>confdefs.h <<_ACEOF
59738 #define HAVE__LDEXPF 1
59739 _ACEOF
59742 done
59751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
59752 $as_echo_n "checking for logf declaration... " >&6; }
59753 if test x${glibcxx_cv_func_logf_use+set} != xset; then
59754 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
59755 $as_echo_n "(cached) " >&6
59756 else
59759 ac_ext=cpp
59760 ac_cpp='$CXXCPP $CPPFLAGS'
59761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59766 /* end confdefs.h. */
59767 #include <math.h>
59768 #ifdef HAVE_IEEEFP_H
59769 #include <ieeefp.h>
59770 #endif
59773 main ()
59775 logf(0);
59777 return 0;
59779 _ACEOF
59780 if ac_fn_cxx_try_compile "$LINENO"; then :
59781 glibcxx_cv_func_logf_use=yes
59782 else
59783 glibcxx_cv_func_logf_use=no
59785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59786 ac_ext=c
59787 ac_cpp='$CPP $CPPFLAGS'
59788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
59797 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
59799 if test x$glibcxx_cv_func_logf_use = x"yes"; then
59800 for ac_func in logf
59801 do :
59802 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
59803 if test "x$ac_cv_func_logf" = x""yes; then :
59804 cat >>confdefs.h <<_ACEOF
59805 #define HAVE_LOGF 1
59806 _ACEOF
59809 done
59811 else
59813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
59814 $as_echo_n "checking for _logf declaration... " >&6; }
59815 if test x${glibcxx_cv_func__logf_use+set} != xset; then
59816 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
59817 $as_echo_n "(cached) " >&6
59818 else
59821 ac_ext=cpp
59822 ac_cpp='$CXXCPP $CPPFLAGS'
59823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59828 /* end confdefs.h. */
59829 #include <math.h>
59830 #ifdef HAVE_IEEEFP_H
59831 #include <ieeefp.h>
59832 #endif
59835 main ()
59837 _logf(0);
59839 return 0;
59841 _ACEOF
59842 if ac_fn_cxx_try_compile "$LINENO"; then :
59843 glibcxx_cv_func__logf_use=yes
59844 else
59845 glibcxx_cv_func__logf_use=no
59847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59848 ac_ext=c
59849 ac_cpp='$CPP $CPPFLAGS'
59850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
59859 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
59861 if test x$glibcxx_cv_func__logf_use = x"yes"; then
59862 for ac_func in _logf
59863 do :
59864 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
59865 if test "x$ac_cv_func__logf" = x""yes; then :
59866 cat >>confdefs.h <<_ACEOF
59867 #define HAVE__LOGF 1
59868 _ACEOF
59871 done
59880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
59881 $as_echo_n "checking for log10f declaration... " >&6; }
59882 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59883 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
59884 $as_echo_n "(cached) " >&6
59885 else
59888 ac_ext=cpp
59889 ac_cpp='$CXXCPP $CPPFLAGS'
59890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59895 /* end confdefs.h. */
59896 #include <math.h>
59897 #ifdef HAVE_IEEEFP_H
59898 #include <ieeefp.h>
59899 #endif
59902 main ()
59904 log10f(0);
59906 return 0;
59908 _ACEOF
59909 if ac_fn_cxx_try_compile "$LINENO"; then :
59910 glibcxx_cv_func_log10f_use=yes
59911 else
59912 glibcxx_cv_func_log10f_use=no
59914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59915 ac_ext=c
59916 ac_cpp='$CPP $CPPFLAGS'
59917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
59926 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
59928 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59929 for ac_func in log10f
59930 do :
59931 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
59932 if test "x$ac_cv_func_log10f" = x""yes; then :
59933 cat >>confdefs.h <<_ACEOF
59934 #define HAVE_LOG10F 1
59935 _ACEOF
59938 done
59940 else
59942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
59943 $as_echo_n "checking for _log10f declaration... " >&6; }
59944 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59945 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
59946 $as_echo_n "(cached) " >&6
59947 else
59950 ac_ext=cpp
59951 ac_cpp='$CXXCPP $CPPFLAGS'
59952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59957 /* end confdefs.h. */
59958 #include <math.h>
59959 #ifdef HAVE_IEEEFP_H
59960 #include <ieeefp.h>
59961 #endif
59964 main ()
59966 _log10f(0);
59968 return 0;
59970 _ACEOF
59971 if ac_fn_cxx_try_compile "$LINENO"; then :
59972 glibcxx_cv_func__log10f_use=yes
59973 else
59974 glibcxx_cv_func__log10f_use=no
59976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59977 ac_ext=c
59978 ac_cpp='$CPP $CPPFLAGS'
59979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
59988 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
59990 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59991 for ac_func in _log10f
59992 do :
59993 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
59994 if test "x$ac_cv_func__log10f" = x""yes; then :
59995 cat >>confdefs.h <<_ACEOF
59996 #define HAVE__LOG10F 1
59997 _ACEOF
60000 done
60009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60010 $as_echo_n "checking for modff declaration... " >&6; }
60011 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60012 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60013 $as_echo_n "(cached) " >&6
60014 else
60017 ac_ext=cpp
60018 ac_cpp='$CXXCPP $CPPFLAGS'
60019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60024 /* end confdefs.h. */
60025 #include <math.h>
60027 main ()
60029 modff(0, 0);
60031 return 0;
60033 _ACEOF
60034 if ac_fn_cxx_try_compile "$LINENO"; then :
60035 glibcxx_cv_func_modff_use=yes
60036 else
60037 glibcxx_cv_func_modff_use=no
60039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60040 ac_ext=c
60041 ac_cpp='$CPP $CPPFLAGS'
60042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60051 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60053 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60054 for ac_func in modff
60055 do :
60056 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60057 if test "x$ac_cv_func_modff" = x""yes; then :
60058 cat >>confdefs.h <<_ACEOF
60059 #define HAVE_MODFF 1
60060 _ACEOF
60063 done
60065 else
60067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60068 $as_echo_n "checking for _modff declaration... " >&6; }
60069 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60070 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60071 $as_echo_n "(cached) " >&6
60072 else
60075 ac_ext=cpp
60076 ac_cpp='$CXXCPP $CPPFLAGS'
60077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60082 /* end confdefs.h. */
60083 #include <math.h>
60085 main ()
60087 _modff(0, 0);
60089 return 0;
60091 _ACEOF
60092 if ac_fn_cxx_try_compile "$LINENO"; then :
60093 glibcxx_cv_func__modff_use=yes
60094 else
60095 glibcxx_cv_func__modff_use=no
60097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60098 ac_ext=c
60099 ac_cpp='$CPP $CPPFLAGS'
60100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60109 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60111 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60112 for ac_func in _modff
60113 do :
60114 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60115 if test "x$ac_cv_func__modff" = x""yes; then :
60116 cat >>confdefs.h <<_ACEOF
60117 #define HAVE__MODFF 1
60118 _ACEOF
60121 done
60130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60131 $as_echo_n "checking for modf declaration... " >&6; }
60132 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60133 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60134 $as_echo_n "(cached) " >&6
60135 else
60138 ac_ext=cpp
60139 ac_cpp='$CXXCPP $CPPFLAGS'
60140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60145 /* end confdefs.h. */
60146 #include <math.h>
60148 main ()
60150 modf(0, 0);
60152 return 0;
60154 _ACEOF
60155 if ac_fn_cxx_try_compile "$LINENO"; then :
60156 glibcxx_cv_func_modf_use=yes
60157 else
60158 glibcxx_cv_func_modf_use=no
60160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60161 ac_ext=c
60162 ac_cpp='$CPP $CPPFLAGS'
60163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60172 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60174 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60175 for ac_func in modf
60176 do :
60177 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60178 if test "x$ac_cv_func_modf" = x""yes; then :
60179 cat >>confdefs.h <<_ACEOF
60180 #define HAVE_MODF 1
60181 _ACEOF
60184 done
60186 else
60188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60189 $as_echo_n "checking for _modf declaration... " >&6; }
60190 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60191 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60192 $as_echo_n "(cached) " >&6
60193 else
60196 ac_ext=cpp
60197 ac_cpp='$CXXCPP $CPPFLAGS'
60198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60203 /* end confdefs.h. */
60204 #include <math.h>
60206 main ()
60208 _modf(0, 0);
60210 return 0;
60212 _ACEOF
60213 if ac_fn_cxx_try_compile "$LINENO"; then :
60214 glibcxx_cv_func__modf_use=yes
60215 else
60216 glibcxx_cv_func__modf_use=no
60218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60219 ac_ext=c
60220 ac_cpp='$CPP $CPPFLAGS'
60221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60230 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60232 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60233 for ac_func in _modf
60234 do :
60235 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60236 if test "x$ac_cv_func__modf" = x""yes; then :
60237 cat >>confdefs.h <<_ACEOF
60238 #define HAVE__MODF 1
60239 _ACEOF
60242 done
60251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60252 $as_echo_n "checking for powf declaration... " >&6; }
60253 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60254 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60255 $as_echo_n "(cached) " >&6
60256 else
60259 ac_ext=cpp
60260 ac_cpp='$CXXCPP $CPPFLAGS'
60261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60266 /* end confdefs.h. */
60267 #include <math.h>
60269 main ()
60271 powf(0, 0);
60273 return 0;
60275 _ACEOF
60276 if ac_fn_cxx_try_compile "$LINENO"; then :
60277 glibcxx_cv_func_powf_use=yes
60278 else
60279 glibcxx_cv_func_powf_use=no
60281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60282 ac_ext=c
60283 ac_cpp='$CPP $CPPFLAGS'
60284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60293 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60295 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60296 for ac_func in powf
60297 do :
60298 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60299 if test "x$ac_cv_func_powf" = x""yes; then :
60300 cat >>confdefs.h <<_ACEOF
60301 #define HAVE_POWF 1
60302 _ACEOF
60305 done
60307 else
60309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60310 $as_echo_n "checking for _powf declaration... " >&6; }
60311 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60312 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60313 $as_echo_n "(cached) " >&6
60314 else
60317 ac_ext=cpp
60318 ac_cpp='$CXXCPP $CPPFLAGS'
60319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60324 /* end confdefs.h. */
60325 #include <math.h>
60327 main ()
60329 _powf(0, 0);
60331 return 0;
60333 _ACEOF
60334 if ac_fn_cxx_try_compile "$LINENO"; then :
60335 glibcxx_cv_func__powf_use=yes
60336 else
60337 glibcxx_cv_func__powf_use=no
60339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60340 ac_ext=c
60341 ac_cpp='$CPP $CPPFLAGS'
60342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60351 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60353 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60354 for ac_func in _powf
60355 do :
60356 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60357 if test "x$ac_cv_func__powf" = x""yes; then :
60358 cat >>confdefs.h <<_ACEOF
60359 #define HAVE__POWF 1
60360 _ACEOF
60363 done
60372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60373 $as_echo_n "checking for sqrtf declaration... " >&6; }
60374 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60375 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60376 $as_echo_n "(cached) " >&6
60377 else
60380 ac_ext=cpp
60381 ac_cpp='$CXXCPP $CPPFLAGS'
60382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60387 /* end confdefs.h. */
60388 #include <math.h>
60389 #ifdef HAVE_IEEEFP_H
60390 #include <ieeefp.h>
60391 #endif
60394 main ()
60396 sqrtf(0);
60398 return 0;
60400 _ACEOF
60401 if ac_fn_cxx_try_compile "$LINENO"; then :
60402 glibcxx_cv_func_sqrtf_use=yes
60403 else
60404 glibcxx_cv_func_sqrtf_use=no
60406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60407 ac_ext=c
60408 ac_cpp='$CPP $CPPFLAGS'
60409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60418 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60420 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60421 for ac_func in sqrtf
60422 do :
60423 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60424 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60425 cat >>confdefs.h <<_ACEOF
60426 #define HAVE_SQRTF 1
60427 _ACEOF
60430 done
60432 else
60434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60435 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60436 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60437 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60438 $as_echo_n "(cached) " >&6
60439 else
60442 ac_ext=cpp
60443 ac_cpp='$CXXCPP $CPPFLAGS'
60444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60449 /* end confdefs.h. */
60450 #include <math.h>
60451 #ifdef HAVE_IEEEFP_H
60452 #include <ieeefp.h>
60453 #endif
60456 main ()
60458 _sqrtf(0);
60460 return 0;
60462 _ACEOF
60463 if ac_fn_cxx_try_compile "$LINENO"; then :
60464 glibcxx_cv_func__sqrtf_use=yes
60465 else
60466 glibcxx_cv_func__sqrtf_use=no
60468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60469 ac_ext=c
60470 ac_cpp='$CPP $CPPFLAGS'
60471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60480 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60482 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60483 for ac_func in _sqrtf
60484 do :
60485 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60486 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60487 cat >>confdefs.h <<_ACEOF
60488 #define HAVE__SQRTF 1
60489 _ACEOF
60492 done
60501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60502 $as_echo_n "checking for sincosf declaration... " >&6; }
60503 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60504 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60505 $as_echo_n "(cached) " >&6
60506 else
60509 ac_ext=cpp
60510 ac_cpp='$CXXCPP $CPPFLAGS'
60511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60516 /* end confdefs.h. */
60517 #include <math.h>
60519 main ()
60521 sincosf(0, 0, 0);
60523 return 0;
60525 _ACEOF
60526 if ac_fn_cxx_try_compile "$LINENO"; then :
60527 glibcxx_cv_func_sincosf_use=yes
60528 else
60529 glibcxx_cv_func_sincosf_use=no
60531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60532 ac_ext=c
60533 ac_cpp='$CPP $CPPFLAGS'
60534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60543 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60545 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60546 for ac_func in sincosf
60547 do :
60548 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60549 if test "x$ac_cv_func_sincosf" = x""yes; then :
60550 cat >>confdefs.h <<_ACEOF
60551 #define HAVE_SINCOSF 1
60552 _ACEOF
60555 done
60557 else
60559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60560 $as_echo_n "checking for _sincosf declaration... " >&6; }
60561 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60562 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60563 $as_echo_n "(cached) " >&6
60564 else
60567 ac_ext=cpp
60568 ac_cpp='$CXXCPP $CPPFLAGS'
60569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60574 /* end confdefs.h. */
60575 #include <math.h>
60577 main ()
60579 _sincosf(0, 0, 0);
60581 return 0;
60583 _ACEOF
60584 if ac_fn_cxx_try_compile "$LINENO"; then :
60585 glibcxx_cv_func__sincosf_use=yes
60586 else
60587 glibcxx_cv_func__sincosf_use=no
60589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60590 ac_ext=c
60591 ac_cpp='$CPP $CPPFLAGS'
60592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60601 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60603 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60604 for ac_func in _sincosf
60605 do :
60606 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60607 if test "x$ac_cv_func__sincosf" = x""yes; then :
60608 cat >>confdefs.h <<_ACEOF
60609 #define HAVE__SINCOSF 1
60610 _ACEOF
60613 done
60622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60623 $as_echo_n "checking for finitef declaration... " >&6; }
60624 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60625 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60626 $as_echo_n "(cached) " >&6
60627 else
60630 ac_ext=cpp
60631 ac_cpp='$CXXCPP $CPPFLAGS'
60632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60637 /* end confdefs.h. */
60638 #include <math.h>
60639 #ifdef HAVE_IEEEFP_H
60640 #include <ieeefp.h>
60641 #endif
60644 main ()
60646 finitef(0);
60648 return 0;
60650 _ACEOF
60651 if ac_fn_cxx_try_compile "$LINENO"; then :
60652 glibcxx_cv_func_finitef_use=yes
60653 else
60654 glibcxx_cv_func_finitef_use=no
60656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60657 ac_ext=c
60658 ac_cpp='$CPP $CPPFLAGS'
60659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
60668 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60670 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60671 for ac_func in finitef
60672 do :
60673 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60674 if test "x$ac_cv_func_finitef" = x""yes; then :
60675 cat >>confdefs.h <<_ACEOF
60676 #define HAVE_FINITEF 1
60677 _ACEOF
60680 done
60682 else
60684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60685 $as_echo_n "checking for _finitef declaration... " >&6; }
60686 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60687 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
60688 $as_echo_n "(cached) " >&6
60689 else
60692 ac_ext=cpp
60693 ac_cpp='$CXXCPP $CPPFLAGS'
60694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60699 /* end confdefs.h. */
60700 #include <math.h>
60701 #ifdef HAVE_IEEEFP_H
60702 #include <ieeefp.h>
60703 #endif
60706 main ()
60708 _finitef(0);
60710 return 0;
60712 _ACEOF
60713 if ac_fn_cxx_try_compile "$LINENO"; then :
60714 glibcxx_cv_func__finitef_use=yes
60715 else
60716 glibcxx_cv_func__finitef_use=no
60718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60719 ac_ext=c
60720 ac_cpp='$CPP $CPPFLAGS'
60721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
60730 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
60732 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
60733 for ac_func in _finitef
60734 do :
60735 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
60736 if test "x$ac_cv_func__finitef" = x""yes; then :
60737 cat >>confdefs.h <<_ACEOF
60738 #define HAVE__FINITEF 1
60739 _ACEOF
60742 done
60751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
60752 $as_echo_n "checking for long double trig functions... " >&6; }
60753 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
60754 $as_echo_n "(cached) " >&6
60755 else
60758 ac_ext=cpp
60759 ac_cpp='$CXXCPP $CPPFLAGS'
60760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60765 /* end confdefs.h. */
60766 #include <math.h>
60768 main ()
60770 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
60772 return 0;
60774 _ACEOF
60775 if ac_fn_cxx_try_compile "$LINENO"; then :
60776 glibcxx_cv_func_long_double_trig_use=yes
60777 else
60778 glibcxx_cv_func_long_double_trig_use=no
60780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60781 ac_ext=c
60782 ac_cpp='$CPP $CPPFLAGS'
60783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
60790 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
60791 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
60792 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
60793 do :
60794 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60795 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60796 eval as_val=\$$as_ac_var
60797 if test "x$as_val" = x""yes; then :
60798 cat >>confdefs.h <<_ACEOF
60799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60800 _ACEOF
60803 done
60805 else
60806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
60807 $as_echo_n "checking for _long double trig functions... " >&6; }
60808 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
60809 $as_echo_n "(cached) " >&6
60810 else
60813 ac_ext=cpp
60814 ac_cpp='$CXXCPP $CPPFLAGS'
60815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60820 /* end confdefs.h. */
60821 #include <math.h>
60823 main ()
60825 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
60827 return 0;
60829 _ACEOF
60830 if ac_fn_cxx_try_compile "$LINENO"; then :
60831 glibcxx_cv_func__long_double_trig_use=yes
60832 else
60833 glibcxx_cv_func__long_double_trig_use=no
60835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60836 ac_ext=c
60837 ac_cpp='$CPP $CPPFLAGS'
60838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
60845 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
60846 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
60847 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
60848 do :
60849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60851 eval as_val=\$$as_ac_var
60852 if test "x$as_val" = x""yes; then :
60853 cat >>confdefs.h <<_ACEOF
60854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60855 _ACEOF
60858 done
60867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
60868 $as_echo_n "checking for long double round functions... " >&6; }
60869 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
60870 $as_echo_n "(cached) " >&6
60871 else
60874 ac_ext=cpp
60875 ac_cpp='$CXXCPP $CPPFLAGS'
60876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60881 /* end confdefs.h. */
60882 #include <math.h>
60884 main ()
60886 ceill (0); floorl (0);
60888 return 0;
60890 _ACEOF
60891 if ac_fn_cxx_try_compile "$LINENO"; then :
60892 glibcxx_cv_func_long_double_round_use=yes
60893 else
60894 glibcxx_cv_func_long_double_round_use=no
60896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60897 ac_ext=c
60898 ac_cpp='$CPP $CPPFLAGS'
60899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
60906 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
60907 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
60908 for ac_func in ceill floorl
60909 do :
60910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60912 eval as_val=\$$as_ac_var
60913 if test "x$as_val" = x""yes; then :
60914 cat >>confdefs.h <<_ACEOF
60915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60916 _ACEOF
60919 done
60921 else
60922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
60923 $as_echo_n "checking for _long double round functions... " >&6; }
60924 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
60925 $as_echo_n "(cached) " >&6
60926 else
60929 ac_ext=cpp
60930 ac_cpp='$CXXCPP $CPPFLAGS'
60931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60936 /* end confdefs.h. */
60937 #include <math.h>
60939 main ()
60941 _ceill (0); _floorl (0);
60943 return 0;
60945 _ACEOF
60946 if ac_fn_cxx_try_compile "$LINENO"; then :
60947 glibcxx_cv_func__long_double_round_use=yes
60948 else
60949 glibcxx_cv_func__long_double_round_use=no
60951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60952 ac_ext=c
60953 ac_cpp='$CPP $CPPFLAGS'
60954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
60961 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
60962 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
60963 for ac_func in _ceill _floorl
60964 do :
60965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60967 eval as_val=\$$as_ac_var
60968 if test "x$as_val" = x""yes; then :
60969 cat >>confdefs.h <<_ACEOF
60970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60971 _ACEOF
60974 done
60984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
60985 $as_echo_n "checking for isnanl declaration... " >&6; }
60986 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
60987 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
60988 $as_echo_n "(cached) " >&6
60989 else
60992 ac_ext=cpp
60993 ac_cpp='$CXXCPP $CPPFLAGS'
60994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60999 /* end confdefs.h. */
61000 #include <math.h>
61001 #ifdef HAVE_IEEEFP_H
61002 #include <ieeefp.h>
61003 #endif
61006 main ()
61008 isnanl(0);
61010 return 0;
61012 _ACEOF
61013 if ac_fn_cxx_try_compile "$LINENO"; then :
61014 glibcxx_cv_func_isnanl_use=yes
61015 else
61016 glibcxx_cv_func_isnanl_use=no
61018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61019 ac_ext=c
61020 ac_cpp='$CPP $CPPFLAGS'
61021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61030 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61032 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61033 for ac_func in isnanl
61034 do :
61035 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61036 if test "x$ac_cv_func_isnanl" = x""yes; then :
61037 cat >>confdefs.h <<_ACEOF
61038 #define HAVE_ISNANL 1
61039 _ACEOF
61042 done
61044 else
61046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61047 $as_echo_n "checking for _isnanl declaration... " >&6; }
61048 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61049 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61050 $as_echo_n "(cached) " >&6
61051 else
61054 ac_ext=cpp
61055 ac_cpp='$CXXCPP $CPPFLAGS'
61056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61061 /* end confdefs.h. */
61062 #include <math.h>
61063 #ifdef HAVE_IEEEFP_H
61064 #include <ieeefp.h>
61065 #endif
61068 main ()
61070 _isnanl(0);
61072 return 0;
61074 _ACEOF
61075 if ac_fn_cxx_try_compile "$LINENO"; then :
61076 glibcxx_cv_func__isnanl_use=yes
61077 else
61078 glibcxx_cv_func__isnanl_use=no
61080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61081 ac_ext=c
61082 ac_cpp='$CPP $CPPFLAGS'
61083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61092 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61094 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61095 for ac_func in _isnanl
61096 do :
61097 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61098 if test "x$ac_cv_func__isnanl" = x""yes; then :
61099 cat >>confdefs.h <<_ACEOF
61100 #define HAVE__ISNANL 1
61101 _ACEOF
61104 done
61113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61114 $as_echo_n "checking for isinfl declaration... " >&6; }
61115 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61116 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61117 $as_echo_n "(cached) " >&6
61118 else
61121 ac_ext=cpp
61122 ac_cpp='$CXXCPP $CPPFLAGS'
61123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61128 /* end confdefs.h. */
61129 #include <math.h>
61130 #ifdef HAVE_IEEEFP_H
61131 #include <ieeefp.h>
61132 #endif
61135 main ()
61137 isinfl(0);
61139 return 0;
61141 _ACEOF
61142 if ac_fn_cxx_try_compile "$LINENO"; then :
61143 glibcxx_cv_func_isinfl_use=yes
61144 else
61145 glibcxx_cv_func_isinfl_use=no
61147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61148 ac_ext=c
61149 ac_cpp='$CPP $CPPFLAGS'
61150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61159 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61161 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61162 for ac_func in isinfl
61163 do :
61164 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61165 if test "x$ac_cv_func_isinfl" = x""yes; then :
61166 cat >>confdefs.h <<_ACEOF
61167 #define HAVE_ISINFL 1
61168 _ACEOF
61171 done
61173 else
61175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61176 $as_echo_n "checking for _isinfl declaration... " >&6; }
61177 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61178 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61179 $as_echo_n "(cached) " >&6
61180 else
61183 ac_ext=cpp
61184 ac_cpp='$CXXCPP $CPPFLAGS'
61185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61190 /* end confdefs.h. */
61191 #include <math.h>
61192 #ifdef HAVE_IEEEFP_H
61193 #include <ieeefp.h>
61194 #endif
61197 main ()
61199 _isinfl(0);
61201 return 0;
61203 _ACEOF
61204 if ac_fn_cxx_try_compile "$LINENO"; then :
61205 glibcxx_cv_func__isinfl_use=yes
61206 else
61207 glibcxx_cv_func__isinfl_use=no
61209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61210 ac_ext=c
61211 ac_cpp='$CPP $CPPFLAGS'
61212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61221 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61223 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61224 for ac_func in _isinfl
61225 do :
61226 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61227 if test "x$ac_cv_func__isinfl" = x""yes; then :
61228 cat >>confdefs.h <<_ACEOF
61229 #define HAVE__ISINFL 1
61230 _ACEOF
61233 done
61242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61243 $as_echo_n "checking for atan2l declaration... " >&6; }
61244 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61245 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61246 $as_echo_n "(cached) " >&6
61247 else
61250 ac_ext=cpp
61251 ac_cpp='$CXXCPP $CPPFLAGS'
61252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61257 /* end confdefs.h. */
61258 #include <math.h>
61260 main ()
61262 atan2l(0, 0);
61264 return 0;
61266 _ACEOF
61267 if ac_fn_cxx_try_compile "$LINENO"; then :
61268 glibcxx_cv_func_atan2l_use=yes
61269 else
61270 glibcxx_cv_func_atan2l_use=no
61272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61273 ac_ext=c
61274 ac_cpp='$CPP $CPPFLAGS'
61275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61284 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61286 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61287 for ac_func in atan2l
61288 do :
61289 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61290 if test "x$ac_cv_func_atan2l" = x""yes; then :
61291 cat >>confdefs.h <<_ACEOF
61292 #define HAVE_ATAN2L 1
61293 _ACEOF
61296 done
61298 else
61300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61301 $as_echo_n "checking for _atan2l declaration... " >&6; }
61302 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61303 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61304 $as_echo_n "(cached) " >&6
61305 else
61308 ac_ext=cpp
61309 ac_cpp='$CXXCPP $CPPFLAGS'
61310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61315 /* end confdefs.h. */
61316 #include <math.h>
61318 main ()
61320 _atan2l(0, 0);
61322 return 0;
61324 _ACEOF
61325 if ac_fn_cxx_try_compile "$LINENO"; then :
61326 glibcxx_cv_func__atan2l_use=yes
61327 else
61328 glibcxx_cv_func__atan2l_use=no
61330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61331 ac_ext=c
61332 ac_cpp='$CPP $CPPFLAGS'
61333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61342 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61344 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61345 for ac_func in _atan2l
61346 do :
61347 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61348 if test "x$ac_cv_func__atan2l" = x""yes; then :
61349 cat >>confdefs.h <<_ACEOF
61350 #define HAVE__ATAN2L 1
61351 _ACEOF
61354 done
61363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61364 $as_echo_n "checking for expl declaration... " >&6; }
61365 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61366 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61367 $as_echo_n "(cached) " >&6
61368 else
61371 ac_ext=cpp
61372 ac_cpp='$CXXCPP $CPPFLAGS'
61373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61378 /* end confdefs.h. */
61379 #include <math.h>
61380 #ifdef HAVE_IEEEFP_H
61381 #include <ieeefp.h>
61382 #endif
61385 main ()
61387 expl(0);
61389 return 0;
61391 _ACEOF
61392 if ac_fn_cxx_try_compile "$LINENO"; then :
61393 glibcxx_cv_func_expl_use=yes
61394 else
61395 glibcxx_cv_func_expl_use=no
61397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61398 ac_ext=c
61399 ac_cpp='$CPP $CPPFLAGS'
61400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61409 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61411 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61412 for ac_func in expl
61413 do :
61414 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61415 if test "x$ac_cv_func_expl" = x""yes; then :
61416 cat >>confdefs.h <<_ACEOF
61417 #define HAVE_EXPL 1
61418 _ACEOF
61421 done
61423 else
61425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61426 $as_echo_n "checking for _expl declaration... " >&6; }
61427 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61428 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61429 $as_echo_n "(cached) " >&6
61430 else
61433 ac_ext=cpp
61434 ac_cpp='$CXXCPP $CPPFLAGS'
61435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61440 /* end confdefs.h. */
61441 #include <math.h>
61442 #ifdef HAVE_IEEEFP_H
61443 #include <ieeefp.h>
61444 #endif
61447 main ()
61449 _expl(0);
61451 return 0;
61453 _ACEOF
61454 if ac_fn_cxx_try_compile "$LINENO"; then :
61455 glibcxx_cv_func__expl_use=yes
61456 else
61457 glibcxx_cv_func__expl_use=no
61459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61460 ac_ext=c
61461 ac_cpp='$CPP $CPPFLAGS'
61462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61471 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61473 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61474 for ac_func in _expl
61475 do :
61476 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61477 if test "x$ac_cv_func__expl" = x""yes; then :
61478 cat >>confdefs.h <<_ACEOF
61479 #define HAVE__EXPL 1
61480 _ACEOF
61483 done
61492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61493 $as_echo_n "checking for fabsl declaration... " >&6; }
61494 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61495 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61496 $as_echo_n "(cached) " >&6
61497 else
61500 ac_ext=cpp
61501 ac_cpp='$CXXCPP $CPPFLAGS'
61502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61507 /* end confdefs.h. */
61508 #include <math.h>
61509 #ifdef HAVE_IEEEFP_H
61510 #include <ieeefp.h>
61511 #endif
61514 main ()
61516 fabsl(0);
61518 return 0;
61520 _ACEOF
61521 if ac_fn_cxx_try_compile "$LINENO"; then :
61522 glibcxx_cv_func_fabsl_use=yes
61523 else
61524 glibcxx_cv_func_fabsl_use=no
61526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61527 ac_ext=c
61528 ac_cpp='$CPP $CPPFLAGS'
61529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61538 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61540 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61541 for ac_func in fabsl
61542 do :
61543 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61544 if test "x$ac_cv_func_fabsl" = x""yes; then :
61545 cat >>confdefs.h <<_ACEOF
61546 #define HAVE_FABSL 1
61547 _ACEOF
61550 done
61552 else
61554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61555 $as_echo_n "checking for _fabsl declaration... " >&6; }
61556 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61557 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61558 $as_echo_n "(cached) " >&6
61559 else
61562 ac_ext=cpp
61563 ac_cpp='$CXXCPP $CPPFLAGS'
61564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61569 /* end confdefs.h. */
61570 #include <math.h>
61571 #ifdef HAVE_IEEEFP_H
61572 #include <ieeefp.h>
61573 #endif
61576 main ()
61578 _fabsl(0);
61580 return 0;
61582 _ACEOF
61583 if ac_fn_cxx_try_compile "$LINENO"; then :
61584 glibcxx_cv_func__fabsl_use=yes
61585 else
61586 glibcxx_cv_func__fabsl_use=no
61588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61589 ac_ext=c
61590 ac_cpp='$CPP $CPPFLAGS'
61591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61600 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61602 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61603 for ac_func in _fabsl
61604 do :
61605 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61606 if test "x$ac_cv_func__fabsl" = x""yes; then :
61607 cat >>confdefs.h <<_ACEOF
61608 #define HAVE__FABSL 1
61609 _ACEOF
61612 done
61621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61622 $as_echo_n "checking for fmodl declaration... " >&6; }
61623 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61624 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61625 $as_echo_n "(cached) " >&6
61626 else
61629 ac_ext=cpp
61630 ac_cpp='$CXXCPP $CPPFLAGS'
61631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61636 /* end confdefs.h. */
61637 #include <math.h>
61639 main ()
61641 fmodl(0, 0);
61643 return 0;
61645 _ACEOF
61646 if ac_fn_cxx_try_compile "$LINENO"; then :
61647 glibcxx_cv_func_fmodl_use=yes
61648 else
61649 glibcxx_cv_func_fmodl_use=no
61651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61652 ac_ext=c
61653 ac_cpp='$CPP $CPPFLAGS'
61654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
61663 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61665 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61666 for ac_func in fmodl
61667 do :
61668 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61669 if test "x$ac_cv_func_fmodl" = x""yes; then :
61670 cat >>confdefs.h <<_ACEOF
61671 #define HAVE_FMODL 1
61672 _ACEOF
61675 done
61677 else
61679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61680 $as_echo_n "checking for _fmodl declaration... " >&6; }
61681 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61682 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
61683 $as_echo_n "(cached) " >&6
61684 else
61687 ac_ext=cpp
61688 ac_cpp='$CXXCPP $CPPFLAGS'
61689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61694 /* end confdefs.h. */
61695 #include <math.h>
61697 main ()
61699 _fmodl(0, 0);
61701 return 0;
61703 _ACEOF
61704 if ac_fn_cxx_try_compile "$LINENO"; then :
61705 glibcxx_cv_func__fmodl_use=yes
61706 else
61707 glibcxx_cv_func__fmodl_use=no
61709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61710 ac_ext=c
61711 ac_cpp='$CPP $CPPFLAGS'
61712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
61721 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
61723 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
61724 for ac_func in _fmodl
61725 do :
61726 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
61727 if test "x$ac_cv_func__fmodl" = x""yes; then :
61728 cat >>confdefs.h <<_ACEOF
61729 #define HAVE__FMODL 1
61730 _ACEOF
61733 done
61742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
61743 $as_echo_n "checking for frexpl declaration... " >&6; }
61744 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
61745 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
61746 $as_echo_n "(cached) " >&6
61747 else
61750 ac_ext=cpp
61751 ac_cpp='$CXXCPP $CPPFLAGS'
61752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61757 /* end confdefs.h. */
61758 #include <math.h>
61760 main ()
61762 frexpl(0, 0);
61764 return 0;
61766 _ACEOF
61767 if ac_fn_cxx_try_compile "$LINENO"; then :
61768 glibcxx_cv_func_frexpl_use=yes
61769 else
61770 glibcxx_cv_func_frexpl_use=no
61772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61773 ac_ext=c
61774 ac_cpp='$CPP $CPPFLAGS'
61775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
61784 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
61786 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
61787 for ac_func in frexpl
61788 do :
61789 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
61790 if test "x$ac_cv_func_frexpl" = x""yes; then :
61791 cat >>confdefs.h <<_ACEOF
61792 #define HAVE_FREXPL 1
61793 _ACEOF
61796 done
61798 else
61800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
61801 $as_echo_n "checking for _frexpl declaration... " >&6; }
61802 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
61803 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
61804 $as_echo_n "(cached) " >&6
61805 else
61808 ac_ext=cpp
61809 ac_cpp='$CXXCPP $CPPFLAGS'
61810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61815 /* end confdefs.h. */
61816 #include <math.h>
61818 main ()
61820 _frexpl(0, 0);
61822 return 0;
61824 _ACEOF
61825 if ac_fn_cxx_try_compile "$LINENO"; then :
61826 glibcxx_cv_func__frexpl_use=yes
61827 else
61828 glibcxx_cv_func__frexpl_use=no
61830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61831 ac_ext=c
61832 ac_cpp='$CPP $CPPFLAGS'
61833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
61842 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
61844 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
61845 for ac_func in _frexpl
61846 do :
61847 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
61848 if test "x$ac_cv_func__frexpl" = x""yes; then :
61849 cat >>confdefs.h <<_ACEOF
61850 #define HAVE__FREXPL 1
61851 _ACEOF
61854 done
61863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
61864 $as_echo_n "checking for hypotl declaration... " >&6; }
61865 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
61866 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
61867 $as_echo_n "(cached) " >&6
61868 else
61871 ac_ext=cpp
61872 ac_cpp='$CXXCPP $CPPFLAGS'
61873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61878 /* end confdefs.h. */
61879 #include <math.h>
61881 main ()
61883 hypotl(0, 0);
61885 return 0;
61887 _ACEOF
61888 if ac_fn_cxx_try_compile "$LINENO"; then :
61889 glibcxx_cv_func_hypotl_use=yes
61890 else
61891 glibcxx_cv_func_hypotl_use=no
61893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61894 ac_ext=c
61895 ac_cpp='$CPP $CPPFLAGS'
61896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
61905 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
61907 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
61908 for ac_func in hypotl
61909 do :
61910 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
61911 if test "x$ac_cv_func_hypotl" = x""yes; then :
61912 cat >>confdefs.h <<_ACEOF
61913 #define HAVE_HYPOTL 1
61914 _ACEOF
61917 done
61919 else
61921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
61922 $as_echo_n "checking for _hypotl declaration... " >&6; }
61923 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
61924 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
61925 $as_echo_n "(cached) " >&6
61926 else
61929 ac_ext=cpp
61930 ac_cpp='$CXXCPP $CPPFLAGS'
61931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61936 /* end confdefs.h. */
61937 #include <math.h>
61939 main ()
61941 _hypotl(0, 0);
61943 return 0;
61945 _ACEOF
61946 if ac_fn_cxx_try_compile "$LINENO"; then :
61947 glibcxx_cv_func__hypotl_use=yes
61948 else
61949 glibcxx_cv_func__hypotl_use=no
61951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61952 ac_ext=c
61953 ac_cpp='$CPP $CPPFLAGS'
61954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
61963 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
61965 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
61966 for ac_func in _hypotl
61967 do :
61968 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
61969 if test "x$ac_cv_func__hypotl" = x""yes; then :
61970 cat >>confdefs.h <<_ACEOF
61971 #define HAVE__HYPOTL 1
61972 _ACEOF
61975 done
61984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
61985 $as_echo_n "checking for ldexpl declaration... " >&6; }
61986 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
61987 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
61988 $as_echo_n "(cached) " >&6
61989 else
61992 ac_ext=cpp
61993 ac_cpp='$CXXCPP $CPPFLAGS'
61994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61999 /* end confdefs.h. */
62000 #include <math.h>
62002 main ()
62004 ldexpl(0, 0);
62006 return 0;
62008 _ACEOF
62009 if ac_fn_cxx_try_compile "$LINENO"; then :
62010 glibcxx_cv_func_ldexpl_use=yes
62011 else
62012 glibcxx_cv_func_ldexpl_use=no
62014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62015 ac_ext=c
62016 ac_cpp='$CPP $CPPFLAGS'
62017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62026 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62028 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62029 for ac_func in ldexpl
62030 do :
62031 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62032 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62033 cat >>confdefs.h <<_ACEOF
62034 #define HAVE_LDEXPL 1
62035 _ACEOF
62038 done
62040 else
62042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62043 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62044 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62045 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62046 $as_echo_n "(cached) " >&6
62047 else
62050 ac_ext=cpp
62051 ac_cpp='$CXXCPP $CPPFLAGS'
62052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62057 /* end confdefs.h. */
62058 #include <math.h>
62060 main ()
62062 _ldexpl(0, 0);
62064 return 0;
62066 _ACEOF
62067 if ac_fn_cxx_try_compile "$LINENO"; then :
62068 glibcxx_cv_func__ldexpl_use=yes
62069 else
62070 glibcxx_cv_func__ldexpl_use=no
62072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62073 ac_ext=c
62074 ac_cpp='$CPP $CPPFLAGS'
62075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62084 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62086 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62087 for ac_func in _ldexpl
62088 do :
62089 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62090 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62091 cat >>confdefs.h <<_ACEOF
62092 #define HAVE__LDEXPL 1
62093 _ACEOF
62096 done
62105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62106 $as_echo_n "checking for logl declaration... " >&6; }
62107 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62108 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62109 $as_echo_n "(cached) " >&6
62110 else
62113 ac_ext=cpp
62114 ac_cpp='$CXXCPP $CPPFLAGS'
62115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62120 /* end confdefs.h. */
62121 #include <math.h>
62122 #ifdef HAVE_IEEEFP_H
62123 #include <ieeefp.h>
62124 #endif
62127 main ()
62129 logl(0);
62131 return 0;
62133 _ACEOF
62134 if ac_fn_cxx_try_compile "$LINENO"; then :
62135 glibcxx_cv_func_logl_use=yes
62136 else
62137 glibcxx_cv_func_logl_use=no
62139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62140 ac_ext=c
62141 ac_cpp='$CPP $CPPFLAGS'
62142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62151 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62153 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62154 for ac_func in logl
62155 do :
62156 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62157 if test "x$ac_cv_func_logl" = x""yes; then :
62158 cat >>confdefs.h <<_ACEOF
62159 #define HAVE_LOGL 1
62160 _ACEOF
62163 done
62165 else
62167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62168 $as_echo_n "checking for _logl declaration... " >&6; }
62169 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62170 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62171 $as_echo_n "(cached) " >&6
62172 else
62175 ac_ext=cpp
62176 ac_cpp='$CXXCPP $CPPFLAGS'
62177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62182 /* end confdefs.h. */
62183 #include <math.h>
62184 #ifdef HAVE_IEEEFP_H
62185 #include <ieeefp.h>
62186 #endif
62189 main ()
62191 _logl(0);
62193 return 0;
62195 _ACEOF
62196 if ac_fn_cxx_try_compile "$LINENO"; then :
62197 glibcxx_cv_func__logl_use=yes
62198 else
62199 glibcxx_cv_func__logl_use=no
62201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62202 ac_ext=c
62203 ac_cpp='$CPP $CPPFLAGS'
62204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62213 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62215 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62216 for ac_func in _logl
62217 do :
62218 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62219 if test "x$ac_cv_func__logl" = x""yes; then :
62220 cat >>confdefs.h <<_ACEOF
62221 #define HAVE__LOGL 1
62222 _ACEOF
62225 done
62234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62235 $as_echo_n "checking for log10l declaration... " >&6; }
62236 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62237 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62238 $as_echo_n "(cached) " >&6
62239 else
62242 ac_ext=cpp
62243 ac_cpp='$CXXCPP $CPPFLAGS'
62244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62249 /* end confdefs.h. */
62250 #include <math.h>
62251 #ifdef HAVE_IEEEFP_H
62252 #include <ieeefp.h>
62253 #endif
62256 main ()
62258 log10l(0);
62260 return 0;
62262 _ACEOF
62263 if ac_fn_cxx_try_compile "$LINENO"; then :
62264 glibcxx_cv_func_log10l_use=yes
62265 else
62266 glibcxx_cv_func_log10l_use=no
62268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62269 ac_ext=c
62270 ac_cpp='$CPP $CPPFLAGS'
62271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62280 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62282 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62283 for ac_func in log10l
62284 do :
62285 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62286 if test "x$ac_cv_func_log10l" = x""yes; then :
62287 cat >>confdefs.h <<_ACEOF
62288 #define HAVE_LOG10L 1
62289 _ACEOF
62292 done
62294 else
62296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62297 $as_echo_n "checking for _log10l declaration... " >&6; }
62298 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62299 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62300 $as_echo_n "(cached) " >&6
62301 else
62304 ac_ext=cpp
62305 ac_cpp='$CXXCPP $CPPFLAGS'
62306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62311 /* end confdefs.h. */
62312 #include <math.h>
62313 #ifdef HAVE_IEEEFP_H
62314 #include <ieeefp.h>
62315 #endif
62318 main ()
62320 _log10l(0);
62322 return 0;
62324 _ACEOF
62325 if ac_fn_cxx_try_compile "$LINENO"; then :
62326 glibcxx_cv_func__log10l_use=yes
62327 else
62328 glibcxx_cv_func__log10l_use=no
62330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62331 ac_ext=c
62332 ac_cpp='$CPP $CPPFLAGS'
62333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62342 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62344 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62345 for ac_func in _log10l
62346 do :
62347 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62348 if test "x$ac_cv_func__log10l" = x""yes; then :
62349 cat >>confdefs.h <<_ACEOF
62350 #define HAVE__LOG10L 1
62351 _ACEOF
62354 done
62363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62364 $as_echo_n "checking for modfl declaration... " >&6; }
62365 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62366 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62367 $as_echo_n "(cached) " >&6
62368 else
62371 ac_ext=cpp
62372 ac_cpp='$CXXCPP $CPPFLAGS'
62373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62378 /* end confdefs.h. */
62379 #include <math.h>
62381 main ()
62383 modfl(0, 0);
62385 return 0;
62387 _ACEOF
62388 if ac_fn_cxx_try_compile "$LINENO"; then :
62389 glibcxx_cv_func_modfl_use=yes
62390 else
62391 glibcxx_cv_func_modfl_use=no
62393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62394 ac_ext=c
62395 ac_cpp='$CPP $CPPFLAGS'
62396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62405 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62407 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62408 for ac_func in modfl
62409 do :
62410 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62411 if test "x$ac_cv_func_modfl" = x""yes; then :
62412 cat >>confdefs.h <<_ACEOF
62413 #define HAVE_MODFL 1
62414 _ACEOF
62417 done
62419 else
62421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62422 $as_echo_n "checking for _modfl declaration... " >&6; }
62423 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62424 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62425 $as_echo_n "(cached) " >&6
62426 else
62429 ac_ext=cpp
62430 ac_cpp='$CXXCPP $CPPFLAGS'
62431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62436 /* end confdefs.h. */
62437 #include <math.h>
62439 main ()
62441 _modfl(0, 0);
62443 return 0;
62445 _ACEOF
62446 if ac_fn_cxx_try_compile "$LINENO"; then :
62447 glibcxx_cv_func__modfl_use=yes
62448 else
62449 glibcxx_cv_func__modfl_use=no
62451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62452 ac_ext=c
62453 ac_cpp='$CPP $CPPFLAGS'
62454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62463 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62465 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62466 for ac_func in _modfl
62467 do :
62468 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62469 if test "x$ac_cv_func__modfl" = x""yes; then :
62470 cat >>confdefs.h <<_ACEOF
62471 #define HAVE__MODFL 1
62472 _ACEOF
62475 done
62484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62485 $as_echo_n "checking for powl declaration... " >&6; }
62486 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62487 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62488 $as_echo_n "(cached) " >&6
62489 else
62492 ac_ext=cpp
62493 ac_cpp='$CXXCPP $CPPFLAGS'
62494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62499 /* end confdefs.h. */
62500 #include <math.h>
62502 main ()
62504 powl(0, 0);
62506 return 0;
62508 _ACEOF
62509 if ac_fn_cxx_try_compile "$LINENO"; then :
62510 glibcxx_cv_func_powl_use=yes
62511 else
62512 glibcxx_cv_func_powl_use=no
62514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62515 ac_ext=c
62516 ac_cpp='$CPP $CPPFLAGS'
62517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62526 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62528 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62529 for ac_func in powl
62530 do :
62531 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62532 if test "x$ac_cv_func_powl" = x""yes; then :
62533 cat >>confdefs.h <<_ACEOF
62534 #define HAVE_POWL 1
62535 _ACEOF
62538 done
62540 else
62542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62543 $as_echo_n "checking for _powl declaration... " >&6; }
62544 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62545 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62546 $as_echo_n "(cached) " >&6
62547 else
62550 ac_ext=cpp
62551 ac_cpp='$CXXCPP $CPPFLAGS'
62552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62557 /* end confdefs.h. */
62558 #include <math.h>
62560 main ()
62562 _powl(0, 0);
62564 return 0;
62566 _ACEOF
62567 if ac_fn_cxx_try_compile "$LINENO"; then :
62568 glibcxx_cv_func__powl_use=yes
62569 else
62570 glibcxx_cv_func__powl_use=no
62572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62573 ac_ext=c
62574 ac_cpp='$CPP $CPPFLAGS'
62575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62584 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62586 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62587 for ac_func in _powl
62588 do :
62589 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62590 if test "x$ac_cv_func__powl" = x""yes; then :
62591 cat >>confdefs.h <<_ACEOF
62592 #define HAVE__POWL 1
62593 _ACEOF
62596 done
62605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62606 $as_echo_n "checking for sqrtl declaration... " >&6; }
62607 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62608 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62609 $as_echo_n "(cached) " >&6
62610 else
62613 ac_ext=cpp
62614 ac_cpp='$CXXCPP $CPPFLAGS'
62615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62620 /* end confdefs.h. */
62621 #include <math.h>
62622 #ifdef HAVE_IEEEFP_H
62623 #include <ieeefp.h>
62624 #endif
62627 main ()
62629 sqrtl(0);
62631 return 0;
62633 _ACEOF
62634 if ac_fn_cxx_try_compile "$LINENO"; then :
62635 glibcxx_cv_func_sqrtl_use=yes
62636 else
62637 glibcxx_cv_func_sqrtl_use=no
62639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62640 ac_ext=c
62641 ac_cpp='$CPP $CPPFLAGS'
62642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62651 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62653 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62654 for ac_func in sqrtl
62655 do :
62656 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62657 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62658 cat >>confdefs.h <<_ACEOF
62659 #define HAVE_SQRTL 1
62660 _ACEOF
62663 done
62665 else
62667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62668 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62669 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62670 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62671 $as_echo_n "(cached) " >&6
62672 else
62675 ac_ext=cpp
62676 ac_cpp='$CXXCPP $CPPFLAGS'
62677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62682 /* end confdefs.h. */
62683 #include <math.h>
62684 #ifdef HAVE_IEEEFP_H
62685 #include <ieeefp.h>
62686 #endif
62689 main ()
62691 _sqrtl(0);
62693 return 0;
62695 _ACEOF
62696 if ac_fn_cxx_try_compile "$LINENO"; then :
62697 glibcxx_cv_func__sqrtl_use=yes
62698 else
62699 glibcxx_cv_func__sqrtl_use=no
62701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62702 ac_ext=c
62703 ac_cpp='$CPP $CPPFLAGS'
62704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62713 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
62715 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
62716 for ac_func in _sqrtl
62717 do :
62718 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
62719 if test "x$ac_cv_func__sqrtl" = x""yes; then :
62720 cat >>confdefs.h <<_ACEOF
62721 #define HAVE__SQRTL 1
62722 _ACEOF
62725 done
62734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
62735 $as_echo_n "checking for sincosl declaration... " >&6; }
62736 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
62737 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
62738 $as_echo_n "(cached) " >&6
62739 else
62742 ac_ext=cpp
62743 ac_cpp='$CXXCPP $CPPFLAGS'
62744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62749 /* end confdefs.h. */
62750 #include <math.h>
62752 main ()
62754 sincosl(0, 0, 0);
62756 return 0;
62758 _ACEOF
62759 if ac_fn_cxx_try_compile "$LINENO"; then :
62760 glibcxx_cv_func_sincosl_use=yes
62761 else
62762 glibcxx_cv_func_sincosl_use=no
62764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62765 ac_ext=c
62766 ac_cpp='$CPP $CPPFLAGS'
62767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
62776 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
62778 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
62779 for ac_func in sincosl
62780 do :
62781 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
62782 if test "x$ac_cv_func_sincosl" = x""yes; then :
62783 cat >>confdefs.h <<_ACEOF
62784 #define HAVE_SINCOSL 1
62785 _ACEOF
62788 done
62790 else
62792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
62793 $as_echo_n "checking for _sincosl declaration... " >&6; }
62794 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
62795 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
62796 $as_echo_n "(cached) " >&6
62797 else
62800 ac_ext=cpp
62801 ac_cpp='$CXXCPP $CPPFLAGS'
62802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62807 /* end confdefs.h. */
62808 #include <math.h>
62810 main ()
62812 _sincosl(0, 0, 0);
62814 return 0;
62816 _ACEOF
62817 if ac_fn_cxx_try_compile "$LINENO"; then :
62818 glibcxx_cv_func__sincosl_use=yes
62819 else
62820 glibcxx_cv_func__sincosl_use=no
62822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62823 ac_ext=c
62824 ac_cpp='$CPP $CPPFLAGS'
62825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
62834 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
62836 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
62837 for ac_func in _sincosl
62838 do :
62839 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
62840 if test "x$ac_cv_func__sincosl" = x""yes; then :
62841 cat >>confdefs.h <<_ACEOF
62842 #define HAVE__SINCOSL 1
62843 _ACEOF
62846 done
62855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
62856 $as_echo_n "checking for finitel declaration... " >&6; }
62857 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
62858 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
62859 $as_echo_n "(cached) " >&6
62860 else
62863 ac_ext=cpp
62864 ac_cpp='$CXXCPP $CPPFLAGS'
62865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62870 /* end confdefs.h. */
62871 #include <math.h>
62872 #ifdef HAVE_IEEEFP_H
62873 #include <ieeefp.h>
62874 #endif
62877 main ()
62879 finitel(0);
62881 return 0;
62883 _ACEOF
62884 if ac_fn_cxx_try_compile "$LINENO"; then :
62885 glibcxx_cv_func_finitel_use=yes
62886 else
62887 glibcxx_cv_func_finitel_use=no
62889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62890 ac_ext=c
62891 ac_cpp='$CPP $CPPFLAGS'
62892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
62901 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
62903 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
62904 for ac_func in finitel
62905 do :
62906 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
62907 if test "x$ac_cv_func_finitel" = x""yes; then :
62908 cat >>confdefs.h <<_ACEOF
62909 #define HAVE_FINITEL 1
62910 _ACEOF
62913 done
62915 else
62917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
62918 $as_echo_n "checking for _finitel declaration... " >&6; }
62919 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
62920 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
62921 $as_echo_n "(cached) " >&6
62922 else
62925 ac_ext=cpp
62926 ac_cpp='$CXXCPP $CPPFLAGS'
62927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62932 /* end confdefs.h. */
62933 #include <math.h>
62934 #ifdef HAVE_IEEEFP_H
62935 #include <ieeefp.h>
62936 #endif
62939 main ()
62941 _finitel(0);
62943 return 0;
62945 _ACEOF
62946 if ac_fn_cxx_try_compile "$LINENO"; then :
62947 glibcxx_cv_func__finitel_use=yes
62948 else
62949 glibcxx_cv_func__finitel_use=no
62951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62952 ac_ext=c
62953 ac_cpp='$CPP $CPPFLAGS'
62954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
62963 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
62965 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
62966 for ac_func in _finitel
62967 do :
62968 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
62969 if test "x$ac_cv_func__finitel" = x""yes; then :
62970 cat >>confdefs.h <<_ACEOF
62971 #define HAVE__FINITEL 1
62972 _ACEOF
62975 done
62983 LIBS="$ac_save_LIBS"
62984 CXXFLAGS="$ac_save_CXXFLAGS"
62987 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62988 ac_save_CXXFLAGS="$CXXFLAGS"
62989 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62993 $as_echo_n "checking for strtold declaration... " >&6; }
62994 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62995 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
62996 $as_echo_n "(cached) " >&6
62997 else
63000 ac_ext=cpp
63001 ac_cpp='$CXXCPP $CPPFLAGS'
63002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63007 /* end confdefs.h. */
63008 #include <stdlib.h>
63010 main ()
63012 strtold(0, 0);
63014 return 0;
63016 _ACEOF
63017 if ac_fn_cxx_try_compile "$LINENO"; then :
63018 glibcxx_cv_func_strtold_use=yes
63019 else
63020 glibcxx_cv_func_strtold_use=no
63022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63023 ac_ext=c
63024 ac_cpp='$CPP $CPPFLAGS'
63025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63034 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63035 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63036 for ac_func in strtold
63037 do :
63038 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63039 if test "x$ac_cv_func_strtold" = x""yes; then :
63040 cat >>confdefs.h <<_ACEOF
63041 #define HAVE_STRTOLD 1
63042 _ACEOF
63045 done
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63053 $as_echo_n "checking for strtof declaration... " >&6; }
63054 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63055 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63056 $as_echo_n "(cached) " >&6
63057 else
63060 ac_ext=cpp
63061 ac_cpp='$CXXCPP $CPPFLAGS'
63062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63067 /* end confdefs.h. */
63068 #include <stdlib.h>
63070 main ()
63072 strtof(0, 0);
63074 return 0;
63076 _ACEOF
63077 if ac_fn_cxx_try_compile "$LINENO"; then :
63078 glibcxx_cv_func_strtof_use=yes
63079 else
63080 glibcxx_cv_func_strtof_use=no
63082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63083 ac_ext=c
63084 ac_cpp='$CPP $CPPFLAGS'
63085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63094 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63095 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63096 for ac_func in strtof
63097 do :
63098 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63099 if test "x$ac_cv_func_strtof" = x""yes; then :
63100 cat >>confdefs.h <<_ACEOF
63101 #define HAVE_STRTOF 1
63102 _ACEOF
63105 done
63112 CXXFLAGS="$ac_save_CXXFLAGS"
63115 *-solaris*)
63116 case "$target" in
63117 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63119 # If we're not using GNU ld, then there's no point in even trying these
63120 # tests. Check for that first. We should have already tested for gld
63121 # by now (in libtool), but require it now just to be safe...
63122 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63123 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63127 # The name set by libtool depends on the version of libtool. Shame on us
63128 # for depending on an impl detail, but c'est la vie. Older versions used
63129 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63130 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63131 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63132 # set (hence we're using an older libtool), then set it.
63133 if test x${with_gnu_ld+set} != xset; then
63134 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63135 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63136 with_gnu_ld=no
63137 else
63138 with_gnu_ld=$ac_cv_prog_gnu_ld
63142 # Start by getting the version number. I think the libtool test already
63143 # does some of this, but throws away the result.
63144 glibcxx_ld_is_gold=no
63145 if test x"$with_gnu_ld" = x"yes"; then
63146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63147 $as_echo_n "checking for ld version... " >&6; }
63149 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63150 glibcxx_ld_is_gold=yes
63152 ldver=`$LD --version 2>/dev/null |
63153 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'`
63155 glibcxx_gnu_ld_version=`echo $ldver | \
63156 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63158 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63161 # Set --gc-sections.
63162 glibcxx_have_gc_sections=no
63163 if test "$glibcxx_ld_is_gold" = "yes"; then
63164 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63165 glibcxx_have_gc_sections=yes
63167 else
63168 glibcxx_gcsections_min_ld=21602
63169 if test x"$with_gnu_ld" = x"yes" &&
63170 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63171 glibcxx_have_gc_sections=yes
63174 if test "$glibcxx_have_gc_sections" = "yes"; then
63175 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63176 # NB: This flag only works reliably after 2.16.1. Configure tests
63177 # for this are difficult, so hard wire a value that should work.
63179 ac_test_CFLAGS="${CFLAGS+set}"
63180 ac_save_CFLAGS="$CFLAGS"
63181 CFLAGS='-Wl,--gc-sections'
63183 # Check for -Wl,--gc-sections
63184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63185 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63186 if test x$gcc_no_link = xyes; then
63187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63190 /* end confdefs.h. */
63191 int one(void) { return 1; }
63192 int two(void) { return 2; }
63195 main ()
63197 two();
63199 return 0;
63201 _ACEOF
63202 if ac_fn_c_try_link "$LINENO"; then :
63203 ac_gcsections=yes
63204 else
63205 ac_gcsections=no
63207 rm -f core conftest.err conftest.$ac_objext \
63208 conftest$ac_exeext conftest.$ac_ext
63209 if test "$ac_gcsections" = "yes"; then
63210 rm -f conftest.c
63211 touch conftest.c
63212 if $CC -c conftest.c; then
63213 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63214 grep "Warning: gc-sections option ignored" > /dev/null; then
63215 ac_gcsections=no
63218 rm -f conftest.c conftest.o conftest
63220 if test "$ac_gcsections" = "yes"; then
63221 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63224 $as_echo "$ac_gcsections" >&6; }
63226 if test "$ac_test_CFLAGS" = set; then
63227 CFLAGS="$ac_save_CFLAGS"
63228 else
63229 # this is the suspicious part
63230 CFLAGS=''
63234 # Set -z,relro.
63235 # Note this is only for shared objects.
63236 ac_ld_relro=no
63237 if test x"$with_gnu_ld" = x"yes"; then
63238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63239 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63240 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63241 if test -n "$cxx_z_relo"; then
63242 OPT_LDFLAGS="-Wl,-z,relro"
63243 ac_ld_relro=yes
63245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63246 $as_echo "$ac_ld_relro" >&6; }
63249 # Set linker optimization flags.
63250 if test x"$with_gnu_ld" = x"yes"; then
63251 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63257 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63259 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63261 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63263 # All of the dependencies for wide character support are here, so
63264 # turn it on.
63265 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63268 esac
63269 case "$target" in
63270 *-*-solaris2.10)
63271 # These two C99 functions are present only in Solaris >= 10
63272 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63274 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63277 esac
63278 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63280 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63282 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63284 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63287 *-tpf)
63288 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63291 # If we're not using GNU ld, then there's no point in even trying these
63292 # tests. Check for that first. We should have already tested for gld
63293 # by now (in libtool), but require it now just to be safe...
63294 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63295 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63299 # The name set by libtool depends on the version of libtool. Shame on us
63300 # for depending on an impl detail, but c'est la vie. Older versions used
63301 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63302 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63303 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63304 # set (hence we're using an older libtool), then set it.
63305 if test x${with_gnu_ld+set} != xset; then
63306 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63307 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63308 with_gnu_ld=no
63309 else
63310 with_gnu_ld=$ac_cv_prog_gnu_ld
63314 # Start by getting the version number. I think the libtool test already
63315 # does some of this, but throws away the result.
63316 glibcxx_ld_is_gold=no
63317 if test x"$with_gnu_ld" = x"yes"; then
63318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63319 $as_echo_n "checking for ld version... " >&6; }
63321 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63322 glibcxx_ld_is_gold=yes
63324 ldver=`$LD --version 2>/dev/null |
63325 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'`
63327 glibcxx_gnu_ld_version=`echo $ldver | \
63328 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63330 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63333 # Set --gc-sections.
63334 glibcxx_have_gc_sections=no
63335 if test "$glibcxx_ld_is_gold" = "yes"; then
63336 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63337 glibcxx_have_gc_sections=yes
63339 else
63340 glibcxx_gcsections_min_ld=21602
63341 if test x"$with_gnu_ld" = x"yes" &&
63342 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63343 glibcxx_have_gc_sections=yes
63346 if test "$glibcxx_have_gc_sections" = "yes"; then
63347 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63348 # NB: This flag only works reliably after 2.16.1. Configure tests
63349 # for this are difficult, so hard wire a value that should work.
63351 ac_test_CFLAGS="${CFLAGS+set}"
63352 ac_save_CFLAGS="$CFLAGS"
63353 CFLAGS='-Wl,--gc-sections'
63355 # Check for -Wl,--gc-sections
63356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63357 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63358 if test x$gcc_no_link = xyes; then
63359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63362 /* end confdefs.h. */
63363 int one(void) { return 1; }
63364 int two(void) { return 2; }
63367 main ()
63369 two();
63371 return 0;
63373 _ACEOF
63374 if ac_fn_c_try_link "$LINENO"; then :
63375 ac_gcsections=yes
63376 else
63377 ac_gcsections=no
63379 rm -f core conftest.err conftest.$ac_objext \
63380 conftest$ac_exeext conftest.$ac_ext
63381 if test "$ac_gcsections" = "yes"; then
63382 rm -f conftest.c
63383 touch conftest.c
63384 if $CC -c conftest.c; then
63385 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63386 grep "Warning: gc-sections option ignored" > /dev/null; then
63387 ac_gcsections=no
63390 rm -f conftest.c conftest.o conftest
63392 if test "$ac_gcsections" = "yes"; then
63393 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63396 $as_echo "$ac_gcsections" >&6; }
63398 if test "$ac_test_CFLAGS" = set; then
63399 CFLAGS="$ac_save_CFLAGS"
63400 else
63401 # this is the suspicious part
63402 CFLAGS=''
63406 # Set -z,relro.
63407 # Note this is only for shared objects.
63408 ac_ld_relro=no
63409 if test x"$with_gnu_ld" = x"yes"; then
63410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63411 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63412 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63413 if test -n "$cxx_z_relo"; then
63414 OPT_LDFLAGS="-Wl,-z,relro"
63415 ac_ld_relro=yes
63417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63418 $as_echo "$ac_ld_relro" >&6; }
63421 # Set linker optimization flags.
63422 if test x"$with_gnu_ld" = x"yes"; then
63423 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63429 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63431 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63433 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63435 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63437 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63439 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63441 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63443 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63445 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63447 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63449 if test x"long_double_math_on_this_cpu" = x"yes"; then
63450 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63452 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63454 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63456 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63460 *-vxworks)
63461 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63463 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63465 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63467 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63469 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63471 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63473 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63475 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63477 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63479 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63481 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63483 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63485 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63487 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63489 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63491 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63493 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63495 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63497 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63499 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63503 as_fn_error "No support for this host/target combination." "$LINENO" 5
63505 esac
63509 # At some point, we should differentiate between architectures
63510 # like x86, which have long double versions, and alpha/powerpc/etc.,
63511 # which don't. For the time being, punt.
63512 if test x"long_double_math_on_this_cpu" = x"yes"; then
63513 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63515 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63517 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63519 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63521 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63523 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63525 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63527 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63529 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63531 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63533 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63535 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63537 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63539 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63541 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63543 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63545 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63547 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63549 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63551 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63553 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63555 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63557 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63562 # Check for _Unwind_GetIPInfo.
63565 # Check whether --with-system-libunwind was given.
63566 if test "${with_system_libunwind+set}" = set; then :
63567 withval=$with_system_libunwind;
63570 # If system-libunwind was not specifically set, pick a default setting.
63571 if test x$with_system_libunwind = x; then
63572 case ${target} in
63573 ia64-*-hpux*) with_system_libunwind=yes ;;
63574 *) with_system_libunwind=no ;;
63575 esac
63577 # Based on system-libunwind and target, do we have ipinfo?
63578 if test x$with_system_libunwind = xyes; then
63579 case ${target} in
63580 ia64-*-*) have_unwind_getipinfo=no ;;
63581 *) have_unwind_getipinfo=yes ;;
63582 esac
63583 else
63584 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63586 case ${target} in
63587 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63588 *) have_unwind_getipinfo=yes ;;
63589 esac
63593 if test x$have_unwind_getipinfo = xyes; then
63595 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63601 # Check whether --enable-linux-futex was given.
63602 if test "${enable_linux_futex+set}" = set; then :
63603 enableval=$enable_linux_futex;
63604 case "$enableval" in
63605 yes|no|default) ;;
63606 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63607 esac
63609 else
63610 enable_linux_futex=default
63614 case "$target" in
63615 *-linux*)
63616 case "$enable_linux_futex" in
63617 default)
63618 # If headers don't have gettid/futex syscalls definition, then
63619 # default to no, otherwise there will be compile time failures.
63620 # Otherwise, default to yes. If we don't detect we are
63621 # compiled/linked against NPTL and not cross-compiling, check
63622 # if programs are run by default against NPTL and if not, issue
63623 # a warning.
63624 enable_linux_futex=no
63625 if test x$gcc_no_link = xyes; then
63626 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63629 /* end confdefs.h. */
63630 #include <sys/syscall.h>
63631 int lk;
63633 main ()
63635 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63637 return 0;
63639 _ACEOF
63640 if ac_fn_c_try_link "$LINENO"; then :
63641 save_LIBS="$LIBS"
63642 LIBS="-lpthread $LIBS"
63643 if test x$gcc_no_link = xyes; then
63644 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63647 /* end confdefs.h. */
63648 #ifndef _GNU_SOURCE
63649 #define _GNU_SOURCE 1
63650 #endif
63651 #include <pthread.h>
63652 pthread_t th; void *status;
63654 main ()
63656 pthread_tryjoin_np (th, &status);
63658 return 0;
63660 _ACEOF
63661 if ac_fn_c_try_link "$LINENO"; then :
63662 enable_linux_futex=yes
63663 else
63664 if test x$cross_compiling = xno; then
63665 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63666 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63668 If so, please configure with --disable-linux-futex" >&5
63669 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63670 If so, please configure with --disable-linux-futex" >&2;}
63673 enable_linux_futex=yes
63675 rm -f core conftest.err conftest.$ac_objext \
63676 conftest$ac_exeext conftest.$ac_ext
63677 LIBS="$save_LIBS"
63679 rm -f core conftest.err conftest.$ac_objext \
63680 conftest$ac_exeext conftest.$ac_ext
63682 yes)
63683 if test x$gcc_no_link = xyes; then
63684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63687 /* end confdefs.h. */
63688 #include <sys/syscall.h>
63689 int lk;
63691 main ()
63693 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63695 return 0;
63697 _ACEOF
63698 if ac_fn_c_try_link "$LINENO"; then :
63700 else
63701 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63703 rm -f core conftest.err conftest.$ac_objext \
63704 conftest$ac_exeext conftest.$ac_ext
63706 esac
63709 enable_linux_futex=no
63711 esac
63712 if test x$enable_linux_futex = xyes; then
63714 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
63721 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
63723 acx_cv_header_stdint=stddef.h
63724 acx_cv_header_stdint_kind="(already complete)"
63725 for i in stdint.h $inttype_headers; do
63726 unset ac_cv_type_uintptr_t
63727 unset ac_cv_type_uintmax_t
63728 unset ac_cv_type_int_least32_t
63729 unset ac_cv_type_int_fast32_t
63730 unset ac_cv_type_uint64_t
63731 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
63732 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
63733 #include <$i>
63735 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
63736 acx_cv_header_stdint=$i
63737 else
63738 continue
63741 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63742 #include <$i>
63744 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63746 else
63747 acx_cv_header_stdint_kind="(mostly complete)"
63750 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
63751 #include <$i>
63753 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
63755 else
63756 acx_cv_header_stdint_kind="(mostly complete)"
63759 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
63760 #include <$i>
63762 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
63764 else
63765 acx_cv_header_stdint_kind="(mostly complete)"
63768 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63769 #include <$i>
63771 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63773 else
63774 acx_cv_header_stdint_kind="(lacks uint64_t)"
63777 break
63778 done
63779 if test "$acx_cv_header_stdint" = stddef.h; then
63780 acx_cv_header_stdint_kind="(lacks uintmax_t)"
63781 for i in stdint.h $inttype_headers; do
63782 unset ac_cv_type_uintptr_t
63783 unset ac_cv_type_uint32_t
63784 unset ac_cv_type_uint64_t
63785 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
63786 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
63787 #include <$i>
63789 if test "x$ac_cv_type_uint32_t" = x""yes; then :
63790 acx_cv_header_stdint=$i
63791 else
63792 continue
63795 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63796 #include <$i>
63798 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63802 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63803 #include <$i>
63805 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63809 break
63810 done
63812 if test "$acx_cv_header_stdint" = stddef.h; then
63813 acx_cv_header_stdint_kind="(u_intXX_t style)"
63814 for i in sys/types.h $inttype_headers; do
63815 unset ac_cv_type_u_int32_t
63816 unset ac_cv_type_u_int64_t
63817 $as_echo_n "looking for u_intXX_t types in $i, " >&6
63818 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
63819 #include <$i>
63821 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
63822 acx_cv_header_stdint=$i
63823 else
63824 continue
63827 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
63828 #include <$i>
63830 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
63834 break
63835 done
63837 if test "$acx_cv_header_stdint" = stddef.h; then
63838 acx_cv_header_stdint_kind="(using manual detection)"
63841 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
63842 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
63843 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
63844 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
63845 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
63847 # ----------------- Summarize what we found so far
63849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
63850 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
63852 case `$as_basename -- include/gstdint.h ||
63853 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
63854 Xinclude/gstdint.h : 'X\(//\)$' \| \
63855 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
63856 $as_echo X/include/gstdint.h |
63857 sed '/^.*\/\([^/][^/]*\)\/*$/{
63858 s//\1/
63861 /^X\/\(\/\/\)$/{
63862 s//\1/
63865 /^X\/\(\/\).*/{
63866 s//\1/
63869 s/.*/./; q'` in
63870 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63871 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63872 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63873 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63874 *) ;;
63875 esac
63877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
63878 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
63880 # ----------------- done included file, check C basic types --------
63882 # Lacking an uintptr_t? Test size of void *
63883 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
63884 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
63885 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63886 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63887 # This bug is HP SR number 8606223364.
63888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
63889 $as_echo_n "checking size of void *... " >&6; }
63890 if test "${ac_cv_sizeof_void_p+set}" = set; then :
63891 $as_echo_n "(cached) " >&6
63892 else
63893 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
63895 else
63896 if test "$ac_cv_type_void_p" = yes; then
63897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63899 { as_fn_set_status 77
63900 as_fn_error "cannot compute sizeof (void *)
63901 See \`config.log' for more details." "$LINENO" 5; }; }
63902 else
63903 ac_cv_sizeof_void_p=0
63908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
63909 $as_echo "$ac_cv_sizeof_void_p" >&6; }
63913 cat >>confdefs.h <<_ACEOF
63914 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
63915 _ACEOF
63918 esac
63920 # Lacking an uint64_t? Test size of long
63921 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
63922 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
63923 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63924 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63925 # This bug is HP SR number 8606223364.
63926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
63927 $as_echo_n "checking size of long... " >&6; }
63928 if test "${ac_cv_sizeof_long+set}" = set; then :
63929 $as_echo_n "(cached) " >&6
63930 else
63931 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
63933 else
63934 if test "$ac_cv_type_long" = yes; then
63935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63937 { as_fn_set_status 77
63938 as_fn_error "cannot compute sizeof (long)
63939 See \`config.log' for more details." "$LINENO" 5; }; }
63940 else
63941 ac_cv_sizeof_long=0
63946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
63947 $as_echo "$ac_cv_sizeof_long" >&6; }
63951 cat >>confdefs.h <<_ACEOF
63952 #define SIZEOF_LONG $ac_cv_sizeof_long
63953 _ACEOF
63956 esac
63958 if test $acx_cv_header_stdint = stddef.h; then
63959 # Lacking a good header? Test size of everything and deduce all types.
63960 # The cast to long int works around a bug in the HP C Compiler
63961 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63962 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63963 # This bug is HP SR number 8606223364.
63964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
63965 $as_echo_n "checking size of int... " >&6; }
63966 if test "${ac_cv_sizeof_int+set}" = set; then :
63967 $as_echo_n "(cached) " >&6
63968 else
63969 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
63971 else
63972 if test "$ac_cv_type_int" = yes; then
63973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63975 { as_fn_set_status 77
63976 as_fn_error "cannot compute sizeof (int)
63977 See \`config.log' for more details." "$LINENO" 5; }; }
63978 else
63979 ac_cv_sizeof_int=0
63984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
63985 $as_echo "$ac_cv_sizeof_int" >&6; }
63989 cat >>confdefs.h <<_ACEOF
63990 #define SIZEOF_INT $ac_cv_sizeof_int
63991 _ACEOF
63994 # The cast to long int works around a bug in the HP C Compiler
63995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63997 # This bug is HP SR number 8606223364.
63998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
63999 $as_echo_n "checking size of short... " >&6; }
64000 if test "${ac_cv_sizeof_short+set}" = set; then :
64001 $as_echo_n "(cached) " >&6
64002 else
64003 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64005 else
64006 if test "$ac_cv_type_short" = yes; then
64007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64009 { as_fn_set_status 77
64010 as_fn_error "cannot compute sizeof (short)
64011 See \`config.log' for more details." "$LINENO" 5; }; }
64012 else
64013 ac_cv_sizeof_short=0
64018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64019 $as_echo "$ac_cv_sizeof_short" >&6; }
64023 cat >>confdefs.h <<_ACEOF
64024 #define SIZEOF_SHORT $ac_cv_sizeof_short
64025 _ACEOF
64028 # The cast to long int works around a bug in the HP C Compiler
64029 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64030 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64031 # This bug is HP SR number 8606223364.
64032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64033 $as_echo_n "checking size of char... " >&6; }
64034 if test "${ac_cv_sizeof_char+set}" = set; then :
64035 $as_echo_n "(cached) " >&6
64036 else
64037 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64039 else
64040 if test "$ac_cv_type_char" = yes; then
64041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64043 { as_fn_set_status 77
64044 as_fn_error "cannot compute sizeof (char)
64045 See \`config.log' for more details." "$LINENO" 5; }; }
64046 else
64047 ac_cv_sizeof_char=0
64052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64053 $as_echo "$ac_cv_sizeof_char" >&6; }
64057 cat >>confdefs.h <<_ACEOF
64058 #define SIZEOF_CHAR $ac_cv_sizeof_char
64059 _ACEOF
64063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64064 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64065 case "$ac_cv_sizeof_char" in
64066 1) acx_cv_type_int8_t=char ;;
64067 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64068 esac
64069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64070 $as_echo "$acx_cv_type_int8_t" >&6; }
64072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64073 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64074 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64075 2:*) acx_cv_type_int16_t=int ;;
64076 *:2) acx_cv_type_int16_t=short ;;
64077 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64078 esac
64079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64080 $as_echo "$acx_cv_type_int16_t" >&6; }
64082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64083 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64084 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64085 4:*) acx_cv_type_int32_t=int ;;
64086 *:4) acx_cv_type_int32_t=long ;;
64087 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64088 esac
64089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64090 $as_echo "$acx_cv_type_int32_t" >&6; }
64093 # These tests are here to make the output prettier
64095 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64096 case "$ac_cv_sizeof_long" in
64097 8) acx_cv_type_int64_t=long ;;
64098 esac
64099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64100 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64102 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64105 # Now we can use the above types
64107 if test "$ac_cv_type_uintptr_t" != yes; then
64108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64109 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64110 case $ac_cv_sizeof_void_p in
64111 2) acx_cv_type_intptr_t=int16_t ;;
64112 4) acx_cv_type_intptr_t=int32_t ;;
64113 8) acx_cv_type_intptr_t=int64_t ;;
64114 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64115 esac
64116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64117 $as_echo "$acx_cv_type_intptr_t" >&6; }
64120 # ----------------- done all checks, emit header -------------
64121 ac_config_commands="$ac_config_commands include/gstdint.h"
64126 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64129 $as_echo_n "checking for GNU c++filt... " >&6; }
64130 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64131 $as_echo_n "(cached) " >&6
64132 else
64133 if test -z "$CXXFILT"; then
64134 ac_path_CXXFILT_found=false
64135 # Loop through the user's path and test for each of PROGNAME-LIST
64136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64137 for as_dir in $PATH
64139 IFS=$as_save_IFS
64140 test -z "$as_dir" && as_dir=.
64141 for ac_prog in c++filt gc++filt; do
64142 for ac_exec_ext in '' $ac_executable_extensions; do
64143 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64144 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64145 # Check for GNU $ac_path_CXXFILT
64146 case `"$ac_path_CXXFILT" --version 2>&1` in
64147 *GNU*)
64148 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64149 esac
64151 $ac_path_CXXFILT_found && break 3
64152 done
64153 done
64154 done
64155 IFS=$as_save_IFS
64156 if test -z "$ac_cv_path_CXXFILT"; then
64159 else
64160 ac_cv_path_CXXFILT=$CXXFILT
64164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64165 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64166 CXXFILT=$ac_cv_path_CXXFILT
64170 # Check whether --enable-symvers was given.
64171 if test "${enable_symvers+set}" = set; then :
64172 enableval=$enable_symvers;
64173 case "$enableval" in
64174 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64175 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64176 esac
64178 else
64179 enable_symvers=yes
64184 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64185 # don't know enough about $LD to do tricks...
64187 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64188 # with extern "C++" in version scripts.
64191 # Turn a 'yes' into a suitable default.
64192 if test x$enable_symvers = xyes ; then
64193 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64194 enable_symvers=no
64195 else
64196 if test $with_gnu_ld = yes ; then
64197 case ${target_os} in
64198 hpux*)
64199 enable_symvers=no ;;
64201 enable_symvers=gnu ;;
64202 esac
64203 else
64204 case ${target_os} in
64205 darwin*)
64206 enable_symvers=darwin ;;
64207 # Sun symbol versioning exists since Solaris 2.5.
64208 solaris2.[5-9]* | solaris2.1[0-9]*)
64209 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64210 # version scripts, so disable symbol versioning if none can be
64211 # found.
64212 if test -z "$ac_cv_path_CXXFILT"; then
64213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64214 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64216 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64218 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64219 enable_symvers=no
64220 else
64221 enable_symvers=sun
64225 enable_symvers=no ;;
64226 esac
64231 # Check to see if 'darwin' or 'darwin-export' can win.
64232 if test x$enable_symvers = xdarwin-export ; then
64233 enable_symvers=darwin
64236 # Check if 'sun' was requested on non-Solaris 2 platforms.
64237 if test x$enable_symvers = xsun ; then
64238 case ${target_os} in
64239 solaris2*)
64240 # All fine.
64243 # Unlikely to work.
64244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64245 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64247 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64249 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64250 enable_symvers=no
64252 esac
64255 # Check to see if 'gnu' can win.
64256 if test $enable_symvers = gnu ||
64257 test $enable_symvers = gnu-versioned-namespace ||
64258 test $enable_symvers = sun; then
64259 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64261 $as_echo_n "checking for shared libgcc... " >&6; }
64262 ac_save_CFLAGS="$CFLAGS"
64263 CFLAGS=' -lgcc_s'
64264 if test x$gcc_no_link = xyes; then
64265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64268 /* end confdefs.h. */
64271 main ()
64273 return 0;
64275 return 0;
64277 _ACEOF
64278 if ac_fn_c_try_link "$LINENO"; then :
64279 glibcxx_shared_libgcc=yes
64280 else
64281 glibcxx_shared_libgcc=no
64283 rm -f core conftest.err conftest.$ac_objext \
64284 conftest$ac_exeext conftest.$ac_ext
64285 CFLAGS="$ac_save_CFLAGS"
64286 if test $glibcxx_shared_libgcc = no; then
64287 cat > conftest.c <<EOF
64288 int main (void) { return 0; }
64290 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64291 -shared -shared-libgcc -o conftest.so \
64292 conftest.c -v 2>&1 >/dev/null \
64293 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64294 rm -f conftest.c conftest.so
64295 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64296 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64297 if test x$gcc_no_link = xyes; then
64298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64301 /* end confdefs.h. */
64304 main ()
64306 return 0;
64308 return 0;
64310 _ACEOF
64311 if ac_fn_c_try_link "$LINENO"; then :
64312 glibcxx_shared_libgcc=yes
64314 rm -f core conftest.err conftest.$ac_objext \
64315 conftest$ac_exeext conftest.$ac_ext
64316 CFLAGS="$ac_save_CFLAGS"
64319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64320 $as_echo "$glibcxx_shared_libgcc" >&6; }
64322 # For GNU ld, we need at least this version. The format is described in
64323 # GLIBCXX_CHECK_LINKER_FEATURES above.
64324 glibcxx_min_gnu_ld_version=21400
64326 # If no shared libgcc, can't win.
64327 if test $glibcxx_shared_libgcc != yes; then
64328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64329 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64331 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64333 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64334 enable_symvers=no
64335 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64336 : All interesting versions of Sun ld support sun style symbol versioning.
64337 elif test $with_gnu_ld != yes ; then
64338 # just fail for now
64339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64340 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64342 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64344 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64345 enable_symvers=no
64346 elif test $glibcxx_ld_is_gold = yes ; then
64347 : All versions of gold support symbol versioning.
64348 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64349 # The right tools, the right setup, but too old. Fallbacks?
64350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64351 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64353 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64355 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64357 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64359 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64360 enable_symvers=no
64364 # Everything parsed; figure out what file to use.
64365 case $enable_symvers in
64367 SYMVER_FILE=config/abi/pre/none.ver
64369 gnu)
64370 SYMVER_FILE=config/abi/pre/gnu.ver
64372 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64375 gnu-versioned-namespace)
64376 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64378 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64381 darwin)
64382 SYMVER_FILE=config/abi/pre/gnu.ver
64384 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64387 sun)
64388 SYMVER_FILE=config/abi/pre/gnu.ver
64390 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64393 esac
64395 if test x$enable_symvers != xno ; then
64397 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64402 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64403 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64404 $as_echo_n "(cached) " >&6
64405 else
64407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64408 /* end confdefs.h. */
64409 void foo (void); __asm (".symver foo, bar@SYMVER");
64411 main ()
64415 return 0;
64417 _ACEOF
64418 if ac_fn_c_try_compile "$LINENO"; then :
64419 glibcxx_cv_have_as_symver_directive=yes
64420 else
64421 glibcxx_cv_have_as_symver_directive=no
64423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64426 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64427 if test $glibcxx_cv_have_as_symver_directive = yes; then
64429 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64440 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64441 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64443 if test $enable_symvers != no ; then
64444 case ${target_os} in
64445 # The Solaris 2 runtime linker doesn't support the GNU extension of
64446 # binding the same symbol to different versions
64447 solaris2*)
64448 symvers_renaming=no ;;
64449 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64452 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64454 symvers_renaming=yes ;;
64455 esac
64456 else
64457 symvers_renaming=no
64461 # Now, set up compatibility support, if any.
64462 # In addition, need this to deal with std::size_t mangling in
64463 # src/compatibility.cc. In a perfect world, could use
64464 # typeid(std::size_t).name()[0] to do direct substitution.
64465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64466 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64467 ac_save_CFLAGS="$CFLAGS"
64468 CFLAGS="-Werror"
64469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64470 /* end confdefs.h. */
64473 main ()
64475 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64477 return 0;
64479 _ACEOF
64480 if ac_fn_c_try_compile "$LINENO"; then :
64481 glibcxx_size_t_is_i=yes
64482 else
64483 glibcxx_size_t_is_i=no
64485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64486 CFLAGS=$ac_save_CFLAGS
64487 if test "$glibcxx_size_t_is_i" = yes; then
64489 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64493 $as_echo "$glibcxx_size_t_is_i" >&6; }
64495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64496 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64497 ac_save_CFLAGS="$CFLAGS"
64498 CFLAGS="-Werror"
64499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64500 /* end confdefs.h. */
64503 main ()
64505 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64507 return 0;
64509 _ACEOF
64510 if ac_fn_c_try_compile "$LINENO"; then :
64511 glibcxx_ptrdiff_t_is_i=yes
64512 else
64513 glibcxx_ptrdiff_t_is_i=no
64515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64516 CFLAGS=$ac_save_CFLAGS
64517 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64519 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64523 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64526 # Check whether --enable-visibility was given.
64527 if test "${enable_visibility+set}" = set; then :
64528 enableval=$enable_visibility;
64529 case "$enableval" in
64530 yes|no) ;;
64531 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64532 esac
64534 else
64535 enable_visibility=yes
64540 if test x$enable_visibility = xyes ; then
64541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64542 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64543 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64544 $as_echo_n "(cached) " >&6
64545 else
64547 save_CFLAGS="$CFLAGS"
64548 CFLAGS="$CFLAGS -Werror"
64549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64550 /* end confdefs.h. */
64551 void __attribute__((visibility("hidden"))) foo(void) { }
64553 main ()
64557 return 0;
64559 _ACEOF
64560 if ac_fn_c_try_compile "$LINENO"; then :
64561 glibcxx_cv_have_attribute_visibility=yes
64562 else
64563 glibcxx_cv_have_attribute_visibility=no
64565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64566 CFLAGS="$save_CFLAGS"
64568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64569 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64570 if test $glibcxx_cv_have_attribute_visibility = no; then
64571 enable_visibility=no
64576 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64577 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64580 ac_ldbl_compat=no
64581 case "$target" in
64582 powerpc*-*-linux* | \
64583 sparc*-*-linux* | \
64584 s390*-*-linux* | \
64585 alpha*-*-linux*)
64586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64587 /* end confdefs.h. */
64590 main ()
64593 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64594 #error no need for long double compatibility
64595 #endif
64598 return 0;
64600 _ACEOF
64601 if ac_fn_c_try_compile "$LINENO"; then :
64602 ac_ldbl_compat=yes
64603 else
64604 ac_ldbl_compat=no
64606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64607 if test "$ac_ldbl_compat" = yes; then
64609 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64611 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64613 esac
64616 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64618 if $GLIBCXX_IS_NATIVE ; then
64619 # Do checks for resource limit functions.
64621 setrlimit_have_headers=yes
64622 for ac_header in unistd.h sys/time.h sys/resource.h
64623 do :
64624 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64625 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64626 eval as_val=\$$as_ac_Header
64627 if test "x$as_val" = x""yes; then :
64628 cat >>confdefs.h <<_ACEOF
64629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64630 _ACEOF
64632 else
64633 setrlimit_have_headers=no
64636 done
64638 # If don't have the headers, then we can't run the tests now, and we
64639 # won't be seeing any of these during testsuite compilation.
64640 if test $setrlimit_have_headers = yes; then
64641 # Can't do these in a loop, else the resulting syntax is wrong.
64643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64644 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64646 /* end confdefs.h. */
64647 #include <unistd.h>
64648 #include <sys/time.h>
64649 #include <sys/resource.h>
64652 main ()
64654 int f = RLIMIT_DATA ;
64656 return 0;
64658 _ACEOF
64659 if ac_fn_c_try_compile "$LINENO"; then :
64660 glibcxx_mresult=1
64661 else
64662 glibcxx_mresult=0
64664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64666 cat >>confdefs.h <<_ACEOF
64667 #define HAVE_LIMIT_DATA $glibcxx_mresult
64668 _ACEOF
64670 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64672 $as_echo "$res" >&6; }
64675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64676 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64678 /* end confdefs.h. */
64679 #include <unistd.h>
64680 #include <sys/time.h>
64681 #include <sys/resource.h>
64684 main ()
64686 int f = RLIMIT_RSS ;
64688 return 0;
64690 _ACEOF
64691 if ac_fn_c_try_compile "$LINENO"; then :
64692 glibcxx_mresult=1
64693 else
64694 glibcxx_mresult=0
64696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64698 cat >>confdefs.h <<_ACEOF
64699 #define HAVE_LIMIT_RSS $glibcxx_mresult
64700 _ACEOF
64702 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64704 $as_echo "$res" >&6; }
64707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64708 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64710 /* end confdefs.h. */
64711 #include <unistd.h>
64712 #include <sys/time.h>
64713 #include <sys/resource.h>
64716 main ()
64718 int f = RLIMIT_VMEM ;
64720 return 0;
64722 _ACEOF
64723 if ac_fn_c_try_compile "$LINENO"; then :
64724 glibcxx_mresult=1
64725 else
64726 glibcxx_mresult=0
64728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64730 cat >>confdefs.h <<_ACEOF
64731 #define HAVE_LIMIT_VMEM $glibcxx_mresult
64732 _ACEOF
64734 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64736 $as_echo "$res" >&6; }
64739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
64740 $as_echo_n "checking for RLIMIT_AS... " >&6; }
64741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64742 /* end confdefs.h. */
64743 #include <unistd.h>
64744 #include <sys/time.h>
64745 #include <sys/resource.h>
64748 main ()
64750 int f = RLIMIT_AS ;
64752 return 0;
64754 _ACEOF
64755 if ac_fn_c_try_compile "$LINENO"; then :
64756 glibcxx_mresult=1
64757 else
64758 glibcxx_mresult=0
64760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64762 cat >>confdefs.h <<_ACEOF
64763 #define HAVE_LIMIT_AS $glibcxx_mresult
64764 _ACEOF
64766 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64768 $as_echo "$res" >&6; }
64771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
64772 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
64773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64774 /* end confdefs.h. */
64775 #include <unistd.h>
64776 #include <sys/time.h>
64777 #include <sys/resource.h>
64780 main ()
64782 int f = RLIMIT_FSIZE ;
64784 return 0;
64786 _ACEOF
64787 if ac_fn_c_try_compile "$LINENO"; then :
64788 glibcxx_mresult=1
64789 else
64790 glibcxx_mresult=0
64792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64794 cat >>confdefs.h <<_ACEOF
64795 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
64796 _ACEOF
64798 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64800 $as_echo "$res" >&6; }
64803 # Check for rlimit, setrlimit.
64804 if test "${glibcxx_cv_setrlimit+set}" = set; then :
64805 $as_echo_n "(cached) " >&6
64806 else
64808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64809 /* end confdefs.h. */
64810 #include <unistd.h>
64811 #include <sys/time.h>
64812 #include <sys/resource.h>
64815 main ()
64817 struct rlimit r;
64818 setrlimit(0, &r);
64820 return 0;
64822 _ACEOF
64823 if ac_fn_c_try_compile "$LINENO"; then :
64824 glibcxx_cv_setrlimit=yes
64825 else
64826 glibcxx_cv_setrlimit=no
64828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
64835 $as_echo_n "checking for testsuite resource limits support... " >&6; }
64836 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
64837 ac_res_limits=yes
64839 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
64841 else
64842 ac_res_limits=no
64844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
64845 $as_echo "$ac_res_limits" >&6; }
64848 # Look for setenv, so that extended locale tests can be performed.
64850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
64851 $as_echo_n "checking for setenv declaration... " >&6; }
64852 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
64853 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
64854 $as_echo_n "(cached) " >&6
64855 else
64858 ac_ext=cpp
64859 ac_cpp='$CXXCPP $CPPFLAGS'
64860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64865 /* end confdefs.h. */
64866 #include <stdlib.h>
64868 main ()
64870 setenv(0, 0, 0);
64872 return 0;
64874 _ACEOF
64875 if ac_fn_cxx_try_compile "$LINENO"; then :
64876 glibcxx_cv_func_setenv_use=yes
64877 else
64878 glibcxx_cv_func_setenv_use=no
64880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64881 ac_ext=c
64882 ac_cpp='$CPP $CPPFLAGS'
64883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
64892 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
64893 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
64894 for ac_func in setenv
64895 do :
64896 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
64897 if test "x$ac_cv_func_setenv" = x""yes; then :
64898 cat >>confdefs.h <<_ACEOF
64899 #define HAVE_SETENV 1
64900 _ACEOF
64903 done
64909 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
64910 test $enable_symvers != no; then
64911 case "$host" in
64912 *-*-cygwin*)
64913 enable_abi_check=no ;;
64915 enable_abi_check=yes ;;
64916 esac
64917 else
64918 # Only build this as native, since automake does not understand
64919 # CXX_FOR_BUILD.
64920 enable_abi_check=no
64923 # Export file names for ABI checking.
64924 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
64926 baseline_subdir_switch="$abi_baseline_subdir_switch"
64930 # Define documentation rules conditionally.
64932 # See if makeinfo has been installed and is modern enough
64933 # that we can use it.
64935 # Extract the first word of "makeinfo", so it can be a program name with args.
64936 set dummy makeinfo; ac_word=$2
64937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64938 $as_echo_n "checking for $ac_word... " >&6; }
64939 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
64940 $as_echo_n "(cached) " >&6
64941 else
64942 if test -n "$MAKEINFO"; then
64943 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
64944 else
64945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64946 for as_dir in $PATH
64948 IFS=$as_save_IFS
64949 test -z "$as_dir" && as_dir=.
64950 for ac_exec_ext in '' $ac_executable_extensions; do
64951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64952 ac_cv_prog_MAKEINFO="makeinfo"
64953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64954 break 2
64956 done
64957 done
64958 IFS=$as_save_IFS
64962 MAKEINFO=$ac_cv_prog_MAKEINFO
64963 if test -n "$MAKEINFO"; then
64964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
64965 $as_echo "$MAKEINFO" >&6; }
64966 else
64967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64968 $as_echo "no" >&6; }
64972 if test -n "$MAKEINFO"; then
64973 # Found it, now check the version.
64974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
64975 $as_echo_n "checking for modern makeinfo... " >&6; }
64976 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
64977 $as_echo_n "(cached) " >&6
64978 else
64979 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
64980 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
64982 case $ac_prog_version in
64983 '') gcc_cv_prog_makeinfo_modern=no;;
64984 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
64985 *) gcc_cv_prog_makeinfo_modern=no;;
64986 esac
64989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
64990 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
64991 else
64992 gcc_cv_prog_makeinfo_modern=no
64994 if test $gcc_cv_prog_makeinfo_modern = no; then
64995 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
64998 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
64999 BUILD_INFO_TRUE=
65000 BUILD_INFO_FALSE='#'
65001 else
65002 BUILD_INFO_TRUE='#'
65003 BUILD_INFO_FALSE=
65007 # Check for doxygen
65008 # Extract the first word of "doxygen", so it can be a program name with args.
65009 set dummy doxygen; ac_word=$2
65010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65011 $as_echo_n "checking for $ac_word... " >&6; }
65012 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65013 $as_echo_n "(cached) " >&6
65014 else
65015 if test -n "$DOXYGEN"; then
65016 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65017 else
65018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65019 for as_dir in $PATH
65021 IFS=$as_save_IFS
65022 test -z "$as_dir" && as_dir=.
65023 for ac_exec_ext in '' $ac_executable_extensions; do
65024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65025 ac_cv_prog_DOXYGEN="yes"
65026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65027 break 2
65029 done
65030 done
65031 IFS=$as_save_IFS
65033 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65036 DOXYGEN=$ac_cv_prog_DOXYGEN
65037 if test -n "$DOXYGEN"; then
65038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65039 $as_echo "$DOXYGEN" >&6; }
65040 else
65041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65042 $as_echo "no" >&6; }
65046 # Extract the first word of "dot", so it can be a program name with args.
65047 set dummy dot; ac_word=$2
65048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65049 $as_echo_n "checking for $ac_word... " >&6; }
65050 if test "${ac_cv_prog_DOT+set}" = set; then :
65051 $as_echo_n "(cached) " >&6
65052 else
65053 if test -n "$DOT"; then
65054 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65055 else
65056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65057 for as_dir in $PATH
65059 IFS=$as_save_IFS
65060 test -z "$as_dir" && as_dir=.
65061 for ac_exec_ext in '' $ac_executable_extensions; do
65062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65063 ac_cv_prog_DOT="yes"
65064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65065 break 2
65067 done
65068 done
65069 IFS=$as_save_IFS
65071 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65074 DOT=$ac_cv_prog_DOT
65075 if test -n "$DOT"; then
65076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65077 $as_echo "$DOT" >&6; }
65078 else
65079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65080 $as_echo "no" >&6; }
65085 # Check for docbook
65086 # Extract the first word of "xsltproc", so it can be a program name with args.
65087 set dummy xsltproc; ac_word=$2
65088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65089 $as_echo_n "checking for $ac_word... " >&6; }
65090 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65091 $as_echo_n "(cached) " >&6
65092 else
65093 if test -n "$XSLTPROC"; then
65094 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65095 else
65096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65097 for as_dir in $PATH
65099 IFS=$as_save_IFS
65100 test -z "$as_dir" && as_dir=.
65101 for ac_exec_ext in '' $ac_executable_extensions; do
65102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65103 ac_cv_prog_XSLTPROC="yes"
65104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65105 break 2
65107 done
65108 done
65109 IFS=$as_save_IFS
65111 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65114 XSLTPROC=$ac_cv_prog_XSLTPROC
65115 if test -n "$XSLTPROC"; then
65116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65117 $as_echo "$XSLTPROC" >&6; }
65118 else
65119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65120 $as_echo "no" >&6; }
65124 # Extract the first word of "xmllint", so it can be a program name with args.
65125 set dummy xmllint; ac_word=$2
65126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65127 $as_echo_n "checking for $ac_word... " >&6; }
65128 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65129 $as_echo_n "(cached) " >&6
65130 else
65131 if test -n "$XMLLINT"; then
65132 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65133 else
65134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65135 for as_dir in $PATH
65137 IFS=$as_save_IFS
65138 test -z "$as_dir" && as_dir=.
65139 for ac_exec_ext in '' $ac_executable_extensions; do
65140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65141 ac_cv_prog_XMLLINT="yes"
65142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65143 break 2
65145 done
65146 done
65147 IFS=$as_save_IFS
65149 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65152 XMLLINT=$ac_cv_prog_XMLLINT
65153 if test -n "$XMLLINT"; then
65154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65155 $as_echo "$XMLLINT" >&6; }
65156 else
65157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65158 $as_echo "no" >&6; }
65164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65165 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65166 glibcxx_stylesheets=no
65167 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
65168 glibcxx_stylesheets=yes
65170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65171 $as_echo "$glibcxx_stylesheets" >&6; }
65173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65174 $as_echo_n "checking for local stylesheet directory... " >&6; }
65175 glibcxx_local_stylesheets=no
65176 if test x"$glibcxx_stylesheets" = x"yes"; then
65177 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65178 glibcxx_local_stylesheets=yes
65179 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65181 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65182 glibcxx_local_stylesheets=yes
65183 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65187 $as_echo "$glibcxx_local_stylesheets" >&6; }
65189 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65191 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65192 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65193 else
65194 glibcxx_stylesheets=no
65198 # Check for xml/html dependencies.
65199 if test $ac_cv_prog_DOXYGEN = "yes" &&
65200 test $ac_cv_prog_DOT = "yes" &&
65201 test $ac_cv_prog_XSLTPROC = "yes" &&
65202 test $ac_cv_prog_XMLLINT = "yes" &&
65203 test $glibcxx_stylesheets = "yes"; then
65204 BUILD_XML_TRUE=
65205 BUILD_XML_FALSE='#'
65206 else
65207 BUILD_XML_TRUE='#'
65208 BUILD_XML_FALSE=
65212 if test $ac_cv_prog_DOXYGEN = "yes" &&
65213 test $ac_cv_prog_DOT = "yes" &&
65214 test $ac_cv_prog_XSLTPROC = "yes" &&
65215 test $ac_cv_prog_XMLLINT = "yes" &&
65216 test $glibcxx_stylesheets = "yes"; then
65217 BUILD_HTML_TRUE=
65218 BUILD_HTML_FALSE='#'
65219 else
65220 BUILD_HTML_TRUE='#'
65221 BUILD_HTML_FALSE=
65225 # Check for man dependencies.
65226 if test $ac_cv_prog_DOXYGEN = "yes" &&
65227 test $ac_cv_prog_DOT = "yes"; then
65228 BUILD_MAN_TRUE=
65229 BUILD_MAN_FALSE='#'
65230 else
65231 BUILD_MAN_TRUE='#'
65232 BUILD_MAN_FALSE=
65236 # Check for pdf/epub dependencies.
65237 # Extract the first word of "dblatex", so it can be a program name with args.
65238 set dummy dblatex; ac_word=$2
65239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65240 $as_echo_n "checking for $ac_word... " >&6; }
65241 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65242 $as_echo_n "(cached) " >&6
65243 else
65244 if test -n "$DBLATEX"; then
65245 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65246 else
65247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65248 for as_dir in $PATH
65250 IFS=$as_save_IFS
65251 test -z "$as_dir" && as_dir=.
65252 for ac_exec_ext in '' $ac_executable_extensions; do
65253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65254 ac_cv_prog_DBLATEX="yes"
65255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65256 break 2
65258 done
65259 done
65260 IFS=$as_save_IFS
65262 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65265 DBLATEX=$ac_cv_prog_DBLATEX
65266 if test -n "$DBLATEX"; then
65267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65268 $as_echo "$DBLATEX" >&6; }
65269 else
65270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65271 $as_echo "no" >&6; }
65275 # Extract the first word of "pdflatex", so it can be a program name with args.
65276 set dummy pdflatex; ac_word=$2
65277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65278 $as_echo_n "checking for $ac_word... " >&6; }
65279 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65280 $as_echo_n "(cached) " >&6
65281 else
65282 if test -n "$PDFLATEX"; then
65283 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65284 else
65285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65286 for as_dir in $PATH
65288 IFS=$as_save_IFS
65289 test -z "$as_dir" && as_dir=.
65290 for ac_exec_ext in '' $ac_executable_extensions; do
65291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65292 ac_cv_prog_PDFLATEX="yes"
65293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65294 break 2
65296 done
65297 done
65298 IFS=$as_save_IFS
65300 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65303 PDFLATEX=$ac_cv_prog_PDFLATEX
65304 if test -n "$PDFLATEX"; then
65305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65306 $as_echo "$PDFLATEX" >&6; }
65307 else
65308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65309 $as_echo "no" >&6; }
65313 if test $ac_cv_prog_DBLATEX = "yes" &&
65314 test $ac_cv_prog_PDFLATEX = "yes"; then
65315 BUILD_PDF_TRUE=
65316 BUILD_PDF_FALSE='#'
65317 else
65318 BUILD_PDF_TRUE='#'
65319 BUILD_PDF_FALSE=
65323 # Extract the first word of "ruby", so it can be a program name with args.
65324 set dummy ruby; 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_RUBY+set}" = set; then :
65328 $as_echo_n "(cached) " >&6
65329 else
65330 if test -n "$RUBY"; then
65331 ac_cv_prog_RUBY="$RUBY" # 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_RUBY="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_RUBY" && ac_cv_prog_RUBY="no"
65351 RUBY=$ac_cv_prog_RUBY
65352 if test -n "$RUBY"; then
65353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65354 $as_echo "$RUBY" >&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 "dbtoepub", so it can be a program name with args.
65362 set dummy dbtoepub; 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_DBTOEPUB+set}" = set; then :
65366 $as_echo_n "(cached) " >&6
65367 else
65368 if test -n "$DBTOEPUB"; then
65369 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # 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_DBTOEPUB="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_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65389 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65390 if test -n "$DBTOEPUB"; then
65391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65392 $as_echo "$DBTOEPUB" >&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_RUBY = "yes" &&
65400 test $ac_cv_prog_DBTOEPUB = "yes"; then
65401 BUILD_EPUB_TRUE=
65402 BUILD_EPUB_FALSE='#'
65403 else
65404 BUILD_EPUB_TRUE='#'
65405 BUILD_EPUB_FALSE=
65410 # Propagate the target-specific source directories through the build chain.
65411 ATOMICITY_SRCDIR=config/${atomicity_dir}
65412 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65413 ATOMIC_FLAGS=${atomic_flags}
65414 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65415 OS_INC_SRCDIR=config/${os_include_dir}
65416 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65417 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65427 # Determine cross-compile flags and AM_CONDITIONALs.
65428 #AC_SUBST(GLIBCXX_IS_NATIVE)
65429 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65430 if test $is_hosted = yes; then
65431 GLIBCXX_HOSTED_TRUE=
65432 GLIBCXX_HOSTED_FALSE='#'
65433 else
65434 GLIBCXX_HOSTED_TRUE='#'
65435 GLIBCXX_HOSTED_FALSE=
65439 if test $enable_libstdcxx_pch = yes; then
65440 GLIBCXX_BUILD_PCH_TRUE=
65441 GLIBCXX_BUILD_PCH_FALSE='#'
65442 else
65443 GLIBCXX_BUILD_PCH_TRUE='#'
65444 GLIBCXX_BUILD_PCH_FALSE=
65448 if test $enable_cheaders = c; then
65449 GLIBCXX_C_HEADERS_C_TRUE=
65450 GLIBCXX_C_HEADERS_C_FALSE='#'
65451 else
65452 GLIBCXX_C_HEADERS_C_TRUE='#'
65453 GLIBCXX_C_HEADERS_C_FALSE=
65457 if test $enable_cheaders = c_std; then
65458 GLIBCXX_C_HEADERS_C_STD_TRUE=
65459 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65460 else
65461 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65462 GLIBCXX_C_HEADERS_C_STD_FALSE=
65466 if test $enable_cheaders = c_global; then
65467 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65468 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65469 else
65470 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65471 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65475 if test $c_compatibility = yes; then
65476 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65477 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65478 else
65479 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65480 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65484 if test $enable_libstdcxx_debug = yes; then
65485 GLIBCXX_BUILD_DEBUG_TRUE=
65486 GLIBCXX_BUILD_DEBUG_FALSE='#'
65487 else
65488 GLIBCXX_BUILD_DEBUG_TRUE='#'
65489 GLIBCXX_BUILD_DEBUG_FALSE=
65493 if test $enable_parallel = yes; then
65494 ENABLE_PARALLEL_TRUE=
65495 ENABLE_PARALLEL_FALSE='#'
65496 else
65497 ENABLE_PARALLEL_TRUE='#'
65498 ENABLE_PARALLEL_FALSE=
65502 if test $enable_extern_template = yes; then
65503 ENABLE_EXTERN_TEMPLATE_TRUE=
65504 ENABLE_EXTERN_TEMPLATE_FALSE='#'
65505 else
65506 ENABLE_EXTERN_TEMPLATE_TRUE='#'
65507 ENABLE_EXTERN_TEMPLATE_FALSE=
65511 if test $enable_symvers != no; then
65512 ENABLE_SYMVERS_TRUE=
65513 ENABLE_SYMVERS_FALSE='#'
65514 else
65515 ENABLE_SYMVERS_TRUE='#'
65516 ENABLE_SYMVERS_FALSE=
65520 if test $enable_symvers = gnu; then
65521 ENABLE_SYMVERS_GNU_TRUE=
65522 ENABLE_SYMVERS_GNU_FALSE='#'
65523 else
65524 ENABLE_SYMVERS_GNU_TRUE='#'
65525 ENABLE_SYMVERS_GNU_FALSE=
65529 if test $enable_symvers = gnu-versioned-namespace; then
65530 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65531 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65532 else
65533 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65534 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65538 if test $enable_symvers = darwin; then
65539 ENABLE_SYMVERS_DARWIN_TRUE=
65540 ENABLE_SYMVERS_DARWIN_FALSE='#'
65541 else
65542 ENABLE_SYMVERS_DARWIN_TRUE='#'
65543 ENABLE_SYMVERS_DARWIN_FALSE=
65547 if test $enable_symvers = sun; then
65548 ENABLE_SYMVERS_SUN_TRUE=
65549 ENABLE_SYMVERS_SUN_FALSE='#'
65550 else
65551 ENABLE_SYMVERS_SUN_TRUE='#'
65552 ENABLE_SYMVERS_SUN_FALSE=
65556 if test $symvers_renaming = no; then
65557 ENABLE_SYMVERS_SOL2_TRUE=
65558 ENABLE_SYMVERS_SOL2_FALSE='#'
65559 else
65560 ENABLE_SYMVERS_SOL2_TRUE='#'
65561 ENABLE_SYMVERS_SOL2_FALSE=
65565 if test $enable_visibility = yes; then
65566 ENABLE_VISIBILITY_TRUE=
65567 ENABLE_VISIBILITY_FALSE='#'
65568 else
65569 ENABLE_VISIBILITY_TRUE='#'
65570 ENABLE_VISIBILITY_FALSE=
65574 if test $ac_ldbl_compat = yes; then
65575 GLIBCXX_LDBL_COMPAT_TRUE=
65576 GLIBCXX_LDBL_COMPAT_FALSE='#'
65577 else
65578 GLIBCXX_LDBL_COMPAT_TRUE='#'
65579 GLIBCXX_LDBL_COMPAT_FALSE=
65585 cat >confcache <<\_ACEOF
65586 # This file is a shell script that caches the results of configure
65587 # tests run on this system so they can be shared between configure
65588 # scripts and configure runs, see configure's option --config-cache.
65589 # It is not useful on other systems. If it contains results you don't
65590 # want to keep, you may remove or edit it.
65592 # config.status only pays attention to the cache file if you give it
65593 # the --recheck option to rerun configure.
65595 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65596 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65597 # following values.
65599 _ACEOF
65601 # The following way of writing the cache mishandles newlines in values,
65602 # but we know of no workaround that is simple, portable, and efficient.
65603 # So, we kill variables containing newlines.
65604 # Ultrix sh set writes to stderr and can't be redirected directly,
65605 # and sets the high bit in the cache file unless we assign to the vars.
65607 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65608 eval ac_val=\$$ac_var
65609 case $ac_val in #(
65610 *${as_nl}*)
65611 case $ac_var in #(
65612 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65613 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65614 esac
65615 case $ac_var in #(
65616 _ | IFS | as_nl) ;; #(
65617 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65618 *) { eval $ac_var=; unset $ac_var;} ;;
65619 esac ;;
65620 esac
65621 done
65623 (set) 2>&1 |
65624 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65625 *${as_nl}ac_space=\ *)
65626 # `set' does not quote correctly, so add quotes: double-quote
65627 # substitution turns \\\\ into \\, and sed turns \\ into \.
65628 sed -n \
65629 "s/'/'\\\\''/g;
65630 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65631 ;; #(
65633 # `set' quotes correctly as required by POSIX, so do not add quotes.
65634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65636 esac |
65637 sort
65639 sed '
65640 /^ac_cv_env_/b end
65641 t clear
65642 :clear
65643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65644 t end
65645 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65646 :end' >>confcache
65647 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65648 if test -w "$cache_file"; then
65649 test "x$cache_file" != "x/dev/null" &&
65650 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65651 $as_echo "$as_me: updating cache $cache_file" >&6;}
65652 cat confcache >$cache_file
65653 else
65654 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65655 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65658 rm -f confcache
65660 if test ${multilib} = yes; then
65661 multilib_arg="--enable-multilib"
65662 else
65663 multilib_arg=
65666 # Export all the install information.
65668 glibcxx_toolexecdir=no
65669 glibcxx_toolexeclibdir=no
65670 glibcxx_prefixdir=$prefix
65672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65673 $as_echo_n "checking for gxx-include-dir... " >&6; }
65675 # Check whether --with-gxx-include-dir was given.
65676 if test "${with_gxx_include_dir+set}" = set; then :
65677 withval=$with_gxx_include_dir; case "$withval" in
65678 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65679 no) gxx_include_dir=no ;;
65680 *) gxx_include_dir=$withval ;;
65681 esac
65682 else
65683 gxx_include_dir=no
65686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65687 $as_echo "$gxx_include_dir" >&6; }
65689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65690 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65691 # Check whether --enable-version-specific-runtime-libs was given.
65692 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65693 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65694 yes) version_specific_libs=yes ;;
65695 no) version_specific_libs=no ;;
65696 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65697 esac
65698 else
65699 version_specific_libs=no
65702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65703 $as_echo "$version_specific_libs" >&6; }
65705 # Default case for install directory for include files.
65706 if test $version_specific_libs = no && test $gxx_include_dir = no; then
65707 gxx_include_dir='include/c++/${gcc_version}'
65708 if test -n "$with_cross_host" &&
65709 test x"$with_cross_host" != x"no"; then
65710 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65711 else
65712 gxx_include_dir='${prefix}/'"$gxx_include_dir"
65716 # Version-specific runtime libs processing.
65717 if test $version_specific_libs = yes; then
65718 # Need the gcc compiler version to know where to install libraries
65719 # and header files if --enable-version-specific-runtime-libs option
65720 # is selected. FIXME: these variables are misnamed, there are
65721 # no executables installed in _toolexecdir or _toolexeclibdir.
65722 if test x"$gxx_include_dir" = x"no"; then
65723 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
65725 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65726 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
65729 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
65730 # Install a library built with a cross compiler in tooldir, not libdir.
65731 if test x"$glibcxx_toolexecdir" = x"no"; then
65732 if test -n "$with_cross_host" &&
65733 test x"$with_cross_host" != x"no"; then
65734 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
65735 glibcxx_toolexeclibdir='${toolexecdir}/lib'
65736 else
65737 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65738 glibcxx_toolexeclibdir='${libdir}'
65740 multi_os_directory=`$CXX -print-multi-os-directory`
65741 case $multi_os_directory in
65742 .) ;; # Avoid trailing /.
65743 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
65744 esac
65747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
65748 $as_echo_n "checking for install location... " >&6; }
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65750 $as_echo "$gxx_include_dir" >&6; }
65758 # Export all the include and flag information to Makefiles.
65760 # Used for every C++ compile we perform.
65761 GLIBCXX_INCLUDES="\
65762 -I$glibcxx_builddir/include/$host_alias \
65763 -I$glibcxx_builddir/include \
65764 -I$glibcxx_srcdir/libsupc++"
65766 # For Canadian crosses, pick this up too.
65767 if test $CANADIAN = yes; then
65768 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
65771 # Stuff in the actual top level. Currently only used by libsupc++ to
65772 # get unwind* headers from the gcc dir.
65773 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
65774 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
65776 # Now, export this to all the little Makefiles....
65781 # Optimization flags that are probably a good idea for thrill-seekers. Just
65782 # uncomment the lines below and make, everything else is ready to go...
65783 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
65784 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
65787 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
65791 if test "$enable_shared" = yes; then
65792 LIBSUPCXX_PICFLAGS="-prefer-pic"
65793 else
65794 LIBSUPCXX_PICFLAGS=
65798 ac_config_files="$ac_config_files Makefile"
65800 ac_config_files="$ac_config_files scripts/testsuite_flags"
65802 ac_config_files="$ac_config_files scripts/extract_symvers"
65805 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65806 # that multilib installs will end up installed in the correct place.
65807 # The testsuite needs it for multilib-aware ABI baseline files.
65808 # To work around this not being passed down from config-ml.in ->
65809 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65810 # append it here. Only modify Makefiles that have just been created.
65812 # Also, get rid of this simulated-VPATH thing that automake does.
65813 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
65816 ac_config_commands="$ac_config_commands generate-headers"
65819 cat >confcache <<\_ACEOF
65820 # This file is a shell script that caches the results of configure
65821 # tests run on this system so they can be shared between configure
65822 # scripts and configure runs, see configure's option --config-cache.
65823 # It is not useful on other systems. If it contains results you don't
65824 # want to keep, you may remove or edit it.
65826 # config.status only pays attention to the cache file if you give it
65827 # the --recheck option to rerun configure.
65829 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65830 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65831 # following values.
65833 _ACEOF
65835 # The following way of writing the cache mishandles newlines in values,
65836 # but we know of no workaround that is simple, portable, and efficient.
65837 # So, we kill variables containing newlines.
65838 # Ultrix sh set writes to stderr and can't be redirected directly,
65839 # and sets the high bit in the cache file unless we assign to the vars.
65841 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65842 eval ac_val=\$$ac_var
65843 case $ac_val in #(
65844 *${as_nl}*)
65845 case $ac_var in #(
65846 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65847 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65848 esac
65849 case $ac_var in #(
65850 _ | IFS | as_nl) ;; #(
65851 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65852 *) { eval $ac_var=; unset $ac_var;} ;;
65853 esac ;;
65854 esac
65855 done
65857 (set) 2>&1 |
65858 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65859 *${as_nl}ac_space=\ *)
65860 # `set' does not quote correctly, so add quotes: double-quote
65861 # substitution turns \\\\ into \\, and sed turns \\ into \.
65862 sed -n \
65863 "s/'/'\\\\''/g;
65864 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65865 ;; #(
65867 # `set' quotes correctly as required by POSIX, so do not add quotes.
65868 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65870 esac |
65871 sort
65873 sed '
65874 /^ac_cv_env_/b end
65875 t clear
65876 :clear
65877 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65878 t end
65879 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65880 :end' >>confcache
65881 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65882 if test -w "$cache_file"; then
65883 test "x$cache_file" != "x/dev/null" &&
65884 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65885 $as_echo "$as_me: updating cache $cache_file" >&6;}
65886 cat confcache >$cache_file
65887 else
65888 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65889 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65892 rm -f confcache
65894 test "x$prefix" = xNONE && prefix=$ac_default_prefix
65895 # Let make expand exec_prefix.
65896 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65898 DEFS=-DHAVE_CONFIG_H
65900 ac_libobjs=
65901 ac_ltlibobjs=
65902 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65903 # 1. Remove the extension, and $U if already installed.
65904 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
65905 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
65906 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
65907 # will be set to the directory where LIBOBJS objects are built.
65908 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
65909 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
65910 done
65911 LIBOBJS=$ac_libobjs
65913 LTLIBOBJS=$ac_ltlibobjs
65916 if test -n "$EXEEXT"; then
65917 am__EXEEXT_TRUE=
65918 am__EXEEXT_FALSE='#'
65919 else
65920 am__EXEEXT_TRUE='#'
65921 am__EXEEXT_FALSE=
65924 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
65925 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
65926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65928 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
65929 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
65930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65932 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
65933 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
65934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65936 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
65937 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
65938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65940 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
65941 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
65942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65944 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
65945 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
65946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65948 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
65949 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
65950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65952 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
65953 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
65954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65956 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
65957 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
65958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65960 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
65961 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
65962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65964 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
65965 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
65966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65968 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
65969 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
65970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65972 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
65973 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
65974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65976 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
65977 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
65978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65980 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
65981 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
65982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65984 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
65985 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
65986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65988 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
65989 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
65990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65992 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
65993 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
65994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65996 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
65997 as_fn_error "conditional \"BUILD_INFO\" was never defined.
65998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66000 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66001 as_fn_error "conditional \"BUILD_XML\" was never defined.
66002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66004 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66005 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66008 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66009 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66012 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66013 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66016 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66017 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66021 : ${CONFIG_STATUS=./config.status}
66022 ac_write_fail=0
66023 ac_clean_files_save=$ac_clean_files
66024 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66025 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66026 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66027 as_write_fail=0
66028 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66029 #! $SHELL
66030 # Generated by $as_me.
66031 # Run this file to recreate the current configuration.
66032 # Compiler output produced by configure, useful for debugging
66033 # configure, is in config.log if it exists.
66035 debug=false
66036 ac_cs_recheck=false
66037 ac_cs_silent=false
66039 SHELL=\${CONFIG_SHELL-$SHELL}
66040 export SHELL
66041 _ASEOF
66042 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66043 ## -------------------- ##
66044 ## M4sh Initialization. ##
66045 ## -------------------- ##
66047 # Be more Bourne compatible
66048 DUALCASE=1; export DUALCASE # for MKS sh
66049 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66050 emulate sh
66051 NULLCMD=:
66052 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66053 # is contrary to our usage. Disable this feature.
66054 alias -g '${1+"$@"}'='"$@"'
66055 setopt NO_GLOB_SUBST
66056 else
66057 case `(set -o) 2>/dev/null` in #(
66058 *posix*) :
66059 set -o posix ;; #(
66060 *) :
66062 esac
66066 as_nl='
66068 export as_nl
66069 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66070 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66071 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66072 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66073 # Prefer a ksh shell builtin over an external printf program on Solaris,
66074 # but without wasting forks for bash or zsh.
66075 if test -z "$BASH_VERSION$ZSH_VERSION" \
66076 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66077 as_echo='print -r --'
66078 as_echo_n='print -rn --'
66079 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66080 as_echo='printf %s\n'
66081 as_echo_n='printf %s'
66082 else
66083 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66084 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66085 as_echo_n='/usr/ucb/echo -n'
66086 else
66087 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66088 as_echo_n_body='eval
66089 arg=$1;
66090 case $arg in #(
66091 *"$as_nl"*)
66092 expr "X$arg" : "X\\(.*\\)$as_nl";
66093 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66094 esac;
66095 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66097 export as_echo_n_body
66098 as_echo_n='sh -c $as_echo_n_body as_echo'
66100 export as_echo_body
66101 as_echo='sh -c $as_echo_body as_echo'
66104 # The user is always right.
66105 if test "${PATH_SEPARATOR+set}" != set; then
66106 PATH_SEPARATOR=:
66107 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66108 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66109 PATH_SEPARATOR=';'
66114 # IFS
66115 # We need space, tab and new line, in precisely that order. Quoting is
66116 # there to prevent editors from complaining about space-tab.
66117 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66118 # splitting by setting IFS to empty value.)
66119 IFS=" "" $as_nl"
66121 # Find who we are. Look in the path if we contain no directory separator.
66122 case $0 in #((
66123 *[\\/]* ) as_myself=$0 ;;
66124 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66125 for as_dir in $PATH
66127 IFS=$as_save_IFS
66128 test -z "$as_dir" && as_dir=.
66129 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66130 done
66131 IFS=$as_save_IFS
66134 esac
66135 # We did not find ourselves, most probably we were run as `sh COMMAND'
66136 # in which case we are not to be found in the path.
66137 if test "x$as_myself" = x; then
66138 as_myself=$0
66140 if test ! -f "$as_myself"; then
66141 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66142 exit 1
66145 # Unset variables that we do not need and which cause bugs (e.g. in
66146 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66147 # suppresses any "Segmentation fault" message there. '((' could
66148 # trigger a bug in pdksh 5.2.14.
66149 for as_var in BASH_ENV ENV MAIL MAILPATH
66150 do eval test x\${$as_var+set} = xset \
66151 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66152 done
66153 PS1='$ '
66154 PS2='> '
66155 PS4='+ '
66157 # NLS nuisances.
66158 LC_ALL=C
66159 export LC_ALL
66160 LANGUAGE=C
66161 export LANGUAGE
66163 # CDPATH.
66164 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66167 # as_fn_error ERROR [LINENO LOG_FD]
66168 # ---------------------------------
66169 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66170 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66171 # script with status $?, using 1 if that was 0.
66172 as_fn_error ()
66174 as_status=$?; test $as_status -eq 0 && as_status=1
66175 if test "$3"; then
66176 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66177 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66179 $as_echo "$as_me: error: $1" >&2
66180 as_fn_exit $as_status
66181 } # as_fn_error
66184 # as_fn_set_status STATUS
66185 # -----------------------
66186 # Set $? to STATUS, without forking.
66187 as_fn_set_status ()
66189 return $1
66190 } # as_fn_set_status
66192 # as_fn_exit STATUS
66193 # -----------------
66194 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66195 as_fn_exit ()
66197 set +e
66198 as_fn_set_status $1
66199 exit $1
66200 } # as_fn_exit
66202 # as_fn_unset VAR
66203 # ---------------
66204 # Portably unset VAR.
66205 as_fn_unset ()
66207 { eval $1=; unset $1;}
66209 as_unset=as_fn_unset
66210 # as_fn_append VAR VALUE
66211 # ----------------------
66212 # Append the text in VALUE to the end of the definition contained in VAR. Take
66213 # advantage of any shell optimizations that allow amortized linear growth over
66214 # repeated appends, instead of the typical quadratic growth present in naive
66215 # implementations.
66216 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66217 eval 'as_fn_append ()
66219 eval $1+=\$2
66221 else
66222 as_fn_append ()
66224 eval $1=\$$1\$2
66226 fi # as_fn_append
66228 # as_fn_arith ARG...
66229 # ------------------
66230 # Perform arithmetic evaluation on the ARGs, and store the result in the
66231 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66232 # must be portable across $(()) and expr.
66233 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66234 eval 'as_fn_arith ()
66236 as_val=$(( $* ))
66238 else
66239 as_fn_arith ()
66241 as_val=`expr "$@" || test $? -eq 1`
66243 fi # as_fn_arith
66246 if expr a : '\(a\)' >/dev/null 2>&1 &&
66247 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66248 as_expr=expr
66249 else
66250 as_expr=false
66253 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66254 as_basename=basename
66255 else
66256 as_basename=false
66259 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66260 as_dirname=dirname
66261 else
66262 as_dirname=false
66265 as_me=`$as_basename -- "$0" ||
66266 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66267 X"$0" : 'X\(//\)$' \| \
66268 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66269 $as_echo X/"$0" |
66270 sed '/^.*\/\([^/][^/]*\)\/*$/{
66271 s//\1/
66274 /^X\/\(\/\/\)$/{
66275 s//\1/
66278 /^X\/\(\/\).*/{
66279 s//\1/
66282 s/.*/./; q'`
66284 # Avoid depending upon Character Ranges.
66285 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66286 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66287 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66288 as_cr_digits='0123456789'
66289 as_cr_alnum=$as_cr_Letters$as_cr_digits
66291 ECHO_C= ECHO_N= ECHO_T=
66292 case `echo -n x` in #(((((
66293 -n*)
66294 case `echo 'xy\c'` in
66295 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66296 xy) ECHO_C='\c';;
66297 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66298 ECHO_T=' ';;
66299 esac;;
66301 ECHO_N='-n';;
66302 esac
66304 rm -f conf$$ conf$$.exe conf$$.file
66305 if test -d conf$$.dir; then
66306 rm -f conf$$.dir/conf$$.file
66307 else
66308 rm -f conf$$.dir
66309 mkdir conf$$.dir 2>/dev/null
66311 if (echo >conf$$.file) 2>/dev/null; then
66312 if ln -s conf$$.file conf$$ 2>/dev/null; then
66313 as_ln_s='ln -s'
66314 # ... but there are two gotchas:
66315 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66316 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66317 # In both cases, we have to default to `cp -p'.
66318 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66319 as_ln_s='cp -p'
66320 elif ln conf$$.file conf$$ 2>/dev/null; then
66321 as_ln_s=ln
66322 else
66323 as_ln_s='cp -p'
66325 else
66326 as_ln_s='cp -p'
66328 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66329 rmdir conf$$.dir 2>/dev/null
66332 # as_fn_mkdir_p
66333 # -------------
66334 # Create "$as_dir" as a directory, including parents if necessary.
66335 as_fn_mkdir_p ()
66338 case $as_dir in #(
66339 -*) as_dir=./$as_dir;;
66340 esac
66341 test -d "$as_dir" || eval $as_mkdir_p || {
66342 as_dirs=
66343 while :; do
66344 case $as_dir in #(
66345 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66346 *) as_qdir=$as_dir;;
66347 esac
66348 as_dirs="'$as_qdir' $as_dirs"
66349 as_dir=`$as_dirname -- "$as_dir" ||
66350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66351 X"$as_dir" : 'X\(//\)[^/]' \| \
66352 X"$as_dir" : 'X\(//\)$' \| \
66353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66354 $as_echo X"$as_dir" |
66355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66356 s//\1/
66359 /^X\(\/\/\)[^/].*/{
66360 s//\1/
66363 /^X\(\/\/\)$/{
66364 s//\1/
66367 /^X\(\/\).*/{
66368 s//\1/
66371 s/.*/./; q'`
66372 test -d "$as_dir" && break
66373 done
66374 test -z "$as_dirs" || eval "mkdir $as_dirs"
66375 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66378 } # as_fn_mkdir_p
66379 if mkdir -p . 2>/dev/null; then
66380 as_mkdir_p='mkdir -p "$as_dir"'
66381 else
66382 test -d ./-p && rmdir ./-p
66383 as_mkdir_p=false
66386 if test -x / >/dev/null 2>&1; then
66387 as_test_x='test -x'
66388 else
66389 if ls -dL / >/dev/null 2>&1; then
66390 as_ls_L_option=L
66391 else
66392 as_ls_L_option=
66394 as_test_x='
66395 eval sh -c '\''
66396 if test -d "$1"; then
66397 test -d "$1/.";
66398 else
66399 case $1 in #(
66400 -*)set "./$1";;
66401 esac;
66402 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66403 ???[sx]*):;;*)false;;esac;fi
66404 '\'' sh
66407 as_executable_p=$as_test_x
66409 # Sed expression to map a string onto a valid CPP name.
66410 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66412 # Sed expression to map a string onto a valid variable name.
66413 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66416 exec 6>&1
66417 ## ----------------------------------- ##
66418 ## Main body of $CONFIG_STATUS script. ##
66419 ## ----------------------------------- ##
66420 _ASEOF
66421 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66424 # Save the log message, to keep $0 and so on meaningful, and to
66425 # report actual input values of CONFIG_FILES etc. instead of their
66426 # values after options handling.
66427 ac_log="
66428 This file was extended by package-unused $as_me version-unused, which was
66429 generated by GNU Autoconf 2.64. Invocation command line was
66431 CONFIG_FILES = $CONFIG_FILES
66432 CONFIG_HEADERS = $CONFIG_HEADERS
66433 CONFIG_LINKS = $CONFIG_LINKS
66434 CONFIG_COMMANDS = $CONFIG_COMMANDS
66435 $ $0 $@
66437 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66440 _ACEOF
66442 case $ac_config_files in *"
66443 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66444 esac
66446 case $ac_config_headers in *"
66447 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66448 esac
66451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66452 # Files that config.status was made for.
66453 config_files="$ac_config_files"
66454 config_headers="$ac_config_headers"
66455 config_commands="$ac_config_commands"
66457 _ACEOF
66459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66460 ac_cs_usage="\
66461 \`$as_me' instantiates files and other configuration actions
66462 from templates according to the current configuration. Unless the files
66463 and actions are specified as TAGs, all are instantiated by default.
66465 Usage: $0 [OPTION]... [TAG]...
66467 -h, --help print this help, then exit
66468 -V, --version print version number and configuration settings, then exit
66469 -q, --quiet, --silent
66470 do not print progress messages
66471 -d, --debug don't remove temporary files
66472 --recheck update $as_me by reconfiguring in the same conditions
66473 --file=FILE[:TEMPLATE]
66474 instantiate the configuration file FILE
66475 --header=FILE[:TEMPLATE]
66476 instantiate the configuration header FILE
66478 Configuration files:
66479 $config_files
66481 Configuration headers:
66482 $config_headers
66484 Configuration commands:
66485 $config_commands
66487 Report bugs to the package provider."
66489 _ACEOF
66490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66491 ac_cs_version="\\
66492 package-unused config.status version-unused
66493 configured by $0, generated by GNU Autoconf 2.64,
66494 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66496 Copyright (C) 2009 Free Software Foundation, Inc.
66497 This config.status script is free software; the Free Software Foundation
66498 gives unlimited permission to copy, distribute and modify it."
66500 ac_pwd='$ac_pwd'
66501 srcdir='$srcdir'
66502 INSTALL='$INSTALL'
66503 MKDIR_P='$MKDIR_P'
66504 AWK='$AWK'
66505 test -n "\$AWK" || AWK=awk
66506 _ACEOF
66508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66509 # The default lists apply if the user does not specify any file.
66510 ac_need_defaults=:
66511 while test $# != 0
66513 case $1 in
66514 --*=*)
66515 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66516 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66517 ac_shift=:
66520 ac_option=$1
66521 ac_optarg=$2
66522 ac_shift=shift
66524 esac
66526 case $ac_option in
66527 # Handling of the options.
66528 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66529 ac_cs_recheck=: ;;
66530 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66531 $as_echo "$ac_cs_version"; exit ;;
66532 --debug | --debu | --deb | --de | --d | -d )
66533 debug=: ;;
66534 --file | --fil | --fi | --f )
66535 $ac_shift
66536 case $ac_optarg in
66537 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66538 esac
66539 as_fn_append CONFIG_FILES " '$ac_optarg'"
66540 ac_need_defaults=false;;
66541 --header | --heade | --head | --hea )
66542 $ac_shift
66543 case $ac_optarg in
66544 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66545 esac
66546 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66547 ac_need_defaults=false;;
66548 --he | --h)
66549 # Conflict between --help and --header
66550 as_fn_error "ambiguous option: \`$1'
66551 Try \`$0 --help' for more information.";;
66552 --help | --hel | -h )
66553 $as_echo "$ac_cs_usage"; exit ;;
66554 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66555 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66556 ac_cs_silent=: ;;
66558 # This is an error.
66559 -*) as_fn_error "unrecognized option: \`$1'
66560 Try \`$0 --help' for more information." ;;
66562 *) as_fn_append ac_config_targets " $1"
66563 ac_need_defaults=false ;;
66565 esac
66566 shift
66567 done
66569 ac_configure_extra_args=
66571 if $ac_cs_silent; then
66572 exec 6>/dev/null
66573 ac_configure_extra_args="$ac_configure_extra_args --silent"
66576 _ACEOF
66577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66578 if \$ac_cs_recheck; then
66579 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66580 shift
66581 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66582 CONFIG_SHELL='$SHELL'
66583 export CONFIG_SHELL
66584 exec "\$@"
66587 _ACEOF
66588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66589 exec 5>>config.log
66591 echo
66592 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66593 ## Running $as_me. ##
66594 _ASBOX
66595 $as_echo "$ac_log"
66596 } >&5
66598 _ACEOF
66599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66601 # INIT-COMMANDS
66604 srcdir="$srcdir"
66605 host="$host"
66606 target="$target"
66607 with_multisubdir="$with_multisubdir"
66608 with_multisrctop="$with_multisrctop"
66609 with_target_subdir="$with_target_subdir"
66610 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66611 multi_basedir="$multi_basedir"
66612 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66613 CC="$CC"
66614 CXX="$CXX"
66615 GFORTRAN="$GFORTRAN"
66616 GCJ="$GCJ"
66619 # The HP-UX ksh and POSIX shell print the target directory to stdout
66620 # if CDPATH is set.
66621 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66623 sed_quote_subst='$sed_quote_subst'
66624 double_quote_subst='$double_quote_subst'
66625 delay_variable_subst='$delay_variable_subst'
66626 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66627 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66628 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66629 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66630 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66631 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66632 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66633 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66634 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66635 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66636 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66637 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66638 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66639 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66640 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66641 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66642 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66643 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66644 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66645 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66646 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66647 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66648 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66649 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66650 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66651 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66652 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66653 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66654 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66655 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66656 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66657 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66658 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66659 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66660 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66661 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66662 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66663 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66664 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66665 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66666 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66667 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66668 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66669 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66670 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66671 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66672 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66673 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66674 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"`'
66675 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66676 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66677 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66678 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66679 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66680 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66681 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66682 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66683 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66684 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66685 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66686 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66687 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66688 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66689 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66690 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66691 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66692 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66693 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66694 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66695 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66696 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66697 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66698 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66699 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66700 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66701 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66702 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66703 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66704 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66705 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66706 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66707 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66708 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66709 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66710 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66711 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66712 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66713 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
66714 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
66715 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
66716 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
66717 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
66718 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
66719 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
66720 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
66721 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
66722 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
66723 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
66724 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
66725 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
66726 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
66727 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
66728 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
66729 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
66730 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
66731 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
66732 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
66733 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66734 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66735 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
66736 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
66737 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
66738 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
66739 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
66740 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
66741 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
66742 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
66743 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
66744 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
66745 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
66746 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
66747 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
66748 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
66749 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
66750 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
66751 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
66752 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
66753 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
66754 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66755 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66756 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
66757 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
66758 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
66759 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
66760 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
66761 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
66762 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
66763 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
66764 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
66765 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66766 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66767 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
66768 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66769 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66770 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66771 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66772 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66773 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66774 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
66775 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66776 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66777 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66778 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
66779 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
66780 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
66781 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
66782 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
66783 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
66784 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
66785 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
66786 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
66787 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
66788 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
66789 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66790 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66791 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66792 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66793 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
66794 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
66795 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
66796 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66797 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66798 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
66799 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
66800 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
66802 LTCC='$LTCC'
66803 LTCFLAGS='$LTCFLAGS'
66804 compiler='$compiler_DEFAULT'
66806 # A function that is used when there is no print builtin or printf.
66807 func_fallback_echo ()
66809 eval 'cat <<_LTECHO_EOF
66811 _LTECHO_EOF'
66814 # Quote evaled strings.
66815 for var in SHELL \
66816 ECHO \
66817 SED \
66818 GREP \
66819 EGREP \
66820 FGREP \
66821 LD \
66822 NM \
66823 LN_S \
66824 lt_SP2NL \
66825 lt_NL2SP \
66826 reload_flag \
66827 OBJDUMP \
66828 deplibs_check_method \
66829 file_magic_cmd \
66830 AR \
66831 AR_FLAGS \
66832 STRIP \
66833 RANLIB \
66834 CC \
66835 CFLAGS \
66836 compiler \
66837 lt_cv_sys_global_symbol_pipe \
66838 lt_cv_sys_global_symbol_to_cdecl \
66839 lt_cv_sys_global_symbol_to_c_name_address \
66840 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
66841 lt_prog_compiler_no_builtin_flag \
66842 lt_prog_compiler_wl \
66843 lt_prog_compiler_pic \
66844 lt_prog_compiler_static \
66845 lt_cv_prog_compiler_c_o \
66846 need_locks \
66847 DSYMUTIL \
66848 NMEDIT \
66849 LIPO \
66850 OTOOL \
66851 OTOOL64 \
66852 shrext_cmds \
66853 export_dynamic_flag_spec \
66854 whole_archive_flag_spec \
66855 compiler_needs_object \
66856 with_gnu_ld \
66857 allow_undefined_flag \
66858 no_undefined_flag \
66859 hardcode_libdir_flag_spec \
66860 hardcode_libdir_flag_spec_ld \
66861 hardcode_libdir_separator \
66862 fix_srcfile_path \
66863 exclude_expsyms \
66864 include_expsyms \
66865 file_list_spec \
66866 variables_saved_for_relink \
66867 libname_spec \
66868 library_names_spec \
66869 soname_spec \
66870 install_override_mode \
66871 finish_eval \
66872 old_striplib \
66873 striplib \
66874 compiler_lib_search_dirs \
66875 predep_objects \
66876 postdep_objects \
66877 predeps \
66878 postdeps \
66879 compiler_lib_search_path \
66880 LD_CXX \
66881 reload_flag_CXX \
66882 compiler_CXX \
66883 lt_prog_compiler_no_builtin_flag_CXX \
66884 lt_prog_compiler_wl_CXX \
66885 lt_prog_compiler_pic_CXX \
66886 lt_prog_compiler_static_CXX \
66887 lt_cv_prog_compiler_c_o_CXX \
66888 export_dynamic_flag_spec_CXX \
66889 whole_archive_flag_spec_CXX \
66890 compiler_needs_object_CXX \
66891 with_gnu_ld_CXX \
66892 allow_undefined_flag_CXX \
66893 no_undefined_flag_CXX \
66894 hardcode_libdir_flag_spec_CXX \
66895 hardcode_libdir_flag_spec_ld_CXX \
66896 hardcode_libdir_separator_CXX \
66897 fix_srcfile_path_CXX \
66898 exclude_expsyms_CXX \
66899 include_expsyms_CXX \
66900 file_list_spec_CXX \
66901 compiler_lib_search_dirs_CXX \
66902 predep_objects_CXX \
66903 postdep_objects_CXX \
66904 predeps_CXX \
66905 postdeps_CXX \
66906 compiler_lib_search_path_CXX; do
66907 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66908 *[\\\\\\\`\\"\\\$]*)
66909 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
66912 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66914 esac
66915 done
66917 # Double-quote double-evaled strings.
66918 for var in reload_cmds \
66919 old_postinstall_cmds \
66920 old_postuninstall_cmds \
66921 old_archive_cmds \
66922 extract_expsyms_cmds \
66923 old_archive_from_new_cmds \
66924 old_archive_from_expsyms_cmds \
66925 archive_cmds \
66926 archive_expsym_cmds \
66927 module_cmds \
66928 module_expsym_cmds \
66929 export_symbols_cmds \
66930 prelink_cmds \
66931 postinstall_cmds \
66932 postuninstall_cmds \
66933 finish_cmds \
66934 sys_lib_search_path_spec \
66935 sys_lib_dlsearch_path_spec \
66936 reload_cmds_CXX \
66937 old_archive_cmds_CXX \
66938 old_archive_from_new_cmds_CXX \
66939 old_archive_from_expsyms_cmds_CXX \
66940 archive_cmds_CXX \
66941 archive_expsym_cmds_CXX \
66942 module_cmds_CXX \
66943 module_expsym_cmds_CXX \
66944 export_symbols_cmds_CXX \
66945 prelink_cmds_CXX; do
66946 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66947 *[\\\\\\\`\\"\\\$]*)
66948 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
66951 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66953 esac
66954 done
66956 ac_aux_dir='$ac_aux_dir'
66957 xsi_shell='$xsi_shell'
66958 lt_shell_append='$lt_shell_append'
66960 # See if we are running on zsh, and set the options which allow our
66961 # commands through without removal of \ escapes INIT.
66962 if test -n "\${ZSH_VERSION+set}" ; then
66963 setopt NO_GLOB_SUBST
66967 PACKAGE='$PACKAGE'
66968 VERSION='$VERSION'
66969 TIMESTAMP='$TIMESTAMP'
66970 RM='$RM'
66971 ofile='$ofile'
66978 GCC="$GCC"
66979 CC="$CC"
66980 acx_cv_header_stdint="$acx_cv_header_stdint"
66981 acx_cv_type_int8_t="$acx_cv_type_int8_t"
66982 acx_cv_type_int16_t="$acx_cv_type_int16_t"
66983 acx_cv_type_int32_t="$acx_cv_type_int32_t"
66984 acx_cv_type_int64_t="$acx_cv_type_int64_t"
66985 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
66986 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
66987 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
66988 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
66989 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
66990 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
66991 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
66992 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
66993 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
66996 _ACEOF
66998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67000 # Handling of arguments.
67001 for ac_config_target in $ac_config_targets
67003 case $ac_config_target in
67004 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67005 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67006 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67007 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67008 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67009 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67010 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67011 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67012 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67013 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67014 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67015 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67016 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67017 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67018 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67020 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67021 esac
67022 done
67025 # If the user did not use the arguments to specify the items to instantiate,
67026 # then the envvar interface is used. Set only those that are not.
67027 # We use the long form for the default assignment because of an extremely
67028 # bizarre bug on SunOS 4.1.3.
67029 if $ac_need_defaults; then
67030 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67031 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67032 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67035 # Have a temporary directory for convenience. Make it in the build tree
67036 # simply because there is no reason against having it here, and in addition,
67037 # creating and moving files from /tmp can sometimes cause problems.
67038 # Hook for its removal unless debugging.
67039 # Note that there is a small window in which the directory will not be cleaned:
67040 # after its creation but before its name has been assigned to `$tmp'.
67041 $debug ||
67043 tmp=
67044 trap 'exit_status=$?
67045 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67047 trap 'as_fn_exit 1' 1 2 13 15
67049 # Create a (secure) tmp directory for tmp files.
67052 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67053 test -n "$tmp" && test -d "$tmp"
67054 } ||
67056 tmp=./conf$$-$RANDOM
67057 (umask 077 && mkdir "$tmp")
67058 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67060 # Set up the scripts for CONFIG_FILES section.
67061 # No need to generate them if there are no CONFIG_FILES.
67062 # This happens for instance with `./config.status config.h'.
67063 if test -n "$CONFIG_FILES"; then
67066 ac_cr=`echo X | tr X '\015'`
67067 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67068 # But we know of no other shell where ac_cr would be empty at this
67069 # point, so we can use a bashism as a fallback.
67070 if test "x$ac_cr" = x; then
67071 eval ac_cr=\$\'\\r\'
67073 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67074 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67075 ac_cs_awk_cr='\r'
67076 else
67077 ac_cs_awk_cr=$ac_cr
67080 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67081 _ACEOF
67085 echo "cat >conf$$subs.awk <<_ACEOF" &&
67086 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67087 echo "_ACEOF"
67088 } >conf$$subs.sh ||
67089 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67090 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67091 ac_delim='%!_!# '
67092 for ac_last_try in false false false false false :; do
67093 . ./conf$$subs.sh ||
67094 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67096 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67097 if test $ac_delim_n = $ac_delim_num; then
67098 break
67099 elif $ac_last_try; then
67100 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67101 else
67102 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67104 done
67105 rm -f conf$$subs.sh
67107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67108 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67109 _ACEOF
67110 sed -n '
67112 s/^/S["/; s/!.*/"]=/
67115 s/^[^!]*!//
67116 :repl
67117 t repl
67118 s/'"$ac_delim"'$//
67119 t delim
67122 s/\(.\{148\}\).*/\1/
67123 t more1
67124 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67127 b repl
67128 :more1
67129 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67132 s/.\{148\}//
67133 t nl
67134 :delim
67136 s/\(.\{148\}\).*/\1/
67137 t more2
67138 s/["\\]/\\&/g; s/^/"/; s/$/"/
67141 :more2
67142 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67145 s/.\{148\}//
67146 t delim
67147 ' <conf$$subs.awk | sed '
67148 /^[^""]/{
67150 s/\n//
67152 ' >>$CONFIG_STATUS || ac_write_fail=1
67153 rm -f conf$$subs.awk
67154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67155 _ACAWK
67156 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67157 for (key in S) S_is_set[key] = 1
67158 FS = "\a"
67162 line = $ 0
67163 nfields = split(line, field, "@")
67164 substed = 0
67165 len = length(field[1])
67166 for (i = 2; i < nfields; i++) {
67167 key = field[i]
67168 keylen = length(key)
67169 if (S_is_set[key]) {
67170 value = S[key]
67171 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67172 len += length(value) + length(field[++i])
67173 substed = 1
67174 } else
67175 len += 1 + keylen
67178 print line
67181 _ACAWK
67182 _ACEOF
67183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67184 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67185 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67186 else
67188 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67189 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67190 _ACEOF
67192 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67193 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67194 # trailing colons and then remove the whole line if VPATH becomes empty
67195 # (actually we leave an empty line to preserve line numbers).
67196 if test "x$srcdir" = x.; then
67197 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67198 s/:*\$(srcdir):*/:/
67199 s/:*\${srcdir}:*/:/
67200 s/:*@srcdir@:*/:/
67201 s/^\([^=]*=[ ]*\):*/\1/
67202 s/:*$//
67203 s/^[^=]*=[ ]*$//
67207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67208 fi # test -n "$CONFIG_FILES"
67210 # Set up the scripts for CONFIG_HEADERS section.
67211 # No need to generate them if there are no CONFIG_HEADERS.
67212 # This happens for instance with `./config.status Makefile'.
67213 if test -n "$CONFIG_HEADERS"; then
67214 cat >"$tmp/defines.awk" <<\_ACAWK ||
67215 BEGIN {
67216 _ACEOF
67218 # Transform confdefs.h into an awk script `defines.awk', embedded as
67219 # here-document in config.status, that substitutes the proper values into
67220 # config.h.in to produce config.h.
67222 # Create a delimiter string that does not exist in confdefs.h, to ease
67223 # handling of long lines.
67224 ac_delim='%!_!# '
67225 for ac_last_try in false false :; do
67226 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67227 if test -z "$ac_t"; then
67228 break
67229 elif $ac_last_try; then
67230 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67231 else
67232 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67234 done
67236 # For the awk script, D is an array of macro values keyed by name,
67237 # likewise P contains macro parameters if any. Preserve backslash
67238 # newline sequences.
67240 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67241 sed -n '
67242 s/.\{148\}/&'"$ac_delim"'/g
67243 t rset
67244 :rset
67245 s/^[ ]*#[ ]*define[ ][ ]*/ /
67246 t def
67248 :def
67249 s/\\$//
67250 t bsnl
67251 s/["\\]/\\&/g
67252 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67253 D["\1"]=" \3"/p
67254 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67256 :bsnl
67257 s/["\\]/\\&/g
67258 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67259 D["\1"]=" \3\\\\\\n"\\/p
67260 t cont
67261 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67262 t cont
67264 :cont
67266 s/.\{148\}/&'"$ac_delim"'/g
67267 t clear
67268 :clear
67269 s/\\$//
67270 t bsnlc
67271 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67273 :bsnlc
67274 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67275 b cont
67276 ' <confdefs.h | sed '
67277 s/'"$ac_delim"'/"\\\
67278 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67281 for (key in D) D_is_set[key] = 1
67282 FS = "\a"
67284 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67285 line = \$ 0
67286 split(line, arg, " ")
67287 if (arg[1] == "#") {
67288 defundef = arg[2]
67289 mac1 = arg[3]
67290 } else {
67291 defundef = substr(arg[1], 2)
67292 mac1 = arg[2]
67294 split(mac1, mac2, "(") #)
67295 macro = mac2[1]
67296 prefix = substr(line, 1, index(line, defundef) - 1)
67297 if (D_is_set[macro]) {
67298 # Preserve the white space surrounding the "#".
67299 print prefix "define", macro P[macro] D[macro]
67300 next
67301 } else {
67302 # Replace #undef with comments. This is necessary, for example,
67303 # in the case of _POSIX_SOURCE, which is predefined and required
67304 # on some systems where configure will not decide to define it.
67305 if (defundef == "undef") {
67306 print "/*", prefix defundef, macro, "*/"
67307 next
67311 { print }
67312 _ACAWK
67313 _ACEOF
67314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67315 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67316 fi # test -n "$CONFIG_HEADERS"
67319 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67320 shift
67321 for ac_tag
67323 case $ac_tag in
67324 :[FHLC]) ac_mode=$ac_tag; continue;;
67325 esac
67326 case $ac_mode$ac_tag in
67327 :[FHL]*:*);;
67328 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67329 :[FH]-) ac_tag=-:-;;
67330 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67331 esac
67332 ac_save_IFS=$IFS
67333 IFS=:
67334 set x $ac_tag
67335 IFS=$ac_save_IFS
67336 shift
67337 ac_file=$1
67338 shift
67340 case $ac_mode in
67341 :L) ac_source=$1;;
67342 :[FH])
67343 ac_file_inputs=
67344 for ac_f
67346 case $ac_f in
67347 -) ac_f="$tmp/stdin";;
67348 *) # Look for the file first in the build tree, then in the source tree
67349 # (if the path is not absolute). The absolute path cannot be DOS-style,
67350 # because $ac_f cannot contain `:'.
67351 test -f "$ac_f" ||
67352 case $ac_f in
67353 [\\/$]*) false;;
67354 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67355 esac ||
67356 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67357 esac
67358 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67359 as_fn_append ac_file_inputs " '$ac_f'"
67360 done
67362 # Let's still pretend it is `configure' which instantiates (i.e., don't
67363 # use $as_me), people would be surprised to read:
67364 # /* config.h. Generated by config.status. */
67365 configure_input='Generated from '`
67366 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67367 `' by configure.'
67368 if test x"$ac_file" != x-; then
67369 configure_input="$ac_file. $configure_input"
67370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67371 $as_echo "$as_me: creating $ac_file" >&6;}
67373 # Neutralize special characters interpreted by sed in replacement strings.
67374 case $configure_input in #(
67375 *\&* | *\|* | *\\* )
67376 ac_sed_conf_input=`$as_echo "$configure_input" |
67377 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67378 *) ac_sed_conf_input=$configure_input;;
67379 esac
67381 case $ac_tag in
67382 *:-:* | *:-) cat >"$tmp/stdin" \
67383 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67384 esac
67386 esac
67388 ac_dir=`$as_dirname -- "$ac_file" ||
67389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67390 X"$ac_file" : 'X\(//\)[^/]' \| \
67391 X"$ac_file" : 'X\(//\)$' \| \
67392 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67393 $as_echo X"$ac_file" |
67394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67395 s//\1/
67398 /^X\(\/\/\)[^/].*/{
67399 s//\1/
67402 /^X\(\/\/\)$/{
67403 s//\1/
67406 /^X\(\/\).*/{
67407 s//\1/
67410 s/.*/./; q'`
67411 as_dir="$ac_dir"; as_fn_mkdir_p
67412 ac_builddir=.
67414 case "$ac_dir" in
67415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67417 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67418 # A ".." for each directory in $ac_dir_suffix.
67419 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67420 case $ac_top_builddir_sub in
67421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67423 esac ;;
67424 esac
67425 ac_abs_top_builddir=$ac_pwd
67426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67427 # for backward compatibility:
67428 ac_top_builddir=$ac_top_build_prefix
67430 case $srcdir in
67431 .) # We are building in place.
67432 ac_srcdir=.
67433 ac_top_srcdir=$ac_top_builddir_sub
67434 ac_abs_top_srcdir=$ac_pwd ;;
67435 [\\/]* | ?:[\\/]* ) # Absolute name.
67436 ac_srcdir=$srcdir$ac_dir_suffix;
67437 ac_top_srcdir=$srcdir
67438 ac_abs_top_srcdir=$srcdir ;;
67439 *) # Relative name.
67440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67441 ac_top_srcdir=$ac_top_build_prefix$srcdir
67442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67443 esac
67444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67447 case $ac_mode in
67450 # CONFIG_FILE
67453 case $INSTALL in
67454 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67455 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67456 esac
67457 ac_MKDIR_P=$MKDIR_P
67458 case $MKDIR_P in
67459 [\\/$]* | ?:[\\/]* ) ;;
67460 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67461 esac
67462 _ACEOF
67464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67465 # If the template does not know about datarootdir, expand it.
67466 # FIXME: This hack should be removed a few years after 2.60.
67467 ac_datarootdir_hack=; ac_datarootdir_seen=
67468 ac_sed_dataroot='
67469 /datarootdir/ {
67473 /@datadir@/p
67474 /@docdir@/p
67475 /@infodir@/p
67476 /@localedir@/p
67477 /@mandir@/p'
67478 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67479 *datarootdir*) ac_datarootdir_seen=yes;;
67480 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67482 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67483 _ACEOF
67484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67485 ac_datarootdir_hack='
67486 s&@datadir@&$datadir&g
67487 s&@docdir@&$docdir&g
67488 s&@infodir@&$infodir&g
67489 s&@localedir@&$localedir&g
67490 s&@mandir@&$mandir&g
67491 s&\\\${datarootdir}&$datarootdir&g' ;;
67492 esac
67493 _ACEOF
67495 # Neutralize VPATH when `$srcdir' = `.'.
67496 # Shell code in configure.ac might set extrasub.
67497 # FIXME: do we really want to maintain this feature?
67498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67499 ac_sed_extra="$ac_vpsub
67500 $extrasub
67501 _ACEOF
67502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67504 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67505 s|@configure_input@|$ac_sed_conf_input|;t t
67506 s&@top_builddir@&$ac_top_builddir_sub&;t t
67507 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67508 s&@srcdir@&$ac_srcdir&;t t
67509 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67510 s&@top_srcdir@&$ac_top_srcdir&;t t
67511 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67512 s&@builddir@&$ac_builddir&;t t
67513 s&@abs_builddir@&$ac_abs_builddir&;t t
67514 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67515 s&@INSTALL@&$ac_INSTALL&;t t
67516 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67517 $ac_datarootdir_hack
67519 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67520 || as_fn_error "could not create $ac_file" "$LINENO" 5
67522 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67523 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67524 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67526 which seems to be undefined. Please make sure it is defined." >&5
67527 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67528 which seems to be undefined. Please make sure it is defined." >&2;}
67530 rm -f "$tmp/stdin"
67531 case $ac_file in
67532 -) cat "$tmp/out" && rm -f "$tmp/out";;
67533 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67534 esac \
67535 || as_fn_error "could not create $ac_file" "$LINENO" 5
67539 # CONFIG_HEADER
67541 if test x"$ac_file" != x-; then
67543 $as_echo "/* $configure_input */" \
67544 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67545 } >"$tmp/config.h" \
67546 || as_fn_error "could not create $ac_file" "$LINENO" 5
67547 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67548 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67549 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67550 else
67551 rm -f "$ac_file"
67552 mv "$tmp/config.h" "$ac_file" \
67553 || as_fn_error "could not create $ac_file" "$LINENO" 5
67555 else
67556 $as_echo "/* $configure_input */" \
67557 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67558 || as_fn_error "could not create -" "$LINENO" 5
67560 # Compute "$ac_file"'s index in $config_headers.
67561 _am_arg="$ac_file"
67562 _am_stamp_count=1
67563 for _am_header in $config_headers :; do
67564 case $_am_header in
67565 $_am_arg | $_am_arg:* )
67566 break ;;
67568 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67569 esac
67570 done
67571 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67572 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67573 X"$_am_arg" : 'X\(//\)[^/]' \| \
67574 X"$_am_arg" : 'X\(//\)$' \| \
67575 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67576 $as_echo X"$_am_arg" |
67577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67578 s//\1/
67581 /^X\(\/\/\)[^/].*/{
67582 s//\1/
67585 /^X\(\/\/\)$/{
67586 s//\1/
67589 /^X\(\/\).*/{
67590 s//\1/
67593 s/.*/./; q'`/stamp-h$_am_stamp_count
67596 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67597 $as_echo "$as_me: executing $ac_file commands" >&6;}
67599 esac
67602 case $ac_file$ac_mode in
67603 "default-1":C)
67604 # Only add multilib support code if we just rebuilt the top-level
67605 # Makefile.
67606 case " $CONFIG_FILES " in
67607 *" Makefile "*)
67608 ac_file=Makefile . ${multi_basedir}/config-ml.in
67610 esac ;;
67611 "libtool":C)
67613 # See if we are running on zsh, and set the options which allow our
67614 # commands through without removal of \ escapes.
67615 if test -n "${ZSH_VERSION+set}" ; then
67616 setopt NO_GLOB_SUBST
67619 cfgfile="${ofile}T"
67620 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67621 $RM "$cfgfile"
67623 cat <<_LT_EOF >> "$cfgfile"
67624 #! $SHELL
67626 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67627 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67628 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67629 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67631 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67632 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67633 # Written by Gordon Matzigkeit, 1996
67635 # This file is part of GNU Libtool.
67637 # GNU Libtool is free software; you can redistribute it and/or
67638 # modify it under the terms of the GNU General Public License as
67639 # published by the Free Software Foundation; either version 2 of
67640 # the License, or (at your option) any later version.
67642 # As a special exception to the GNU General Public License,
67643 # if you distribute this file as part of a program or library that
67644 # is built using GNU Libtool, you may include this file under the
67645 # same distribution terms that you use for the rest of that program.
67647 # GNU Libtool is distributed in the hope that it will be useful,
67648 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67649 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67650 # GNU General Public License for more details.
67652 # You should have received a copy of the GNU General Public License
67653 # along with GNU Libtool; see the file COPYING. If not, a copy
67654 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67655 # obtained by writing to the Free Software Foundation, Inc.,
67656 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67659 # The names of the tagged configurations supported by this script.
67660 available_tags="CXX "
67662 # ### BEGIN LIBTOOL CONFIG
67664 # Which release of libtool.m4 was used?
67665 macro_version=$macro_version
67666 macro_revision=$macro_revision
67668 # Whether or not to build shared libraries.
67669 build_libtool_libs=$enable_shared
67671 # Whether or not to build static libraries.
67672 build_old_libs=$enable_static
67674 # What type of objects to build.
67675 pic_mode=$pic_mode
67677 # Whether or not to optimize for fast installation.
67678 fast_install=$enable_fast_install
67680 # Shell to use when invoking shell scripts.
67681 SHELL=$lt_SHELL
67683 # An echo program that protects backslashes.
67684 ECHO=$lt_ECHO
67686 # The host system.
67687 host_alias=$host_alias
67688 host=$host
67689 host_os=$host_os
67691 # The build system.
67692 build_alias=$build_alias
67693 build=$build
67694 build_os=$build_os
67696 # A sed program that does not truncate output.
67697 SED=$lt_SED
67699 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67700 Xsed="\$SED -e 1s/^X//"
67702 # A grep program that handles long lines.
67703 GREP=$lt_GREP
67705 # An ERE matcher.
67706 EGREP=$lt_EGREP
67708 # A literal string matcher.
67709 FGREP=$lt_FGREP
67711 # A BSD- or MS-compatible name lister.
67712 NM=$lt_NM
67714 # Whether we need soft or hard links.
67715 LN_S=$lt_LN_S
67717 # What is the maximum length of a command?
67718 max_cmd_len=$max_cmd_len
67720 # Object file suffix (normally "o").
67721 objext=$ac_objext
67723 # Executable file suffix (normally "").
67724 exeext=$exeext
67726 # whether the shell understands "unset".
67727 lt_unset=$lt_unset
67729 # turn spaces into newlines.
67730 SP2NL=$lt_lt_SP2NL
67732 # turn newlines into spaces.
67733 NL2SP=$lt_lt_NL2SP
67735 # An object symbol dumper.
67736 OBJDUMP=$lt_OBJDUMP
67738 # Method to check whether dependent libraries are shared objects.
67739 deplibs_check_method=$lt_deplibs_check_method
67741 # Command to use when deplibs_check_method == "file_magic".
67742 file_magic_cmd=$lt_file_magic_cmd
67744 # The archiver.
67745 AR=$lt_AR
67746 AR_FLAGS=$lt_AR_FLAGS
67748 # A symbol stripping program.
67749 STRIP=$lt_STRIP
67751 # Commands used to install an old-style archive.
67752 RANLIB=$lt_RANLIB
67753 old_postinstall_cmds=$lt_old_postinstall_cmds
67754 old_postuninstall_cmds=$lt_old_postuninstall_cmds
67756 # Whether to use a lock for old archive extraction.
67757 lock_old_archive_extraction=$lock_old_archive_extraction
67759 # A C compiler.
67760 LTCC=$lt_CC
67762 # LTCC compiler flags.
67763 LTCFLAGS=$lt_CFLAGS
67765 # Take the output of nm and produce a listing of raw symbols and C names.
67766 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
67768 # Transform the output of nm in a proper C declaration.
67769 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
67771 # Transform the output of nm in a C name address pair.
67772 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
67774 # Transform the output of nm in a C name address pair when lib prefix is needed.
67775 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
67777 # The name of the directory that contains temporary libtool files.
67778 objdir=$objdir
67780 # Used to examine libraries when file_magic_cmd begins with "file".
67781 MAGIC_CMD=$MAGIC_CMD
67783 # Must we lock files when doing compilation?
67784 need_locks=$lt_need_locks
67786 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
67787 DSYMUTIL=$lt_DSYMUTIL
67789 # Tool to change global to local symbols on Mac OS X.
67790 NMEDIT=$lt_NMEDIT
67792 # Tool to manipulate fat objects and archives on Mac OS X.
67793 LIPO=$lt_LIPO
67795 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
67796 OTOOL=$lt_OTOOL
67798 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
67799 OTOOL64=$lt_OTOOL64
67801 # Old archive suffix (normally "a").
67802 libext=$libext
67804 # Shared library suffix (normally ".so").
67805 shrext_cmds=$lt_shrext_cmds
67807 # The commands to extract the exported symbol list from a shared archive.
67808 extract_expsyms_cmds=$lt_extract_expsyms_cmds
67810 # Variables whose values should be saved in libtool wrapper scripts and
67811 # restored at link time.
67812 variables_saved_for_relink=$lt_variables_saved_for_relink
67814 # Do we need the "lib" prefix for modules?
67815 need_lib_prefix=$need_lib_prefix
67817 # Do we need a version for libraries?
67818 need_version=$need_version
67820 # Library versioning type.
67821 version_type=$version_type
67823 # Shared library runtime path variable.
67824 runpath_var=$runpath_var
67826 # Shared library path variable.
67827 shlibpath_var=$shlibpath_var
67829 # Is shlibpath searched before the hard-coded library search path?
67830 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
67832 # Format of library name prefix.
67833 libname_spec=$lt_libname_spec
67835 # List of archive names. First name is the real one, the rest are links.
67836 # The last name is the one that the linker finds with -lNAME
67837 library_names_spec=$lt_library_names_spec
67839 # The coded name of the library, if different from the real name.
67840 soname_spec=$lt_soname_spec
67842 # Permission mode override for installation of shared libraries.
67843 install_override_mode=$lt_install_override_mode
67845 # Command to use after installation of a shared archive.
67846 postinstall_cmds=$lt_postinstall_cmds
67848 # Command to use after uninstallation of a shared archive.
67849 postuninstall_cmds=$lt_postuninstall_cmds
67851 # Commands used to finish a libtool library installation in a directory.
67852 finish_cmds=$lt_finish_cmds
67854 # As "finish_cmds", except a single script fragment to be evaled but
67855 # not shown.
67856 finish_eval=$lt_finish_eval
67858 # Whether we should hardcode library paths into libraries.
67859 hardcode_into_libs=$hardcode_into_libs
67861 # Compile-time system search path for libraries.
67862 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
67864 # Run-time system search path for libraries.
67865 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
67867 # Whether dlopen is supported.
67868 dlopen_support=$enable_dlopen
67870 # Whether dlopen of programs is supported.
67871 dlopen_self=$enable_dlopen_self
67873 # Whether dlopen of statically linked programs is supported.
67874 dlopen_self_static=$enable_dlopen_self_static
67876 # Commands to strip libraries.
67877 old_striplib=$lt_old_striplib
67878 striplib=$lt_striplib
67881 # The linker used to build libraries.
67882 LD=$lt_LD
67884 # How to create reloadable object files.
67885 reload_flag=$lt_reload_flag
67886 reload_cmds=$lt_reload_cmds
67888 # Commands used to build an old-style archive.
67889 old_archive_cmds=$lt_old_archive_cmds
67891 # A language specific compiler.
67892 CC=$lt_compiler
67894 # Is the compiler the GNU compiler?
67895 with_gcc=$GCC
67897 # Compiler flag to turn off builtin functions.
67898 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
67900 # How to pass a linker flag through the compiler.
67901 wl=$lt_lt_prog_compiler_wl
67903 # Additional compiler flags for building library objects.
67904 pic_flag=$lt_lt_prog_compiler_pic
67906 # Compiler flag to prevent dynamic linking.
67907 link_static_flag=$lt_lt_prog_compiler_static
67909 # Does compiler simultaneously support -c and -o options?
67910 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
67912 # Whether or not to add -lc for building shared libraries.
67913 build_libtool_need_lc=$archive_cmds_need_lc
67915 # Whether or not to disallow shared libs when runtime libs are static.
67916 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
67918 # Compiler flag to allow reflexive dlopens.
67919 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
67921 # Compiler flag to generate shared objects directly from archives.
67922 whole_archive_flag_spec=$lt_whole_archive_flag_spec
67924 # Whether the compiler copes with passing no objects directly.
67925 compiler_needs_object=$lt_compiler_needs_object
67927 # Create an old-style archive from a shared archive.
67928 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
67930 # Create a temporary old-style archive to link instead of a shared archive.
67931 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
67933 # Commands used to build a shared archive.
67934 archive_cmds=$lt_archive_cmds
67935 archive_expsym_cmds=$lt_archive_expsym_cmds
67937 # Commands used to build a loadable module if different from building
67938 # a shared archive.
67939 module_cmds=$lt_module_cmds
67940 module_expsym_cmds=$lt_module_expsym_cmds
67942 # Whether we are building with GNU ld or not.
67943 with_gnu_ld=$lt_with_gnu_ld
67945 # Flag that allows shared libraries with undefined symbols to be built.
67946 allow_undefined_flag=$lt_allow_undefined_flag
67948 # Flag that enforces no undefined symbols.
67949 no_undefined_flag=$lt_no_undefined_flag
67951 # Flag to hardcode \$libdir into a binary during linking.
67952 # This must work even if \$libdir does not exist
67953 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
67955 # If ld is used when linking, flag to hardcode \$libdir into a binary
67956 # during linking. This must work even if \$libdir does not exist.
67957 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
67959 # Whether we need a single "-rpath" flag with a separated argument.
67960 hardcode_libdir_separator=$lt_hardcode_libdir_separator
67962 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67963 # DIR into the resulting binary.
67964 hardcode_direct=$hardcode_direct
67966 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67967 # DIR into the resulting binary and the resulting library dependency is
67968 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
67969 # library is relocated.
67970 hardcode_direct_absolute=$hardcode_direct_absolute
67972 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
67973 # into the resulting binary.
67974 hardcode_minus_L=$hardcode_minus_L
67976 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
67977 # into the resulting binary.
67978 hardcode_shlibpath_var=$hardcode_shlibpath_var
67980 # Set to "yes" if building a shared library automatically hardcodes DIR
67981 # into the library and all subsequent libraries and executables linked
67982 # against it.
67983 hardcode_automatic=$hardcode_automatic
67985 # Set to yes if linker adds runtime paths of dependent libraries
67986 # to runtime path list.
67987 inherit_rpath=$inherit_rpath
67989 # Whether libtool must link a program against all its dependency libraries.
67990 link_all_deplibs=$link_all_deplibs
67992 # Fix the shell variable \$srcfile for the compiler.
67993 fix_srcfile_path=$lt_fix_srcfile_path
67995 # Set to "yes" if exported symbols are required.
67996 always_export_symbols=$always_export_symbols
67998 # The commands to list exported symbols.
67999 export_symbols_cmds=$lt_export_symbols_cmds
68001 # Symbols that should not be listed in the preloaded symbols.
68002 exclude_expsyms=$lt_exclude_expsyms
68004 # Symbols that must always be exported.
68005 include_expsyms=$lt_include_expsyms
68007 # Commands necessary for linking programs (against libraries) with templates.
68008 prelink_cmds=$lt_prelink_cmds
68010 # Specify filename containing input files.
68011 file_list_spec=$lt_file_list_spec
68013 # How to hardcode a shared library path into an executable.
68014 hardcode_action=$hardcode_action
68016 # The directories searched by this compiler when creating a shared library.
68017 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68019 # Dependencies to place before and after the objects being linked to
68020 # create a shared library.
68021 predep_objects=$lt_predep_objects
68022 postdep_objects=$lt_postdep_objects
68023 predeps=$lt_predeps
68024 postdeps=$lt_postdeps
68026 # The library search path used internally by the compiler when linking
68027 # a shared library.
68028 compiler_lib_search_path=$lt_compiler_lib_search_path
68030 # ### END LIBTOOL CONFIG
68032 _LT_EOF
68034 case $host_os in
68035 aix3*)
68036 cat <<\_LT_EOF >> "$cfgfile"
68037 # AIX sometimes has problems with the GCC collect2 program. For some
68038 # reason, if we set the COLLECT_NAMES environment variable, the problems
68039 # vanish in a puff of smoke.
68040 if test "X${COLLECT_NAMES+set}" != Xset; then
68041 COLLECT_NAMES=
68042 export COLLECT_NAMES
68044 _LT_EOF
68046 esac
68049 ltmain="$ac_aux_dir/ltmain.sh"
68052 # We use sed instead of cat because bash on DJGPP gets confused if
68053 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68054 # text mode, it properly converts lines to CR/LF. This bash problem
68055 # is reportedly fixed, but why not run on old versions too?
68056 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68057 || (rm -f "$cfgfile"; exit 1)
68059 case $xsi_shell in
68060 yes)
68061 cat << \_LT_EOF >> "$cfgfile"
68063 # func_dirname file append nondir_replacement
68064 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68065 # otherwise set result to NONDIR_REPLACEMENT.
68066 func_dirname ()
68068 case ${1} in
68069 */*) func_dirname_result="${1%/*}${2}" ;;
68070 * ) func_dirname_result="${3}" ;;
68071 esac
68074 # func_basename file
68075 func_basename ()
68077 func_basename_result="${1##*/}"
68080 # func_dirname_and_basename file append nondir_replacement
68081 # perform func_basename and func_dirname in a single function
68082 # call:
68083 # dirname: Compute the dirname of FILE. If nonempty,
68084 # add APPEND to the result, otherwise set result
68085 # to NONDIR_REPLACEMENT.
68086 # value returned in "$func_dirname_result"
68087 # basename: Compute filename of FILE.
68088 # value retuned in "$func_basename_result"
68089 # Implementation must be kept synchronized with func_dirname
68090 # and func_basename. For efficiency, we do not delegate to
68091 # those functions but instead duplicate the functionality here.
68092 func_dirname_and_basename ()
68094 case ${1} in
68095 */*) func_dirname_result="${1%/*}${2}" ;;
68096 * ) func_dirname_result="${3}" ;;
68097 esac
68098 func_basename_result="${1##*/}"
68101 # func_stripname prefix suffix name
68102 # strip PREFIX and SUFFIX off of NAME.
68103 # PREFIX and SUFFIX must not contain globbing or regex special
68104 # characters, hashes, percent signs, but SUFFIX may contain a leading
68105 # dot (in which case that matches only a dot).
68106 func_stripname ()
68108 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68109 # positional parameters, so assign one to ordinary parameter first.
68110 func_stripname_result=${3}
68111 func_stripname_result=${func_stripname_result#"${1}"}
68112 func_stripname_result=${func_stripname_result%"${2}"}
68115 # func_opt_split
68116 func_opt_split ()
68118 func_opt_split_opt=${1%%=*}
68119 func_opt_split_arg=${1#*=}
68122 # func_lo2o object
68123 func_lo2o ()
68125 case ${1} in
68126 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68127 *) func_lo2o_result=${1} ;;
68128 esac
68131 # func_xform libobj-or-source
68132 func_xform ()
68134 func_xform_result=${1%.*}.lo
68137 # func_arith arithmetic-term...
68138 func_arith ()
68140 func_arith_result=$(( $* ))
68143 # func_len string
68144 # STRING may not start with a hyphen.
68145 func_len ()
68147 func_len_result=${#1}
68150 _LT_EOF
68152 *) # Bourne compatible functions.
68153 cat << \_LT_EOF >> "$cfgfile"
68155 # func_dirname file append nondir_replacement
68156 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68157 # otherwise set result to NONDIR_REPLACEMENT.
68158 func_dirname ()
68160 # Extract subdirectory from the argument.
68161 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68162 if test "X$func_dirname_result" = "X${1}"; then
68163 func_dirname_result="${3}"
68164 else
68165 func_dirname_result="$func_dirname_result${2}"
68169 # func_basename file
68170 func_basename ()
68172 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68176 # func_stripname prefix suffix name
68177 # strip PREFIX and SUFFIX off of NAME.
68178 # PREFIX and SUFFIX must not contain globbing or regex special
68179 # characters, hashes, percent signs, but SUFFIX may contain a leading
68180 # dot (in which case that matches only a dot).
68181 # func_strip_suffix prefix name
68182 func_stripname ()
68184 case ${2} in
68185 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68186 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68187 esac
68190 # sed scripts:
68191 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68192 my_sed_long_arg='1s/^-[^=]*=//'
68194 # func_opt_split
68195 func_opt_split ()
68197 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68198 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68201 # func_lo2o object
68202 func_lo2o ()
68204 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68207 # func_xform libobj-or-source
68208 func_xform ()
68210 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68213 # func_arith arithmetic-term...
68214 func_arith ()
68216 func_arith_result=`expr "$@"`
68219 # func_len string
68220 # STRING may not start with a hyphen.
68221 func_len ()
68223 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68226 _LT_EOF
68227 esac
68229 case $lt_shell_append in
68230 yes)
68231 cat << \_LT_EOF >> "$cfgfile"
68233 # func_append var value
68234 # Append VALUE to the end of shell variable VAR.
68235 func_append ()
68237 eval "$1+=\$2"
68239 _LT_EOF
68242 cat << \_LT_EOF >> "$cfgfile"
68244 # func_append var value
68245 # Append VALUE to the end of shell variable VAR.
68246 func_append ()
68248 eval "$1=\$$1\$2"
68251 _LT_EOF
68253 esac
68256 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68257 || (rm -f "$cfgfile"; exit 1)
68259 mv -f "$cfgfile" "$ofile" ||
68260 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68261 chmod +x "$ofile"
68264 cat <<_LT_EOF >> "$ofile"
68266 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68268 # The linker used to build libraries.
68269 LD=$lt_LD_CXX
68271 # How to create reloadable object files.
68272 reload_flag=$lt_reload_flag_CXX
68273 reload_cmds=$lt_reload_cmds_CXX
68275 # Commands used to build an old-style archive.
68276 old_archive_cmds=$lt_old_archive_cmds_CXX
68278 # A language specific compiler.
68279 CC=$lt_compiler_CXX
68281 # Is the compiler the GNU compiler?
68282 with_gcc=$GCC_CXX
68284 # Compiler flag to turn off builtin functions.
68285 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68287 # How to pass a linker flag through the compiler.
68288 wl=$lt_lt_prog_compiler_wl_CXX
68290 # Additional compiler flags for building library objects.
68291 pic_flag=$lt_lt_prog_compiler_pic_CXX
68293 # Compiler flag to prevent dynamic linking.
68294 link_static_flag=$lt_lt_prog_compiler_static_CXX
68296 # Does compiler simultaneously support -c and -o options?
68297 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68299 # Whether or not to add -lc for building shared libraries.
68300 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68302 # Whether or not to disallow shared libs when runtime libs are static.
68303 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68305 # Compiler flag to allow reflexive dlopens.
68306 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68308 # Compiler flag to generate shared objects directly from archives.
68309 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68311 # Whether the compiler copes with passing no objects directly.
68312 compiler_needs_object=$lt_compiler_needs_object_CXX
68314 # Create an old-style archive from a shared archive.
68315 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68317 # Create a temporary old-style archive to link instead of a shared archive.
68318 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68320 # Commands used to build a shared archive.
68321 archive_cmds=$lt_archive_cmds_CXX
68322 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68324 # Commands used to build a loadable module if different from building
68325 # a shared archive.
68326 module_cmds=$lt_module_cmds_CXX
68327 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68329 # Whether we are building with GNU ld or not.
68330 with_gnu_ld=$lt_with_gnu_ld_CXX
68332 # Flag that allows shared libraries with undefined symbols to be built.
68333 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68335 # Flag that enforces no undefined symbols.
68336 no_undefined_flag=$lt_no_undefined_flag_CXX
68338 # Flag to hardcode \$libdir into a binary during linking.
68339 # This must work even if \$libdir does not exist
68340 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68342 # If ld is used when linking, flag to hardcode \$libdir into a binary
68343 # during linking. This must work even if \$libdir does not exist.
68344 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68346 # Whether we need a single "-rpath" flag with a separated argument.
68347 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68349 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68350 # DIR into the resulting binary.
68351 hardcode_direct=$hardcode_direct_CXX
68353 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68354 # DIR into the resulting binary and the resulting library dependency is
68355 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68356 # library is relocated.
68357 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68359 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68360 # into the resulting binary.
68361 hardcode_minus_L=$hardcode_minus_L_CXX
68363 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68364 # into the resulting binary.
68365 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68367 # Set to "yes" if building a shared library automatically hardcodes DIR
68368 # into the library and all subsequent libraries and executables linked
68369 # against it.
68370 hardcode_automatic=$hardcode_automatic_CXX
68372 # Set to yes if linker adds runtime paths of dependent libraries
68373 # to runtime path list.
68374 inherit_rpath=$inherit_rpath_CXX
68376 # Whether libtool must link a program against all its dependency libraries.
68377 link_all_deplibs=$link_all_deplibs_CXX
68379 # Fix the shell variable \$srcfile for the compiler.
68380 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68382 # Set to "yes" if exported symbols are required.
68383 always_export_symbols=$always_export_symbols_CXX
68385 # The commands to list exported symbols.
68386 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68388 # Symbols that should not be listed in the preloaded symbols.
68389 exclude_expsyms=$lt_exclude_expsyms_CXX
68391 # Symbols that must always be exported.
68392 include_expsyms=$lt_include_expsyms_CXX
68394 # Commands necessary for linking programs (against libraries) with templates.
68395 prelink_cmds=$lt_prelink_cmds_CXX
68397 # Specify filename containing input files.
68398 file_list_spec=$lt_file_list_spec_CXX
68400 # How to hardcode a shared library path into an executable.
68401 hardcode_action=$hardcode_action_CXX
68403 # The directories searched by this compiler when creating a shared library.
68404 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68406 # Dependencies to place before and after the objects being linked to
68407 # create a shared library.
68408 predep_objects=$lt_predep_objects_CXX
68409 postdep_objects=$lt_postdep_objects_CXX
68410 predeps=$lt_predeps_CXX
68411 postdeps=$lt_postdeps_CXX
68413 # The library search path used internally by the compiler when linking
68414 # a shared library.
68415 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68417 # ### END LIBTOOL TAG CONFIG: CXX
68418 _LT_EOF
68421 "include/gstdint.h":C)
68422 if test "$GCC" = yes; then
68423 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68424 else
68425 echo "/* generated for $CC */" > tmp-stdint.h
68428 sed 's/^ *//' >> tmp-stdint.h <<EOF
68430 #ifndef GCC_GENERATED_STDINT_H
68431 #define GCC_GENERATED_STDINT_H 1
68433 #include <sys/types.h>
68436 if test "$acx_cv_header_stdint" != stdint.h; then
68437 echo "#include <stddef.h>" >> tmp-stdint.h
68439 if test "$acx_cv_header_stdint" != stddef.h; then
68440 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68443 sed 's/^ *//' >> tmp-stdint.h <<EOF
68444 /* glibc uses these symbols as guards to prevent redefinitions. */
68445 #ifdef __int8_t_defined
68446 #define _INT8_T
68447 #define _INT16_T
68448 #define _INT32_T
68449 #endif
68450 #ifdef __uint32_t_defined
68451 #define _UINT32_T
68452 #endif
68456 # ----------------- done header, emit basic int types -------------
68457 if test "$acx_cv_header_stdint" = stddef.h; then
68458 sed 's/^ *//' >> tmp-stdint.h <<EOF
68460 #ifndef _UINT8_T
68461 #define _UINT8_T
68462 #ifndef __uint8_t_defined
68463 #define __uint8_t_defined
68464 #ifndef uint8_t
68465 typedef unsigned $acx_cv_type_int8_t uint8_t;
68466 #endif
68467 #endif
68468 #endif
68470 #ifndef _UINT16_T
68471 #define _UINT16_T
68472 #ifndef __uint16_t_defined
68473 #define __uint16_t_defined
68474 #ifndef uint16_t
68475 typedef unsigned $acx_cv_type_int16_t uint16_t;
68476 #endif
68477 #endif
68478 #endif
68480 #ifndef _UINT32_T
68481 #define _UINT32_T
68482 #ifndef __uint32_t_defined
68483 #define __uint32_t_defined
68484 #ifndef uint32_t
68485 typedef unsigned $acx_cv_type_int32_t uint32_t;
68486 #endif
68487 #endif
68488 #endif
68490 #ifndef _INT8_T
68491 #define _INT8_T
68492 #ifndef __int8_t_defined
68493 #define __int8_t_defined
68494 #ifndef int8_t
68495 typedef $acx_cv_type_int8_t int8_t;
68496 #endif
68497 #endif
68498 #endif
68500 #ifndef _INT16_T
68501 #define _INT16_T
68502 #ifndef __int16_t_defined
68503 #define __int16_t_defined
68504 #ifndef int16_t
68505 typedef $acx_cv_type_int16_t int16_t;
68506 #endif
68507 #endif
68508 #endif
68510 #ifndef _INT32_T
68511 #define _INT32_T
68512 #ifndef __int32_t_defined
68513 #define __int32_t_defined
68514 #ifndef int32_t
68515 typedef $acx_cv_type_int32_t int32_t;
68516 #endif
68517 #endif
68518 #endif
68520 elif test "$ac_cv_type_u_int32_t" = yes; then
68521 sed 's/^ *//' >> tmp-stdint.h <<EOF
68523 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68524 #ifndef _INT8_T
68525 #define _INT8_T
68526 #endif
68527 #ifndef _INT16_T
68528 #define _INT16_T
68529 #endif
68530 #ifndef _INT32_T
68531 #define _INT32_T
68532 #endif
68534 #ifndef _UINT8_T
68535 #define _UINT8_T
68536 #ifndef __uint8_t_defined
68537 #define __uint8_t_defined
68538 #ifndef uint8_t
68539 typedef u_int8_t uint8_t;
68540 #endif
68541 #endif
68542 #endif
68544 #ifndef _UINT16_T
68545 #define _UINT16_T
68546 #ifndef __uint16_t_defined
68547 #define __uint16_t_defined
68548 #ifndef uint16_t
68549 typedef u_int16_t uint16_t;
68550 #endif
68551 #endif
68552 #endif
68554 #ifndef _UINT32_T
68555 #define _UINT32_T
68556 #ifndef __uint32_t_defined
68557 #define __uint32_t_defined
68558 #ifndef uint32_t
68559 typedef u_int32_t uint32_t;
68560 #endif
68561 #endif
68562 #endif
68564 else
68565 sed 's/^ *//' >> tmp-stdint.h <<EOF
68567 /* Some systems have guard macros to prevent redefinitions, define them. */
68568 #ifndef _INT8_T
68569 #define _INT8_T
68570 #endif
68571 #ifndef _INT16_T
68572 #define _INT16_T
68573 #endif
68574 #ifndef _INT32_T
68575 #define _INT32_T
68576 #endif
68577 #ifndef _UINT8_T
68578 #define _UINT8_T
68579 #endif
68580 #ifndef _UINT16_T
68581 #define _UINT16_T
68582 #endif
68583 #ifndef _UINT32_T
68584 #define _UINT32_T
68585 #endif
68589 # ------------- done basic int types, emit int64_t types ------------
68590 if test "$ac_cv_type_uint64_t" = yes; then
68591 sed 's/^ *//' >> tmp-stdint.h <<EOF
68593 /* system headers have good uint64_t and int64_t */
68594 #ifndef _INT64_T
68595 #define _INT64_T
68596 #endif
68597 #ifndef _UINT64_T
68598 #define _UINT64_T
68599 #endif
68601 elif test "$ac_cv_type_u_int64_t" = yes; then
68602 sed 's/^ *//' >> tmp-stdint.h <<EOF
68604 /* system headers have an u_int64_t (and int64_t) */
68605 #ifndef _INT64_T
68606 #define _INT64_T
68607 #endif
68608 #ifndef _UINT64_T
68609 #define _UINT64_T
68610 #ifndef __uint64_t_defined
68611 #define __uint64_t_defined
68612 #ifndef uint64_t
68613 typedef u_int64_t uint64_t;
68614 #endif
68615 #endif
68616 #endif
68618 elif test -n "$acx_cv_type_int64_t"; then
68619 sed 's/^ *//' >> tmp-stdint.h <<EOF
68621 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68622 #ifndef _INT64_T
68623 #define _INT64_T
68624 #ifndef int64_t
68625 typedef $acx_cv_type_int64_t int64_t;
68626 #endif
68627 #endif
68628 #ifndef _UINT64_T
68629 #define _UINT64_T
68630 #ifndef __uint64_t_defined
68631 #define __uint64_t_defined
68632 #ifndef uint64_t
68633 typedef unsigned $acx_cv_type_int64_t uint64_t;
68634 #endif
68635 #endif
68636 #endif
68638 else
68639 sed 's/^ *//' >> tmp-stdint.h <<EOF
68641 /* some common heuristics for int64_t, using compiler-specific tests */
68642 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68643 #ifndef _INT64_T
68644 #define _INT64_T
68645 #ifndef __int64_t_defined
68646 #ifndef int64_t
68647 typedef long long int64_t;
68648 #endif
68649 #endif
68650 #endif
68651 #ifndef _UINT64_T
68652 #define _UINT64_T
68653 #ifndef uint64_t
68654 typedef unsigned long long uint64_t;
68655 #endif
68656 #endif
68658 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68659 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68660 does not implement __extension__. But that compiler doesn't define
68661 __GNUC_MINOR__. */
68662 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68663 # define __extension__
68664 # endif
68666 # ifndef _INT64_T
68667 # define _INT64_T
68668 # ifndef int64_t
68669 __extension__ typedef long long int64_t;
68670 # endif
68671 # endif
68672 # ifndef _UINT64_T
68673 # define _UINT64_T
68674 # ifndef uint64_t
68675 __extension__ typedef unsigned long long uint64_t;
68676 # endif
68677 # endif
68679 #elif !defined __STRICT_ANSI__
68680 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68682 # ifndef _INT64_T
68683 # define _INT64_T
68684 # ifndef int64_t
68685 typedef __int64 int64_t;
68686 # endif
68687 # endif
68688 # ifndef _UINT64_T
68689 # define _UINT64_T
68690 # ifndef uint64_t
68691 typedef unsigned __int64 uint64_t;
68692 # endif
68693 # endif
68694 # endif /* compiler */
68696 #endif /* ANSI version */
68700 # ------------- done int64_t types, emit intptr types ------------
68701 if test "$ac_cv_type_uintptr_t" != yes; then
68702 sed 's/^ *//' >> tmp-stdint.h <<EOF
68704 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68705 #ifndef __uintptr_t_defined
68706 #ifndef uintptr_t
68707 typedef u$acx_cv_type_intptr_t uintptr_t;
68708 #endif
68709 #endif
68710 #ifndef __intptr_t_defined
68711 #ifndef intptr_t
68712 typedef $acx_cv_type_intptr_t intptr_t;
68713 #endif
68714 #endif
68718 # ------------- done intptr types, emit int_least types ------------
68719 if test "$ac_cv_type_int_least32_t" != yes; then
68720 sed 's/^ *//' >> tmp-stdint.h <<EOF
68722 /* Define int_least types */
68723 typedef int8_t int_least8_t;
68724 typedef int16_t int_least16_t;
68725 typedef int32_t int_least32_t;
68726 #ifdef _INT64_T
68727 typedef int64_t int_least64_t;
68728 #endif
68730 typedef uint8_t uint_least8_t;
68731 typedef uint16_t uint_least16_t;
68732 typedef uint32_t uint_least32_t;
68733 #ifdef _UINT64_T
68734 typedef uint64_t uint_least64_t;
68735 #endif
68739 # ------------- done intptr types, emit int_fast types ------------
68740 if test "$ac_cv_type_int_fast32_t" != yes; then
68741 sed 's/^ *//' >> tmp-stdint.h <<EOF
68743 /* Define int_fast types. short is often slow */
68744 typedef int8_t int_fast8_t;
68745 typedef int int_fast16_t;
68746 typedef int32_t int_fast32_t;
68747 #ifdef _INT64_T
68748 typedef int64_t int_fast64_t;
68749 #endif
68751 typedef uint8_t uint_fast8_t;
68752 typedef unsigned int uint_fast16_t;
68753 typedef uint32_t uint_fast32_t;
68754 #ifdef _UINT64_T
68755 typedef uint64_t uint_fast64_t;
68756 #endif
68760 if test "$ac_cv_type_uintmax_t" != yes; then
68761 sed 's/^ *//' >> tmp-stdint.h <<EOF
68763 /* Define intmax based on what we found */
68764 #ifndef intmax_t
68765 #ifdef _INT64_T
68766 typedef int64_t intmax_t;
68767 #else
68768 typedef long intmax_t;
68769 #endif
68770 #endif
68771 #ifndef uintmax_t
68772 #ifdef _UINT64_T
68773 typedef uint64_t uintmax_t;
68774 #else
68775 typedef unsigned long uintmax_t;
68776 #endif
68777 #endif
68781 sed 's/^ *//' >> tmp-stdint.h <<EOF
68783 #endif /* GCC_GENERATED_STDINT_H */
68786 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
68787 rm -f tmp-stdint.h
68788 else
68789 mv -f tmp-stdint.h include/gstdint.h
68793 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
68794 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
68795 "include/Makefile":F) cat > vpsed$$ << \_EOF
68796 s!`test -f '$<' || echo '$(srcdir)/'`!!
68797 _EOF
68798 sed -f vpsed$$ $ac_file > tmp$$
68799 mv tmp$$ $ac_file
68800 rm vpsed$$
68801 echo 'MULTISUBDIR =' >> $ac_file
68802 ml_norecursion=yes
68803 . ${multi_basedir}/config-ml.in
68804 { ml_norecursion=; unset ml_norecursion;}
68806 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
68807 s!`test -f '$<' || echo '$(srcdir)/'`!!
68808 _EOF
68809 sed -f vpsed$$ $ac_file > tmp$$
68810 mv tmp$$ $ac_file
68811 rm vpsed$$
68812 echo 'MULTISUBDIR =' >> $ac_file
68813 ml_norecursion=yes
68814 . ${multi_basedir}/config-ml.in
68815 { ml_norecursion=; unset ml_norecursion;}
68817 "python/Makefile":F) cat > vpsed$$ << \_EOF
68818 s!`test -f '$<' || echo '$(srcdir)/'`!!
68819 _EOF
68820 sed -f vpsed$$ $ac_file > tmp$$
68821 mv tmp$$ $ac_file
68822 rm vpsed$$
68823 echo 'MULTISUBDIR =' >> $ac_file
68824 ml_norecursion=yes
68825 . ${multi_basedir}/config-ml.in
68826 { ml_norecursion=; unset ml_norecursion;}
68828 "src/Makefile":F) cat > vpsed$$ << \_EOF
68829 s!`test -f '$<' || echo '$(srcdir)/'`!!
68830 _EOF
68831 sed -f vpsed$$ $ac_file > tmp$$
68832 mv tmp$$ $ac_file
68833 rm vpsed$$
68834 echo 'MULTISUBDIR =' >> $ac_file
68835 ml_norecursion=yes
68836 . ${multi_basedir}/config-ml.in
68837 { ml_norecursion=; unset ml_norecursion;}
68839 "doc/Makefile":F) cat > vpsed$$ << \_EOF
68840 s!`test -f '$<' || echo '$(srcdir)/'`!!
68841 _EOF
68842 sed -f vpsed$$ $ac_file > tmp$$
68843 mv tmp$$ $ac_file
68844 rm vpsed$$
68845 echo 'MULTISUBDIR =' >> $ac_file
68846 ml_norecursion=yes
68847 . ${multi_basedir}/config-ml.in
68848 { ml_norecursion=; unset ml_norecursion;}
68850 "po/Makefile":F) cat > vpsed$$ << \_EOF
68851 s!`test -f '$<' || echo '$(srcdir)/'`!!
68852 _EOF
68853 sed -f vpsed$$ $ac_file > tmp$$
68854 mv tmp$$ $ac_file
68855 rm vpsed$$
68856 echo 'MULTISUBDIR =' >> $ac_file
68857 ml_norecursion=yes
68858 . ${multi_basedir}/config-ml.in
68859 { ml_norecursion=; unset ml_norecursion;}
68861 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
68862 s!`test -f '$<' || echo '$(srcdir)/'`!!
68863 _EOF
68864 sed -f vpsed$$ $ac_file > tmp$$
68865 mv tmp$$ $ac_file
68866 rm vpsed$$
68867 echo 'MULTISUBDIR =' >> $ac_file
68868 ml_norecursion=yes
68869 . ${multi_basedir}/config-ml.in
68870 { ml_norecursion=; unset ml_norecursion;}
68872 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
68874 esac
68875 done # for ac_tag
68878 as_fn_exit 0
68879 _ACEOF
68880 ac_clean_files=$ac_clean_files_save
68882 test $ac_write_fail = 0 ||
68883 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
68886 # configure is writing to config.log, and then calls config.status.
68887 # config.status does its own redirection, appending to config.log.
68888 # Unfortunately, on DOS this fails, as config.log is still kept open
68889 # by configure, so config.status won't be able to write to it; its
68890 # output is simply discarded. So we exec the FD to /dev/null,
68891 # effectively closing config.log, so it can be properly (re)opened and
68892 # appended to by config.status. When coming back to configure, we
68893 # need to make the FD available again.
68894 if test "$no_create" != yes; then
68895 ac_cs_success=:
68896 ac_config_status_args=
68897 test "$silent" = yes &&
68898 ac_config_status_args="$ac_config_status_args --quiet"
68899 exec 5>/dev/null
68900 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
68901 exec 5>>config.log
68902 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68903 # would make configure fail if this is the last instruction.
68904 $ac_cs_success || as_fn_exit $?
68906 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
68907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
68908 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}