2011-04-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / configure
blobc3cd3a68f81306f2b49c91eab6fb2274492fe66a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_dir
643 GLIBCXX_LDBL_COMPAT_FALSE
644 GLIBCXX_LDBL_COMPAT_TRUE
645 ENABLE_VISIBILITY_FALSE
646 ENABLE_VISIBILITY_TRUE
647 ENABLE_SYMVERS_SOL2_FALSE
648 ENABLE_SYMVERS_SOL2_TRUE
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_EXTERN_TEMPLATE_FALSE
668 ENABLE_EXTERN_TEMPLATE_TRUE
669 EXTRA_CXX_FLAGS
670 ENABLE_PARALLEL_FALSE
671 ENABLE_PARALLEL_TRUE
672 GLIBCXX_BUILD_DEBUG_FALSE
673 GLIBCXX_BUILD_DEBUG_TRUE
674 DEBUG_FLAGS
675 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
676 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
677 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
678 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
679 GLIBCXX_C_HEADERS_C_STD_FALSE
680 GLIBCXX_C_HEADERS_C_STD_TRUE
681 GLIBCXX_C_HEADERS_C_FALSE
682 GLIBCXX_C_HEADERS_C_TRUE
683 C_INCLUDE_DIR
684 ALLOCATOR_NAME
685 ALLOCATOR_H
686 CLOCALE_INTERNAL_H
687 CLOCALE_CC
688 CTIME_CC
689 CTIME_H
690 CNUMERIC_CC
691 CMONEY_CC
692 CMESSAGES_CC
693 CCTYPE_CC
694 CCOLLATE_CC
695 CCODECVT_CC
696 CMESSAGES_H
697 CLOCALE_H
698 USE_NLS
699 glibcxx_localedir
700 glibcxx_POFILES
701 glibcxx_MOFILES
702 check_msgfmt
703 BASIC_FILE_CC
704 BASIC_FILE_H
705 CSTDIO_H
706 SECTION_FLAGS
707 WERROR
708 glibcxx_thread_h
709 glibcxx_PCHFLAGS
710 GLIBCXX_BUILD_PCH_FALSE
711 GLIBCXX_BUILD_PCH_TRUE
712 GLIBCXX_HOSTED_FALSE
713 GLIBCXX_HOSTED_TRUE
714 enable_static
715 enable_shared
716 lt_host_flags
717 CXXCPP
718 OTOOL64
719 OTOOL
720 LIPO
721 NMEDIT
722 DSYMUTIL
723 OBJDUMP
725 ac_ct_DUMPBIN
726 DUMPBIN
728 FGREP
730 LIBTOOL
731 EGREP
732 GREP
734 MAINT
735 MAINTAINER_MODE_FALSE
736 MAINTAINER_MODE_TRUE
737 RANLIB
740 LN_S
741 toplevel_srcdir
742 glibcxx_srcdir
743 glibcxx_builddir
744 ac_ct_CXX
745 CXXFLAGS
747 OBJEXT
748 EXEEXT
749 ac_ct_CC
750 CPPFLAGS
751 LDFLAGS
752 CFLAGS
754 am__untar
755 am__tar
756 AMTAR
757 am__leading_dot
758 SET_MAKE
760 mkdir_p
761 MKDIR_P
762 INSTALL_STRIP_PROGRAM
763 STRIP
764 install_sh
765 MAKEINFO
766 AUTOHEADER
767 AUTOMAKE
768 AUTOCONF
769 ACLOCAL
770 VERSION
771 PACKAGE
772 CYGPATH_W
773 am__isrc
774 INSTALL_DATA
775 INSTALL_SCRIPT
776 INSTALL_PROGRAM
777 target_os
778 target_vendor
779 target_cpu
780 target
781 host_os
782 host_vendor
783 host_cpu
784 host
785 build_os
786 build_vendor
787 build_cpu
788 build
789 multi_basedir
790 libtool_VERSION
791 target_alias
792 host_alias
793 build_alias
794 LIBS
795 ECHO_T
796 ECHO_N
797 ECHO_C
798 DEFS
799 mandir
800 localedir
801 libdir
802 psdir
803 pdfdir
804 dvidir
805 htmldir
806 infodir
807 docdir
808 oldincludedir
809 includedir
810 localstatedir
811 sharedstatedir
812 sysconfdir
813 datadir
814 datarootdir
815 libexecdir
816 sbindir
817 bindir
818 program_transform_name
819 prefix
820 exec_prefix
821 PACKAGE_URL
822 PACKAGE_BUGREPORT
823 PACKAGE_STRING
824 PACKAGE_VERSION
825 PACKAGE_TARNAME
826 PACKAGE_NAME
827 PATH_SEPARATOR
828 SHELL'
829 ac_subst_files=''
830 ac_user_opts='
831 enable_option_checking
832 enable_multilib
833 with_target_subdir
834 with_cross_host
835 with_newlib
836 enable_maintainer_mode
837 enable_shared
838 enable_static
839 with_pic
840 enable_fast_install
841 with_gnu_ld
842 enable_libtool_lock
843 enable_hosted_libstdcxx
844 enable_sjlj_exceptions
845 enable_libstdcxx_pch
846 enable_cstdio
847 enable_clocale
848 enable_nls
849 enable_libstdcxx_allocator
850 enable_cheaders
851 enable_long_long
852 enable_wchar_t
853 enable_c99
854 enable_concept_checks
855 enable_libstdcxx_debug_flags
856 enable_libstdcxx_debug
857 enable_cxx_flags
858 enable_fully_dynamic_string
859 enable_extern_template
860 enable_libstdcxx_time
861 enable_tls
862 enable_rpath
863 with_libiconv_prefix
864 with_system_libunwind
865 enable_linux_futex
866 enable_symvers
867 enable_visibility
868 with_gxx_include_dir
869 enable_version_specific_runtime_libs
871 ac_precious_vars='build_alias
872 host_alias
873 target_alias
875 CFLAGS
876 LDFLAGS
877 LIBS
878 CPPFLAGS
880 CXXFLAGS
883 CXXCPP
884 CXXFILT'
887 # Initialize some variables set by options.
888 ac_init_help=
889 ac_init_version=false
890 ac_unrecognized_opts=
891 ac_unrecognized_sep=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
894 cache_file=/dev/null
895 exec_prefix=NONE
896 no_create=
897 no_recursion=
898 prefix=NONE
899 program_prefix=NONE
900 program_suffix=NONE
901 program_transform_name=s,x,x,
902 silent=
903 site=
904 srcdir=
905 verbose=
906 x_includes=NONE
907 x_libraries=NONE
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir='${exec_prefix}/bin'
916 sbindir='${exec_prefix}/sbin'
917 libexecdir='${exec_prefix}/libexec'
918 datarootdir='${prefix}/share'
919 datadir='${datarootdir}'
920 sysconfdir='${prefix}/etc'
921 sharedstatedir='${prefix}/com'
922 localstatedir='${prefix}/var'
923 includedir='${prefix}/include'
924 oldincludedir='/usr/include'
925 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
926 infodir='${datarootdir}/info'
927 htmldir='${docdir}'
928 dvidir='${docdir}'
929 pdfdir='${docdir}'
930 psdir='${docdir}'
931 libdir='${exec_prefix}/lib'
932 localedir='${datarootdir}/locale'
933 mandir='${datarootdir}/man'
935 ac_prev=
936 ac_dashdash=
937 for ac_option
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\$ac_option
942 ac_prev=
943 continue
946 case $ac_option in
947 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
948 *) ac_optarg=yes ;;
949 esac
951 # Accept the important Cygnus configure options, so we can diagnose typos.
953 case $ac_dashdash$ac_option in
955 ac_dashdash=yes ;;
957 -bindir | --bindir | --bindi | --bind | --bin | --bi)
958 ac_prev=bindir ;;
959 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
960 bindir=$ac_optarg ;;
962 -build | --build | --buil | --bui | --bu)
963 ac_prev=build_alias ;;
964 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
965 build_alias=$ac_optarg ;;
967 -cache-file | --cache-file | --cache-fil | --cache-fi \
968 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
969 ac_prev=cache_file ;;
970 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
971 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
972 cache_file=$ac_optarg ;;
974 --config-cache | -C)
975 cache_file=config.cache ;;
977 -datadir | --datadir | --datadi | --datad)
978 ac_prev=datadir ;;
979 -datadir=* | --datadir=* | --datadi=* | --datad=*)
980 datadir=$ac_optarg ;;
982 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
983 | --dataroo | --dataro | --datar)
984 ac_prev=datarootdir ;;
985 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
986 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
987 datarootdir=$ac_optarg ;;
989 -disable-* | --disable-*)
990 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993 as_fn_error "invalid feature name: $ac_useropt"
994 ac_useropt_orig=$ac_useropt
995 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
998 "enable_$ac_useropt"
999 "*) ;;
1000 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1001 ac_unrecognized_sep=', ';;
1002 esac
1003 eval enable_$ac_useropt=no ;;
1005 -docdir | --docdir | --docdi | --doc | --do)
1006 ac_prev=docdir ;;
1007 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1008 docdir=$ac_optarg ;;
1010 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1011 ac_prev=dvidir ;;
1012 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1013 dvidir=$ac_optarg ;;
1015 -enable-* | --enable-*)
1016 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019 as_fn_error "invalid feature name: $ac_useropt"
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_$ac_useropt"
1025 "*) ;;
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1028 esac
1029 eval enable_$ac_useropt=\$ac_optarg ;;
1031 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1032 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1033 | --exec | --exe | --ex)
1034 ac_prev=exec_prefix ;;
1035 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1036 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1037 | --exec=* | --exe=* | --ex=*)
1038 exec_prefix=$ac_optarg ;;
1040 -gas | --gas | --ga | --g)
1041 # Obsolete; use --with-gas.
1042 with_gas=yes ;;
1044 -help | --help | --hel | --he | -h)
1045 ac_init_help=long ;;
1046 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1047 ac_init_help=recursive ;;
1048 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1049 ac_init_help=short ;;
1051 -host | --host | --hos | --ho)
1052 ac_prev=host_alias ;;
1053 -host=* | --host=* | --hos=* | --ho=*)
1054 host_alias=$ac_optarg ;;
1056 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1057 ac_prev=htmldir ;;
1058 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1059 | --ht=*)
1060 htmldir=$ac_optarg ;;
1062 -includedir | --includedir | --includedi | --included | --include \
1063 | --includ | --inclu | --incl | --inc)
1064 ac_prev=includedir ;;
1065 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1066 | --includ=* | --inclu=* | --incl=* | --inc=*)
1067 includedir=$ac_optarg ;;
1069 -infodir | --infodir | --infodi | --infod | --info | --inf)
1070 ac_prev=infodir ;;
1071 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1072 infodir=$ac_optarg ;;
1074 -libdir | --libdir | --libdi | --libd)
1075 ac_prev=libdir ;;
1076 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1077 libdir=$ac_optarg ;;
1079 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1080 | --libexe | --libex | --libe)
1081 ac_prev=libexecdir ;;
1082 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1083 | --libexe=* | --libex=* | --libe=*)
1084 libexecdir=$ac_optarg ;;
1086 -localedir | --localedir | --localedi | --localed | --locale)
1087 ac_prev=localedir ;;
1088 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1089 localedir=$ac_optarg ;;
1091 -localstatedir | --localstatedir | --localstatedi | --localstated \
1092 | --localstate | --localstat | --localsta | --localst | --locals)
1093 ac_prev=localstatedir ;;
1094 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1095 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1096 localstatedir=$ac_optarg ;;
1098 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1099 ac_prev=mandir ;;
1100 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1101 mandir=$ac_optarg ;;
1103 -nfp | --nfp | --nf)
1104 # Obsolete; use --without-fp.
1105 with_fp=no ;;
1107 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1108 | --no-cr | --no-c | -n)
1109 no_create=yes ;;
1111 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1112 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1113 no_recursion=yes ;;
1115 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1116 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1117 | --oldin | --oldi | --old | --ol | --o)
1118 ac_prev=oldincludedir ;;
1119 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1120 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1121 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1122 oldincludedir=$ac_optarg ;;
1124 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1125 ac_prev=prefix ;;
1126 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1127 prefix=$ac_optarg ;;
1129 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1130 | --program-pre | --program-pr | --program-p)
1131 ac_prev=program_prefix ;;
1132 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1133 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1134 program_prefix=$ac_optarg ;;
1136 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1137 | --program-suf | --program-su | --program-s)
1138 ac_prev=program_suffix ;;
1139 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1140 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1141 program_suffix=$ac_optarg ;;
1143 -program-transform-name | --program-transform-name \
1144 | --program-transform-nam | --program-transform-na \
1145 | --program-transform-n | --program-transform- \
1146 | --program-transform | --program-transfor \
1147 | --program-transfo | --program-transf \
1148 | --program-trans | --program-tran \
1149 | --progr-tra | --program-tr | --program-t)
1150 ac_prev=program_transform_name ;;
1151 -program-transform-name=* | --program-transform-name=* \
1152 | --program-transform-nam=* | --program-transform-na=* \
1153 | --program-transform-n=* | --program-transform-=* \
1154 | --program-transform=* | --program-transfor=* \
1155 | --program-transfo=* | --program-transf=* \
1156 | --program-trans=* | --program-tran=* \
1157 | --progr-tra=* | --program-tr=* | --program-t=*)
1158 program_transform_name=$ac_optarg ;;
1160 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1161 ac_prev=pdfdir ;;
1162 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1163 pdfdir=$ac_optarg ;;
1165 -psdir | --psdir | --psdi | --psd | --ps)
1166 ac_prev=psdir ;;
1167 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1168 psdir=$ac_optarg ;;
1170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1171 | -silent | --silent | --silen | --sile | --sil)
1172 silent=yes ;;
1174 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1175 ac_prev=sbindir ;;
1176 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1177 | --sbi=* | --sb=*)
1178 sbindir=$ac_optarg ;;
1180 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1181 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1182 | --sharedst | --shareds | --shared | --share | --shar \
1183 | --sha | --sh)
1184 ac_prev=sharedstatedir ;;
1185 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1186 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1187 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1188 | --sha=* | --sh=*)
1189 sharedstatedir=$ac_optarg ;;
1191 -site | --site | --sit)
1192 ac_prev=site ;;
1193 -site=* | --site=* | --sit=*)
1194 site=$ac_optarg ;;
1196 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1197 ac_prev=srcdir ;;
1198 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1199 srcdir=$ac_optarg ;;
1201 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1202 | --syscon | --sysco | --sysc | --sys | --sy)
1203 ac_prev=sysconfdir ;;
1204 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1205 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1206 sysconfdir=$ac_optarg ;;
1208 -target | --target | --targe | --targ | --tar | --ta | --t)
1209 ac_prev=target_alias ;;
1210 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1211 target_alias=$ac_optarg ;;
1213 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1214 verbose=yes ;;
1216 -version | --version | --versio | --versi | --vers | -V)
1217 ac_init_version=: ;;
1219 -with-* | --with-*)
1220 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1223 as_fn_error "invalid package name: $ac_useropt"
1224 ac_useropt_orig=$ac_useropt
1225 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1228 "with_$ac_useropt"
1229 "*) ;;
1230 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1231 ac_unrecognized_sep=', ';;
1232 esac
1233 eval with_$ac_useropt=\$ac_optarg ;;
1235 -without-* | --without-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1244 "with_$ac_useropt"
1245 "*) ;;
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1248 esac
1249 eval with_$ac_useropt=no ;;
1251 --x)
1252 # Obsolete; use --with-x.
1253 with_x=yes ;;
1255 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1256 | --x-incl | --x-inc | --x-in | --x-i)
1257 ac_prev=x_includes ;;
1258 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1259 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1260 x_includes=$ac_optarg ;;
1262 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1263 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1264 ac_prev=x_libraries ;;
1265 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1266 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1267 x_libraries=$ac_optarg ;;
1269 -*) as_fn_error "unrecognized option: \`$ac_option'
1270 Try \`$0 --help' for more information."
1273 *=*)
1274 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1275 # Reject names that are not valid shell variable names.
1276 case $ac_envvar in #(
1277 '' | [0-9]* | *[!_$as_cr_alnum]* )
1278 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1279 esac
1280 eval $ac_envvar=\$ac_optarg
1281 export $ac_envvar ;;
1284 # FIXME: should be removed in autoconf 3.0.
1285 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1286 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1287 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1288 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1291 esac
1292 done
1294 if test -n "$ac_prev"; then
1295 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1296 as_fn_error "missing argument to $ac_option"
1299 if test -n "$ac_unrecognized_opts"; then
1300 case $enable_option_checking in
1301 no) ;;
1302 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1303 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1304 esac
1307 # Check all directory arguments for consistency.
1308 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309 datadir sysconfdir sharedstatedir localstatedir includedir \
1310 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311 libdir localedir mandir
1313 eval ac_val=\$$ac_var
1314 # Remove trailing slashes.
1315 case $ac_val in
1316 */ )
1317 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1318 eval $ac_var=\$ac_val;;
1319 esac
1320 # Be sure to have absolute directory names.
1321 case $ac_val in
1322 [\\/$]* | ?:[\\/]* ) continue;;
1323 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1324 esac
1325 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1326 done
1328 # There might be people who depend on the old broken behavior: `$host'
1329 # used to hold the argument of --host etc.
1330 # FIXME: To remove some day.
1331 build=$build_alias
1332 host=$host_alias
1333 target=$target_alias
1335 # FIXME: To remove some day.
1336 if test "x$host_alias" != x; then
1337 if test "x$build_alias" = x; then
1338 cross_compiling=maybe
1339 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1340 If a cross compiler is detected then cross compile mode will be used." >&2
1341 elif test "x$build_alias" != "x$host_alias"; then
1342 cross_compiling=yes
1346 ac_tool_prefix=
1347 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349 test "$silent" = yes && exec 6>/dev/null
1352 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1353 ac_ls_di=`ls -di .` &&
1354 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1355 as_fn_error "working directory cannot be determined"
1356 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1357 as_fn_error "pwd does not report name of working directory"
1360 # Find the source files, if location was not specified.
1361 if test -z "$srcdir"; then
1362 ac_srcdir_defaulted=yes
1363 # Try the directory containing this script, then the parent directory.
1364 ac_confdir=`$as_dirname -- "$as_myself" ||
1365 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1366 X"$as_myself" : 'X\(//\)[^/]' \| \
1367 X"$as_myself" : 'X\(//\)$' \| \
1368 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1369 $as_echo X"$as_myself" |
1370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1371 s//\1/
1374 /^X\(\/\/\)[^/].*/{
1375 s//\1/
1378 /^X\(\/\/\)$/{
1379 s//\1/
1382 /^X\(\/\).*/{
1383 s//\1/
1386 s/.*/./; q'`
1387 srcdir=$ac_confdir
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1389 srcdir=..
1391 else
1392 ac_srcdir_defaulted=no
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1395 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1396 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1398 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 ac_abs_confdir=`(
1400 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1401 pwd)`
1402 # When building in place, set srcdir=.
1403 if test "$ac_abs_confdir" = "$ac_pwd"; then
1404 srcdir=.
1406 # Remove unnecessary trailing slashes from srcdir.
1407 # Double slashes in file names in object file debugging info
1408 # mess up M-x gdb in Emacs.
1409 case $srcdir in
1410 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 esac
1412 for ac_var in $ac_precious_vars; do
1413 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1414 eval ac_env_${ac_var}_value=\$${ac_var}
1415 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1416 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1417 done
1420 # Report the --help message.
1422 if test "$ac_init_help" = "long"; then
1423 # Omit some internal or obsolete options to make the list less imposing.
1424 # This message is too long to be a string in the A/UX 3.1 sh.
1425 cat <<_ACEOF
1426 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1428 Usage: $0 [OPTION]... [VAR=VALUE]...
1430 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1431 VAR=VALUE. See below for descriptions of some of the useful variables.
1433 Defaults for the options are specified in brackets.
1435 Configuration:
1436 -h, --help display this help and exit
1437 --help=short display options specific to this package
1438 --help=recursive display the short help of all the included packages
1439 -V, --version display version information and exit
1440 -q, --quiet, --silent do not print \`checking...' messages
1441 --cache-file=FILE cache test results in FILE [disabled]
1442 -C, --config-cache alias for \`--cache-file=config.cache'
1443 -n, --no-create do not create output files
1444 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1446 Installation directories:
1447 --prefix=PREFIX install architecture-independent files in PREFIX
1448 [$ac_default_prefix]
1449 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1450 [PREFIX]
1452 By default, \`make install' will install all the files in
1453 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1454 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1455 for instance \`--prefix=\$HOME'.
1457 For better control, use the options below.
1459 Fine tuning of the installation directories:
1460 --bindir=DIR user executables [EPREFIX/bin]
1461 --sbindir=DIR system admin executables [EPREFIX/sbin]
1462 --libexecdir=DIR program executables [EPREFIX/libexec]
1463 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1464 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1465 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1466 --libdir=DIR object code libraries [EPREFIX/lib]
1467 --includedir=DIR C header files [PREFIX/include]
1468 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1469 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1470 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1471 --infodir=DIR info documentation [DATAROOTDIR/info]
1472 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1473 --mandir=DIR man documentation [DATAROOTDIR/man]
1474 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1475 --htmldir=DIR html documentation [DOCDIR]
1476 --dvidir=DIR dvi documentation [DOCDIR]
1477 --pdfdir=DIR pdf documentation [DOCDIR]
1478 --psdir=DIR ps documentation [DOCDIR]
1479 _ACEOF
1481 cat <<\_ACEOF
1483 Program names:
1484 --program-prefix=PREFIX prepend PREFIX to installed program names
1485 --program-suffix=SUFFIX append SUFFIX to installed program names
1486 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1488 System types:
1489 --build=BUILD configure for building on BUILD [guessed]
1490 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1491 --target=TARGET configure for building compilers for TARGET [HOST]
1492 _ACEOF
1495 if test -n "$ac_init_help"; then
1496 case $ac_init_help in
1497 short | recursive ) echo "Configuration of package-unused version-unused:";;
1498 esac
1499 cat <<\_ACEOF
1501 Optional Features:
1502 --disable-option-checking ignore unrecognized --enable/--with options
1503 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1504 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1505 --enable-multilib build many library versions (default)
1506 --enable-maintainer-mode enable make rules and dependencies not useful
1507 (and sometimes confusing) to the casual installer
1508 --enable-shared[=PKGS] build shared libraries [default=yes]
1509 --enable-static[=PKGS] build static libraries [default=yes]
1510 --enable-fast-install[=PKGS]
1511 optimize for fast installation [default=yes]
1512 --disable-libtool-lock avoid locking (might break parallel builds)
1513 --disable-hosted-libstdcxx
1514 only build freestanding C++ runtime support
1515 --enable-sjlj-exceptions
1516 force use of builtin_setjmp for exceptions
1517 [default=auto]
1518 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1519 [default=$is_hosted]
1520 --enable-cstdio[=PACKAGE]
1521 use target-specific I/O package [default=stdio]
1522 --enable-clocale[=MODEL]
1523 use MODEL for target locale package [default=auto]
1524 --enable-nls use Native Language Support (default)
1525 --enable-libstdcxx-allocator[=KIND]
1526 use KIND for target std::allocator base
1527 [default=auto]
1528 --enable-cheaders[=KIND]
1529 construct "C" headers for g++ [default=$c_model]
1530 --enable-long-long enable template specializations for 'long long'
1531 [default=yes]
1532 --enable-wchar_t enable template specializations for 'wchar_t'
1533 [default=yes]
1534 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1535 --enable-concept-checks use Boost-derived template checks [default=no]
1536 --enable-libstdcxx-debug-flags=FLAGS
1537 pass compiler FLAGS when building debug library
1538 [default="-g3 -O0"]
1539 --enable-libstdcxx-debug
1540 build extra debug library [default=no]
1541 --enable-cxx-flags=FLAGS
1542 pass compiler FLAGS when building library [default=]
1543 --enable-fully-dynamic-string
1544 do not put empty strings in per-process static
1545 memory [default=no]
1546 --enable-extern-template
1547 enable extern template [default=yes]
1548 --enable-libstdcxx-time[=KIND]
1549 use KIND for check type [default=no]
1550 --enable-tls Use thread-local storage [default=yes]
1551 --disable-rpath do not hardcode runtime library paths
1552 --enable-linux-futex use the Linux futex system call [default=default]
1553 --enable-symvers[=STYLE]
1554 enables symbol versioning of the shared library
1555 [default=yes]
1556 --enable-visibility enables visibility safe usage [default=yes]
1557 --enable-version-specific-runtime-libs
1558 Specify that runtime libraries should be installed
1559 in a compiler-specific directory
1561 Optional Packages:
1562 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1563 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1564 --with-target-subdir=SUBDIR
1565 configuring in a subdirectory
1566 --with-cross-host=HOST configuring with a cross compiler
1567 --with-newlib assume newlib as a system C library
1568 --with-pic try to use only PIC/non-PIC objects [default=use
1569 both]
1570 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1571 --with-gnu-ld assume the C compiler uses GNU ld default=no
1572 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1573 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1574 --with-system-libunwind use installed libunwind
1575 --with-gxx-include-dir=DIR
1576 installation directory for include files
1578 Some influential environment variables:
1579 CC C compiler command
1580 CFLAGS C compiler flags
1581 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1582 nonstandard directory <lib dir>
1583 LIBS libraries to pass to the linker, e.g. -l<library>
1584 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1585 you have headers in a nonstandard directory <include dir>
1586 CXX C++ compiler command
1587 CXXFLAGS C++ compiler flags
1588 CPP C preprocessor
1589 CXXCPP C++ preprocessor
1590 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1591 `c++filt', `gc++filt' on PATH.
1593 Use these variables to override the choices made by `configure' or to help
1594 it to find libraries and programs with nonstandard names/locations.
1596 Report bugs to the package provider.
1597 _ACEOF
1598 ac_status=$?
1601 if test "$ac_init_help" = "recursive"; then
1602 # If there are subdirs, report their specific --help.
1603 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1604 test -d "$ac_dir" ||
1605 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1606 continue
1607 ac_builddir=.
1609 case "$ac_dir" in
1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1613 # A ".." for each directory in $ac_dir_suffix.
1614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1615 case $ac_top_builddir_sub in
1616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1618 esac ;;
1619 esac
1620 ac_abs_top_builddir=$ac_pwd
1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir=$ac_top_build_prefix
1625 case $srcdir in
1626 .) # We are building in place.
1627 ac_srcdir=.
1628 ac_top_srcdir=$ac_top_builddir_sub
1629 ac_abs_top_srcdir=$ac_pwd ;;
1630 [\\/]* | ?:[\\/]* ) # Absolute name.
1631 ac_srcdir=$srcdir$ac_dir_suffix;
1632 ac_top_srcdir=$srcdir
1633 ac_abs_top_srcdir=$srcdir ;;
1634 *) # Relative name.
1635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 ac_top_srcdir=$ac_top_build_prefix$srcdir
1637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1638 esac
1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641 cd "$ac_dir" || { ac_status=$?; continue; }
1642 # Check for guested configure.
1643 if test -f "$ac_srcdir/configure.gnu"; then
1644 echo &&
1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 elif test -f "$ac_srcdir/configure"; then
1647 echo &&
1648 $SHELL "$ac_srcdir/configure" --help=recursive
1649 else
1650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651 fi || ac_status=$?
1652 cd "$ac_pwd" || { ac_status=$?; break; }
1653 done
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1658 cat <<\_ACEOF
1659 package-unused configure version-unused
1660 generated by GNU Autoconf 2.64
1662 Copyright (C) 2009 Free Software Foundation, Inc.
1663 This configure script is free software; the Free Software Foundation
1664 gives unlimited permission to copy, distribute and modify it.
1665 _ACEOF
1666 exit
1669 ## ------------------------ ##
1670 ## Autoconf initialization. ##
1671 ## ------------------------ ##
1673 # ac_fn_c_try_compile LINENO
1674 # --------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_c_try_compile ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext
1680 if { { ac_try="$ac_compile"
1681 case "(($ac_try" in
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1684 esac
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1688 ac_status=$?
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.$ac_objext; then :
1699 ac_retval=0
1700 else
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1704 ac_retval=1
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1707 return $ac_retval
1709 } # ac_fn_c_try_compile
1711 # ac_fn_cxx_try_compile LINENO
1712 # ----------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_cxx_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1719 case "(($ac_try" in
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1726 ac_status=$?
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_cxx_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1737 ac_retval=0
1738 else
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1742 ac_retval=1
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745 return $ac_retval
1747 } # ac_fn_cxx_try_compile
1749 # ac_fn_c_try_cpp LINENO
1750 # ----------------------
1751 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_c_try_cpp ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 if { { ac_try="$ac_cpp conftest.$ac_ext"
1756 case "(($ac_try" in
1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1759 esac
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1763 ac_status=$?
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } >/dev/null && {
1771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1772 test ! -s conftest.err
1773 }; then :
1774 ac_retval=0
1775 else
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1779 ac_retval=1
1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1782 return $ac_retval
1784 } # ac_fn_c_try_cpp
1786 # ac_fn_c_try_link LINENO
1787 # -----------------------
1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
1789 ac_fn_c_try_link ()
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 rm -f conftest.$ac_objext conftest$ac_exeext
1793 if { { ac_try="$ac_link"
1794 case "(($ac_try" in
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_link") 2>conftest.err
1801 ac_status=$?
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && {
1809 test -z "$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1811 } && test -s conftest$ac_exeext && {
1812 test "$cross_compiling" = yes ||
1813 $as_test_x conftest$ac_exeext
1814 }; then :
1815 ac_retval=0
1816 else
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1820 ac_retval=1
1822 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1823 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1824 # interfere with the next link command; also delete a directory that is
1825 # left behind by Apple's compiler. We do this before executing the actions.
1826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1828 return $ac_retval
1830 } # ac_fn_c_try_link
1832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1833 # -------------------------------------------------------
1834 # Tests whether HEADER exists and can be compiled using the include files in
1835 # INCLUDES, setting the cache variable VAR accordingly.
1836 ac_fn_c_check_header_compile ()
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1842 $as_echo_n "(cached) " >&6
1843 else
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1847 #include <$2>
1848 _ACEOF
1849 if ac_fn_c_try_compile "$LINENO"; then :
1850 eval "$3=yes"
1851 else
1852 eval "$3=no"
1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 eval ac_res=\$$3
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861 } # ac_fn_c_check_header_compile
1863 # ac_fn_c_try_run LINENO
1864 # ----------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1866 # that executables *can* be run.
1867 ac_fn_c_try_run ()
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 if { { ac_try="$ac_link"
1871 case "(($ac_try" in
1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1874 esac
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_link") 2>&5
1878 ac_status=$?
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1881 { { case "(($ac_try" in
1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1884 esac
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_try") 2>&5
1888 ac_status=$?
1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890 test $ac_status = 0; }; }; then :
1891 ac_retval=0
1892 else
1893 $as_echo "$as_me: program exited with status $ac_status" >&5
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1897 ac_retval=$ac_status
1899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1901 return $ac_retval
1903 } # ac_fn_c_try_run
1905 # ac_fn_c_check_func LINENO FUNC VAR
1906 # ----------------------------------
1907 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1908 ac_fn_c_check_func ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; }
1913 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1914 $as_echo_n "(cached) " >&6
1915 else
1916 if test x$gcc_no_link = xyes; then
1917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1921 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1923 #define $2 innocuous_$2
1925 /* System header to define __stub macros and hopefully few prototypes,
1926 which can conflict with char $2 (); below.
1927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1928 <limits.h> exists even on freestanding compilers. */
1930 #ifdef __STDC__
1931 # include <limits.h>
1932 #else
1933 # include <assert.h>
1934 #endif
1936 #undef $2
1938 /* Override any GCC internal prototype to avoid an error.
1939 Use char because int might match the return type of a GCC
1940 builtin and then its argument prototype would still apply. */
1941 #ifdef __cplusplus
1942 extern "C"
1943 #endif
1944 char $2 ();
1945 /* The GNU C library defines this for functions which it implements
1946 to always fail with ENOSYS. Some functions are actually named
1947 something starting with __ and the normal name is an alias. */
1948 #if defined __stub_$2 || defined __stub___$2
1949 choke me
1950 #endif
1953 main ()
1955 return $2 ();
1957 return 0;
1959 _ACEOF
1960 if ac_fn_c_try_link "$LINENO"; then :
1961 eval "$3=yes"
1962 else
1963 eval "$3=no"
1965 rm -f core conftest.err conftest.$ac_objext \
1966 conftest$ac_exeext conftest.$ac_ext
1968 eval ac_res=\$$3
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973 } # ac_fn_c_check_func
1975 # ac_fn_cxx_try_cpp LINENO
1976 # ------------------------
1977 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1978 ac_fn_cxx_try_cpp ()
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 if { { ac_try="$ac_cpp conftest.$ac_ext"
1982 case "(($ac_try" in
1983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1984 *) ac_try_echo=$ac_try;;
1985 esac
1986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987 $as_echo "$ac_try_echo"; } >&5
1988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1989 ac_status=$?
1990 if test -s conftest.err; then
1991 grep -v '^ *+' conftest.err >conftest.er1
1992 cat conftest.er1 >&5
1993 mv -f conftest.er1 conftest.err
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; } >/dev/null && {
1997 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1998 test ! -s conftest.err
1999 }; then :
2000 ac_retval=0
2001 else
2002 $as_echo "$as_me: failed program was:" >&5
2003 sed 's/^/| /' conftest.$ac_ext >&5
2005 ac_retval=1
2007 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2008 return $ac_retval
2010 } # ac_fn_cxx_try_cpp
2012 # ac_fn_cxx_try_link LINENO
2013 # -------------------------
2014 # Try to link conftest.$ac_ext, and return whether this succeeded.
2015 ac_fn_cxx_try_link ()
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 rm -f conftest.$ac_objext conftest$ac_exeext
2019 if { { ac_try="$ac_link"
2020 case "(($ac_try" in
2021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2023 esac
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_link") 2>conftest.err
2027 ac_status=$?
2028 if test -s conftest.err; then
2029 grep -v '^ *+' conftest.err >conftest.er1
2030 cat conftest.er1 >&5
2031 mv -f conftest.er1 conftest.err
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } && {
2035 test -z "$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 } && test -s conftest$ac_exeext && {
2038 test "$cross_compiling" = yes ||
2039 $as_test_x conftest$ac_exeext
2040 }; then :
2041 ac_retval=0
2042 else
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2046 ac_retval=1
2048 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2049 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2050 # interfere with the next link command; also delete a directory that is
2051 # left behind by Apple's compiler. We do this before executing the actions.
2052 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2053 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2054 return $ac_retval
2056 } # ac_fn_cxx_try_link
2058 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2059 # -------------------------------------------------------
2060 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2061 # the include files in INCLUDES and setting the cache variable VAR
2062 # accordingly.
2063 ac_fn_c_check_header_mongrel ()
2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068 $as_echo_n "checking for $2... " >&6; }
2069 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2070 $as_echo_n "(cached) " >&6
2072 eval ac_res=\$$3
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2075 else
2076 # Is the header compilable?
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2078 $as_echo_n "checking $2 usability... " >&6; }
2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2082 #include <$2>
2083 _ACEOF
2084 if ac_fn_c_try_compile "$LINENO"; then :
2085 ac_header_compiler=yes
2086 else
2087 ac_header_compiler=no
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2091 $as_echo "$ac_header_compiler" >&6; }
2093 # Is the header present?
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2095 $as_echo_n "checking $2 presence... " >&6; }
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2098 #include <$2>
2099 _ACEOF
2100 if ac_fn_c_try_cpp "$LINENO"; then :
2101 ac_header_preproc=yes
2102 else
2103 ac_header_preproc=no
2105 rm -f conftest.err conftest.$ac_ext
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2107 $as_echo "$ac_header_preproc" >&6; }
2109 # So? What about this header?
2110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2111 yes:no: )
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2113 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2115 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2117 no:yes:* )
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2119 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2121 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2123 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2125 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2127 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2129 esac
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2131 $as_echo_n "checking for $2... " >&6; }
2132 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2133 $as_echo_n "(cached) " >&6
2134 else
2135 eval "$3=\$ac_header_compiler"
2137 eval ac_res=\$$3
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2139 $as_echo "$ac_res" >&6; }
2141 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2143 } # ac_fn_c_check_header_mongrel
2145 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2146 # ---------------------------------------------------------
2147 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2148 # the include files in INCLUDES and setting the cache variable VAR
2149 # accordingly.
2150 ac_fn_cxx_check_header_mongrel ()
2152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155 $as_echo_n "checking for $2... " >&6; }
2156 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2157 $as_echo_n "(cached) " >&6
2159 eval ac_res=\$$3
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2162 else
2163 # Is the header compilable?
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2165 $as_echo_n "checking $2 usability... " >&6; }
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2169 #include <$2>
2170 _ACEOF
2171 if ac_fn_cxx_try_compile "$LINENO"; then :
2172 ac_header_compiler=yes
2173 else
2174 ac_header_compiler=no
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2178 $as_echo "$ac_header_compiler" >&6; }
2180 # Is the header present?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2182 $as_echo_n "checking $2 presence... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2185 #include <$2>
2186 _ACEOF
2187 if ac_fn_cxx_try_cpp "$LINENO"; then :
2188 ac_header_preproc=yes
2189 else
2190 ac_header_preproc=no
2192 rm -f conftest.err conftest.$ac_ext
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2194 $as_echo "$ac_header_preproc" >&6; }
2196 # So? What about this header?
2197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2198 yes:no: )
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2200 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2204 no:yes:* )
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2206 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2208 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2210 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2212 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2214 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2216 esac
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218 $as_echo_n "checking for $2... " >&6; }
2219 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2220 $as_echo_n "(cached) " >&6
2221 else
2222 eval "$3=\$ac_header_compiler"
2224 eval ac_res=\$$3
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2226 $as_echo "$ac_res" >&6; }
2228 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2230 } # ac_fn_cxx_check_header_mongrel
2232 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2233 # --------------------------------------------
2234 # Tries to find the compile-time value of EXPR in a program that includes
2235 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2236 # computed
2237 ac_fn_c_compute_int ()
2239 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2240 if test "$cross_compiling" = yes; then
2241 # Depending upon the size, compute the lo and hi bounds.
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2246 main ()
2248 static int test_array [1 - 2 * !(($2) >= 0)];
2249 test_array [0] = 0
2252 return 0;
2254 _ACEOF
2255 if ac_fn_c_try_compile "$LINENO"; then :
2256 ac_lo=0 ac_mid=0
2257 while :; do
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2262 main ()
2264 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2265 test_array [0] = 0
2268 return 0;
2270 _ACEOF
2271 if ac_fn_c_try_compile "$LINENO"; then :
2272 ac_hi=$ac_mid; break
2273 else
2274 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2275 if test $ac_lo -le $ac_mid; then
2276 ac_lo= ac_hi=
2277 break
2279 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2282 done
2283 else
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2288 main ()
2290 static int test_array [1 - 2 * !(($2) < 0)];
2291 test_array [0] = 0
2294 return 0;
2296 _ACEOF
2297 if ac_fn_c_try_compile "$LINENO"; then :
2298 ac_hi=-1 ac_mid=-1
2299 while :; do
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2304 main ()
2306 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2307 test_array [0] = 0
2310 return 0;
2312 _ACEOF
2313 if ac_fn_c_try_compile "$LINENO"; then :
2314 ac_lo=$ac_mid; break
2315 else
2316 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2317 if test $ac_mid -le $ac_hi; then
2318 ac_lo= ac_hi=
2319 break
2321 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324 done
2325 else
2326 ac_lo= ac_hi=
2328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 # Binary search between lo and hi bounds.
2332 while test "x$ac_lo" != "x$ac_hi"; do
2333 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335 /* end confdefs.h. */
2338 main ()
2340 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2341 test_array [0] = 0
2344 return 0;
2346 _ACEOF
2347 if ac_fn_c_try_compile "$LINENO"; then :
2348 ac_hi=$ac_mid
2349 else
2350 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2353 done
2354 case $ac_lo in #((
2355 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2356 '') ac_retval=1 ;;
2357 esac
2358 else
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2362 static long int longval () { return $2; }
2363 static unsigned long int ulongval () { return $2; }
2364 #include <stdio.h>
2365 #include <stdlib.h>
2367 main ()
2370 FILE *f = fopen ("conftest.val", "w");
2371 if (! f)
2372 return 1;
2373 if (($2) < 0)
2375 long int i = longval ();
2376 if (i != ($2))
2377 return 1;
2378 fprintf (f, "%ld", i);
2380 else
2382 unsigned long int i = ulongval ();
2383 if (i != ($2))
2384 return 1;
2385 fprintf (f, "%lu", i);
2387 /* Do not output a trailing newline, as this causes \r\n confusion
2388 on some platforms. */
2389 return ferror (f) || fclose (f) != 0;
2392 return 0;
2394 _ACEOF
2395 if ac_fn_c_try_run "$LINENO"; then :
2396 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2397 else
2398 ac_retval=1
2400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2401 conftest.$ac_objext conftest.beam conftest.$ac_ext
2402 rm -f conftest.val
2405 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2406 return $ac_retval
2408 } # ac_fn_c_compute_int
2410 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2411 # -------------------------------------------
2412 # Tests whether TYPE exists after having included INCLUDES, setting cache
2413 # variable VAR accordingly.
2414 ac_fn_c_check_type ()
2416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2418 $as_echo_n "checking for $2... " >&6; }
2419 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2420 $as_echo_n "(cached) " >&6
2421 else
2422 eval "$3=no"
2423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424 /* end confdefs.h. */
2427 main ()
2429 if (sizeof ($2))
2430 return 0;
2432 return 0;
2434 _ACEOF
2435 if ac_fn_c_try_compile "$LINENO"; then :
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2440 main ()
2442 if (sizeof (($2)))
2443 return 0;
2445 return 0;
2447 _ACEOF
2448 if ac_fn_c_try_compile "$LINENO"; then :
2450 else
2451 eval "$3=yes"
2453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457 eval ac_res=\$$3
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2459 $as_echo "$ac_res" >&6; }
2460 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2462 } # ac_fn_c_check_type
2463 cat >config.log <<_ACEOF
2464 This file contains any messages produced by compilers while
2465 running configure, to aid debugging if configure makes a mistake.
2467 It was created by package-unused $as_me version-unused, which was
2468 generated by GNU Autoconf 2.64. Invocation command line was
2470 $ $0 $@
2472 _ACEOF
2473 exec 5>>config.log
2475 cat <<_ASUNAME
2476 ## --------- ##
2477 ## Platform. ##
2478 ## --------- ##
2480 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2481 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2482 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2483 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2484 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2486 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2487 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2489 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2490 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2491 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2492 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2493 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2494 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2495 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2497 _ASUNAME
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 for as_dir in $PATH
2502 IFS=$as_save_IFS
2503 test -z "$as_dir" && as_dir=.
2504 $as_echo "PATH: $as_dir"
2505 done
2506 IFS=$as_save_IFS
2508 } >&5
2510 cat >&5 <<_ACEOF
2513 ## ----------- ##
2514 ## Core tests. ##
2515 ## ----------- ##
2517 _ACEOF
2520 # Keep a trace of the command line.
2521 # Strip out --no-create and --no-recursion so they do not pile up.
2522 # Strip out --silent because we don't want to record it for future runs.
2523 # Also quote any args containing shell meta-characters.
2524 # Make two passes to allow for proper duplicate-argument suppression.
2525 ac_configure_args=
2526 ac_configure_args0=
2527 ac_configure_args1=
2528 ac_must_keep_next=false
2529 for ac_pass in 1 2
2531 for ac_arg
2533 case $ac_arg in
2534 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2535 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2536 | -silent | --silent | --silen | --sile | --sil)
2537 continue ;;
2538 *\'*)
2539 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2540 esac
2541 case $ac_pass in
2542 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2544 as_fn_append ac_configure_args1 " '$ac_arg'"
2545 if test $ac_must_keep_next = true; then
2546 ac_must_keep_next=false # Got value, back to normal.
2547 else
2548 case $ac_arg in
2549 *=* | --config-cache | -C | -disable-* | --disable-* \
2550 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2551 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2552 | -with-* | --with-* | -without-* | --without-* | --x)
2553 case "$ac_configure_args0 " in
2554 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2555 esac
2557 -* ) ac_must_keep_next=true ;;
2558 esac
2560 as_fn_append ac_configure_args " '$ac_arg'"
2562 esac
2563 done
2564 done
2565 { ac_configure_args0=; unset ac_configure_args0;}
2566 { ac_configure_args1=; unset ac_configure_args1;}
2568 # When interrupted or exit'd, cleanup temporary files, and complete
2569 # config.log. We remove comments because anyway the quotes in there
2570 # would cause problems or look ugly.
2571 # WARNING: Use '\'' to represent an apostrophe within the trap.
2572 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2573 trap 'exit_status=$?
2574 # Save into config.log some information that might help in debugging.
2576 echo
2578 cat <<\_ASBOX
2579 ## ---------------- ##
2580 ## Cache variables. ##
2581 ## ---------------- ##
2582 _ASBOX
2583 echo
2584 # The following way of writing the cache mishandles newlines in values,
2586 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2587 eval ac_val=\$$ac_var
2588 case $ac_val in #(
2589 *${as_nl}*)
2590 case $ac_var in #(
2591 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2592 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2593 esac
2594 case $ac_var in #(
2595 _ | IFS | as_nl) ;; #(
2596 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2597 *) { eval $ac_var=; unset $ac_var;} ;;
2598 esac ;;
2599 esac
2600 done
2601 (set) 2>&1 |
2602 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2603 *${as_nl}ac_space=\ *)
2604 sed -n \
2605 "s/'\''/'\''\\\\'\'''\''/g;
2606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2607 ;; #(
2609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2611 esac |
2612 sort
2614 echo
2616 cat <<\_ASBOX
2617 ## ----------------- ##
2618 ## Output variables. ##
2619 ## ----------------- ##
2620 _ASBOX
2621 echo
2622 for ac_var in $ac_subst_vars
2624 eval ac_val=\$$ac_var
2625 case $ac_val in
2626 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2627 esac
2628 $as_echo "$ac_var='\''$ac_val'\''"
2629 done | sort
2630 echo
2632 if test -n "$ac_subst_files"; then
2633 cat <<\_ASBOX
2634 ## ------------------- ##
2635 ## File substitutions. ##
2636 ## ------------------- ##
2637 _ASBOX
2638 echo
2639 for ac_var in $ac_subst_files
2641 eval ac_val=\$$ac_var
2642 case $ac_val in
2643 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2644 esac
2645 $as_echo "$ac_var='\''$ac_val'\''"
2646 done | sort
2647 echo
2650 if test -s confdefs.h; then
2651 cat <<\_ASBOX
2652 ## ----------- ##
2653 ## confdefs.h. ##
2654 ## ----------- ##
2655 _ASBOX
2656 echo
2657 cat confdefs.h
2658 echo
2660 test "$ac_signal" != 0 &&
2661 $as_echo "$as_me: caught signal $ac_signal"
2662 $as_echo "$as_me: exit $exit_status"
2663 } >&5
2664 rm -f core *.core core.conftest.* &&
2665 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2666 exit $exit_status
2668 for ac_signal in 1 2 13 15; do
2669 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2670 done
2671 ac_signal=0
2673 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2674 rm -f -r conftest* confdefs.h
2676 $as_echo "/* confdefs.h */" > confdefs.h
2678 # Predefined preprocessor variables.
2680 cat >>confdefs.h <<_ACEOF
2681 #define PACKAGE_NAME "$PACKAGE_NAME"
2682 _ACEOF
2684 cat >>confdefs.h <<_ACEOF
2685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2686 _ACEOF
2688 cat >>confdefs.h <<_ACEOF
2689 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2690 _ACEOF
2692 cat >>confdefs.h <<_ACEOF
2693 #define PACKAGE_STRING "$PACKAGE_STRING"
2694 _ACEOF
2696 cat >>confdefs.h <<_ACEOF
2697 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2698 _ACEOF
2700 cat >>confdefs.h <<_ACEOF
2701 #define PACKAGE_URL "$PACKAGE_URL"
2702 _ACEOF
2705 # Let the site file select an alternate cache file if it wants to.
2706 # Prefer an explicitly selected file to automatically selected ones.
2707 ac_site_file1=NONE
2708 ac_site_file2=NONE
2709 if test -n "$CONFIG_SITE"; then
2710 ac_site_file1=$CONFIG_SITE
2711 elif test "x$prefix" != xNONE; then
2712 ac_site_file1=$prefix/share/config.site
2713 ac_site_file2=$prefix/etc/config.site
2714 else
2715 ac_site_file1=$ac_default_prefix/share/config.site
2716 ac_site_file2=$ac_default_prefix/etc/config.site
2718 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2720 test "x$ac_site_file" = xNONE && continue
2721 if test -r "$ac_site_file"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2723 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2724 sed 's/^/| /' "$ac_site_file" >&5
2725 . "$ac_site_file"
2727 done
2729 if test -r "$cache_file"; then
2730 # Some versions of bash will fail to source /dev/null (special
2731 # files actually), so we avoid doing that.
2732 if test -f "$cache_file"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2734 $as_echo "$as_me: loading cache $cache_file" >&6;}
2735 case $cache_file in
2736 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2737 *) . "./$cache_file";;
2738 esac
2740 else
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2742 $as_echo "$as_me: creating cache $cache_file" >&6;}
2743 >$cache_file
2746 # Check that the precious variables saved in the cache have kept the same
2747 # value.
2748 ac_cache_corrupted=false
2749 for ac_var in $ac_precious_vars; do
2750 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2751 eval ac_new_set=\$ac_env_${ac_var}_set
2752 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2753 eval ac_new_val=\$ac_env_${ac_var}_value
2754 case $ac_old_set,$ac_new_set in
2755 set,)
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2757 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2758 ac_cache_corrupted=: ;;
2759 ,set)
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2761 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2762 ac_cache_corrupted=: ;;
2763 ,);;
2765 if test "x$ac_old_val" != "x$ac_new_val"; then
2766 # differences in whitespace do not lead to failure.
2767 ac_old_val_w=`echo x $ac_old_val`
2768 ac_new_val_w=`echo x $ac_new_val`
2769 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2771 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2772 ac_cache_corrupted=:
2773 else
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2775 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2776 eval $ac_var=\$ac_old_val
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2779 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2781 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2782 fi;;
2783 esac
2784 # Pass precious variables to config.status.
2785 if test "$ac_new_set" = set; then
2786 case $ac_new_val in
2787 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2788 *) ac_arg=$ac_var=$ac_new_val ;;
2789 esac
2790 case " $ac_configure_args " in
2791 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2792 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2793 esac
2795 done
2796 if $ac_cache_corrupted; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2800 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2801 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2803 ## -------------------- ##
2804 ## Main body of script. ##
2805 ## -------------------- ##
2807 ac_ext=c
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2818 ac_config_headers="$ac_config_headers config.h"
2821 # This works around the fact that libtool configuration may change LD
2822 # for this particular configuration, but some shells, instead of
2823 # keeping the changes in LD private, export them just because LD is
2824 # exported. Only used at the end of this file.
2825 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2827 # For libtool versioning info, format is CURRENT:REVISION:AGE
2828 libtool_VERSION=6:16:0
2831 # Find the rest of the source tree framework.
2832 # Default to --enable-multilib
2833 # Check whether --enable-multilib was given.
2834 if test "${enable_multilib+set}" = set; then :
2835 enableval=$enable_multilib; case "$enableval" in
2836 yes) multilib=yes ;;
2837 no) multilib=no ;;
2838 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2839 esac
2840 else
2841 multilib=yes
2845 # We may get other options which we leave undocumented:
2846 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2847 # See config-ml.in if you want the gory details.
2849 if test "$srcdir" = "."; then
2850 if test "$with_target_subdir" != "."; then
2851 multi_basedir="$srcdir/$with_multisrctop../.."
2852 else
2853 multi_basedir="$srcdir/$with_multisrctop.."
2855 else
2856 multi_basedir="$srcdir/.."
2860 # Even if the default multilib is not a cross compilation,
2861 # it may be that some of the other multilibs are.
2862 if test $cross_compiling = no && test $multilib = yes \
2863 && test "x${with_multisubdir}" != x ; then
2864 cross_compiling=maybe
2867 ac_config_commands="$ac_config_commands default-1"
2870 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2872 # You will slowly go insane if you do not grok the following fact: when
2873 # building v3 as part of the compiler, the top-level /target/ becomes the
2874 # library's /host/. configure then causes --target to default to --host,
2875 # exactly like any other package using autoconf. Therefore, 'target' and
2876 # 'host' will always be the same. This makes sense both for native and
2877 # cross compilers, just think about it for a little while. :-)
2879 # Also, if v3 is being configured as part of a cross compiler, the top-level
2880 # configure script will pass the "real" host as $with_cross_host.
2882 # Do not delete or change the following two lines. For why, see
2883 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2884 ac_aux_dir=
2885 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2886 for ac_t in install-sh install.sh shtool; do
2887 if test -f "$ac_dir/$ac_t"; then
2888 ac_aux_dir=$ac_dir
2889 ac_install_sh="$ac_aux_dir/$ac_t -c"
2890 break 2
2892 done
2893 done
2894 if test -z "$ac_aux_dir"; then
2895 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2898 # These three variables are undocumented and unsupported,
2899 # and are intended to be withdrawn in a future Autoconf release.
2900 # They can cause serious problems if a builder's source tree is in a directory
2901 # whose full name contains unusual characters.
2902 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2903 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2904 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2907 # Make sure we can run config.sub.
2908 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2909 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2912 $as_echo_n "checking build system type... " >&6; }
2913 if test "${ac_cv_build+set}" = set; then :
2914 $as_echo_n "(cached) " >&6
2915 else
2916 ac_build_alias=$build_alias
2917 test "x$ac_build_alias" = x &&
2918 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2919 test "x$ac_build_alias" = x &&
2920 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2921 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2922 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2926 $as_echo "$ac_cv_build" >&6; }
2927 case $ac_cv_build in
2928 *-*-*) ;;
2929 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2930 esac
2931 build=$ac_cv_build
2932 ac_save_IFS=$IFS; IFS='-'
2933 set x $ac_cv_build
2934 shift
2935 build_cpu=$1
2936 build_vendor=$2
2937 shift; shift
2938 # Remember, the first character of IFS is used to create $*,
2939 # except with old shells:
2940 build_os=$*
2941 IFS=$ac_save_IFS
2942 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2946 $as_echo_n "checking host system type... " >&6; }
2947 if test "${ac_cv_host+set}" = set; then :
2948 $as_echo_n "(cached) " >&6
2949 else
2950 if test "x$host_alias" = x; then
2951 ac_cv_host=$ac_cv_build
2952 else
2953 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2954 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2959 $as_echo "$ac_cv_host" >&6; }
2960 case $ac_cv_host in
2961 *-*-*) ;;
2962 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2963 esac
2964 host=$ac_cv_host
2965 ac_save_IFS=$IFS; IFS='-'
2966 set x $ac_cv_host
2967 shift
2968 host_cpu=$1
2969 host_vendor=$2
2970 shift; shift
2971 # Remember, the first character of IFS is used to create $*,
2972 # except with old shells:
2973 host_os=$*
2974 IFS=$ac_save_IFS
2975 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2979 $as_echo_n "checking target system type... " >&6; }
2980 if test "${ac_cv_target+set}" = set; then :
2981 $as_echo_n "(cached) " >&6
2982 else
2983 if test "x$target_alias" = x; then
2984 ac_cv_target=$ac_cv_host
2985 else
2986 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2987 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2992 $as_echo "$ac_cv_target" >&6; }
2993 case $ac_cv_target in
2994 *-*-*) ;;
2995 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2996 esac
2997 target=$ac_cv_target
2998 ac_save_IFS=$IFS; IFS='-'
2999 set x $ac_cv_target
3000 shift
3001 target_cpu=$1
3002 target_vendor=$2
3003 shift; shift
3004 # Remember, the first character of IFS is used to create $*,
3005 # except with old shells:
3006 target_os=$*
3007 IFS=$ac_save_IFS
3008 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3011 # The aliases save the names the user supplied, while $host etc.
3012 # will get canonicalized.
3013 test -n "$target_alias" &&
3014 test "$program_prefix$program_suffix$program_transform_name" = \
3015 NONENONEs,x,x, &&
3016 program_prefix=${target_alias}-
3018 target_alias=${target_alias-$host_alias}
3020 # Handy for debugging:
3021 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3023 if test "$build" != "$host"; then
3024 # We are being configured with some form of cross compiler.
3025 GLIBCXX_IS_NATIVE=false
3026 case "$host","$target" in
3027 # Darwin crosses can use the host system's libraries and headers,
3028 # because of the fat library support. Of course, it must be the
3029 # same version of Darwin on both sides. Allow the user to
3030 # just say --target=foo-darwin without a version number to mean
3031 # "the version on this system".
3032 *-*-darwin*,*-*-darwin*)
3033 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3034 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3035 if test $hostos = $targetos -o $targetos = darwin ; then
3036 GLIBCXX_IS_NATIVE=true
3043 esac
3044 else
3045 GLIBCXX_IS_NATIVE=true
3048 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3049 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3050 # 1.x: minimum required version
3051 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3052 # of other PACKAGE_* variables will, however, and there's nothing
3053 # we can do about that; they come from AC_INIT).
3054 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3055 # file in the top srcdir, etc, etc), so stop complaining.
3056 # no-dependencies: turns off auto dependency generation (just for now)
3057 # no-dist: we don't want 'dist' and related rules.
3058 # -Wall: turns on all automake warnings...
3059 # -Wno-portability: ...except this one, since GNU make is now required.
3060 am__api_version='1.11'
3062 # Find a good install program. We prefer a C program (faster),
3063 # so one script is as good as another. But avoid the broken or
3064 # incompatible versions:
3065 # SysV /etc/install, /usr/sbin/install
3066 # SunOS /usr/etc/install
3067 # IRIX /sbin/install
3068 # AIX /bin/install
3069 # AmigaOS /C/install, which installs bootblocks on floppy discs
3070 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3071 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3072 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3073 # OS/2's system install, which has a completely different semantic
3074 # ./install, which can be erroneously created by make from ./install.sh.
3075 # Reject install programs that cannot install multiple files.
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3077 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3078 if test -z "$INSTALL"; then
3079 if test "${ac_cv_path_install+set}" = set; then :
3080 $as_echo_n "(cached) " >&6
3081 else
3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3083 for as_dir in $PATH
3085 IFS=$as_save_IFS
3086 test -z "$as_dir" && as_dir=.
3087 # Account for people who put trailing slashes in PATH elements.
3088 case $as_dir/ in #((
3089 ./ | .// | /[cC]/* | \
3090 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3091 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3092 /usr/ucb/* ) ;;
3094 # OSF1 and SCO ODT 3.0 have their own names for install.
3095 # Don't use installbsd from OSF since it installs stuff as root
3096 # by default.
3097 for ac_prog in ginstall scoinst install; do
3098 for ac_exec_ext in '' $ac_executable_extensions; do
3099 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3100 if test $ac_prog = install &&
3101 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3102 # AIX install. It has an incompatible calling convention.
3104 elif test $ac_prog = install &&
3105 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3106 # program-specific install script used by HP pwplus--don't use.
3108 else
3109 rm -rf conftest.one conftest.two conftest.dir
3110 echo one > conftest.one
3111 echo two > conftest.two
3112 mkdir conftest.dir
3113 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3114 test -s conftest.one && test -s conftest.two &&
3115 test -s conftest.dir/conftest.one &&
3116 test -s conftest.dir/conftest.two
3117 then
3118 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3119 break 3
3123 done
3124 done
3126 esac
3128 done
3129 IFS=$as_save_IFS
3131 rm -rf conftest.one conftest.two conftest.dir
3134 if test "${ac_cv_path_install+set}" = set; then
3135 INSTALL=$ac_cv_path_install
3136 else
3137 # As a last resort, use the slow shell script. Don't cache a
3138 # value for INSTALL within a source directory, because that will
3139 # break other packages using the cache if that directory is
3140 # removed, or if the value is a relative name.
3141 INSTALL=$ac_install_sh
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3145 $as_echo "$INSTALL" >&6; }
3147 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3148 # It thinks the first close brace ends the variable substitution.
3149 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3151 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3153 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3156 $as_echo_n "checking whether build environment is sane... " >&6; }
3157 # Just in case
3158 sleep 1
3159 echo timestamp > conftest.file
3160 # Reject unsafe characters in $srcdir or the absolute working directory
3161 # name. Accept space and tab only in the latter.
3162 am_lf='
3164 case `pwd` in
3165 *[\\\"\#\$\&\'\`$am_lf]*)
3166 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3167 esac
3168 case $srcdir in
3169 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3170 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3171 esac
3173 # Do `set' in a subshell so we don't clobber the current shell's
3174 # arguments. Must try -L first in case configure is actually a
3175 # symlink; some systems play weird games with the mod time of symlinks
3176 # (eg FreeBSD returns the mod time of the symlink's containing
3177 # directory).
3178 if (
3179 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3180 if test "$*" = "X"; then
3181 # -L didn't work.
3182 set X `ls -t "$srcdir/configure" conftest.file`
3184 rm -f conftest.file
3185 if test "$*" != "X $srcdir/configure conftest.file" \
3186 && test "$*" != "X conftest.file $srcdir/configure"; then
3188 # If neither matched, then we have a broken ls. This can happen
3189 # if, for instance, CONFIG_SHELL is bash and it inherits a
3190 # broken ls alias from the environment. This has actually
3191 # happened. Such a system could not be considered "sane".
3192 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3193 alias in your environment" "$LINENO" 5
3196 test "$2" = conftest.file
3198 then
3199 # Ok.
3201 else
3202 as_fn_error "newly created file is older than distributed files!
3203 Check your system clock" "$LINENO" 5
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3206 $as_echo "yes" >&6; }
3207 test "$program_prefix" != NONE &&
3208 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3209 # Use a double $ so make ignores it.
3210 test "$program_suffix" != NONE &&
3211 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3212 # Double any \ or $.
3213 # By default was `s,x,x', remove it if useless.
3214 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3215 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3217 # expand $ac_aux_dir to an absolute path
3218 am_aux_dir=`cd $ac_aux_dir && pwd`
3220 if test x"${MISSING+set}" != xset; then
3221 case $am_aux_dir in
3222 *\ * | *\ *)
3223 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3225 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3226 esac
3228 # Use eval to expand $SHELL
3229 if eval "$MISSING --run true"; then
3230 am_missing_run="$MISSING --run "
3231 else
3232 am_missing_run=
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3234 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3237 if test x"${install_sh}" != xset; then
3238 case $am_aux_dir in
3239 *\ * | *\ *)
3240 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3242 install_sh="\${SHELL} $am_aux_dir/install-sh"
3243 esac
3246 # Installed binaries are usually stripped using `strip' when the user
3247 # run `make install-strip'. However `strip' might not be the right
3248 # tool to use in cross-compilation environments, therefore Automake
3249 # will honor the `STRIP' environment variable to overrule this program.
3250 if test "$cross_compiling" != no; then
3251 if test -n "$ac_tool_prefix"; then
3252 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3253 set dummy ${ac_tool_prefix}strip; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if test "${ac_cv_prog_STRIP+set}" = set; then :
3257 $as_echo_n "(cached) " >&6
3258 else
3259 if test -n "$STRIP"; then
3260 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3261 else
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 for as_dir in $PATH
3265 IFS=$as_save_IFS
3266 test -z "$as_dir" && as_dir=.
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3269 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271 break 2
3273 done
3274 done
3275 IFS=$as_save_IFS
3279 STRIP=$ac_cv_prog_STRIP
3280 if test -n "$STRIP"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3282 $as_echo "$STRIP" >&6; }
3283 else
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3290 if test -z "$ac_cv_prog_STRIP"; then
3291 ac_ct_STRIP=$STRIP
3292 # Extract the first word of "strip", so it can be a program name with args.
3293 set dummy strip; ac_word=$2
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295 $as_echo_n "checking for $ac_word... " >&6; }
3296 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3297 $as_echo_n "(cached) " >&6
3298 else
3299 if test -n "$ac_ct_STRIP"; then
3300 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3301 else
3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303 for as_dir in $PATH
3305 IFS=$as_save_IFS
3306 test -z "$as_dir" && as_dir=.
3307 for ac_exec_ext in '' $ac_executable_extensions; do
3308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 ac_cv_prog_ac_ct_STRIP="strip"
3310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311 break 2
3313 done
3314 done
3315 IFS=$as_save_IFS
3319 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3320 if test -n "$ac_ct_STRIP"; then
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3322 $as_echo "$ac_ct_STRIP" >&6; }
3323 else
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3328 if test "x$ac_ct_STRIP" = x; then
3329 STRIP=":"
3330 else
3331 case $cross_compiling:$ac_tool_warned in
3332 yes:)
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3335 ac_tool_warned=yes ;;
3336 esac
3337 STRIP=$ac_ct_STRIP
3339 else
3340 STRIP="$ac_cv_prog_STRIP"
3344 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3347 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3348 if test -z "$MKDIR_P"; then
3349 if test "${ac_cv_path_mkdir+set}" = set; then :
3350 $as_echo_n "(cached) " >&6
3351 else
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3355 IFS=$as_save_IFS
3356 test -z "$as_dir" && as_dir=.
3357 for ac_prog in mkdir gmkdir; do
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3360 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3361 'mkdir (GNU coreutils) '* | \
3362 'mkdir (coreutils) '* | \
3363 'mkdir (fileutils) '4.1*)
3364 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3365 break 3;;
3366 esac
3367 done
3368 done
3369 done
3370 IFS=$as_save_IFS
3374 if test "${ac_cv_path_mkdir+set}" = set; then
3375 MKDIR_P="$ac_cv_path_mkdir -p"
3376 else
3377 # As a last resort, use the slow shell script. Don't cache a
3378 # value for MKDIR_P within a source directory, because that will
3379 # break other packages using the cache if that directory is
3380 # removed, or if the value is a relative name.
3381 test -d ./--version && rmdir ./--version
3382 MKDIR_P="$ac_install_sh -d"
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3386 $as_echo "$MKDIR_P" >&6; }
3388 mkdir_p="$MKDIR_P"
3389 case $mkdir_p in
3390 [\\/$]* | ?:[\\/]*) ;;
3391 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3392 esac
3394 for ac_prog in gawk mawk nawk awk
3396 # Extract the first word of "$ac_prog", so it can be a program name with args.
3397 set dummy $ac_prog; ac_word=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if test "${ac_cv_prog_AWK+set}" = set; then :
3401 $as_echo_n "(cached) " >&6
3402 else
3403 if test -n "$AWK"; then
3404 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3405 else
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 for as_dir in $PATH
3409 IFS=$as_save_IFS
3410 test -z "$as_dir" && as_dir=.
3411 for ac_exec_ext in '' $ac_executable_extensions; do
3412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413 ac_cv_prog_AWK="$ac_prog"
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3415 break 2
3417 done
3418 done
3419 IFS=$as_save_IFS
3423 AWK=$ac_cv_prog_AWK
3424 if test -n "$AWK"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3426 $as_echo "$AWK" >&6; }
3427 else
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3433 test -n "$AWK" && break
3434 done
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3437 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3438 set x ${MAKE-make}
3439 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3440 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3441 $as_echo_n "(cached) " >&6
3442 else
3443 cat >conftest.make <<\_ACEOF
3444 SHELL = /bin/sh
3445 all:
3446 @echo '@@@%%%=$(MAKE)=@@@%%%'
3447 _ACEOF
3448 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3449 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3450 *@@@%%%=?*=@@@%%%*)
3451 eval ac_cv_prog_make_${ac_make}_set=yes;;
3453 eval ac_cv_prog_make_${ac_make}_set=no;;
3454 esac
3455 rm -f conftest.make
3457 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3459 $as_echo "yes" >&6; }
3460 SET_MAKE=
3461 else
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3464 SET_MAKE="MAKE=${MAKE-make}"
3467 rm -rf .tst 2>/dev/null
3468 mkdir .tst 2>/dev/null
3469 if test -d .tst; then
3470 am__leading_dot=.
3471 else
3472 am__leading_dot=_
3474 rmdir .tst 2>/dev/null
3476 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3477 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3478 # is not polluted with repeated "-I."
3479 am__isrc=' -I$(srcdir)'
3480 # test to see if srcdir already configured
3481 if test -f $srcdir/config.status; then
3482 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3486 # test whether we have cygpath
3487 if test -z "$CYGPATH_W"; then
3488 if (cygpath --version) >/dev/null 2>/dev/null; then
3489 CYGPATH_W='cygpath -w'
3490 else
3491 CYGPATH_W=echo
3496 # Define the identity of the package.
3497 PACKAGE='libstdc++'
3498 VERSION='version-unused'
3501 # Some tools Automake needs.
3503 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3506 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3509 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3512 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3515 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3517 # We need awk for the "check" target. The system "awk" is bad on
3518 # some platforms.
3519 # Always define AMTAR for backward compatibility.
3521 AMTAR=${AMTAR-"${am_missing_run}tar"}
3523 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3532 # -fno-builtin must be present here so that a non-conflicting form of
3533 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3535 save_CXXFLAGS="$CXXFLAGS"
3536 CXXFLAGS="$CXXFLAGS -fno-builtin"
3537 ac_ext=c
3538 ac_cpp='$CPP $CPPFLAGS'
3539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542 if test -n "$ac_tool_prefix"; then
3543 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3544 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if test "${ac_cv_prog_CC+set}" = set; then :
3548 $as_echo_n "(cached) " >&6
3549 else
3550 if test -n "$CC"; then
3551 ac_cv_prog_CC="$CC" # Let the user override the test.
3552 else
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3556 IFS=$as_save_IFS
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3560 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 break 2
3564 done
3565 done
3566 IFS=$as_save_IFS
3570 CC=$ac_cv_prog_CC
3571 if test -n "$CC"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3573 $as_echo "$CC" >&6; }
3574 else
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3581 if test -z "$ac_cv_prog_CC"; then
3582 ac_ct_CC=$CC
3583 # Extract the first word of "gcc", so it can be a program name with args.
3584 set dummy gcc; ac_word=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3588 $as_echo_n "(cached) " >&6
3589 else
3590 if test -n "$ac_ct_CC"; then
3591 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3592 else
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 for as_dir in $PATH
3596 IFS=$as_save_IFS
3597 test -z "$as_dir" && as_dir=.
3598 for ac_exec_ext in '' $ac_executable_extensions; do
3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600 ac_cv_prog_ac_ct_CC="gcc"
3601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 break 2
3604 done
3605 done
3606 IFS=$as_save_IFS
3610 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3611 if test -n "$ac_ct_CC"; then
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3613 $as_echo "$ac_ct_CC" >&6; }
3614 else
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3619 if test "x$ac_ct_CC" = x; then
3620 CC=""
3621 else
3622 case $cross_compiling:$ac_tool_warned in
3623 yes:)
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3626 ac_tool_warned=yes ;;
3627 esac
3628 CC=$ac_ct_CC
3630 else
3631 CC="$ac_cv_prog_CC"
3634 if test -z "$CC"; then
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3637 set dummy ${ac_tool_prefix}cc; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if test "${ac_cv_prog_CC+set}" = set; then :
3641 $as_echo_n "(cached) " >&6
3642 else
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC="$CC" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3649 IFS=$as_save_IFS
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 ac_cv_prog_CC="${ac_tool_prefix}cc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 break 2
3657 done
3658 done
3659 IFS=$as_save_IFS
3663 CC=$ac_cv_prog_CC
3664 if test -n "$CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3667 else
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3675 if test -z "$CC"; then
3676 # Extract the first word of "cc", so it can be a program name with args.
3677 set dummy cc; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_CC+set}" = set; then :
3681 $as_echo_n "(cached) " >&6
3682 else
3683 if test -n "$CC"; then
3684 ac_cv_prog_CC="$CC" # Let the user override the test.
3685 else
3686 ac_prog_rejected=no
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 for as_dir in $PATH
3690 IFS=$as_save_IFS
3691 test -z "$as_dir" && as_dir=.
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3695 ac_prog_rejected=yes
3696 continue
3698 ac_cv_prog_CC="cc"
3699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3700 break 2
3702 done
3703 done
3704 IFS=$as_save_IFS
3706 if test $ac_prog_rejected = yes; then
3707 # We found a bogon in the path, so make sure we never use it.
3708 set dummy $ac_cv_prog_CC
3709 shift
3710 if test $# != 0; then
3711 # We chose a different compiler from the bogus one.
3712 # However, it has the same basename, so the bogon will be chosen
3713 # first if we set CC to just the basename; use the full file name.
3714 shift
3715 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3720 CC=$ac_cv_prog_CC
3721 if test -n "$CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3731 if test -z "$CC"; then
3732 if test -n "$ac_tool_prefix"; then
3733 for ac_prog in cl.exe
3735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if test "${ac_cv_prog_CC+set}" = set; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC="$CC" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3748 IFS=$as_save_IFS
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 break 2
3756 done
3757 done
3758 IFS=$as_save_IFS
3762 CC=$ac_cv_prog_CC
3763 if test -n "$CC"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3765 $as_echo "$CC" >&6; }
3766 else
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3772 test -n "$CC" && break
3773 done
3775 if test -z "$CC"; then
3776 ac_ct_CC=$CC
3777 for ac_prog in cl.exe
3779 # Extract the first word of "$ac_prog", so it can be a program name with args.
3780 set dummy $ac_prog; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 if test -n "$ac_ct_CC"; then
3787 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3788 else
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 ac_cv_prog_ac_ct_CC="$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 break 2
3800 done
3801 done
3802 IFS=$as_save_IFS
3806 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3807 if test -n "$ac_ct_CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3809 $as_echo "$ac_ct_CC" >&6; }
3810 else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$ac_ct_CC" && break
3817 done
3819 if test "x$ac_ct_CC" = x; then
3820 CC=""
3821 else
3822 case $cross_compiling:$ac_tool_warned in
3823 yes:)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned=yes ;;
3827 esac
3828 CC=$ac_ct_CC
3835 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3837 as_fn_error "no acceptable C compiler found in \$PATH
3838 See \`config.log' for more details." "$LINENO" 5; }
3840 # Provide some information about the compiler.
3841 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3842 set X $ac_compile
3843 ac_compiler=$2
3844 for ac_option in --version -v -V -qversion; do
3845 { { ac_try="$ac_compiler $ac_option >&5"
3846 case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3849 esac
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3853 ac_status=$?
3854 if test -s conftest.err; then
3855 sed '10a\
3856 ... rest of stderr output deleted ...
3857 10q' conftest.err >conftest.er1
3858 cat conftest.er1 >&5
3859 rm -f conftest.er1 conftest.err
3861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862 test $ac_status = 0; }
3863 done
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3869 main ()
3873 return 0;
3875 _ACEOF
3876 # FIXME: Cleanup?
3877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3878 (eval $ac_link) 2>&5
3879 ac_status=$?
3880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3881 test $ac_status = 0; }; then :
3882 gcc_no_link=no
3883 else
3884 gcc_no_link=yes
3886 if test x$gcc_no_link = xyes; then
3887 # Setting cross_compile will disable run tests; it will
3888 # also disable AC_CHECK_FILE but that's generally
3889 # correct if we can't link.
3890 cross_compiling=yes
3891 EXEEXT=
3892 else
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3897 main ()
3901 return 0;
3903 _ACEOF
3904 ac_clean_files_save=$ac_clean_files
3905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3906 # Try to create an executable without -o first, disregard a.out.
3907 # It will help us diagnose broken compilers, and finding out an intuition
3908 # of exeext.
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3910 $as_echo_n "checking for C compiler default output file name... " >&6; }
3911 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3913 # The possible output files:
3914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3916 ac_rmfiles=
3917 for ac_file in $ac_files
3919 case $ac_file in
3920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3921 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3922 esac
3923 done
3924 rm -f $ac_rmfiles
3926 if { { ac_try="$ac_link_default"
3927 case "(($ac_try" in
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3930 esac
3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 $as_echo "$ac_try_echo"; } >&5
3933 (eval "$ac_link_default") 2>&5
3934 ac_status=$?
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }; then :
3937 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3938 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3939 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3940 # so that the user can short-circuit this test for compilers unknown to
3941 # Autoconf.
3942 for ac_file in $ac_files ''
3944 test -f "$ac_file" || continue
3945 case $ac_file in
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3948 [ab].out )
3949 # We found the default executable, but exeext='' is most
3950 # certainly right.
3951 break;;
3952 *.* )
3953 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3954 then :; else
3955 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3957 # We set ac_cv_exeext here because the later test for it is not
3958 # safe: cross compilers may not add the suffix if given an `-o'
3959 # argument, so we may need to know it at that point already.
3960 # Even if this section looks crufty: it has the advantage of
3961 # actually working.
3962 break;;
3964 break;;
3965 esac
3966 done
3967 test "$ac_cv_exeext" = no && ac_cv_exeext=
3969 else
3970 ac_file=''
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3973 $as_echo "$ac_file" >&6; }
3974 if test -z "$ac_file"; then :
3975 $as_echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.$ac_ext >&5
3978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3980 { as_fn_set_status 77
3981 as_fn_error "C compiler cannot create executables
3982 See \`config.log' for more details." "$LINENO" 5; }; }
3984 ac_exeext=$ac_cv_exeext
3986 # Check that the compiler produces executables we can run. If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3989 $as_echo_n "checking whether the C compiler works... " >&6; }
3990 # If not cross compiling, check that we can run a simple program.
3991 if test "$cross_compiling" != yes; then
3992 if { ac_try='./$ac_file'
3993 { { case "(($ac_try" in
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3996 esac
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_try") 2>&5
4000 ac_status=$?
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }; }; then
4003 cross_compiling=no
4004 else
4005 if test "$cross_compiling" = maybe; then
4006 cross_compiling=yes
4007 else
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error "cannot run C compiled programs.
4011 If you meant to cross compile, use \`--host'.
4012 See \`config.log' for more details." "$LINENO" 5; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4019 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4020 ac_clean_files=$ac_clean_files_save
4021 # Check that the compiler produces executables we can run. If not, either
4022 # the compiler is broken, or we cross compile.
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4024 $as_echo_n "checking whether we are cross compiling... " >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4026 $as_echo "$cross_compiling" >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4029 $as_echo_n "checking for suffix of executables... " >&6; }
4030 if { { ac_try="$ac_link"
4031 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_link") 2>&5
4038 ac_status=$?
4039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040 test $ac_status = 0; }; then :
4041 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4042 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4043 # work properly (i.e., refer to `conftest.exe'), while it won't with
4044 # `rm'.
4045 for ac_file in conftest.exe conftest conftest.*; do
4046 test -f "$ac_file" || continue
4047 case $ac_file in
4048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4049 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4050 break;;
4051 * ) break;;
4052 esac
4053 done
4054 else
4055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4057 as_fn_error "cannot compute suffix of executables: cannot compile and link
4058 See \`config.log' for more details." "$LINENO" 5; }
4060 rm -f conftest$ac_cv_exeext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4062 $as_echo "$ac_cv_exeext" >&6; }
4064 rm -f conftest.$ac_ext
4065 EXEEXT=$ac_cv_exeext
4066 ac_exeext=$EXEEXT
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4069 $as_echo_n "checking for suffix of object files... " >&6; }
4070 if test "${ac_cv_objext+set}" = set; then :
4071 $as_echo_n "(cached) " >&6
4072 else
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4077 main ()
4081 return 0;
4083 _ACEOF
4084 rm -f conftest.o conftest.obj
4085 if { { ac_try="$ac_compile"
4086 case "(($ac_try" in
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4089 esac
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_compile") 2>&5
4093 ac_status=$?
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }; then :
4096 for ac_file in conftest.o conftest.obj conftest.*; do
4097 test -f "$ac_file" || continue;
4098 case $ac_file in
4099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4100 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4101 break;;
4102 esac
4103 done
4104 else
4105 $as_echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error "cannot compute suffix of object files: cannot compile
4111 See \`config.log' for more details." "$LINENO" 5; }
4113 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4116 $as_echo "$ac_cv_objext" >&6; }
4117 OBJEXT=$ac_cv_objext
4118 ac_objext=$OBJEXT
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4120 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4121 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4128 main ()
4130 #ifndef __GNUC__
4131 choke me
4132 #endif
4135 return 0;
4137 _ACEOF
4138 if ac_fn_c_try_compile "$LINENO"; then :
4139 ac_compiler_gnu=yes
4140 else
4141 ac_compiler_gnu=no
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4148 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4149 if test $ac_compiler_gnu = yes; then
4150 GCC=yes
4151 else
4152 GCC=
4154 ac_test_CFLAGS=${CFLAGS+set}
4155 ac_save_CFLAGS=$CFLAGS
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4157 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4158 if test "${ac_cv_prog_cc_g+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4160 else
4161 ac_save_c_werror_flag=$ac_c_werror_flag
4162 ac_c_werror_flag=yes
4163 ac_cv_prog_cc_g=no
4164 CFLAGS="-g"
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4169 main ()
4173 return 0;
4175 _ACEOF
4176 if ac_fn_c_try_compile "$LINENO"; then :
4177 ac_cv_prog_cc_g=yes
4178 else
4179 CFLAGS=""
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4184 main ()
4188 return 0;
4190 _ACEOF
4191 if ac_fn_c_try_compile "$LINENO"; then :
4193 else
4194 ac_c_werror_flag=$ac_save_c_werror_flag
4195 CFLAGS="-g"
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4200 main ()
4204 return 0;
4206 _ACEOF
4207 if ac_fn_c_try_compile "$LINENO"; then :
4208 ac_cv_prog_cc_g=yes
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4218 $as_echo "$ac_cv_prog_cc_g" >&6; }
4219 if test "$ac_test_CFLAGS" = set; then
4220 CFLAGS=$ac_save_CFLAGS
4221 elif test $ac_cv_prog_cc_g = yes; then
4222 if test "$GCC" = yes; then
4223 CFLAGS="-g -O2"
4224 else
4225 CFLAGS="-g"
4227 else
4228 if test "$GCC" = yes; then
4229 CFLAGS="-O2"
4230 else
4231 CFLAGS=
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4235 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4236 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4237 $as_echo_n "(cached) " >&6
4238 else
4239 ac_cv_prog_cc_c89=no
4240 ac_save_CC=$CC
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243 #include <stdarg.h>
4244 #include <stdio.h>
4245 #include <sys/types.h>
4246 #include <sys/stat.h>
4247 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4248 struct buf { int x; };
4249 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4250 static char *e (p, i)
4251 char **p;
4252 int i;
4254 return p[i];
4256 static char *f (char * (*g) (char **, int), char **p, ...)
4258 char *s;
4259 va_list v;
4260 va_start (v,p);
4261 s = g (p, va_arg (v,int));
4262 va_end (v);
4263 return s;
4266 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4267 function prototypes and stuff, but not '\xHH' hex character constants.
4268 These don't provoke an error unfortunately, instead are silently treated
4269 as 'x'. The following induces an error, until -std is added to get
4270 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4271 array size at least. It's necessary to write '\x00'==0 to get something
4272 that's true only with -std. */
4273 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4275 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4276 inside strings and character constants. */
4277 #define FOO(x) 'x'
4278 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4280 int test (int i, double x);
4281 struct s1 {int (*f) (int a);};
4282 struct s2 {int (*f) (double a);};
4283 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4284 int argc;
4285 char **argv;
4287 main ()
4289 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4291 return 0;
4293 _ACEOF
4294 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4295 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4297 CC="$ac_save_CC $ac_arg"
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_c89=$ac_arg
4301 rm -f core conftest.err conftest.$ac_objext
4302 test "x$ac_cv_prog_cc_c89" != "xno" && break
4303 done
4304 rm -f conftest.$ac_ext
4305 CC=$ac_save_CC
4308 # AC_CACHE_VAL
4309 case "x$ac_cv_prog_cc_c89" in
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4312 $as_echo "none needed" >&6; } ;;
4313 xno)
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4315 $as_echo "unsupported" >&6; } ;;
4317 CC="$CC $ac_cv_prog_cc_c89"
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4319 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4320 esac
4321 if test "x$ac_cv_prog_cc_c89" != xno; then :
4325 ac_ext=c
4326 ac_cpp='$CPP $CPPFLAGS'
4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331 ac_ext=cpp
4332 ac_cpp='$CXXCPP $CPPFLAGS'
4333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4336 if test -z "$CXX"; then
4337 if test -n "$CCC"; then
4338 CXX=$CCC
4339 else
4340 if test -n "$ac_tool_prefix"; then
4341 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if test "${ac_cv_prog_CXX+set}" = set; then :
4348 $as_echo_n "(cached) " >&6
4349 else
4350 if test -n "$CXX"; then
4351 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4352 else
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354 for as_dir in $PATH
4356 IFS=$as_save_IFS
4357 test -z "$as_dir" && as_dir=.
4358 for ac_exec_ext in '' $ac_executable_extensions; do
4359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 break 2
4364 done
4365 done
4366 IFS=$as_save_IFS
4370 CXX=$ac_cv_prog_CXX
4371 if test -n "$CXX"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4373 $as_echo "$CXX" >&6; }
4374 else
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4380 test -n "$CXX" && break
4381 done
4383 if test -z "$CXX"; then
4384 ac_ct_CXX=$CXX
4385 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4387 # Extract the first word of "$ac_prog", so it can be a program name with args.
4388 set dummy $ac_prog; ac_word=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4393 else
4394 if test -n "$ac_ct_CXX"; then
4395 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4396 else
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 for as_dir in $PATH
4400 IFS=$as_save_IFS
4401 test -z "$as_dir" && as_dir=.
4402 for ac_exec_ext in '' $ac_executable_extensions; do
4403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404 ac_cv_prog_ac_ct_CXX="$ac_prog"
4405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4406 break 2
4408 done
4409 done
4410 IFS=$as_save_IFS
4414 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4415 if test -n "$ac_ct_CXX"; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4417 $as_echo "$ac_ct_CXX" >&6; }
4418 else
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4424 test -n "$ac_ct_CXX" && break
4425 done
4427 if test "x$ac_ct_CXX" = x; then
4428 CXX="g++"
4429 else
4430 case $cross_compiling:$ac_tool_warned in
4431 yes:)
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4434 ac_tool_warned=yes ;;
4435 esac
4436 CXX=$ac_ct_CXX
4442 # Provide some information about the compiler.
4443 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4444 set X $ac_compile
4445 ac_compiler=$2
4446 for ac_option in --version -v -V -qversion; do
4447 { { ac_try="$ac_compiler $ac_option >&5"
4448 case "(($ac_try" in
4449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450 *) ac_try_echo=$ac_try;;
4451 esac
4452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4453 $as_echo "$ac_try_echo"; } >&5
4454 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4455 ac_status=$?
4456 if test -s conftest.err; then
4457 sed '10a\
4458 ... rest of stderr output deleted ...
4459 10q' conftest.err >conftest.er1
4460 cat conftest.er1 >&5
4461 rm -f conftest.er1 conftest.err
4463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464 test $ac_status = 0; }
4465 done
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4468 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4469 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4470 $as_echo_n "(cached) " >&6
4471 else
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4476 main ()
4478 #ifndef __GNUC__
4479 choke me
4480 #endif
4483 return 0;
4485 _ACEOF
4486 if ac_fn_cxx_try_compile "$LINENO"; then :
4487 ac_compiler_gnu=yes
4488 else
4489 ac_compiler_gnu=no
4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4496 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4497 if test $ac_compiler_gnu = yes; then
4498 GXX=yes
4499 else
4500 GXX=
4502 ac_test_CXXFLAGS=${CXXFLAGS+set}
4503 ac_save_CXXFLAGS=$CXXFLAGS
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4505 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4506 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4507 $as_echo_n "(cached) " >&6
4508 else
4509 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4510 ac_cxx_werror_flag=yes
4511 ac_cv_prog_cxx_g=no
4512 CXXFLAGS="-g"
4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4517 main ()
4521 return 0;
4523 _ACEOF
4524 if ac_fn_cxx_try_compile "$LINENO"; then :
4525 ac_cv_prog_cxx_g=yes
4526 else
4527 CXXFLAGS=""
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4532 main ()
4536 return 0;
4538 _ACEOF
4539 if ac_fn_cxx_try_compile "$LINENO"; then :
4541 else
4542 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4543 CXXFLAGS="-g"
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4548 main ()
4552 return 0;
4554 _ACEOF
4555 if ac_fn_cxx_try_compile "$LINENO"; then :
4556 ac_cv_prog_cxx_g=yes
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4566 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4567 if test "$ac_test_CXXFLAGS" = set; then
4568 CXXFLAGS=$ac_save_CXXFLAGS
4569 elif test $ac_cv_prog_cxx_g = yes; then
4570 if test "$GXX" = yes; then
4571 CXXFLAGS="-g -O2"
4572 else
4573 CXXFLAGS="-g"
4575 else
4576 if test "$GXX" = yes; then
4577 CXXFLAGS="-O2"
4578 else
4579 CXXFLAGS=
4582 ac_ext=c
4583 ac_cpp='$CPP $CPPFLAGS'
4584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4588 CXXFLAGS="$save_CXXFLAGS"
4590 # Runs configure.host, and assorted other critical bits. Sets
4591 # up critical shell variables.
4593 ac_ext=c
4594 ac_cpp='$CPP $CPPFLAGS'
4595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4599 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4600 # On Suns, sometimes $CPP names a directory.
4601 if test -n "$CPP" && test -d "$CPP"; then
4602 CPP=
4604 if test -z "$CPP"; then
4605 if test "${ac_cv_prog_CPP+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 # Double quotes because CPP needs to be expanded
4609 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4611 ac_preproc_ok=false
4612 for ac_c_preproc_warn_flag in '' yes
4614 # Use a header file that comes with gcc, so configuring glibc
4615 # with a fresh cross-compiler works.
4616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4617 # <limits.h> exists even on freestanding compilers.
4618 # On the NeXT, cc -E runs the code through the compiler's parser,
4619 # not just through cpp. "Syntax error" is here to catch this case.
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4622 #ifdef __STDC__
4623 # include <limits.h>
4624 #else
4625 # include <assert.h>
4626 #endif
4627 Syntax error
4628 _ACEOF
4629 if ac_fn_c_try_cpp "$LINENO"; then :
4631 else
4632 # Broken: fails on valid input.
4633 continue
4635 rm -f conftest.err conftest.$ac_ext
4637 # OK, works on sane cases. Now check whether nonexistent headers
4638 # can be detected and how.
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4641 #include <ac_nonexistent.h>
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4644 # Broken: success on invalid input.
4645 continue
4646 else
4647 # Passes both tests.
4648 ac_preproc_ok=:
4649 break
4651 rm -f conftest.err conftest.$ac_ext
4653 done
4654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4655 rm -f conftest.err conftest.$ac_ext
4656 if $ac_preproc_ok; then :
4657 break
4660 done
4661 ac_cv_prog_CPP=$CPP
4664 CPP=$ac_cv_prog_CPP
4665 else
4666 ac_cv_prog_CPP=$CPP
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4669 $as_echo "$CPP" >&6; }
4670 ac_preproc_ok=false
4671 for ac_c_preproc_warn_flag in '' yes
4673 # Use a header file that comes with gcc, so configuring glibc
4674 # with a fresh cross-compiler works.
4675 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4676 # <limits.h> exists even on freestanding compilers.
4677 # On the NeXT, cc -E runs the code through the compiler's parser,
4678 # not just through cpp. "Syntax error" is here to catch this case.
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4681 #ifdef __STDC__
4682 # include <limits.h>
4683 #else
4684 # include <assert.h>
4685 #endif
4686 Syntax error
4687 _ACEOF
4688 if ac_fn_c_try_cpp "$LINENO"; then :
4690 else
4691 # Broken: fails on valid input.
4692 continue
4694 rm -f conftest.err conftest.$ac_ext
4696 # OK, works on sane cases. Now check whether nonexistent headers
4697 # can be detected and how.
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4700 #include <ac_nonexistent.h>
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4703 # Broken: success on invalid input.
4704 continue
4705 else
4706 # Passes both tests.
4707 ac_preproc_ok=:
4708 break
4710 rm -f conftest.err conftest.$ac_ext
4712 done
4713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4714 rm -f conftest.err conftest.$ac_ext
4715 if $ac_preproc_ok; then :
4717 else
4718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4720 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4721 See \`config.log' for more details." "$LINENO" 5; }
4724 ac_ext=c
4725 ac_cpp='$CPP $CPPFLAGS'
4726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4732 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4733 if test "${ac_cv_path_GREP+set}" = set; then :
4734 $as_echo_n "(cached) " >&6
4735 else
4736 if test -z "$GREP"; then
4737 ac_path_GREP_found=false
4738 # Loop through the user's path and test for each of PROGNAME-LIST
4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4742 IFS=$as_save_IFS
4743 test -z "$as_dir" && as_dir=.
4744 for ac_prog in grep ggrep; do
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4747 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4748 # Check for GNU ac_path_GREP and select it if it is found.
4749 # Check for GNU $ac_path_GREP
4750 case `"$ac_path_GREP" --version 2>&1` in
4751 *GNU*)
4752 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4754 ac_count=0
4755 $as_echo_n 0123456789 >"conftest.in"
4756 while :
4758 cat "conftest.in" "conftest.in" >"conftest.tmp"
4759 mv "conftest.tmp" "conftest.in"
4760 cp "conftest.in" "conftest.nl"
4761 $as_echo 'GREP' >> "conftest.nl"
4762 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4764 as_fn_arith $ac_count + 1 && ac_count=$as_val
4765 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4766 # Best one so far, save it but keep looking for a better one
4767 ac_cv_path_GREP="$ac_path_GREP"
4768 ac_path_GREP_max=$ac_count
4770 # 10*(2^10) chars as input seems more than enough
4771 test $ac_count -gt 10 && break
4772 done
4773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4774 esac
4776 $ac_path_GREP_found && break 3
4777 done
4778 done
4779 done
4780 IFS=$as_save_IFS
4781 if test -z "$ac_cv_path_GREP"; then
4782 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4784 else
4785 ac_cv_path_GREP=$GREP
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4790 $as_echo "$ac_cv_path_GREP" >&6; }
4791 GREP="$ac_cv_path_GREP"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4795 $as_echo_n "checking for egrep... " >&6; }
4796 if test "${ac_cv_path_EGREP+set}" = set; then :
4797 $as_echo_n "(cached) " >&6
4798 else
4799 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4800 then ac_cv_path_EGREP="$GREP -E"
4801 else
4802 if test -z "$EGREP"; then
4803 ac_path_EGREP_found=false
4804 # Loop through the user's path and test for each of PROGNAME-LIST
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4808 IFS=$as_save_IFS
4809 test -z "$as_dir" && as_dir=.
4810 for ac_prog in egrep; do
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4813 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4814 # Check for GNU ac_path_EGREP and select it if it is found.
4815 # Check for GNU $ac_path_EGREP
4816 case `"$ac_path_EGREP" --version 2>&1` in
4817 *GNU*)
4818 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4820 ac_count=0
4821 $as_echo_n 0123456789 >"conftest.in"
4822 while :
4824 cat "conftest.in" "conftest.in" >"conftest.tmp"
4825 mv "conftest.tmp" "conftest.in"
4826 cp "conftest.in" "conftest.nl"
4827 $as_echo 'EGREP' >> "conftest.nl"
4828 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4829 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4830 as_fn_arith $ac_count + 1 && ac_count=$as_val
4831 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4832 # Best one so far, save it but keep looking for a better one
4833 ac_cv_path_EGREP="$ac_path_EGREP"
4834 ac_path_EGREP_max=$ac_count
4836 # 10*(2^10) chars as input seems more than enough
4837 test $ac_count -gt 10 && break
4838 done
4839 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4840 esac
4842 $ac_path_EGREP_found && break 3
4843 done
4844 done
4845 done
4846 IFS=$as_save_IFS
4847 if test -z "$ac_cv_path_EGREP"; then
4848 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4850 else
4851 ac_cv_path_EGREP=$EGREP
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4857 $as_echo "$ac_cv_path_EGREP" >&6; }
4858 EGREP="$ac_cv_path_EGREP"
4862 # Keep these sync'd with the list in Makefile.am. The first provides an
4863 # expandable list at autoconf time; the second provides an expandable list
4864 # (i.e., shell variable) at configure time.
4866 SUBDIRS='include libsupc++ python src doc po testsuite'
4868 # These need to be absolute paths, yet at the same time need to
4869 # canonicalize only relative paths, because then amd will not unmount
4870 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4871 glibcxx_builddir=`${PWDCMD-pwd}`
4872 case $srcdir in
4873 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4874 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4875 esac
4876 toplevel_srcdir=${glibcxx_srcdir}/..
4881 # We use these options to decide which functions to include. They are
4882 # set from the top level.
4884 # Check whether --with-target-subdir was given.
4885 if test "${with_target_subdir+set}" = set; then :
4886 withval=$with_target_subdir;
4891 # Check whether --with-cross-host was given.
4892 if test "${with_cross_host+set}" = set; then :
4893 withval=$with_cross_host;
4898 # Check whether --with-newlib was given.
4899 if test "${with_newlib+set}" = set; then :
4900 withval=$with_newlib;
4904 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4905 # available). Uncomment the next line to force a particular method.
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4907 $as_echo_n "checking whether ln -s works... " >&6; }
4908 LN_S=$as_ln_s
4909 if test "$LN_S" = "ln -s"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4911 $as_echo "yes" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4914 $as_echo "no, using $LN_S" >&6; }
4917 #LN_S='cp -p'
4919 if test -n "$ac_tool_prefix"; then
4920 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4921 set dummy ${ac_tool_prefix}as; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if test "${ac_cv_prog_AS+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 if test -n "$AS"; then
4928 ac_cv_prog_AS="$AS" # Let the user override the test.
4929 else
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 for as_dir in $PATH
4933 IFS=$as_save_IFS
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_AS="${ac_tool_prefix}as"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 break 2
4941 done
4942 done
4943 IFS=$as_save_IFS
4947 AS=$ac_cv_prog_AS
4948 if test -n "$AS"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4950 $as_echo "$AS" >&6; }
4951 else
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4958 if test -z "$ac_cv_prog_AS"; then
4959 ac_ct_AS=$AS
4960 # Extract the first word of "as", so it can be a program name with args.
4961 set dummy as; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4966 else
4967 if test -n "$ac_ct_AS"; then
4968 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4969 else
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 for as_dir in $PATH
4973 IFS=$as_save_IFS
4974 test -z "$as_dir" && as_dir=.
4975 for ac_exec_ext in '' $ac_executable_extensions; do
4976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977 ac_cv_prog_ac_ct_AS="as"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 break 2
4981 done
4982 done
4983 IFS=$as_save_IFS
4987 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4988 if test -n "$ac_ct_AS"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4990 $as_echo "$ac_ct_AS" >&6; }
4991 else
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4996 if test "x$ac_ct_AS" = x; then
4997 AS=""
4998 else
4999 case $cross_compiling:$ac_tool_warned in
5000 yes:)
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned=yes ;;
5004 esac
5005 AS=$ac_ct_AS
5007 else
5008 AS="$ac_cv_prog_AS"
5011 if test -n "$ac_tool_prefix"; then
5012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5013 set dummy ${ac_tool_prefix}ar; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if test "${ac_cv_prog_AR+set}" = set; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$AR"; then
5020 ac_cv_prog_AR="$AR" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 ac_cv_prog_AR="${ac_tool_prefix}ar"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 AR=$ac_cv_prog_AR
5040 if test -n "$AR"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5042 $as_echo "$AR" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5050 if test -z "$ac_cv_prog_AR"; then
5051 ac_ct_AR=$AR
5052 # Extract the first word of "ar", so it can be a program name with args.
5053 set dummy ar; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5058 else
5059 if test -n "$ac_ct_AR"; then
5060 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5061 else
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5065 IFS=$as_save_IFS
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069 ac_cv_prog_ac_ct_AR="ar"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 break 2
5073 done
5074 done
5075 IFS=$as_save_IFS
5079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5080 if test -n "$ac_ct_AR"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5082 $as_echo "$ac_ct_AR" >&6; }
5083 else
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5088 if test "x$ac_ct_AR" = x; then
5089 AR=""
5090 else
5091 case $cross_compiling:$ac_tool_warned in
5092 yes:)
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5095 ac_tool_warned=yes ;;
5096 esac
5097 AR=$ac_ct_AR
5099 else
5100 AR="$ac_cv_prog_AR"
5103 if test -n "$ac_tool_prefix"; then
5104 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5105 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 if test -n "$RANLIB"; then
5112 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5113 else
5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 for as_dir in $PATH
5117 IFS=$as_save_IFS
5118 test -z "$as_dir" && as_dir=.
5119 for ac_exec_ext in '' $ac_executable_extensions; do
5120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5121 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 break 2
5125 done
5126 done
5127 IFS=$as_save_IFS
5131 RANLIB=$ac_cv_prog_RANLIB
5132 if test -n "$RANLIB"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5134 $as_echo "$RANLIB" >&6; }
5135 else
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5142 if test -z "$ac_cv_prog_RANLIB"; then
5143 ac_ct_RANLIB=$RANLIB
5144 # Extract the first word of "ranlib", so it can be a program name with args.
5145 set dummy ranlib; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 if test -n "$ac_ct_RANLIB"; then
5152 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_RANLIB="ranlib"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5165 done
5166 done
5167 IFS=$as_save_IFS
5171 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5172 if test -n "$ac_ct_RANLIB"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5174 $as_echo "$ac_ct_RANLIB" >&6; }
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5180 if test "x$ac_ct_RANLIB" = x; then
5181 RANLIB="ranlib-not-found-in-path-error"
5182 else
5183 case $cross_compiling:$ac_tool_warned in
5184 yes:)
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5187 ac_tool_warned=yes ;;
5188 esac
5189 RANLIB=$ac_ct_RANLIB
5191 else
5192 RANLIB="$ac_cv_prog_RANLIB"
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5198 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5199 # Check whether --enable-maintainer-mode was given.
5200 if test "${enable_maintainer_mode+set}" = set; then :
5201 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5202 else
5203 USE_MAINTAINER_MODE=no
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5207 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5208 if test $USE_MAINTAINER_MODE = yes; then
5209 MAINTAINER_MODE_TRUE=
5210 MAINTAINER_MODE_FALSE='#'
5211 else
5212 MAINTAINER_MODE_TRUE='#'
5213 MAINTAINER_MODE_FALSE=
5216 MAINT=$MAINTAINER_MODE_TRUE
5220 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5221 # which are themselves conditionally expanded.
5222 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5223 ## other macros from doing the same. This should be automated.) -pme
5225 # Check for C library flavor since Linux platforms use different configuration
5226 # directories depending on the C library in use.
5227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5230 #include <stdio.h>
5231 #if __UCLIBC__
5232 _using_uclibc
5233 #endif
5235 _ACEOF
5236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5237 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5238 uclibc=yes
5239 else
5240 uclibc=no
5242 rm -f conftest*
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5248 #include <stdio.h>
5249 #if __BIONIC__
5250 _using_bionic
5251 #endif
5253 _ACEOF
5254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5255 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5256 bionic=yes
5257 else
5258 bionic=no
5260 rm -f conftest*
5263 # Find platform-specific directories containing configuration info.
5264 # Also possibly modify flags used elsewhere, as needed by the platform.
5266 . $glibcxx_srcdir/configure.host
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5268 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5270 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5274 if test "x${with_newlib}" != "xyes"; then
5275 enable_dlopen=yes
5280 case `pwd` in
5281 *\ * | *\ *)
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5283 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5284 esac
5288 macro_version='2.2.7a'
5289 macro_revision='1.3134'
5303 ltmain="$ac_aux_dir/ltmain.sh"
5305 # Backslashify metacharacters that are still active within
5306 # double-quoted strings.
5307 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5309 # Same as above, but do not quote variable references.
5310 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5312 # Sed substitution to delay expansion of an escaped shell variable in a
5313 # double_quote_subst'ed string.
5314 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5316 # Sed substitution to delay expansion of an escaped single quote.
5317 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5319 # Sed substitution to avoid accidental globbing in evaled expressions
5320 no_glob_subst='s/\*/\\\*/g'
5322 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5323 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5327 $as_echo_n "checking how to print strings... " >&6; }
5328 # Test print first, because it will be a builtin if present.
5329 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5330 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5331 ECHO='print -r --'
5332 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5333 ECHO='printf %s\n'
5334 else
5335 # Use this function as a fallback that always works.
5336 func_fallback_echo ()
5338 eval 'cat <<_LTECHO_EOF
5340 _LTECHO_EOF'
5342 ECHO='func_fallback_echo'
5345 # func_echo_all arg...
5346 # Invoke $ECHO with all args, space-separated.
5347 func_echo_all ()
5349 $ECHO ""
5352 case "$ECHO" in
5353 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5354 $as_echo "printf" >&6; } ;;
5355 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5356 $as_echo "print -r" >&6; } ;;
5357 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5358 $as_echo "cat" >&6; } ;;
5359 esac
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5375 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5376 if test "${ac_cv_path_SED+set}" = set; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5380 for ac_i in 1 2 3 4 5 6 7; do
5381 ac_script="$ac_script$as_nl$ac_script"
5382 done
5383 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5384 { ac_script=; unset ac_script;}
5385 if test -z "$SED"; then
5386 ac_path_SED_found=false
5387 # Loop through the user's path and test for each of PROGNAME-LIST
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_prog in sed gsed; do
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5396 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5397 # Check for GNU ac_path_SED and select it if it is found.
5398 # Check for GNU $ac_path_SED
5399 case `"$ac_path_SED" --version 2>&1` in
5400 *GNU*)
5401 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5403 ac_count=0
5404 $as_echo_n 0123456789 >"conftest.in"
5405 while :
5407 cat "conftest.in" "conftest.in" >"conftest.tmp"
5408 mv "conftest.tmp" "conftest.in"
5409 cp "conftest.in" "conftest.nl"
5410 $as_echo '' >> "conftest.nl"
5411 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5412 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5413 as_fn_arith $ac_count + 1 && ac_count=$as_val
5414 if test $ac_count -gt ${ac_path_SED_max-0}; then
5415 # Best one so far, save it but keep looking for a better one
5416 ac_cv_path_SED="$ac_path_SED"
5417 ac_path_SED_max=$ac_count
5419 # 10*(2^10) chars as input seems more than enough
5420 test $ac_count -gt 10 && break
5421 done
5422 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5423 esac
5425 $ac_path_SED_found && break 3
5426 done
5427 done
5428 done
5429 IFS=$as_save_IFS
5430 if test -z "$ac_cv_path_SED"; then
5431 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5433 else
5434 ac_cv_path_SED=$SED
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5439 $as_echo "$ac_cv_path_SED" >&6; }
5440 SED="$ac_cv_path_SED"
5441 rm -f conftest.sed
5443 test -z "$SED" && SED=sed
5444 Xsed="$SED -e 1s/^X//"
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5457 $as_echo_n "checking for fgrep... " >&6; }
5458 if test "${ac_cv_path_FGREP+set}" = set; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5462 then ac_cv_path_FGREP="$GREP -F"
5463 else
5464 if test -z "$FGREP"; then
5465 ac_path_FGREP_found=false
5466 # Loop through the user's path and test for each of PROGNAME-LIST
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_prog in fgrep; do
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5475 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5476 # Check for GNU ac_path_FGREP and select it if it is found.
5477 # Check for GNU $ac_path_FGREP
5478 case `"$ac_path_FGREP" --version 2>&1` in
5479 *GNU*)
5480 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5482 ac_count=0
5483 $as_echo_n 0123456789 >"conftest.in"
5484 while :
5486 cat "conftest.in" "conftest.in" >"conftest.tmp"
5487 mv "conftest.tmp" "conftest.in"
5488 cp "conftest.in" "conftest.nl"
5489 $as_echo 'FGREP' >> "conftest.nl"
5490 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5492 as_fn_arith $ac_count + 1 && ac_count=$as_val
5493 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5494 # Best one so far, save it but keep looking for a better one
5495 ac_cv_path_FGREP="$ac_path_FGREP"
5496 ac_path_FGREP_max=$ac_count
5498 # 10*(2^10) chars as input seems more than enough
5499 test $ac_count -gt 10 && break
5500 done
5501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5502 esac
5504 $ac_path_FGREP_found && break 3
5505 done
5506 done
5507 done
5508 IFS=$as_save_IFS
5509 if test -z "$ac_cv_path_FGREP"; then
5510 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5512 else
5513 ac_cv_path_FGREP=$FGREP
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5519 $as_echo "$ac_cv_path_FGREP" >&6; }
5520 FGREP="$ac_cv_path_FGREP"
5523 test -z "$GREP" && GREP=grep
5543 # Check whether --with-gnu-ld was given.
5544 if test "${with_gnu_ld+set}" = set; then :
5545 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5546 else
5547 with_gnu_ld=no
5550 ac_prog=ld
5551 if test "$GCC" = yes; then
5552 # Check if gcc -print-prog-name=ld gives a path.
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5554 $as_echo_n "checking for ld used by $CC... " >&6; }
5555 case $host in
5556 *-*-mingw*)
5557 # gcc leaves a trailing carriage return which upsets mingw
5558 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5560 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5561 esac
5562 case $ac_prog in
5563 # Accept absolute paths.
5564 [\\/]* | ?:[\\/]*)
5565 re_direlt='/[^/][^/]*/\.\./'
5566 # Canonicalize the pathname of ld
5567 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5568 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5569 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5570 done
5571 test -z "$LD" && LD="$ac_prog"
5574 # If it fails, then pretend we aren't using GCC.
5575 ac_prog=ld
5578 # If it is relative, then search for the first ld in PATH.
5579 with_gnu_ld=unknown
5581 esac
5582 elif test "$with_gnu_ld" = yes; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5584 $as_echo_n "checking for GNU ld... " >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5587 $as_echo_n "checking for non-GNU ld... " >&6; }
5589 if test "${lt_cv_path_LD+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5591 else
5592 if test -z "$LD"; then
5593 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5594 for ac_dir in $PATH; do
5595 IFS="$lt_save_ifs"
5596 test -z "$ac_dir" && ac_dir=.
5597 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5598 lt_cv_path_LD="$ac_dir/$ac_prog"
5599 # Check to see if the program is GNU ld. I'd rather use --version,
5600 # but apparently some variants of GNU ld only accept -v.
5601 # Break only if it was the GNU/non-GNU ld that we prefer.
5602 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5603 *GNU* | *'with BFD'*)
5604 test "$with_gnu_ld" != no && break
5607 test "$with_gnu_ld" != yes && break
5609 esac
5611 done
5612 IFS="$lt_save_ifs"
5613 else
5614 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5618 LD="$lt_cv_path_LD"
5619 if test -n "$LD"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5621 $as_echo "$LD" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5626 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5628 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5629 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5633 case `$LD -v 2>&1 </dev/null` in
5634 *GNU* | *'with BFD'*)
5635 lt_cv_prog_gnu_ld=yes
5638 lt_cv_prog_gnu_ld=no
5640 esac
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5643 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5644 with_gnu_ld=$lt_cv_prog_gnu_ld
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5655 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5656 if test "${lt_cv_path_NM+set}" = set; then :
5657 $as_echo_n "(cached) " >&6
5658 else
5659 if test -n "$NM"; then
5660 # Let the user override the test.
5661 lt_cv_path_NM="$NM"
5662 else
5663 lt_nm_to_check="${ac_tool_prefix}nm"
5664 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5665 lt_nm_to_check="$lt_nm_to_check nm"
5667 for lt_tmp_nm in $lt_nm_to_check; do
5668 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5669 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5670 IFS="$lt_save_ifs"
5671 test -z "$ac_dir" && ac_dir=.
5672 tmp_nm="$ac_dir/$lt_tmp_nm"
5673 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5674 # Check to see if the nm accepts a BSD-compat flag.
5675 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5676 # nm: unknown option "B" ignored
5677 # Tru64's nm complains that /dev/null is an invalid object file
5678 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5679 */dev/null* | *'Invalid file or object type'*)
5680 lt_cv_path_NM="$tmp_nm -B"
5681 break
5684 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5685 */dev/null*)
5686 lt_cv_path_NM="$tmp_nm -p"
5687 break
5690 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5691 continue # so that we can try to find one that supports BSD flags
5693 esac
5695 esac
5697 done
5698 IFS="$lt_save_ifs"
5699 done
5700 : ${lt_cv_path_NM=no}
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5704 $as_echo "$lt_cv_path_NM" >&6; }
5705 if test "$lt_cv_path_NM" != "no"; then
5706 NM="$lt_cv_path_NM"
5707 else
5708 # Didn't find any BSD compatible name lister, look for dumpbin.
5709 if test -n "$DUMPBIN"; then :
5710 # Let the user override the test.
5711 else
5712 if test -n "$ac_tool_prefix"; then
5713 for ac_prog in dumpbin "link -dump"
5715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5720 $as_echo_n "(cached) " >&6
5721 else
5722 if test -n "$DUMPBIN"; then
5723 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5724 else
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH
5728 IFS=$as_save_IFS
5729 test -z "$as_dir" && as_dir=.
5730 for ac_exec_ext in '' $ac_executable_extensions; do
5731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5732 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 break 2
5736 done
5737 done
5738 IFS=$as_save_IFS
5742 DUMPBIN=$ac_cv_prog_DUMPBIN
5743 if test -n "$DUMPBIN"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5745 $as_echo "$DUMPBIN" >&6; }
5746 else
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5752 test -n "$DUMPBIN" && break
5753 done
5755 if test -z "$DUMPBIN"; then
5756 ac_ct_DUMPBIN=$DUMPBIN
5757 for ac_prog in dumpbin "link -dump"
5759 # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy $ac_prog; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5764 $as_echo_n "(cached) " >&6
5765 else
5766 if test -n "$ac_ct_DUMPBIN"; then
5767 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5768 else
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH
5772 IFS=$as_save_IFS
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 break 2
5780 done
5781 done
5782 IFS=$as_save_IFS
5786 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5787 if test -n "$ac_ct_DUMPBIN"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5789 $as_echo "$ac_ct_DUMPBIN" >&6; }
5790 else
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5796 test -n "$ac_ct_DUMPBIN" && break
5797 done
5799 if test "x$ac_ct_DUMPBIN" = x; then
5800 DUMPBIN=":"
5801 else
5802 case $cross_compiling:$ac_tool_warned in
5803 yes:)
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5807 esac
5808 DUMPBIN=$ac_ct_DUMPBIN
5812 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5813 *COFF*)
5814 DUMPBIN="$DUMPBIN -symbols"
5817 DUMPBIN=:
5819 esac
5822 if test "$DUMPBIN" != ":"; then
5823 NM="$DUMPBIN"
5826 test -z "$NM" && NM=nm
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5834 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5835 if test "${lt_cv_nm_interface+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 lt_cv_nm_interface="BSD nm"
5839 echo "int some_variable = 0;" > conftest.$ac_ext
5840 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5841 (eval "$ac_compile" 2>conftest.err)
5842 cat conftest.err >&5
5843 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5844 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5845 cat conftest.err >&5
5846 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5847 cat conftest.out >&5
5848 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5849 lt_cv_nm_interface="MS dumpbin"
5851 rm -f conftest*
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5854 $as_echo "$lt_cv_nm_interface" >&6; }
5856 # find the maximum length of command line arguments
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5858 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5859 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5863 teststring="ABCD"
5865 case $build_os in
5866 msdosdjgpp*)
5867 # On DJGPP, this test can blow up pretty badly due to problems in libc
5868 # (any single argument exceeding 2000 bytes causes a buffer overrun
5869 # during glob expansion). Even if it were fixed, the result of this
5870 # check would be larger than it should be.
5871 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5874 gnu*)
5875 # Under GNU Hurd, this test is not required because there is
5876 # no limit to the length of command line arguments.
5877 # Libtool will interpret -1 as no limit whatsoever
5878 lt_cv_sys_max_cmd_len=-1;
5881 cygwin* | mingw* | cegcc*)
5882 # On Win9x/ME, this test blows up -- it succeeds, but takes
5883 # about 5 minutes as the teststring grows exponentially.
5884 # Worse, since 9x/ME are not pre-emptively multitasking,
5885 # you end up with a "frozen" computer, even though with patience
5886 # the test eventually succeeds (with a max line length of 256k).
5887 # Instead, let's just punt: use the minimum linelength reported by
5888 # all of the supported platforms: 8192 (on NT/2K/XP).
5889 lt_cv_sys_max_cmd_len=8192;
5892 mint*)
5893 # On MiNT this can take a long time and run out of memory.
5894 lt_cv_sys_max_cmd_len=8192;
5897 amigaos*)
5898 # On AmigaOS with pdksh, this test takes hours, literally.
5899 # So we just punt and use a minimum line length of 8192.
5900 lt_cv_sys_max_cmd_len=8192;
5903 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5904 # This has been around since 386BSD, at least. Likely further.
5905 if test -x /sbin/sysctl; then
5906 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5907 elif test -x /usr/sbin/sysctl; then
5908 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5909 else
5910 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5912 # And add a safety zone
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5917 interix*)
5918 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5919 lt_cv_sys_max_cmd_len=196608
5922 osf*)
5923 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5924 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5925 # nice to cause kernel panics so lets avoid the loop below.
5926 # First set a reasonable default.
5927 lt_cv_sys_max_cmd_len=16384
5929 if test -x /sbin/sysconfig; then
5930 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5931 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5932 esac
5935 sco3.2v5*)
5936 lt_cv_sys_max_cmd_len=102400
5938 sysv5* | sco5v6* | sysv4.2uw2*)
5939 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5940 if test -n "$kargmax"; then
5941 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5942 else
5943 lt_cv_sys_max_cmd_len=32768
5947 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5948 if test -n "$lt_cv_sys_max_cmd_len"; then
5949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5951 else
5952 # Make teststring a little bigger before we do anything with it.
5953 # a 1K string should be a reasonable start.
5954 for i in 1 2 3 4 5 6 7 8 ; do
5955 teststring=$teststring$teststring
5956 done
5957 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5958 # If test is not a shell built-in, we'll probably end up computing a
5959 # maximum length that is only half of the actual maximum length, but
5960 # we can't tell.
5961 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5962 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5963 test $i != 17 # 1/2 MB should be enough
5965 i=`expr $i + 1`
5966 teststring=$teststring$teststring
5967 done
5968 # Only check the string length outside the loop.
5969 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5970 teststring=
5971 # Add a significant safety factor because C++ compilers can tack on
5972 # massive amounts of additional arguments before passing them to the
5973 # linker. It appears as though 1/2 is a usable value.
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5977 esac
5981 if test -n $lt_cv_sys_max_cmd_len ; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5983 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5986 $as_echo "none" >&6; }
5988 max_cmd_len=$lt_cv_sys_max_cmd_len
5995 : ${CP="cp -f"}
5996 : ${MV="mv -f"}
5997 : ${RM="rm -f"}
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6000 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6001 # Try some XSI features
6002 xsi_shell=no
6003 ( _lt_dummy="a/b/c"
6004 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6005 = c,a/b,, \
6006 && eval 'test $(( 1 + 1 )) -eq 2 \
6007 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6008 && xsi_shell=yes
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6010 $as_echo "$xsi_shell" >&6; }
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6014 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6015 lt_shell_append=no
6016 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6017 >/dev/null 2>&1 \
6018 && lt_shell_append=yes
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6020 $as_echo "$lt_shell_append" >&6; }
6023 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6024 lt_unset=unset
6025 else
6026 lt_unset=false
6033 # test EBCDIC or ASCII
6034 case `echo X|tr X '\101'` in
6035 A) # ASCII based system
6036 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6037 lt_SP2NL='tr \040 \012'
6038 lt_NL2SP='tr \015\012 \040\040'
6040 *) # EBCDIC based system
6041 lt_SP2NL='tr \100 \n'
6042 lt_NL2SP='tr \r\n \100\100'
6044 esac
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6055 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6056 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 lt_cv_ld_reload_flag='-r'
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6062 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6063 reload_flag=$lt_cv_ld_reload_flag
6064 case $reload_flag in
6065 "" | " "*) ;;
6066 *) reload_flag=" $reload_flag" ;;
6067 esac
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6069 case $host_os in
6070 darwin*)
6071 if test "$GCC" = yes; then
6072 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6073 else
6074 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6077 esac
6087 if test -n "$ac_tool_prefix"; then
6088 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6089 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; }
6092 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6093 $as_echo_n "(cached) " >&6
6094 else
6095 if test -n "$OBJDUMP"; then
6096 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 OBJDUMP=$ac_cv_prog_OBJDUMP
6116 if test -n "$OBJDUMP"; then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6118 $as_echo "$OBJDUMP" >&6; }
6119 else
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6126 if test -z "$ac_cv_prog_OBJDUMP"; then
6127 ac_ct_OBJDUMP=$OBJDUMP
6128 # Extract the first word of "objdump", so it can be a program name with args.
6129 set dummy objdump; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 if test -n "$ac_ct_OBJDUMP"; then
6136 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6145 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 break 2
6149 done
6150 done
6151 IFS=$as_save_IFS
6155 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6156 if test -n "$ac_ct_OBJDUMP"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6158 $as_echo "$ac_ct_OBJDUMP" >&6; }
6159 else
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6164 if test "x$ac_ct_OBJDUMP" = x; then
6165 OBJDUMP="false"
6166 else
6167 case $cross_compiling:$ac_tool_warned in
6168 yes:)
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6171 ac_tool_warned=yes ;;
6172 esac
6173 OBJDUMP=$ac_ct_OBJDUMP
6175 else
6176 OBJDUMP="$ac_cv_prog_OBJDUMP"
6179 test -z "$OBJDUMP" && OBJDUMP=objdump
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6190 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6191 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 lt_cv_file_magic_cmd='$MAGIC_CMD'
6195 lt_cv_file_magic_test_file=
6196 lt_cv_deplibs_check_method='unknown'
6197 # Need to set the preceding variable on all platforms that support
6198 # interlibrary dependencies.
6199 # 'none' -- dependencies not supported.
6200 # `unknown' -- same as none, but documents that we really don't know.
6201 # 'pass_all' -- all dependencies passed with no checks.
6202 # 'test_compile' -- check by making test program.
6203 # 'file_magic [[regex]]' -- check by looking for files in library path
6204 # which responds to the $file_magic_cmd with a given extended regex.
6205 # If you have `file' or equivalent on your system and you're not sure
6206 # whether `pass_all' will *always* work, you probably want this one.
6208 case $host_os in
6209 aix[4-9]*)
6210 lt_cv_deplibs_check_method=pass_all
6213 beos*)
6214 lt_cv_deplibs_check_method=pass_all
6217 bsdi[45]*)
6218 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6219 lt_cv_file_magic_cmd='/usr/bin/file -L'
6220 lt_cv_file_magic_test_file=/shlib/libc.so
6223 cygwin*)
6224 # func_win32_libid is a shell function defined in ltmain.sh
6225 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6226 lt_cv_file_magic_cmd='func_win32_libid'
6229 mingw* | pw32*)
6230 # Base MSYS/MinGW do not provide the 'file' command needed by
6231 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6232 # unless we find 'file', for example because we are cross-compiling.
6233 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6234 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6236 lt_cv_file_magic_cmd='func_win32_libid'
6237 else
6238 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6239 lt_cv_file_magic_cmd='$OBJDUMP -f'
6243 cegcc*)
6244 # use the weaker test based on 'objdump'. See mingw*.
6245 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6246 lt_cv_file_magic_cmd='$OBJDUMP -f'
6249 darwin* | rhapsody*)
6250 lt_cv_deplibs_check_method=pass_all
6253 freebsd* | dragonfly*)
6254 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6255 case $host_cpu in
6256 i*86 )
6257 # Not sure whether the presence of OpenBSD here was a mistake.
6258 # Let's accept both of them until this is cleared up.
6259 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6260 lt_cv_file_magic_cmd=/usr/bin/file
6261 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6263 esac
6264 else
6265 lt_cv_deplibs_check_method=pass_all
6269 gnu*)
6270 lt_cv_deplibs_check_method=pass_all
6273 haiku*)
6274 lt_cv_deplibs_check_method=pass_all
6277 hpux10.20* | hpux11*)
6278 lt_cv_file_magic_cmd=/usr/bin/file
6279 case $host_cpu in
6280 ia64*)
6281 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6282 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6284 hppa*64*)
6285 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6286 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6289 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6290 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6292 esac
6295 interix[3-9]*)
6296 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6297 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6300 irix5* | irix6* | nonstopux*)
6301 case $LD in
6302 *-32|*"-32 ") libmagic=32-bit;;
6303 *-n32|*"-n32 ") libmagic=N32;;
6304 *-64|*"-64 ") libmagic=64-bit;;
6305 *) libmagic=never-match;;
6306 esac
6307 lt_cv_deplibs_check_method=pass_all
6310 # This must be Linux ELF.
6311 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6312 lt_cv_deplibs_check_method=pass_all
6315 netbsd*)
6316 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6317 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6318 else
6319 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6323 newos6*)
6324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6325 lt_cv_file_magic_cmd=/usr/bin/file
6326 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6329 *nto* | *qnx*)
6330 lt_cv_deplibs_check_method=pass_all
6333 openbsd*)
6334 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6336 else
6337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6341 osf3* | osf4* | osf5*)
6342 lt_cv_deplibs_check_method=pass_all
6345 rdos*)
6346 lt_cv_deplibs_check_method=pass_all
6349 solaris*)
6350 lt_cv_deplibs_check_method=pass_all
6353 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6354 lt_cv_deplibs_check_method=pass_all
6357 sysv4 | sysv4.3*)
6358 case $host_vendor in
6359 motorola)
6360 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6361 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6363 ncr)
6364 lt_cv_deplibs_check_method=pass_all
6366 sequent)
6367 lt_cv_file_magic_cmd='/bin/file'
6368 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6370 sni)
6371 lt_cv_file_magic_cmd='/bin/file'
6372 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6373 lt_cv_file_magic_test_file=/lib/libc.so
6375 siemens)
6376 lt_cv_deplibs_check_method=pass_all
6379 lt_cv_deplibs_check_method=pass_all
6381 esac
6384 tpf*)
6385 lt_cv_deplibs_check_method=pass_all
6387 esac
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6391 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6392 file_magic_cmd=$lt_cv_file_magic_cmd
6393 deplibs_check_method=$lt_cv_deplibs_check_method
6394 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6407 if test -n "$ac_tool_prefix"; then
6408 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6409 set dummy ${ac_tool_prefix}ar; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if test "${ac_cv_prog_AR+set}" = set; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6415 if test -n "$AR"; then
6416 ac_cv_prog_AR="$AR" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6425 ac_cv_prog_AR="${ac_tool_prefix}ar"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 break 2
6429 done
6430 done
6431 IFS=$as_save_IFS
6435 AR=$ac_cv_prog_AR
6436 if test -n "$AR"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6438 $as_echo "$AR" >&6; }
6439 else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6446 if test -z "$ac_cv_prog_AR"; then
6447 ac_ct_AR=$AR
6448 # Extract the first word of "ar", so it can be a program name with args.
6449 set dummy ar; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6454 else
6455 if test -n "$ac_ct_AR"; then
6456 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6457 else
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 for as_dir in $PATH
6461 IFS=$as_save_IFS
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465 ac_cv_prog_ac_ct_AR="ar"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 break 2
6469 done
6470 done
6471 IFS=$as_save_IFS
6475 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6476 if test -n "$ac_ct_AR"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6478 $as_echo "$ac_ct_AR" >&6; }
6479 else
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6484 if test "x$ac_ct_AR" = x; then
6485 AR="false"
6486 else
6487 case $cross_compiling:$ac_tool_warned in
6488 yes:)
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6491 ac_tool_warned=yes ;;
6492 esac
6493 AR=$ac_ct_AR
6495 else
6496 AR="$ac_cv_prog_AR"
6499 test -z "$AR" && AR=ar
6500 test -z "$AR_FLAGS" && AR_FLAGS=cru
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}strip; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_STRIP+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 if test -n "$STRIP"; then
6521 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6526 IFS=$as_save_IFS
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 break 2
6534 done
6535 done
6536 IFS=$as_save_IFS
6540 STRIP=$ac_cv_prog_STRIP
6541 if test -n "$STRIP"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6543 $as_echo "$STRIP" >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6551 if test -z "$ac_cv_prog_STRIP"; then
6552 ac_ct_STRIP=$STRIP
6553 # Extract the first word of "strip", so it can be a program name with args.
6554 set dummy strip; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$ac_ct_STRIP"; then
6561 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_STRIP="strip"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6574 done
6575 done
6576 IFS=$as_save_IFS
6580 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6581 if test -n "$ac_ct_STRIP"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6583 $as_echo "$ac_ct_STRIP" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6589 if test "x$ac_ct_STRIP" = x; then
6590 STRIP=":"
6591 else
6592 case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598 STRIP=$ac_ct_STRIP
6600 else
6601 STRIP="$ac_cv_prog_STRIP"
6604 test -z "$STRIP" && STRIP=:
6611 if test -n "$ac_tool_prefix"; then
6612 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6613 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6617 $as_echo_n "(cached) " >&6
6618 else
6619 if test -n "$RANLIB"; then
6620 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6621 else
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 for as_dir in $PATH
6625 IFS=$as_save_IFS
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6629 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 break 2
6633 done
6634 done
6635 IFS=$as_save_IFS
6639 RANLIB=$ac_cv_prog_RANLIB
6640 if test -n "$RANLIB"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6642 $as_echo "$RANLIB" >&6; }
6643 else
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6650 if test -z "$ac_cv_prog_RANLIB"; then
6651 ac_ct_RANLIB=$RANLIB
6652 # Extract the first word of "ranlib", so it can be a program name with args.
6653 set dummy ranlib; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6657 $as_echo_n "(cached) " >&6
6658 else
6659 if test -n "$ac_ct_RANLIB"; then
6660 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6665 IFS=$as_save_IFS
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6669 ac_cv_prog_ac_ct_RANLIB="ranlib"
6670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 break 2
6673 done
6674 done
6675 IFS=$as_save_IFS
6679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6680 if test -n "$ac_ct_RANLIB"; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6682 $as_echo "$ac_ct_RANLIB" >&6; }
6683 else
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6688 if test "x$ac_ct_RANLIB" = x; then
6689 RANLIB=":"
6690 else
6691 case $cross_compiling:$ac_tool_warned in
6692 yes:)
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6695 ac_tool_warned=yes ;;
6696 esac
6697 RANLIB=$ac_ct_RANLIB
6699 else
6700 RANLIB="$ac_cv_prog_RANLIB"
6703 test -z "$RANLIB" && RANLIB=:
6710 # Determine commands to create old-style static archives.
6711 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6712 old_postinstall_cmds='chmod 644 $oldlib'
6713 old_postuninstall_cmds=
6715 if test -n "$RANLIB"; then
6716 case $host_os in
6717 openbsd*)
6718 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6721 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6723 esac
6724 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6727 case $host_os in
6728 darwin*)
6729 lock_old_archive_extraction=yes ;;
6731 lock_old_archive_extraction=no ;;
6732 esac
6772 # If no C compiler was specified, use CC.
6773 LTCC=${LTCC-"$CC"}
6775 # If no C compiler flags were specified, use CFLAGS.
6776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6778 # Allow CC to be a program name with arguments.
6779 compiler=$CC
6782 # Check for command to grab the raw symbol name followed by C symbol from nm.
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6784 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6785 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6789 # These are sane defaults that work on at least a few old systems.
6790 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6792 # Character class describing NM global symbol codes.
6793 symcode='[BCDEGRST]'
6795 # Regexp to match symbols that can be accessed directly from C.
6796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6798 # Define system-specific variables.
6799 case $host_os in
6800 aix*)
6801 symcode='[BCDT]'
6803 cygwin* | mingw* | pw32* | cegcc*)
6804 symcode='[ABCDGISTW]'
6806 hpux*)
6807 if test "$host_cpu" = ia64; then
6808 symcode='[ABCDEGRST]'
6811 irix* | nonstopux*)
6812 symcode='[BCDEGRST]'
6814 osf*)
6815 symcode='[BCDEGQRST]'
6817 solaris*)
6818 symcode='[BDRT]'
6820 sco3.2v5*)
6821 symcode='[DT]'
6823 sysv4.2uw2*)
6824 symcode='[DT]'
6826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6827 symcode='[ABDT]'
6829 sysv4)
6830 symcode='[DFNSTU]'
6832 esac
6834 # If we're using GNU nm, then use its standard symbol codes.
6835 case `$NM -V 2>&1` in
6836 *GNU* | *'with BFD'*)
6837 symcode='[ABCDGIRSTW]' ;;
6838 esac
6840 # Transform an extracted symbol line into a proper C declaration.
6841 # Some systems (esp. on ia64) link data and code symbols differently,
6842 # so use this general approach.
6843 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6845 # Transform an extracted symbol line into symbol name and symbol address
6846 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6847 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6849 # Handle CRLF in mingw tool chain
6850 opt_cr=
6851 case $build_os in
6852 mingw*)
6853 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6855 esac
6857 # Try without a prefix underscore, then with it.
6858 for ac_symprfx in "" "_"; do
6860 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6861 symxfrm="\\1 $ac_symprfx\\2 \\2"
6863 # Write the raw and C identifiers.
6864 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6865 # Fake it for dumpbin and say T for any non-static function
6866 # and D for any global variable.
6867 # Also find C++ and __fastcall symbols from MSVC++,
6868 # which start with @ or ?.
6869 lt_cv_sys_global_symbol_pipe="$AWK '"\
6870 " {last_section=section; section=\$ 3};"\
6871 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6872 " \$ 0!~/External *\|/{next};"\
6873 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6874 " {if(hide[section]) next};"\
6875 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6876 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6877 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6878 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6879 " ' prfx=^$ac_symprfx"
6880 else
6881 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6884 # Check to see that the pipe works correctly.
6885 pipe_works=no
6887 rm -f conftest*
6888 cat > conftest.$ac_ext <<_LT_EOF
6889 #ifdef __cplusplus
6890 extern "C" {
6891 #endif
6892 char nm_test_var;
6893 void nm_test_func(void);
6894 void nm_test_func(void){}
6895 #ifdef __cplusplus
6897 #endif
6898 int main(){nm_test_var='a';nm_test_func();return(0);}
6899 _LT_EOF
6901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6902 (eval $ac_compile) 2>&5
6903 ac_status=$?
6904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6905 test $ac_status = 0; }; then
6906 # Now try to grab the symbols.
6907 nlist=conftest.nm
6908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6909 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6910 ac_status=$?
6911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912 test $ac_status = 0; } && test -s "$nlist"; then
6913 # Try sorting and uniquifying the output.
6914 if sort "$nlist" | uniq > "$nlist"T; then
6915 mv -f "$nlist"T "$nlist"
6916 else
6917 rm -f "$nlist"T
6920 # Make sure that we snagged all the symbols we need.
6921 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6922 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6923 cat <<_LT_EOF > conftest.$ac_ext
6924 #ifdef __cplusplus
6925 extern "C" {
6926 #endif
6928 _LT_EOF
6929 # Now generate the symbol file.
6930 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6932 cat <<_LT_EOF >> conftest.$ac_ext
6934 /* The mapping between symbol names and symbols. */
6935 const struct {
6936 const char *name;
6937 void *address;
6939 lt__PROGRAM__LTX_preloaded_symbols[] =
6941 { "@PROGRAM@", (void *) 0 },
6942 _LT_EOF
6943 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6944 cat <<\_LT_EOF >> conftest.$ac_ext
6945 {0, (void *) 0}
6948 /* This works around a problem in FreeBSD linker */
6949 #ifdef FREEBSD_WORKAROUND
6950 static const void *lt_preloaded_setup() {
6951 return lt__PROGRAM__LTX_preloaded_symbols;
6953 #endif
6955 #ifdef __cplusplus
6957 #endif
6958 _LT_EOF
6959 # Now try linking the two files.
6960 mv conftest.$ac_objext conftstm.$ac_objext
6961 lt_save_LIBS="$LIBS"
6962 lt_save_CFLAGS="$CFLAGS"
6963 LIBS="conftstm.$ac_objext"
6964 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6966 (eval $ac_link) 2>&5
6967 ac_status=$?
6968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6970 pipe_works=yes
6972 LIBS="$lt_save_LIBS"
6973 CFLAGS="$lt_save_CFLAGS"
6974 else
6975 echo "cannot find nm_test_func in $nlist" >&5
6977 else
6978 echo "cannot find nm_test_var in $nlist" >&5
6980 else
6981 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6983 else
6984 echo "$progname: failed program was:" >&5
6985 cat conftest.$ac_ext >&5
6987 rm -rf conftest* conftst*
6989 # Do not use the global_symbol_pipe unless it works.
6990 if test "$pipe_works" = yes; then
6991 break
6992 else
6993 lt_cv_sys_global_symbol_pipe=
6995 done
6999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7000 lt_cv_sys_global_symbol_to_cdecl=
7002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7004 $as_echo "failed" >&6; }
7005 else
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7007 $as_echo "ok" >&6; }
7031 # Check whether --enable-libtool-lock was given.
7032 if test "${enable_libtool_lock+set}" = set; then :
7033 enableval=$enable_libtool_lock;
7036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7038 # Some flags need to be propagated to the compiler or linker for good
7039 # libtool support.
7040 case $host in
7041 ia64-*-hpux*)
7042 # Find out which ABI we are using.
7043 echo 'int i;' > conftest.$ac_ext
7044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7045 (eval $ac_compile) 2>&5
7046 ac_status=$?
7047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7048 test $ac_status = 0; }; then
7049 case `/usr/bin/file conftest.$ac_objext` in
7050 *ELF-32*)
7051 HPUX_IA64_MODE="32"
7053 *ELF-64*)
7054 HPUX_IA64_MODE="64"
7056 esac
7058 rm -rf conftest*
7060 *-*-irix6*)
7061 # Find out which ABI we are using.
7062 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7064 (eval $ac_compile) 2>&5
7065 ac_status=$?
7066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067 test $ac_status = 0; }; then
7068 if test "$lt_cv_prog_gnu_ld" = yes; then
7069 case `/usr/bin/file conftest.$ac_objext` in
7070 *32-bit*)
7071 LD="${LD-ld} -melf32bsmip"
7073 *N32*)
7074 LD="${LD-ld} -melf32bmipn32"
7076 *64-bit*)
7077 LD="${LD-ld} -melf64bmip"
7079 esac
7080 else
7081 case `/usr/bin/file conftest.$ac_objext` in
7082 *32-bit*)
7083 LD="${LD-ld} -32"
7085 *N32*)
7086 LD="${LD-ld} -n32"
7088 *64-bit*)
7089 LD="${LD-ld} -64"
7091 esac
7094 rm -rf conftest*
7097 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7098 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7099 # Find out which ABI we are using.
7100 echo 'int i;' > conftest.$ac_ext
7101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7102 (eval $ac_compile) 2>&5
7103 ac_status=$?
7104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7105 test $ac_status = 0; }; then
7106 case `/usr/bin/file conftest.o` in
7107 *32-bit*)
7108 case $host in
7109 x86_64-*kfreebsd*-gnu)
7110 LD="${LD-ld} -m elf_i386_fbsd"
7112 x86_64-*linux*)
7113 LD="${LD-ld} -m elf_i386"
7115 ppc64-*linux*|powerpc64-*linux*)
7116 LD="${LD-ld} -m elf32ppclinux"
7118 s390x-*linux*)
7119 LD="${LD-ld} -m elf_s390"
7121 sparc64-*linux*)
7122 LD="${LD-ld} -m elf32_sparc"
7124 esac
7126 *64-bit*)
7127 case $host in
7128 x86_64-*kfreebsd*-gnu)
7129 LD="${LD-ld} -m elf_x86_64_fbsd"
7131 x86_64-*linux*)
7132 LD="${LD-ld} -m elf_x86_64"
7134 ppc*-*linux*|powerpc*-*linux*)
7135 LD="${LD-ld} -m elf64ppc"
7137 s390*-*linux*|s390*-*tpf*)
7138 LD="${LD-ld} -m elf64_s390"
7140 sparc*-*linux*)
7141 LD="${LD-ld} -m elf64_sparc"
7143 esac
7145 esac
7147 rm -rf conftest*
7150 *-*-sco3.2v5*)
7151 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7152 SAVE_CFLAGS="$CFLAGS"
7153 CFLAGS="$CFLAGS -belf"
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7155 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7156 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7158 else
7159 ac_ext=c
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165 if test x$gcc_no_link = xyes; then
7166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7172 main ()
7176 return 0;
7178 _ACEOF
7179 if ac_fn_c_try_link "$LINENO"; then :
7180 lt_cv_cc_needs_belf=yes
7181 else
7182 lt_cv_cc_needs_belf=no
7184 rm -f core conftest.err conftest.$ac_objext \
7185 conftest$ac_exeext conftest.$ac_ext
7186 ac_ext=c
7187 ac_cpp='$CPP $CPPFLAGS'
7188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7194 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7195 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7196 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7197 CFLAGS="$SAVE_CFLAGS"
7200 sparc*-*solaris*)
7201 # Find out which ABI we are using.
7202 echo 'int i;' > conftest.$ac_ext
7203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7204 (eval $ac_compile) 2>&5
7205 ac_status=$?
7206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7207 test $ac_status = 0; }; then
7208 case `/usr/bin/file conftest.o` in
7209 *64-bit*)
7210 case $lt_cv_prog_gnu_ld in
7211 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7213 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7214 LD="${LD-ld} -64"
7217 esac
7219 esac
7221 rm -rf conftest*
7223 esac
7225 need_locks="$enable_libtool_lock"
7228 case $host_os in
7229 rhapsody* | darwin*)
7230 if test -n "$ac_tool_prefix"; then
7231 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7232 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7238 if test -n "$DSYMUTIL"; then
7239 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7244 IFS=$as_save_IFS
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 break 2
7252 done
7253 done
7254 IFS=$as_save_IFS
7258 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7259 if test -n "$DSYMUTIL"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7261 $as_echo "$DSYMUTIL" >&6; }
7262 else
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7269 if test -z "$ac_cv_prog_DSYMUTIL"; then
7270 ac_ct_DSYMUTIL=$DSYMUTIL
7271 # Extract the first word of "dsymutil", so it can be a program name with args.
7272 set dummy dsymutil; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7276 $as_echo_n "(cached) " >&6
7277 else
7278 if test -n "$ac_ct_DSYMUTIL"; then
7279 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7280 else
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 for as_dir in $PATH
7284 IFS=$as_save_IFS
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 break 2
7292 done
7293 done
7294 IFS=$as_save_IFS
7298 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7299 if test -n "$ac_ct_DSYMUTIL"; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7301 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7302 else
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7307 if test "x$ac_ct_DSYMUTIL" = x; then
7308 DSYMUTIL=":"
7309 else
7310 case $cross_compiling:$ac_tool_warned in
7311 yes:)
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314 ac_tool_warned=yes ;;
7315 esac
7316 DSYMUTIL=$ac_ct_DSYMUTIL
7318 else
7319 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7322 if test -n "$ac_tool_prefix"; then
7323 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7324 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7328 $as_echo_n "(cached) " >&6
7329 else
7330 if test -n "$NMEDIT"; then
7331 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7336 IFS=$as_save_IFS
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 break 2
7344 done
7345 done
7346 IFS=$as_save_IFS
7350 NMEDIT=$ac_cv_prog_NMEDIT
7351 if test -n "$NMEDIT"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7353 $as_echo "$NMEDIT" >&6; }
7354 else
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7361 if test -z "$ac_cv_prog_NMEDIT"; then
7362 ac_ct_NMEDIT=$NMEDIT
7363 # Extract the first word of "nmedit", so it can be a program name with args.
7364 set dummy nmedit; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7368 $as_echo_n "(cached) " >&6
7369 else
7370 if test -n "$ac_ct_NMEDIT"; then
7371 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7376 IFS=$as_save_IFS
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 break 2
7384 done
7385 done
7386 IFS=$as_save_IFS
7390 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7391 if test -n "$ac_ct_NMEDIT"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7393 $as_echo "$ac_ct_NMEDIT" >&6; }
7394 else
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7399 if test "x$ac_ct_NMEDIT" = x; then
7400 NMEDIT=":"
7401 else
7402 case $cross_compiling:$ac_tool_warned in
7403 yes:)
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406 ac_tool_warned=yes ;;
7407 esac
7408 NMEDIT=$ac_ct_NMEDIT
7410 else
7411 NMEDIT="$ac_cv_prog_NMEDIT"
7414 if test -n "$ac_tool_prefix"; then
7415 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7416 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if test "${ac_cv_prog_LIPO+set}" = set; then :
7420 $as_echo_n "(cached) " >&6
7421 else
7422 if test -n "$LIPO"; then
7423 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7428 IFS=$as_save_IFS
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7432 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 break 2
7436 done
7437 done
7438 IFS=$as_save_IFS
7442 LIPO=$ac_cv_prog_LIPO
7443 if test -n "$LIPO"; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7445 $as_echo "$LIPO" >&6; }
7446 else
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7453 if test -z "$ac_cv_prog_LIPO"; then
7454 ac_ct_LIPO=$LIPO
7455 # Extract the first word of "lipo", so it can be a program name with args.
7456 set dummy lipo; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7460 $as_echo_n "(cached) " >&6
7461 else
7462 if test -n "$ac_ct_LIPO"; then
7463 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7464 else
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 for as_dir in $PATH
7468 IFS=$as_save_IFS
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472 ac_cv_prog_ac_ct_LIPO="lipo"
7473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 break 2
7476 done
7477 done
7478 IFS=$as_save_IFS
7482 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7483 if test -n "$ac_ct_LIPO"; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7485 $as_echo "$ac_ct_LIPO" >&6; }
7486 else
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }
7491 if test "x$ac_ct_LIPO" = x; then
7492 LIPO=":"
7493 else
7494 case $cross_compiling:$ac_tool_warned in
7495 yes:)
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7498 ac_tool_warned=yes ;;
7499 esac
7500 LIPO=$ac_ct_LIPO
7502 else
7503 LIPO="$ac_cv_prog_LIPO"
7506 if test -n "$ac_tool_prefix"; then
7507 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}otool; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 if test -n "$OTOOL"; then
7515 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7516 else
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 for as_dir in $PATH
7520 IFS=$as_save_IFS
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 break 2
7528 done
7529 done
7530 IFS=$as_save_IFS
7534 OTOOL=$ac_cv_prog_OTOOL
7535 if test -n "$OTOOL"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7537 $as_echo "$OTOOL" >&6; }
7538 else
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7545 if test -z "$ac_cv_prog_OTOOL"; then
7546 ac_ct_OTOOL=$OTOOL
7547 # Extract the first word of "otool", so it can be a program name with args.
7548 set dummy otool; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7552 $as_echo_n "(cached) " >&6
7553 else
7554 if test -n "$ac_ct_OTOOL"; then
7555 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7556 else
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 for as_dir in $PATH
7560 IFS=$as_save_IFS
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_prog_ac_ct_OTOOL="otool"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 break 2
7568 done
7569 done
7570 IFS=$as_save_IFS
7574 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7575 if test -n "$ac_ct_OTOOL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7577 $as_echo "$ac_ct_OTOOL" >&6; }
7578 else
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7583 if test "x$ac_ct_OTOOL" = x; then
7584 OTOOL=":"
7585 else
7586 case $cross_compiling:$ac_tool_warned in
7587 yes:)
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7591 esac
7592 OTOOL=$ac_ct_OTOOL
7594 else
7595 OTOOL="$ac_cv_prog_OTOOL"
7598 if test -n "$ac_tool_prefix"; then
7599 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7600 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7602 $as_echo_n "checking for $ac_word... " >&6; }
7603 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7605 else
7606 if test -n "$OTOOL64"; then
7607 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7608 else
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 for as_dir in $PATH
7612 IFS=$as_save_IFS
7613 test -z "$as_dir" && as_dir=.
7614 for ac_exec_ext in '' $ac_executable_extensions; do
7615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7616 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 break 2
7620 done
7621 done
7622 IFS=$as_save_IFS
7626 OTOOL64=$ac_cv_prog_OTOOL64
7627 if test -n "$OTOOL64"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7629 $as_echo "$OTOOL64" >&6; }
7630 else
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632 $as_echo "no" >&6; }
7637 if test -z "$ac_cv_prog_OTOOL64"; then
7638 ac_ct_OTOOL64=$OTOOL64
7639 # Extract the first word of "otool64", so it can be a program name with args.
7640 set dummy otool64; ac_word=$2
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7644 $as_echo_n "(cached) " >&6
7645 else
7646 if test -n "$ac_ct_OTOOL64"; then
7647 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7648 else
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 for as_dir in $PATH
7652 IFS=$as_save_IFS
7653 test -z "$as_dir" && as_dir=.
7654 for ac_exec_ext in '' $ac_executable_extensions; do
7655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656 ac_cv_prog_ac_ct_OTOOL64="otool64"
7657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658 break 2
7660 done
7661 done
7662 IFS=$as_save_IFS
7666 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7667 if test -n "$ac_ct_OTOOL64"; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7669 $as_echo "$ac_ct_OTOOL64" >&6; }
7670 else
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7675 if test "x$ac_ct_OTOOL64" = x; then
7676 OTOOL64=":"
7677 else
7678 case $cross_compiling:$ac_tool_warned in
7679 yes:)
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 ac_tool_warned=yes ;;
7683 esac
7684 OTOOL64=$ac_ct_OTOOL64
7686 else
7687 OTOOL64="$ac_cv_prog_OTOOL64"
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7717 $as_echo_n "checking for -single_module linker flag... " >&6; }
7718 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7719 $as_echo_n "(cached) " >&6
7720 else
7721 lt_cv_apple_cc_single_mod=no
7722 if test -z "${LT_MULTI_MODULE}"; then
7723 # By default we will add the -single_module flag. You can override
7724 # by either setting the environment variable LT_MULTI_MODULE
7725 # non-empty at configure time, or by adding -multi_module to the
7726 # link flags.
7727 rm -rf libconftest.dylib*
7728 echo "int foo(void){return 1;}" > conftest.c
7729 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7730 -dynamiclib -Wl,-single_module conftest.c" >&5
7731 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7732 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7733 _lt_result=$?
7734 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7735 lt_cv_apple_cc_single_mod=yes
7736 else
7737 cat conftest.err >&5
7739 rm -rf libconftest.dylib*
7740 rm -f conftest.*
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7744 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7746 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7747 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7748 $as_echo_n "(cached) " >&6
7749 else
7750 lt_cv_ld_exported_symbols_list=no
7751 save_LDFLAGS=$LDFLAGS
7752 echo "_main" > conftest.sym
7753 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7754 if test x$gcc_no_link = xyes; then
7755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7761 main ()
7765 return 0;
7767 _ACEOF
7768 if ac_fn_c_try_link "$LINENO"; then :
7769 lt_cv_ld_exported_symbols_list=yes
7770 else
7771 lt_cv_ld_exported_symbols_list=no
7773 rm -f core conftest.err conftest.$ac_objext \
7774 conftest$ac_exeext conftest.$ac_ext
7775 LDFLAGS="$save_LDFLAGS"
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7779 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7781 $as_echo_n "checking for -force_load linker flag... " >&6; }
7782 if test "${lt_cv_ld_force_load+set}" = set; then :
7783 $as_echo_n "(cached) " >&6
7784 else
7785 lt_cv_ld_force_load=no
7786 cat > conftest.c << _LT_EOF
7787 int forced_loaded() { return 2;}
7788 _LT_EOF
7789 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7790 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7791 echo "$AR cru libconftest.a conftest.o" >&5
7792 $AR cru libconftest.a conftest.o 2>&5
7793 cat > conftest.c << _LT_EOF
7794 int main() { return 0;}
7795 _LT_EOF
7796 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7797 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7798 _lt_result=$?
7799 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7800 lt_cv_ld_force_load=yes
7801 else
7802 cat conftest.err >&5
7804 rm -f conftest.err libconftest.a conftest conftest.c
7805 rm -rf conftest.dSYM
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7809 $as_echo "$lt_cv_ld_force_load" >&6; }
7810 case $host_os in
7811 rhapsody* | darwin1.[012])
7812 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7813 darwin1.*)
7814 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7815 darwin*) # darwin 5.x on
7816 # if running on 10.5 or later, the deployment target defaults
7817 # to the OS version, if on x86, and 10.4, the deployment
7818 # target defaults to 10.4. Don't you love it?
7819 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7820 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7821 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7822 10.[012]*)
7823 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7824 10.*)
7825 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7826 esac
7828 esac
7829 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7830 _lt_dar_single_mod='$single_module'
7832 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7833 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7834 else
7835 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7837 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7838 _lt_dsymutil='~$DSYMUTIL $lib || :'
7839 else
7840 _lt_dsymutil=
7843 esac
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7846 $as_echo_n "checking for ANSI C header files... " >&6; }
7847 if test "${ac_cv_header_stdc+set}" = set; then :
7848 $as_echo_n "(cached) " >&6
7849 else
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7852 #include <stdlib.h>
7853 #include <stdarg.h>
7854 #include <string.h>
7855 #include <float.h>
7858 main ()
7862 return 0;
7864 _ACEOF
7865 if ac_fn_c_try_compile "$LINENO"; then :
7866 ac_cv_header_stdc=yes
7867 else
7868 ac_cv_header_stdc=no
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7872 if test $ac_cv_header_stdc = yes; then
7873 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <string.h>
7878 _ACEOF
7879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7880 $EGREP "memchr" >/dev/null 2>&1; then :
7882 else
7883 ac_cv_header_stdc=no
7885 rm -f conftest*
7889 if test $ac_cv_header_stdc = yes; then
7890 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7893 #include <stdlib.h>
7895 _ACEOF
7896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7897 $EGREP "free" >/dev/null 2>&1; then :
7899 else
7900 ac_cv_header_stdc=no
7902 rm -f conftest*
7906 if test $ac_cv_header_stdc = yes; then
7907 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7908 if test "$cross_compiling" = yes; then :
7910 else
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <ctype.h>
7914 #include <stdlib.h>
7915 #if ((' ' & 0x0FF) == 0x020)
7916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7918 #else
7919 # define ISLOWER(c) \
7920 (('a' <= (c) && (c) <= 'i') \
7921 || ('j' <= (c) && (c) <= 'r') \
7922 || ('s' <= (c) && (c) <= 'z'))
7923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7924 #endif
7926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7928 main ()
7930 int i;
7931 for (i = 0; i < 256; i++)
7932 if (XOR (islower (i), ISLOWER (i))
7933 || toupper (i) != TOUPPER (i))
7934 return 2;
7935 return 0;
7937 _ACEOF
7938 if ac_fn_c_try_run "$LINENO"; then :
7940 else
7941 ac_cv_header_stdc=no
7943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7944 conftest.$ac_objext conftest.beam conftest.$ac_ext
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7950 $as_echo "$ac_cv_header_stdc" >&6; }
7951 if test $ac_cv_header_stdc = yes; then
7953 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7957 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7958 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7959 inttypes.h stdint.h unistd.h
7960 do :
7961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7962 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7964 eval as_val=\$$as_ac_Header
7965 if test "x$as_val" = x""yes; then :
7966 cat >>confdefs.h <<_ACEOF
7967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7968 _ACEOF
7972 done
7975 for ac_header in dlfcn.h
7976 do :
7977 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7979 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7980 cat >>confdefs.h <<_ACEOF
7981 #define HAVE_DLFCN_H 1
7982 _ACEOF
7986 done
7993 # Set options
7998 enable_win32_dll=no
8001 # Check whether --enable-shared was given.
8002 if test "${enable_shared+set}" = set; then :
8003 enableval=$enable_shared; p=${PACKAGE-default}
8004 case $enableval in
8005 yes) enable_shared=yes ;;
8006 no) enable_shared=no ;;
8008 enable_shared=no
8009 # Look at the argument we got. We use all the common list separators.
8010 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8011 for pkg in $enableval; do
8012 IFS="$lt_save_ifs"
8013 if test "X$pkg" = "X$p"; then
8014 enable_shared=yes
8016 done
8017 IFS="$lt_save_ifs"
8019 esac
8020 else
8021 enable_shared=yes
8032 # Check whether --enable-static was given.
8033 if test "${enable_static+set}" = set; then :
8034 enableval=$enable_static; p=${PACKAGE-default}
8035 case $enableval in
8036 yes) enable_static=yes ;;
8037 no) enable_static=no ;;
8039 enable_static=no
8040 # Look at the argument we got. We use all the common list separators.
8041 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8042 for pkg in $enableval; do
8043 IFS="$lt_save_ifs"
8044 if test "X$pkg" = "X$p"; then
8045 enable_static=yes
8047 done
8048 IFS="$lt_save_ifs"
8050 esac
8051 else
8052 enable_static=yes
8064 # Check whether --with-pic was given.
8065 if test "${with_pic+set}" = set; then :
8066 withval=$with_pic; pic_mode="$withval"
8067 else
8068 pic_mode=default
8072 test -z "$pic_mode" && pic_mode=default
8080 # Check whether --enable-fast-install was given.
8081 if test "${enable_fast_install+set}" = set; then :
8082 enableval=$enable_fast_install; p=${PACKAGE-default}
8083 case $enableval in
8084 yes) enable_fast_install=yes ;;
8085 no) enable_fast_install=no ;;
8087 enable_fast_install=no
8088 # Look at the argument we got. We use all the common list separators.
8089 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8090 for pkg in $enableval; do
8091 IFS="$lt_save_ifs"
8092 if test "X$pkg" = "X$p"; then
8093 enable_fast_install=yes
8095 done
8096 IFS="$lt_save_ifs"
8098 esac
8099 else
8100 enable_fast_install=yes
8113 # This can be used to rebuild libtool when needed
8114 LIBTOOL_DEPS="$ltmain"
8116 # Always use our own libtool.
8117 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8144 test -z "$LN_S" && LN_S="ln -s"
8159 if test -n "${ZSH_VERSION+set}" ; then
8160 setopt NO_GLOB_SUBST
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8164 $as_echo_n "checking for objdir... " >&6; }
8165 if test "${lt_cv_objdir+set}" = set; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 rm -f .libs 2>/dev/null
8169 mkdir .libs 2>/dev/null
8170 if test -d .libs; then
8171 lt_cv_objdir=.libs
8172 else
8173 # MS-DOS does not allow filenames that begin with a dot.
8174 lt_cv_objdir=_libs
8176 rmdir .libs 2>/dev/null
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8179 $as_echo "$lt_cv_objdir" >&6; }
8180 objdir=$lt_cv_objdir
8186 cat >>confdefs.h <<_ACEOF
8187 #define LT_OBJDIR "$lt_cv_objdir/"
8188 _ACEOF
8193 case $host_os in
8194 aix3*)
8195 # AIX sometimes has problems with the GCC collect2 program. For some
8196 # reason, if we set the COLLECT_NAMES environment variable, the problems
8197 # vanish in a puff of smoke.
8198 if test "X${COLLECT_NAMES+set}" != Xset; then
8199 COLLECT_NAMES=
8200 export COLLECT_NAMES
8203 esac
8205 # Global variables:
8206 ofile=libtool
8207 can_build_shared=yes
8209 # All known linkers require a `.a' archive for static linking (except MSVC,
8210 # which needs '.lib').
8211 libext=a
8213 with_gnu_ld="$lt_cv_prog_gnu_ld"
8215 old_CC="$CC"
8216 old_CFLAGS="$CFLAGS"
8218 # Set sane defaults for various variables
8219 test -z "$CC" && CC=cc
8220 test -z "$LTCC" && LTCC=$CC
8221 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8222 test -z "$LD" && LD=ld
8223 test -z "$ac_objext" && ac_objext=o
8225 for cc_temp in $compiler""; do
8226 case $cc_temp in
8227 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8228 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8229 \-*) ;;
8230 *) break;;
8231 esac
8232 done
8233 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8236 # Only perform the check for file, if the check method requires it
8237 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8238 case $deplibs_check_method in
8239 file_magic*)
8240 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8242 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8243 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 case $MAGIC_CMD in
8247 [\\/*] | ?:[\\/]*)
8248 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8251 lt_save_MAGIC_CMD="$MAGIC_CMD"
8252 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8253 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8254 for ac_dir in $ac_dummy; do
8255 IFS="$lt_save_ifs"
8256 test -z "$ac_dir" && ac_dir=.
8257 if test -f $ac_dir/${ac_tool_prefix}file; then
8258 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8259 if test -n "$file_magic_test_file"; then
8260 case $deplibs_check_method in
8261 "file_magic "*)
8262 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8264 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8265 $EGREP "$file_magic_regex" > /dev/null; then
8267 else
8268 cat <<_LT_EOF 1>&2
8270 *** Warning: the command libtool uses to detect shared libraries,
8271 *** $file_magic_cmd, produces output that libtool cannot recognize.
8272 *** The result is that libtool may fail to recognize shared libraries
8273 *** as such. This will affect the creation of libtool libraries that
8274 *** depend on shared libraries, but programs linked with such libtool
8275 *** libraries will work regardless of this problem. Nevertheless, you
8276 *** may want to report the problem to your system manager and/or to
8277 *** bug-libtool@gnu.org
8279 _LT_EOF
8280 fi ;;
8281 esac
8283 break
8285 done
8286 IFS="$lt_save_ifs"
8287 MAGIC_CMD="$lt_save_MAGIC_CMD"
8289 esac
8292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8293 if test -n "$MAGIC_CMD"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8295 $as_echo "$MAGIC_CMD" >&6; }
8296 else
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8305 if test -z "$lt_cv_path_MAGIC_CMD"; then
8306 if test -n "$ac_tool_prefix"; then
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8308 $as_echo_n "checking for file... " >&6; }
8309 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 case $MAGIC_CMD in
8313 [\\/*] | ?:[\\/]*)
8314 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8317 lt_save_MAGIC_CMD="$MAGIC_CMD"
8318 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8319 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8320 for ac_dir in $ac_dummy; do
8321 IFS="$lt_save_ifs"
8322 test -z "$ac_dir" && ac_dir=.
8323 if test -f $ac_dir/file; then
8324 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8325 if test -n "$file_magic_test_file"; then
8326 case $deplibs_check_method in
8327 "file_magic "*)
8328 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8331 $EGREP "$file_magic_regex" > /dev/null; then
8333 else
8334 cat <<_LT_EOF 1>&2
8336 *** Warning: the command libtool uses to detect shared libraries,
8337 *** $file_magic_cmd, produces output that libtool cannot recognize.
8338 *** The result is that libtool may fail to recognize shared libraries
8339 *** as such. This will affect the creation of libtool libraries that
8340 *** depend on shared libraries, but programs linked with such libtool
8341 *** libraries will work regardless of this problem. Nevertheless, you
8342 *** may want to report the problem to your system manager and/or to
8343 *** bug-libtool@gnu.org
8345 _LT_EOF
8346 fi ;;
8347 esac
8349 break
8351 done
8352 IFS="$lt_save_ifs"
8353 MAGIC_CMD="$lt_save_MAGIC_CMD"
8355 esac
8358 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8359 if test -n "$MAGIC_CMD"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8361 $as_echo "$MAGIC_CMD" >&6; }
8362 else
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8368 else
8369 MAGIC_CMD=:
8375 esac
8377 # Use C for the default configuration in the libtool script
8379 lt_save_CC="$CC"
8380 ac_ext=c
8381 ac_cpp='$CPP $CPPFLAGS'
8382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8387 # Source file extension for C test sources.
8388 ac_ext=c
8390 # Object file extension for compiled C test sources.
8391 objext=o
8392 objext=$objext
8394 # Code to be used in simple compile tests
8395 lt_simple_compile_test_code="int some_variable = 0;"
8397 # Code to be used in simple link tests
8398 lt_simple_link_test_code='int main(){return(0);}'
8406 # If no C compiler was specified, use CC.
8407 LTCC=${LTCC-"$CC"}
8409 # If no C compiler flags were specified, use CFLAGS.
8410 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8412 # Allow CC to be a program name with arguments.
8413 compiler=$CC
8415 # Save the default compiler, since it gets overwritten when the other
8416 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8417 compiler_DEFAULT=$CC
8419 # save warnings/boilerplate of simple test code
8420 ac_outfile=conftest.$ac_objext
8421 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8422 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8423 _lt_compiler_boilerplate=`cat conftest.err`
8424 $RM conftest*
8426 ac_outfile=conftest.$ac_objext
8427 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8428 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8429 _lt_linker_boilerplate=`cat conftest.err`
8430 $RM -r conftest*
8433 ## CAVEAT EMPTOR:
8434 ## There is no encapsulation within the following macros, do not change
8435 ## the running order or otherwise move them around unless you know exactly
8436 ## what you are doing...
8437 if test -n "$compiler"; then
8439 lt_prog_compiler_no_builtin_flag=
8441 if test "$GCC" = yes; then
8442 case $cc_basename in
8443 nvcc*)
8444 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8446 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8447 esac
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8450 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8451 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 lt_cv_prog_compiler_rtti_exceptions=no
8455 ac_outfile=conftest.$ac_objext
8456 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8457 lt_compiler_flag="-fno-rtti -fno-exceptions"
8458 # Insert the option either (1) after the last *FLAGS variable, or
8459 # (2) before a word containing "conftest.", or (3) at the end.
8460 # Note that $ac_compile itself does not contain backslashes and begins
8461 # with a dollar sign (not a hyphen), so the echo should work correctly.
8462 # The option is referenced via a variable to avoid confusing sed.
8463 lt_compile=`echo "$ac_compile" | $SED \
8464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8466 -e 's:$: $lt_compiler_flag:'`
8467 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8468 (eval "$lt_compile" 2>conftest.err)
8469 ac_status=$?
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 if (exit $ac_status) && test -s "$ac_outfile"; then
8473 # The compiler can only warn and ignore the option if not recognized
8474 # So say no if there are warnings other than the usual output.
8475 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8476 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8477 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8478 lt_cv_prog_compiler_rtti_exceptions=yes
8481 $RM conftest*
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8485 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8487 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8488 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8489 else
8500 lt_prog_compiler_wl=
8501 lt_prog_compiler_pic=
8502 lt_prog_compiler_static=
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8507 if test "$GCC" = yes; then
8508 lt_prog_compiler_wl='-Wl,'
8509 lt_prog_compiler_static='-static'
8511 case $host_os in
8512 aix*)
8513 # All AIX code is PIC.
8514 if test "$host_cpu" = ia64; then
8515 # AIX 5 now supports IA64 processor
8516 lt_prog_compiler_static='-Bstatic'
8520 amigaos*)
8521 case $host_cpu in
8522 powerpc)
8523 # see comment about AmigaOS4 .so support
8524 lt_prog_compiler_pic='-fPIC'
8526 m68k)
8527 # FIXME: we need at least 68020 code to build shared libraries, but
8528 # adding the `-m68020' flag to GCC prevents building anything better,
8529 # like `-m68040'.
8530 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8532 esac
8535 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8536 # PIC is the default for these OSes.
8539 mingw* | cygwin* | pw32* | os2* | cegcc*)
8540 # This hack is so that the source file can tell whether it is being
8541 # built for inclusion in a dll (and should export symbols for example).
8542 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8543 # (--disable-auto-import) libraries
8544 lt_prog_compiler_pic='-DDLL_EXPORT'
8547 darwin* | rhapsody*)
8548 # PIC is the default on this platform
8549 # Common symbols not allowed in MH_DYLIB files
8550 lt_prog_compiler_pic='-fno-common'
8553 haiku*)
8554 # PIC is the default for Haiku.
8555 # The "-static" flag exists, but is broken.
8556 lt_prog_compiler_static=
8559 hpux*)
8560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8562 # sets the default TLS model and affects inlining.
8563 case $host_cpu in
8564 hppa*64*)
8565 # +Z the default
8568 lt_prog_compiler_pic='-fPIC'
8570 esac
8573 interix[3-9]*)
8574 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8575 # Instead, we relocate shared libraries at runtime.
8578 msdosdjgpp*)
8579 # Just because we use GCC doesn't mean we suddenly get shared libraries
8580 # on systems that don't support them.
8581 lt_prog_compiler_can_build_shared=no
8582 enable_shared=no
8585 *nto* | *qnx*)
8586 # QNX uses GNU C++, but need to define -shared option too, otherwise
8587 # it will coredump.
8588 lt_prog_compiler_pic='-fPIC -shared'
8591 sysv4*MP*)
8592 if test -d /usr/nec; then
8593 lt_prog_compiler_pic=-Kconform_pic
8598 lt_prog_compiler_pic='-fPIC'
8600 esac
8602 case $cc_basename in
8603 nvcc*) # Cuda Compiler Driver 2.2
8604 lt_prog_compiler_wl='-Xlinker '
8605 lt_prog_compiler_pic='-Xcompiler -fPIC'
8607 esac
8608 else
8609 # PORTME Check for flag to pass linker flags through the system compiler.
8610 case $host_os in
8611 aix*)
8612 lt_prog_compiler_wl='-Wl,'
8613 if test "$host_cpu" = ia64; then
8614 # AIX 5 now supports IA64 processor
8615 lt_prog_compiler_static='-Bstatic'
8616 else
8617 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8621 mingw* | cygwin* | pw32* | os2* | cegcc*)
8622 # This hack is so that the source file can tell whether it is being
8623 # built for inclusion in a dll (and should export symbols for example).
8624 lt_prog_compiler_pic='-DDLL_EXPORT'
8627 hpux9* | hpux10* | hpux11*)
8628 lt_prog_compiler_wl='-Wl,'
8629 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8630 # not for PA HP-UX.
8631 case $host_cpu in
8632 hppa*64*|ia64*)
8633 # +Z the default
8636 lt_prog_compiler_pic='+Z'
8638 esac
8639 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8640 lt_prog_compiler_static='${wl}-a ${wl}archive'
8643 irix5* | irix6* | nonstopux*)
8644 lt_prog_compiler_wl='-Wl,'
8645 # PIC (with -KPIC) is the default.
8646 lt_prog_compiler_static='-non_shared'
8649 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8650 case $cc_basename in
8651 # old Intel for x86_64 which still supported -KPIC.
8652 ecc*)
8653 lt_prog_compiler_wl='-Wl,'
8654 lt_prog_compiler_pic='-KPIC'
8655 lt_prog_compiler_static='-static'
8657 # icc used to be incompatible with GCC.
8658 # ICC 10 doesn't accept -KPIC any more.
8659 icc* | ifort*)
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_pic='-fPIC'
8662 lt_prog_compiler_static='-static'
8664 # Lahey Fortran 8.1.
8665 lf95*)
8666 lt_prog_compiler_wl='-Wl,'
8667 lt_prog_compiler_pic='--shared'
8668 lt_prog_compiler_static='--static'
8670 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8671 # Portland Group compilers (*not* the Pentium gcc compiler,
8672 # which looks to be a dead project)
8673 lt_prog_compiler_wl='-Wl,'
8674 lt_prog_compiler_pic='-fpic'
8675 lt_prog_compiler_static='-Bstatic'
8677 ccc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 # All Alpha code is PIC.
8680 lt_prog_compiler_static='-non_shared'
8682 xl* | bgxl* | bgf* | mpixl*)
8683 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8684 lt_prog_compiler_wl='-Wl,'
8685 lt_prog_compiler_pic='-qpic'
8686 lt_prog_compiler_static='-qstaticlink'
8689 case `$CC -V 2>&1 | sed 5q` in
8690 *Sun\ F* | *Sun*Fortran*)
8691 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-Bstatic'
8694 lt_prog_compiler_wl=''
8696 *Sun\ C*)
8697 # Sun C 5.9
8698 lt_prog_compiler_pic='-KPIC'
8699 lt_prog_compiler_static='-Bstatic'
8700 lt_prog_compiler_wl='-Wl,'
8702 esac
8704 esac
8707 newsos6)
8708 lt_prog_compiler_pic='-KPIC'
8709 lt_prog_compiler_static='-Bstatic'
8712 *nto* | *qnx*)
8713 # QNX uses GNU C++, but need to define -shared option too, otherwise
8714 # it will coredump.
8715 lt_prog_compiler_pic='-fPIC -shared'
8718 osf3* | osf4* | osf5*)
8719 lt_prog_compiler_wl='-Wl,'
8720 # All OSF/1 code is PIC.
8721 lt_prog_compiler_static='-non_shared'
8724 rdos*)
8725 lt_prog_compiler_static='-non_shared'
8728 solaris*)
8729 lt_prog_compiler_pic='-KPIC'
8730 lt_prog_compiler_static='-Bstatic'
8731 case $cc_basename in
8732 f77* | f90* | f95*)
8733 lt_prog_compiler_wl='-Qoption ld ';;
8735 lt_prog_compiler_wl='-Wl,';;
8736 esac
8739 sunos4*)
8740 lt_prog_compiler_wl='-Qoption ld '
8741 lt_prog_compiler_pic='-PIC'
8742 lt_prog_compiler_static='-Bstatic'
8745 sysv4 | sysv4.2uw2* | sysv4.3*)
8746 lt_prog_compiler_wl='-Wl,'
8747 lt_prog_compiler_pic='-KPIC'
8748 lt_prog_compiler_static='-Bstatic'
8751 sysv4*MP*)
8752 if test -d /usr/nec ;then
8753 lt_prog_compiler_pic='-Kconform_pic'
8754 lt_prog_compiler_static='-Bstatic'
8758 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-Bstatic'
8764 unicos*)
8765 lt_prog_compiler_wl='-Wl,'
8766 lt_prog_compiler_can_build_shared=no
8769 uts4*)
8770 lt_prog_compiler_pic='-pic'
8771 lt_prog_compiler_static='-Bstatic'
8775 lt_prog_compiler_can_build_shared=no
8777 esac
8780 case $host_os in
8781 # For platforms which do not support PIC, -DPIC is meaningless:
8782 *djgpp*)
8783 lt_prog_compiler_pic=
8786 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8788 esac
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8790 $as_echo "$lt_prog_compiler_pic" >&6; }
8798 # Check to make sure the PIC flag actually works.
8800 if test -n "$lt_prog_compiler_pic"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8802 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8803 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 lt_cv_prog_compiler_pic_works=no
8807 ac_outfile=conftest.$ac_objext
8808 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8809 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8810 # Insert the option either (1) after the last *FLAGS variable, or
8811 # (2) before a word containing "conftest.", or (3) at the end.
8812 # Note that $ac_compile itself does not contain backslashes and begins
8813 # with a dollar sign (not a hyphen), so the echo should work correctly.
8814 # The option is referenced via a variable to avoid confusing sed.
8815 lt_compile=`echo "$ac_compile" | $SED \
8816 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8818 -e 's:$: $lt_compiler_flag:'`
8819 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8820 (eval "$lt_compile" 2>conftest.err)
8821 ac_status=$?
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 if (exit $ac_status) && test -s "$ac_outfile"; then
8825 # The compiler can only warn and ignore the option if not recognized
8826 # So say no if there are warnings other than the usual output.
8827 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8828 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8829 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8830 lt_cv_prog_compiler_pic_works=yes
8833 $RM conftest*
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8837 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8839 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8840 case $lt_prog_compiler_pic in
8841 "" | " "*) ;;
8842 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8843 esac
8844 else
8845 lt_prog_compiler_pic=
8846 lt_prog_compiler_can_build_shared=no
8857 # Check to make sure the static flag actually works.
8859 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8861 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8862 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 lt_cv_prog_compiler_static_works=no
8866 save_LDFLAGS="$LDFLAGS"
8867 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8868 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8869 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8870 # The linker can only warn and ignore the option if not recognized
8871 # So say no if there are warnings
8872 if test -s conftest.err; then
8873 # Append any errors to the config.log.
8874 cat conftest.err 1>&5
8875 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8876 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8877 if diff conftest.exp conftest.er2 >/dev/null; then
8878 lt_cv_prog_compiler_static_works=yes
8880 else
8881 lt_cv_prog_compiler_static_works=yes
8884 $RM -r conftest*
8885 LDFLAGS="$save_LDFLAGS"
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8889 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8891 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8893 else
8894 lt_prog_compiler_static=
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8905 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 lt_cv_prog_compiler_c_o=no
8909 $RM -r conftest 2>/dev/null
8910 mkdir conftest
8911 cd conftest
8912 mkdir out
8913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915 lt_compiler_flag="-o out/conftest2.$ac_objext"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 lt_compile=`echo "$ac_compile" | $SED \
8921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923 -e 's:$: $lt_compiler_flag:'`
8924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925 (eval "$lt_compile" 2>out/conftest.err)
8926 ac_status=$?
8927 cat out/conftest.err >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8930 then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_c_o=yes
8939 chmod u+w . 2>&5
8940 $RM conftest*
8941 # SGI C++ compiler will create directory out/ii_files/ for
8942 # template instantiation
8943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8944 $RM out/* && rmdir out
8945 cd ..
8946 $RM -r conftest
8947 $RM conftest*
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8951 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8959 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8960 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8961 $as_echo_n "(cached) " >&6
8962 else
8963 lt_cv_prog_compiler_c_o=no
8964 $RM -r conftest 2>/dev/null
8965 mkdir conftest
8966 cd conftest
8967 mkdir out
8968 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8970 lt_compiler_flag="-o out/conftest2.$ac_objext"
8971 # Insert the option either (1) after the last *FLAGS variable, or
8972 # (2) before a word containing "conftest.", or (3) at the end.
8973 # Note that $ac_compile itself does not contain backslashes and begins
8974 # with a dollar sign (not a hyphen), so the echo should work correctly.
8975 lt_compile=`echo "$ac_compile" | $SED \
8976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8978 -e 's:$: $lt_compiler_flag:'`
8979 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8980 (eval "$lt_compile" 2>out/conftest.err)
8981 ac_status=$?
8982 cat out/conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8985 then
8986 # The compiler can only warn and ignore the option if not recognized
8987 # So say no if there are warnings
8988 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8989 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8990 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8991 lt_cv_prog_compiler_c_o=yes
8994 chmod u+w . 2>&5
8995 $RM conftest*
8996 # SGI C++ compiler will create directory out/ii_files/ for
8997 # template instantiation
8998 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8999 $RM out/* && rmdir out
9000 cd ..
9001 $RM -r conftest
9002 $RM conftest*
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9006 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9011 hard_links="nottested"
9012 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9013 # do not overwrite the value of need_locks provided by the user
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9015 $as_echo_n "checking if we can lock with hard links... " >&6; }
9016 hard_links=yes
9017 $RM conftest*
9018 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9019 touch conftest.a
9020 ln conftest.a conftest.b 2>&5 || hard_links=no
9021 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9023 $as_echo "$hard_links" >&6; }
9024 if test "$hard_links" = no; then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9026 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9027 need_locks=warn
9029 else
9030 need_locks=no
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9039 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9041 runpath_var=
9042 allow_undefined_flag=
9043 always_export_symbols=no
9044 archive_cmds=
9045 archive_expsym_cmds=
9046 compiler_needs_object=no
9047 enable_shared_with_static_runtimes=no
9048 export_dynamic_flag_spec=
9049 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9050 hardcode_automatic=no
9051 hardcode_direct=no
9052 hardcode_direct_absolute=no
9053 hardcode_libdir_flag_spec=
9054 hardcode_libdir_flag_spec_ld=
9055 hardcode_libdir_separator=
9056 hardcode_minus_L=no
9057 hardcode_shlibpath_var=unsupported
9058 inherit_rpath=no
9059 link_all_deplibs=unknown
9060 module_cmds=
9061 module_expsym_cmds=
9062 old_archive_from_new_cmds=
9063 old_archive_from_expsyms_cmds=
9064 thread_safe_flag_spec=
9065 whole_archive_flag_spec=
9066 # include_expsyms should be a list of space-separated symbols to be *always*
9067 # included in the symbol list
9068 include_expsyms=
9069 # exclude_expsyms can be an extended regexp of symbols to exclude
9070 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9071 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9072 # as well as any symbol that contains `d'.
9073 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9074 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9075 # platforms (ab)use it in PIC code, but their linkers get confused if
9076 # the symbol is explicitly referenced. Since portable code cannot
9077 # rely on this symbol name, it's probably fine to never include it in
9078 # preloaded symbol tables.
9079 # Exclude shared library initialization/finalization symbols.
9080 extract_expsyms_cmds=
9082 case $host_os in
9083 cygwin* | mingw* | pw32* | cegcc*)
9084 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9085 # When not using gcc, we currently assume that we are using
9086 # Microsoft Visual C++.
9087 if test "$GCC" != yes; then
9088 with_gnu_ld=no
9091 interix*)
9092 # we just hope/assume this is gcc and not c89 (= MSVC++)
9093 with_gnu_ld=yes
9095 openbsd*)
9096 with_gnu_ld=no
9098 esac
9100 ld_shlibs=yes
9102 # On some targets, GNU ld is compatible enough with the native linker
9103 # that we're better off using the native interface for both.
9104 lt_use_gnu_ld_interface=no
9105 if test "$with_gnu_ld" = yes; then
9106 case $host_os in
9107 aix*)
9108 # The AIX port of GNU ld has always aspired to compatibility
9109 # with the native linker. However, as the warning in the GNU ld
9110 # block says, versions before 2.19.5* couldn't really create working
9111 # shared libraries, regardless of the interface used.
9112 case `$LD -v 2>&1` in
9113 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9114 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9115 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9117 lt_use_gnu_ld_interface=yes
9119 esac
9122 lt_use_gnu_ld_interface=yes
9124 esac
9127 if test "$lt_use_gnu_ld_interface" = yes; then
9128 # If archive_cmds runs LD, not CC, wlarc should be empty
9129 wlarc='${wl}'
9131 # Set some defaults for GNU ld with shared library support. These
9132 # are reset later if shared libraries are not supported. Putting them
9133 # here allows them to be overridden if necessary.
9134 runpath_var=LD_RUN_PATH
9135 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9136 export_dynamic_flag_spec='${wl}--export-dynamic'
9137 # ancient GNU ld didn't support --whole-archive et. al.
9138 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9139 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9140 else
9141 whole_archive_flag_spec=
9143 supports_anon_versioning=no
9144 case `$LD -v 2>&1` in
9145 *GNU\ gold*) supports_anon_versioning=yes ;;
9146 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9147 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9148 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9149 *\ 2.11.*) ;; # other 2.11 versions
9150 *) supports_anon_versioning=yes ;;
9151 esac
9153 # See if GNU ld supports shared libraries.
9154 case $host_os in
9155 aix[3-9]*)
9156 # On AIX/PPC, the GNU linker is very broken
9157 if test "$host_cpu" != ia64; then
9158 ld_shlibs=no
9159 cat <<_LT_EOF 1>&2
9161 *** Warning: the GNU linker, at least up to release 2.19, is reported
9162 *** to be unable to reliably create shared libraries on AIX.
9163 *** Therefore, libtool is disabling shared libraries support. If you
9164 *** really care for shared libraries, you may want to install binutils
9165 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9166 *** You will then need to restart the configuration process.
9168 _LT_EOF
9172 amigaos*)
9173 case $host_cpu in
9174 powerpc)
9175 # see comment about AmigaOS4 .so support
9176 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9177 archive_expsym_cmds=''
9179 m68k)
9180 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9181 hardcode_libdir_flag_spec='-L$libdir'
9182 hardcode_minus_L=yes
9184 esac
9187 beos*)
9188 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9189 allow_undefined_flag=unsupported
9190 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9191 # support --undefined. This deserves some investigation. FIXME
9192 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9193 else
9194 ld_shlibs=no
9198 cygwin* | mingw* | pw32* | cegcc*)
9199 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9200 # as there is no search path for DLLs.
9201 hardcode_libdir_flag_spec='-L$libdir'
9202 export_dynamic_flag_spec='${wl}--export-all-symbols'
9203 allow_undefined_flag=unsupported
9204 always_export_symbols=no
9205 enable_shared_with_static_runtimes=yes
9206 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9208 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9209 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9210 # If the export-symbols file already is a .def file (1st line
9211 # is EXPORTS), use it as is; otherwise, prepend...
9212 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9213 cp $export_symbols $output_objdir/$soname.def;
9214 else
9215 echo EXPORTS > $output_objdir/$soname.def;
9216 cat $export_symbols >> $output_objdir/$soname.def;
9218 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9219 else
9220 ld_shlibs=no
9224 haiku*)
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226 link_all_deplibs=yes
9229 interix[3-9]*)
9230 hardcode_direct=no
9231 hardcode_shlibpath_var=no
9232 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9233 export_dynamic_flag_spec='${wl}-E'
9234 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9235 # Instead, shared libraries are loaded at an image base (0x10000000 by
9236 # default) and relocated if they conflict, which is a slow very memory
9237 # consuming and fragmenting process. To avoid this, we pick a random,
9238 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9239 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9240 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9241 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9244 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9245 tmp_diet=no
9246 if test "$host_os" = linux-dietlibc; then
9247 case $cc_basename in
9248 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9249 esac
9251 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9252 && test "$tmp_diet" = no
9253 then
9254 tmp_addflag=
9255 tmp_sharedflag='-shared'
9256 case $cc_basename,$host_cpu in
9257 pgcc*) # Portland Group C compiler
9258 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9259 tmp_addflag=' $pic_flag'
9261 pgf77* | pgf90* | pgf95* | pgfortran*)
9262 # Portland Group f77 and f90 compilers
9263 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9264 tmp_addflag=' $pic_flag -Mnomain' ;;
9265 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9266 tmp_addflag=' -i_dynamic' ;;
9267 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9268 tmp_addflag=' -i_dynamic -nofor_main' ;;
9269 ifc* | ifort*) # Intel Fortran compiler
9270 tmp_addflag=' -nofor_main' ;;
9271 lf95*) # Lahey Fortran 8.1
9272 whole_archive_flag_spec=
9273 tmp_sharedflag='--shared' ;;
9274 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9275 tmp_sharedflag='-qmkshrobj'
9276 tmp_addflag= ;;
9277 nvcc*) # Cuda Compiler Driver 2.2
9278 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9279 compiler_needs_object=yes
9281 esac
9282 case `$CC -V 2>&1 | sed 5q` in
9283 *Sun\ C*) # Sun C 5.9
9284 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9285 compiler_needs_object=yes
9286 tmp_sharedflag='-G' ;;
9287 *Sun\ F*) # Sun Fortran 8.3
9288 tmp_sharedflag='-G' ;;
9289 esac
9290 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9292 if test "x$supports_anon_versioning" = xyes; then
9293 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9294 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9295 echo "local: *; };" >> $output_objdir/$libname.ver~
9296 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9299 case $cc_basename in
9300 xlf* | bgf* | bgxlf* | mpixlf*)
9301 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9302 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9303 hardcode_libdir_flag_spec=
9304 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9305 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9306 if test "x$supports_anon_versioning" = xyes; then
9307 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9308 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9309 echo "local: *; };" >> $output_objdir/$libname.ver~
9310 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9313 esac
9314 else
9315 ld_shlibs=no
9319 netbsd*)
9320 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9321 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9322 wlarc=
9323 else
9324 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9325 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9329 solaris*)
9330 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9331 ld_shlibs=no
9332 cat <<_LT_EOF 1>&2
9334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9335 *** create shared libraries on Solaris systems. Therefore, libtool
9336 *** is disabling shared libraries support. We urge you to upgrade GNU
9337 *** binutils to release 2.9.1 or newer. Another option is to modify
9338 *** your PATH or compiler configuration so that the native linker is
9339 *** used, and then restart.
9341 _LT_EOF
9342 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9345 else
9346 ld_shlibs=no
9350 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9351 case `$LD -v 2>&1` in
9352 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9353 ld_shlibs=no
9354 cat <<_LT_EOF 1>&2
9356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9357 *** reliably create shared libraries on SCO systems. Therefore, libtool
9358 *** is disabling shared libraries support. We urge you to upgrade GNU
9359 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9360 *** your PATH or compiler configuration so that the native linker is
9361 *** used, and then restart.
9363 _LT_EOF
9366 # For security reasons, it is highly recommended that you always
9367 # use absolute paths for naming shared libraries, and exclude the
9368 # DT_RUNPATH tag from executables and libraries. But doing so
9369 # requires that you compile everything twice, which is a pain.
9370 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9372 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9373 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9374 else
9375 ld_shlibs=no
9378 esac
9381 sunos4*)
9382 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9383 wlarc=
9384 hardcode_direct=yes
9385 hardcode_shlibpath_var=no
9389 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9390 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9391 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9392 else
9393 ld_shlibs=no
9396 esac
9398 if test "$ld_shlibs" = no; then
9399 runpath_var=
9400 hardcode_libdir_flag_spec=
9401 export_dynamic_flag_spec=
9402 whole_archive_flag_spec=
9404 else
9405 # PORTME fill in a description of your system's linker (not GNU ld)
9406 case $host_os in
9407 aix3*)
9408 allow_undefined_flag=unsupported
9409 always_export_symbols=yes
9410 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9411 # Note: this linker hardcodes the directories in LIBPATH if there
9412 # are no directories specified by -L.
9413 hardcode_minus_L=yes
9414 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9415 # Neither direct hardcoding nor static linking is supported with a
9416 # broken collect2.
9417 hardcode_direct=unsupported
9421 aix[4-9]*)
9422 if test "$host_cpu" = ia64; then
9423 # On IA64, the linker does run time linking by default, so we don't
9424 # have to do anything special.
9425 aix_use_runtimelinking=no
9426 exp_sym_flag='-Bexport'
9427 no_entry_flag=""
9428 else
9429 # If we're using GNU nm, then we don't want the "-C" option.
9430 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9431 # Also, AIX nm treats weak defined symbols like other global
9432 # defined symbols, whereas GNU nm marks them as "W".
9433 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9434 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9435 else
9436 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9438 aix_use_runtimelinking=no
9440 # Test if we are trying to use run time linking or normal
9441 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9442 # need to do runtime linking.
9443 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9444 for ld_flag in $LDFLAGS; do
9445 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9446 aix_use_runtimelinking=yes
9447 break
9449 done
9451 esac
9453 exp_sym_flag='-bexport'
9454 no_entry_flag='-bnoentry'
9457 # When large executables or shared objects are built, AIX ld can
9458 # have problems creating the table of contents. If linking a library
9459 # or program results in "error TOC overflow" add -mminimal-toc to
9460 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9461 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9463 archive_cmds=''
9464 hardcode_direct=yes
9465 hardcode_direct_absolute=yes
9466 hardcode_libdir_separator=':'
9467 link_all_deplibs=yes
9468 file_list_spec='${wl}-f,'
9470 if test "$GCC" = yes; then
9471 case $host_os in aix4.[012]|aix4.[012].*)
9472 # We only want to do this on AIX 4.2 and lower, the check
9473 # below for broken collect2 doesn't work under 4.3+
9474 collect2name=`${CC} -print-prog-name=collect2`
9475 if test -f "$collect2name" &&
9476 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9477 then
9478 # We have reworked collect2
9480 else
9481 # We have old collect2
9482 hardcode_direct=unsupported
9483 # It fails to find uninstalled libraries when the uninstalled
9484 # path is not listed in the libpath. Setting hardcode_minus_L
9485 # to unsupported forces relinking
9486 hardcode_minus_L=yes
9487 hardcode_libdir_flag_spec='-L$libdir'
9488 hardcode_libdir_separator=
9491 esac
9492 shared_flag='-shared'
9493 if test "$aix_use_runtimelinking" = yes; then
9494 shared_flag="$shared_flag "'${wl}-G'
9496 else
9497 # not using gcc
9498 if test "$host_cpu" = ia64; then
9499 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9500 # chokes on -Wl,-G. The following line is correct:
9501 shared_flag='-G'
9502 else
9503 if test "$aix_use_runtimelinking" = yes; then
9504 shared_flag='${wl}-G'
9505 else
9506 shared_flag='${wl}-bM:SRE'
9511 export_dynamic_flag_spec='${wl}-bexpall'
9512 # It seems that -bexpall does not export symbols beginning with
9513 # underscore (_), so it is better to generate a list of symbols to export.
9514 always_export_symbols=yes
9515 if test "$aix_use_runtimelinking" = yes; then
9516 # Warning - without using the other runtime loading flags (-brtl),
9517 # -berok will link without error, but may produce a broken library.
9518 allow_undefined_flag='-berok'
9519 # Determine the default libpath from the value encoded in an
9520 # empty executable.
9521 if test x$gcc_no_link = xyes; then
9522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9528 main ()
9532 return 0;
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9537 lt_aix_libpath_sed='
9538 /Import File Strings/,/^$/ {
9539 /^0/ {
9540 s/^0 *\(.*\)$/\1/
9544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 # Check for a 64-bit object if we didn't find anything.
9546 if test -z "$aix_libpath"; then
9547 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9554 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9556 else
9557 if test "$host_cpu" = ia64; then
9558 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9559 allow_undefined_flag="-z nodefs"
9560 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9561 else
9562 # Determine the default libpath from the value encoded in an
9563 # empty executable.
9564 if test x$gcc_no_link = xyes; then
9565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9571 main ()
9575 return 0;
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9580 lt_aix_libpath_sed='
9581 /Import File Strings/,/^$/ {
9582 /^0/ {
9583 s/^0 *\(.*\)$/\1/
9587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 # Check for a 64-bit object if we didn't find anything.
9589 if test -z "$aix_libpath"; then
9590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9597 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598 # Warning - without using the other run time loading flags,
9599 # -berok will link without error, but may produce a broken library.
9600 no_undefined_flag=' ${wl}-bernotok'
9601 allow_undefined_flag=' ${wl}-berok'
9602 if test "$with_gnu_ld" = yes; then
9603 # We only use this code for GNU lds that support --whole-archive.
9604 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9605 else
9606 # Exported symbols can be pulled into shared objects from archives
9607 whole_archive_flag_spec='$convenience'
9609 archive_cmds_need_lc=yes
9610 # This is similar to how AIX traditionally builds its shared libraries.
9611 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9616 amigaos*)
9617 case $host_cpu in
9618 powerpc)
9619 # see comment about AmigaOS4 .so support
9620 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9621 archive_expsym_cmds=''
9623 m68k)
9624 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9625 hardcode_libdir_flag_spec='-L$libdir'
9626 hardcode_minus_L=yes
9628 esac
9631 bsdi[45]*)
9632 export_dynamic_flag_spec=-rdynamic
9635 cygwin* | mingw* | pw32* | cegcc*)
9636 # When not using gcc, we currently assume that we are using
9637 # Microsoft Visual C++.
9638 # hardcode_libdir_flag_spec is actually meaningless, as there is
9639 # no search path for DLLs.
9640 hardcode_libdir_flag_spec=' '
9641 allow_undefined_flag=unsupported
9642 # Tell ltmain to make .lib files, not .a files.
9643 libext=lib
9644 # Tell ltmain to make .dll files, not .so files.
9645 shrext_cmds=".dll"
9646 # FIXME: Setting linknames here is a bad hack.
9647 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9648 # The linker will automatically build a .lib file if we build a DLL.
9649 old_archive_from_new_cmds='true'
9650 # FIXME: Should let the user specify the lib program.
9651 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9652 fix_srcfile_path='`cygpath -w "$srcfile"`'
9653 enable_shared_with_static_runtimes=yes
9656 darwin* | rhapsody*)
9659 archive_cmds_need_lc=no
9660 hardcode_direct=no
9661 hardcode_automatic=yes
9662 hardcode_shlibpath_var=unsupported
9663 if test "$lt_cv_ld_force_load" = "yes"; then
9664 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9665 else
9666 whole_archive_flag_spec=''
9668 link_all_deplibs=yes
9669 allow_undefined_flag="$_lt_dar_allow_undefined"
9670 case $cc_basename in
9671 ifort*) _lt_dar_can_shared=yes ;;
9672 *) _lt_dar_can_shared=$GCC ;;
9673 esac
9674 if test "$_lt_dar_can_shared" = "yes"; then
9675 output_verbose_link_cmd=func_echo_all
9676 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9677 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9678 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9679 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9681 else
9682 ld_shlibs=no
9687 dgux*)
9688 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9689 hardcode_libdir_flag_spec='-L$libdir'
9690 hardcode_shlibpath_var=no
9693 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9694 # support. Future versions do this automatically, but an explicit c++rt0.o
9695 # does not break anything, and helps significantly (at the cost of a little
9696 # extra space).
9697 freebsd2.2*)
9698 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9699 hardcode_libdir_flag_spec='-R$libdir'
9700 hardcode_direct=yes
9701 hardcode_shlibpath_var=no
9704 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9705 freebsd2*)
9706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9707 hardcode_direct=yes
9708 hardcode_minus_L=yes
9709 hardcode_shlibpath_var=no
9712 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9713 freebsd* | dragonfly*)
9714 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9715 hardcode_libdir_flag_spec='-R$libdir'
9716 hardcode_direct=yes
9717 hardcode_shlibpath_var=no
9720 hpux9*)
9721 if test "$GCC" = yes; then
9722 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9723 else
9724 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9726 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9727 hardcode_libdir_separator=:
9728 hardcode_direct=yes
9730 # hardcode_minus_L: Not really in the search PATH,
9731 # but as the default location of the library.
9732 hardcode_minus_L=yes
9733 export_dynamic_flag_spec='${wl}-E'
9736 hpux10*)
9737 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9738 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9739 else
9740 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9742 if test "$with_gnu_ld" = no; then
9743 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9744 hardcode_libdir_flag_spec_ld='+b $libdir'
9745 hardcode_libdir_separator=:
9746 hardcode_direct=yes
9747 hardcode_direct_absolute=yes
9748 export_dynamic_flag_spec='${wl}-E'
9749 # hardcode_minus_L: Not really in the search PATH,
9750 # but as the default location of the library.
9751 hardcode_minus_L=yes
9755 hpux11*)
9756 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9757 case $host_cpu in
9758 hppa*64*)
9759 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9761 ia64*)
9762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9765 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9767 esac
9768 else
9769 case $host_cpu in
9770 hppa*64*)
9771 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9773 ia64*)
9774 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9778 # Older versions of the 11.00 compiler do not understand -b yet
9779 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9781 $as_echo_n "checking if $CC understands -b... " >&6; }
9782 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 lt_cv_prog_compiler__b=no
9786 save_LDFLAGS="$LDFLAGS"
9787 LDFLAGS="$LDFLAGS -b"
9788 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9789 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9790 # The linker can only warn and ignore the option if not recognized
9791 # So say no if there are warnings
9792 if test -s conftest.err; then
9793 # Append any errors to the config.log.
9794 cat conftest.err 1>&5
9795 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9796 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9797 if diff conftest.exp conftest.er2 >/dev/null; then
9798 lt_cv_prog_compiler__b=yes
9800 else
9801 lt_cv_prog_compiler__b=yes
9804 $RM -r conftest*
9805 LDFLAGS="$save_LDFLAGS"
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9809 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9811 if test x"$lt_cv_prog_compiler__b" = xyes; then
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9813 else
9814 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9818 esac
9820 if test "$with_gnu_ld" = no; then
9821 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9822 hardcode_libdir_separator=:
9824 case $host_cpu in
9825 hppa*64*|ia64*)
9826 hardcode_direct=no
9827 hardcode_shlibpath_var=no
9830 hardcode_direct=yes
9831 hardcode_direct_absolute=yes
9832 export_dynamic_flag_spec='${wl}-E'
9834 # hardcode_minus_L: Not really in the search PATH,
9835 # but as the default location of the library.
9836 hardcode_minus_L=yes
9838 esac
9842 irix5* | irix6* | nonstopux*)
9843 if test "$GCC" = yes; then
9844 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9845 # Try to use the -exported_symbol ld option, if it does not
9846 # work, assume that -exports_file does not work either and
9847 # implicitly export all symbols.
9848 save_LDFLAGS="$LDFLAGS"
9849 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9850 if test x$gcc_no_link = xyes; then
9851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9855 int foo(void) {}
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9861 rm -f core conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LDFLAGS="$save_LDFLAGS"
9864 else
9865 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9866 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9868 archive_cmds_need_lc='no'
9869 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870 hardcode_libdir_separator=:
9871 inherit_rpath=yes
9872 link_all_deplibs=yes
9875 netbsd*)
9876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9877 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9878 else
9879 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9881 hardcode_libdir_flag_spec='-R$libdir'
9882 hardcode_direct=yes
9883 hardcode_shlibpath_var=no
9886 newsos6)
9887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9888 hardcode_direct=yes
9889 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9890 hardcode_libdir_separator=:
9891 hardcode_shlibpath_var=no
9894 *nto* | *qnx*)
9897 openbsd*)
9898 if test -f /usr/libexec/ld.so; then
9899 hardcode_direct=yes
9900 hardcode_shlibpath_var=no
9901 hardcode_direct_absolute=yes
9902 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9903 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9905 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9906 export_dynamic_flag_spec='${wl}-E'
9907 else
9908 case $host_os in
9909 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9910 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9911 hardcode_libdir_flag_spec='-R$libdir'
9914 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9915 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9917 esac
9919 else
9920 ld_shlibs=no
9924 os2*)
9925 hardcode_libdir_flag_spec='-L$libdir'
9926 hardcode_minus_L=yes
9927 allow_undefined_flag=unsupported
9928 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9929 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9932 osf3*)
9933 if test "$GCC" = yes; then
9934 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9935 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9936 else
9937 allow_undefined_flag=' -expect_unresolved \*'
9938 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9940 archive_cmds_need_lc='no'
9941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9942 hardcode_libdir_separator=:
9945 osf4* | osf5*) # as osf3* with the addition of -msym flag
9946 if test "$GCC" = yes; then
9947 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9948 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9949 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9950 else
9951 allow_undefined_flag=' -expect_unresolved \*'
9952 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9953 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9954 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9956 # Both c and cxx compiler support -rpath directly
9957 hardcode_libdir_flag_spec='-rpath $libdir'
9959 archive_cmds_need_lc='no'
9960 hardcode_libdir_separator=:
9963 solaris*)
9964 no_undefined_flag=' -z defs'
9965 if test "$GCC" = yes; then
9966 wlarc='${wl}'
9967 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9969 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9970 else
9971 case `$CC -V 2>&1` in
9972 *"Compilers 5.0"*)
9973 wlarc=''
9974 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9975 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9979 wlarc='${wl}'
9980 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9981 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984 esac
9986 hardcode_libdir_flag_spec='-R$libdir'
9987 hardcode_shlibpath_var=no
9988 case $host_os in
9989 solaris2.[0-5] | solaris2.[0-5].*) ;;
9991 # The compiler driver will combine and reorder linker options,
9992 # but understands `-z linker_flag'. GCC discards it without `$wl',
9993 # but is careful enough not to reorder.
9994 # Supported since Solaris 2.6 (maybe 2.5.1?)
9995 if test "$GCC" = yes; then
9996 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9997 else
9998 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10001 esac
10002 link_all_deplibs=yes
10005 sunos4*)
10006 if test "x$host_vendor" = xsequent; then
10007 # Use $CC to link under sequent, because it throws in some extra .o
10008 # files that make .init and .fini sections work.
10009 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10010 else
10011 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10013 hardcode_libdir_flag_spec='-L$libdir'
10014 hardcode_direct=yes
10015 hardcode_minus_L=yes
10016 hardcode_shlibpath_var=no
10019 sysv4)
10020 case $host_vendor in
10021 sni)
10022 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_direct=yes # is this really true???
10025 siemens)
10026 ## LD is ld it makes a PLAMLIB
10027 ## CC just makes a GrossModule.
10028 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10029 reload_cmds='$CC -r -o $output$reload_objs'
10030 hardcode_direct=no
10032 motorola)
10033 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10034 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10036 esac
10037 runpath_var='LD_RUN_PATH'
10038 hardcode_shlibpath_var=no
10041 sysv4.3*)
10042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_shlibpath_var=no
10044 export_dynamic_flag_spec='-Bexport'
10047 sysv4*MP*)
10048 if test -d /usr/nec; then
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_shlibpath_var=no
10051 runpath_var=LD_RUN_PATH
10052 hardcode_runpath_var=yes
10053 ld_shlibs=yes
10057 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10058 no_undefined_flag='${wl}-z,text'
10059 archive_cmds_need_lc=no
10060 hardcode_shlibpath_var=no
10061 runpath_var='LD_RUN_PATH'
10063 if test "$GCC" = yes; then
10064 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 else
10067 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 sysv5* | sco3.2v5* | sco5v6*)
10073 # Note: We can NOT use -z defs as we might desire, because we do not
10074 # link with -lc, and that would cause any symbols used from libc to
10075 # always be unresolved, which means just about no library would
10076 # ever link correctly. If we're not using GNU ld we use -z text
10077 # though, which does catch some bad symbols but isn't as heavy-handed
10078 # as -z defs.
10079 no_undefined_flag='${wl}-z,text'
10080 allow_undefined_flag='${wl}-z,nodefs'
10081 archive_cmds_need_lc=no
10082 hardcode_shlibpath_var=no
10083 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10084 hardcode_libdir_separator=':'
10085 link_all_deplibs=yes
10086 export_dynamic_flag_spec='${wl}-Bexport'
10087 runpath_var='LD_RUN_PATH'
10089 if test "$GCC" = yes; then
10090 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 else
10093 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098 uts4*)
10099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100 hardcode_libdir_flag_spec='-L$libdir'
10101 hardcode_shlibpath_var=no
10105 ld_shlibs=no
10107 esac
10109 if test x$host_vendor = xsni; then
10110 case $host in
10111 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10112 export_dynamic_flag_spec='${wl}-Blargedynsym'
10114 esac
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10119 $as_echo "$ld_shlibs" >&6; }
10120 test "$ld_shlibs" = no && can_build_shared=no
10122 with_gnu_ld=$with_gnu_ld
10139 # Do we need to explicitly link libc?
10141 case "x$archive_cmds_need_lc" in
10142 x|xyes)
10143 # Assume -lc should be added
10144 archive_cmds_need_lc=yes
10146 if test "$enable_shared" = yes && test "$GCC" = yes; then
10147 case $archive_cmds in
10148 *'~'*)
10149 # FIXME: we may have to deal with multi-command sequences.
10151 '$CC '*)
10152 # Test whether the compiler implicitly links with -lc since on some
10153 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10154 # to ld, don't add -lc before -lgcc.
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10156 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10157 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 $RM conftest*
10161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10164 (eval $ac_compile) 2>&5
10165 ac_status=$?
10166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10167 test $ac_status = 0; } 2>conftest.err; then
10168 soname=conftest
10169 lib=conftest
10170 libobjs=conftest.$ac_objext
10171 deplibs=
10172 wl=$lt_prog_compiler_wl
10173 pic_flag=$lt_prog_compiler_pic
10174 compiler_flags=-v
10175 linker_flags=-v
10176 verstring=
10177 output_objdir=.
10178 libname=conftest
10179 lt_save_allow_undefined_flag=$allow_undefined_flag
10180 allow_undefined_flag=
10181 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10182 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10183 ac_status=$?
10184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10185 test $ac_status = 0; }
10186 then
10187 lt_cv_archive_cmds_need_lc=no
10188 else
10189 lt_cv_archive_cmds_need_lc=yes
10191 allow_undefined_flag=$lt_save_allow_undefined_flag
10192 else
10193 cat conftest.err 1>&5
10195 $RM conftest*
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10199 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10200 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10202 esac
10205 esac
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10364 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10366 if test "$GCC" = yes; then
10367 case $host_os in
10368 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10369 *) lt_awk_arg="/^libraries:/" ;;
10370 esac
10371 case $host_os in
10372 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10373 *) lt_sed_strip_eq="s,=/,/,g" ;;
10374 esac
10375 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10376 case $lt_search_path_spec in
10377 *\;*)
10378 # if the path contains ";" then we assume it to be the separator
10379 # otherwise default to the standard path separator (i.e. ":") - it is
10380 # assumed that no part of a normal pathname contains ";" but that should
10381 # okay in the real world where ";" in dirpaths is itself problematic.
10382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10385 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10387 esac
10388 # Ok, now we have the path, separated by spaces, we can step through it
10389 # and add multilib dir if necessary.
10390 lt_tmp_lt_search_path_spec=
10391 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10392 for lt_sys_path in $lt_search_path_spec; do
10393 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10394 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10395 else
10396 test -d "$lt_sys_path" && \
10397 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10399 done
10400 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10401 BEGIN {RS=" "; FS="/|\n";} {
10402 lt_foo="";
10403 lt_count=0;
10404 for (lt_i = NF; lt_i > 0; lt_i--) {
10405 if ($lt_i != "" && $lt_i != ".") {
10406 if ($lt_i == "..") {
10407 lt_count++;
10408 } else {
10409 if (lt_count == 0) {
10410 lt_foo="/" $lt_i lt_foo;
10411 } else {
10412 lt_count--;
10417 if (lt_foo != "") { lt_freq[lt_foo]++; }
10418 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10420 # AWK program above erroneously prepends '/' to C:/dos/paths
10421 # for these hosts.
10422 case $host_os in
10423 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10424 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10425 esac
10426 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10427 else
10428 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10430 library_names_spec=
10431 libname_spec='lib$name'
10432 soname_spec=
10433 shrext_cmds=".so"
10434 postinstall_cmds=
10435 postuninstall_cmds=
10436 finish_cmds=
10437 finish_eval=
10438 shlibpath_var=
10439 shlibpath_overrides_runpath=unknown
10440 version_type=none
10441 dynamic_linker="$host_os ld.so"
10442 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10443 need_lib_prefix=unknown
10444 hardcode_into_libs=no
10446 # when you set need_version to no, make sure it does not cause -set_version
10447 # flags to be left without arguments
10448 need_version=unknown
10450 case $host_os in
10451 aix3*)
10452 version_type=linux
10453 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10454 shlibpath_var=LIBPATH
10456 # AIX 3 has no versioning support, so we append a major version to the name.
10457 soname_spec='${libname}${release}${shared_ext}$major'
10460 aix[4-9]*)
10461 version_type=linux
10462 need_lib_prefix=no
10463 need_version=no
10464 hardcode_into_libs=yes
10465 if test "$host_cpu" = ia64; then
10466 # AIX 5 supports IA64
10467 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10468 shlibpath_var=LD_LIBRARY_PATH
10469 else
10470 # With GCC up to 2.95.x, collect2 would create an import file
10471 # for dependence libraries. The import file would start with
10472 # the line `#! .'. This would cause the generated library to
10473 # depend on `.', always an invalid library. This was fixed in
10474 # development snapshots of GCC prior to 3.0.
10475 case $host_os in
10476 aix4 | aix4.[01] | aix4.[01].*)
10477 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10478 echo ' yes '
10479 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10481 else
10482 can_build_shared=no
10485 esac
10486 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10487 # soname into executable. Probably we can add versioning support to
10488 # collect2, so additional links can be useful in future.
10489 if test "$aix_use_runtimelinking" = yes; then
10490 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10491 # instead of lib<name>.a to let people know that these are not
10492 # typical AIX shared libraries.
10493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10494 else
10495 # We preserve .a as extension for shared libraries through AIX4.2
10496 # and later when we are not doing run time linking.
10497 library_names_spec='${libname}${release}.a $libname.a'
10498 soname_spec='${libname}${release}${shared_ext}$major'
10500 shlibpath_var=LIBPATH
10504 amigaos*)
10505 case $host_cpu in
10506 powerpc)
10507 # Since July 2007 AmigaOS4 officially supports .so libraries.
10508 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10511 m68k)
10512 library_names_spec='$libname.ixlibrary $libname.a'
10513 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10514 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10516 esac
10519 beos*)
10520 library_names_spec='${libname}${shared_ext}'
10521 dynamic_linker="$host_os ld.so"
10522 shlibpath_var=LIBRARY_PATH
10525 bsdi[45]*)
10526 version_type=linux
10527 need_version=no
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10531 shlibpath_var=LD_LIBRARY_PATH
10532 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10533 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10534 # the default ld.so.conf also contains /usr/contrib/lib and
10535 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10536 # libtool to hard-code these into programs
10539 cygwin* | mingw* | pw32* | cegcc*)
10540 version_type=windows
10541 shrext_cmds=".dll"
10542 need_version=no
10543 need_lib_prefix=no
10545 case $GCC,$host_os in
10546 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10547 library_names_spec='$libname.dll.a'
10548 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10549 postinstall_cmds='base_file=`basename \${file}`~
10550 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10551 dldir=$destdir/`dirname \$dlpath`~
10552 test -d \$dldir || mkdir -p \$dldir~
10553 $install_prog $dir/$dlname \$dldir/$dlname~
10554 chmod a+x \$dldir/$dlname~
10555 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10556 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10558 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559 dlpath=$dir/\$dldll~
10560 $RM \$dlpath'
10561 shlibpath_overrides_runpath=yes
10563 case $host_os in
10564 cygwin*)
10565 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10566 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10568 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10570 mingw* | cegcc*)
10571 # MinGW DLLs use traditional 'lib' prefix
10572 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10574 pw32*)
10575 # pw32 DLLs use 'pw' prefix rather than 'lib'
10576 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10578 esac
10582 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10584 esac
10585 dynamic_linker='Win32 ld.exe'
10586 # FIXME: first we should search . and the directory the executable is in
10587 shlibpath_var=PATH
10590 darwin* | rhapsody*)
10591 dynamic_linker="$host_os dyld"
10592 version_type=darwin
10593 need_lib_prefix=no
10594 need_version=no
10595 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10596 soname_spec='${libname}${release}${major}$shared_ext'
10597 shlibpath_overrides_runpath=yes
10598 shlibpath_var=DYLD_LIBRARY_PATH
10599 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10601 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10602 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10605 dgux*)
10606 version_type=linux
10607 need_lib_prefix=no
10608 need_version=no
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 shlibpath_var=LD_LIBRARY_PATH
10614 freebsd* | dragonfly*)
10615 # DragonFly does not have aout. When/if they implement a new
10616 # versioning mechanism, adjust this.
10617 if test -x /usr/bin/objformat; then
10618 objformat=`/usr/bin/objformat`
10619 else
10620 case $host_os in
10621 freebsd[123]*) objformat=aout ;;
10622 *) objformat=elf ;;
10623 esac
10625 version_type=freebsd-$objformat
10626 case $version_type in
10627 freebsd-elf*)
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10629 need_version=no
10630 need_lib_prefix=no
10632 freebsd-*)
10633 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10634 need_version=yes
10636 esac
10637 shlibpath_var=LD_LIBRARY_PATH
10638 case $host_os in
10639 freebsd2*)
10640 shlibpath_overrides_runpath=yes
10642 freebsd3.[01]* | freebsdelf3.[01]*)
10643 shlibpath_overrides_runpath=yes
10644 hardcode_into_libs=yes
10646 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10647 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10648 shlibpath_overrides_runpath=no
10649 hardcode_into_libs=yes
10651 *) # from 4.6 on, and DragonFly
10652 shlibpath_overrides_runpath=yes
10653 hardcode_into_libs=yes
10655 esac
10658 gnu*)
10659 version_type=linux
10660 need_lib_prefix=no
10661 need_version=no
10662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10663 soname_spec='${libname}${release}${shared_ext}$major'
10664 shlibpath_var=LD_LIBRARY_PATH
10665 hardcode_into_libs=yes
10668 haiku*)
10669 version_type=linux
10670 need_lib_prefix=no
10671 need_version=no
10672 dynamic_linker="$host_os runtime_loader"
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10675 shlibpath_var=LIBRARY_PATH
10676 shlibpath_overrides_runpath=yes
10677 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10678 hardcode_into_libs=yes
10681 hpux9* | hpux10* | hpux11*)
10682 # Give a soname corresponding to the major version so that dld.sl refuses to
10683 # link against other versions.
10684 version_type=sunos
10685 need_lib_prefix=no
10686 need_version=no
10687 case $host_cpu in
10688 ia64*)
10689 shrext_cmds='.so'
10690 hardcode_into_libs=yes
10691 dynamic_linker="$host_os dld.so"
10692 shlibpath_var=LD_LIBRARY_PATH
10693 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695 soname_spec='${libname}${release}${shared_ext}$major'
10696 if test "X$HPUX_IA64_MODE" = X32; then
10697 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10698 else
10699 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10701 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10703 hppa*64*)
10704 shrext_cmds='.sl'
10705 hardcode_into_libs=yes
10706 dynamic_linker="$host_os dld.sl"
10707 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10708 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710 soname_spec='${libname}${release}${shared_ext}$major'
10711 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10712 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10715 shrext_cmds='.sl'
10716 dynamic_linker="$host_os dld.sl"
10717 shlibpath_var=SHLIB_PATH
10718 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10722 esac
10723 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10724 postinstall_cmds='chmod 555 $lib'
10725 # or fails outright, so override atomically:
10726 install_override_mode=555
10729 interix[3-9]*)
10730 version_type=linux
10731 need_lib_prefix=no
10732 need_version=no
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10736 shlibpath_var=LD_LIBRARY_PATH
10737 shlibpath_overrides_runpath=no
10738 hardcode_into_libs=yes
10741 irix5* | irix6* | nonstopux*)
10742 case $host_os in
10743 nonstopux*) version_type=nonstopux ;;
10745 if test "$lt_cv_prog_gnu_ld" = yes; then
10746 version_type=linux
10747 else
10748 version_type=irix
10749 fi ;;
10750 esac
10751 need_lib_prefix=no
10752 need_version=no
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10755 case $host_os in
10756 irix5* | nonstopux*)
10757 libsuff= shlibsuff=
10760 case $LD in # libtool.m4 will add one of these switches to LD
10761 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10762 libsuff= shlibsuff= libmagic=32-bit;;
10763 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10764 libsuff=32 shlibsuff=N32 libmagic=N32;;
10765 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10766 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10767 *) libsuff= shlibsuff= libmagic=never-match;;
10768 esac
10770 esac
10771 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10772 shlibpath_overrides_runpath=no
10773 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10774 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10775 hardcode_into_libs=yes
10778 # No shared lib support for Linux oldld, aout, or coff.
10779 linux*oldld* | linux*aout* | linux*coff*)
10780 dynamic_linker=no
10783 # This must be Linux ELF.
10784 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10785 version_type=linux
10786 need_lib_prefix=no
10787 need_version=no
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec='${libname}${release}${shared_ext}$major'
10790 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10791 shlibpath_var=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath=no
10794 # Some binutils ld are patched to set DT_RUNPATH
10795 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10796 $as_echo_n "(cached) " >&6
10797 else
10798 lt_cv_shlibpath_overrides_runpath=no
10799 save_LDFLAGS=$LDFLAGS
10800 save_libdir=$libdir
10801 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10802 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10803 if test x$gcc_no_link = xyes; then
10804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10810 main ()
10814 return 0;
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10819 lt_cv_shlibpath_overrides_runpath=yes
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LDFLAGS=$save_LDFLAGS
10825 libdir=$save_libdir
10829 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10831 # This implies no fast_install, which is unacceptable.
10832 # Some rework will be needed to allow for fast_install
10833 # before this can be enabled.
10834 hardcode_into_libs=yes
10836 # Append ld.so.conf contents to the search path
10837 if test -f /etc/ld.so.conf; then
10838 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10839 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10842 # We used to test for /lib/ld.so.1 and disable shared libraries on
10843 # powerpc, because MkLinux only supported shared libraries with the
10844 # GNU dynamic linker. Since this was broken with cross compilers,
10845 # most powerpc-linux boxes support dynamic linking these days and
10846 # people can always --disable-shared, the test was removed, and we
10847 # assume the GNU/Linux dynamic linker is in use.
10848 dynamic_linker='GNU/Linux ld.so'
10851 netbsd*)
10852 version_type=sunos
10853 need_lib_prefix=no
10854 need_version=no
10855 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10857 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10858 dynamic_linker='NetBSD (a.out) ld.so'
10859 else
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 dynamic_linker='NetBSD ld.elf_so'
10864 shlibpath_var=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath=yes
10866 hardcode_into_libs=yes
10869 newsos6)
10870 version_type=linux
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10872 shlibpath_var=LD_LIBRARY_PATH
10873 shlibpath_overrides_runpath=yes
10876 *nto* | *qnx*)
10877 version_type=qnx
10878 need_lib_prefix=no
10879 need_version=no
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 shlibpath_var=LD_LIBRARY_PATH
10883 shlibpath_overrides_runpath=no
10884 hardcode_into_libs=yes
10885 dynamic_linker='ldqnx.so'
10888 openbsd*)
10889 version_type=sunos
10890 sys_lib_dlsearch_path_spec="/usr/lib"
10891 need_lib_prefix=no
10892 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10893 case $host_os in
10894 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10895 *) need_version=no ;;
10896 esac
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10901 case $host_os in
10902 openbsd2.[89] | openbsd2.[89].*)
10903 shlibpath_overrides_runpath=no
10906 shlibpath_overrides_runpath=yes
10908 esac
10909 else
10910 shlibpath_overrides_runpath=yes
10914 os2*)
10915 libname_spec='$name'
10916 shrext_cmds=".dll"
10917 need_lib_prefix=no
10918 library_names_spec='$libname${shared_ext} $libname.a'
10919 dynamic_linker='OS/2 ld.exe'
10920 shlibpath_var=LIBPATH
10923 osf3* | osf4* | osf5*)
10924 version_type=osf
10925 need_lib_prefix=no
10926 need_version=no
10927 soname_spec='${libname}${release}${shared_ext}$major'
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929 shlibpath_var=LD_LIBRARY_PATH
10930 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10931 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10934 rdos*)
10935 dynamic_linker=no
10938 solaris*)
10939 version_type=linux
10940 need_lib_prefix=no
10941 need_version=no
10942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943 soname_spec='${libname}${release}${shared_ext}$major'
10944 shlibpath_var=LD_LIBRARY_PATH
10945 shlibpath_overrides_runpath=yes
10946 hardcode_into_libs=yes
10947 # ldd complains unless libraries are executable
10948 postinstall_cmds='chmod +x $lib'
10951 sunos4*)
10952 version_type=sunos
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10954 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath=yes
10957 if test "$with_gnu_ld" = yes; then
10958 need_lib_prefix=no
10960 need_version=yes
10963 sysv4 | sysv4.3*)
10964 version_type=linux
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 case $host_vendor in
10969 sni)
10970 shlibpath_overrides_runpath=no
10971 need_lib_prefix=no
10972 runpath_var=LD_RUN_PATH
10974 siemens)
10975 need_lib_prefix=no
10977 motorola)
10978 need_lib_prefix=no
10979 need_version=no
10980 shlibpath_overrides_runpath=no
10981 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10983 esac
10986 sysv4*MP*)
10987 if test -d /usr/nec ;then
10988 version_type=linux
10989 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10990 soname_spec='$libname${shared_ext}.$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10996 version_type=freebsd-elf
10997 need_lib_prefix=no
10998 need_version=no
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=yes
11003 hardcode_into_libs=yes
11004 if test "$with_gnu_ld" = yes; then
11005 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11006 else
11007 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11008 case $host_os in
11009 sco3.2v5*)
11010 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11012 esac
11014 sys_lib_dlsearch_path_spec='/usr/lib'
11017 tpf*)
11018 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11019 version_type=linux
11020 need_lib_prefix=no
11021 need_version=no
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 shlibpath_var=LD_LIBRARY_PATH
11024 shlibpath_overrides_runpath=no
11025 hardcode_into_libs=yes
11028 uts4*)
11029 version_type=linux
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 shlibpath_var=LD_LIBRARY_PATH
11036 dynamic_linker=no
11038 esac
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11040 $as_echo "$dynamic_linker" >&6; }
11041 test "$dynamic_linker" = no && can_build_shared=no
11043 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11044 if test "$GCC" = yes; then
11045 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11048 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11049 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11051 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11052 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11147 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11148 hardcode_action=
11149 if test -n "$hardcode_libdir_flag_spec" ||
11150 test -n "$runpath_var" ||
11151 test "X$hardcode_automatic" = "Xyes" ; then
11153 # We can hardcode non-existent directories.
11154 if test "$hardcode_direct" != no &&
11155 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11156 # have to relink, otherwise we might link with an installed library
11157 # when we should be linking with a yet-to-be-installed one
11158 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11159 test "$hardcode_minus_L" != no; then
11160 # Linking always hardcodes the temporary library directory.
11161 hardcode_action=relink
11162 else
11163 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11164 hardcode_action=immediate
11166 else
11167 # We cannot hardcode anything, or else we can only hardcode existing
11168 # directories.
11169 hardcode_action=unsupported
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11172 $as_echo "$hardcode_action" >&6; }
11174 if test "$hardcode_action" = relink ||
11175 test "$inherit_rpath" = yes; then
11176 # Fast installation is not supported
11177 enable_fast_install=no
11178 elif test "$shlibpath_overrides_runpath" = yes ||
11179 test "$enable_shared" = no; then
11180 # Fast installation is not necessary
11181 enable_fast_install=needless
11189 if test "x$enable_dlopen" != xyes; then
11190 enable_dlopen=unknown
11191 enable_dlopen_self=unknown
11192 enable_dlopen_self_static=unknown
11193 else
11194 lt_cv_dlopen=no
11195 lt_cv_dlopen_libs=
11197 case $host_os in
11198 beos*)
11199 lt_cv_dlopen="load_add_on"
11200 lt_cv_dlopen_libs=
11201 lt_cv_dlopen_self=yes
11204 mingw* | pw32* | cegcc*)
11205 lt_cv_dlopen="LoadLibrary"
11206 lt_cv_dlopen_libs=
11209 cygwin*)
11210 lt_cv_dlopen="dlopen"
11211 lt_cv_dlopen_libs=
11214 darwin*)
11215 # if libdl is installed we need to link against it
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11217 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11218 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-ldl $LIBS"
11223 if test x$gcc_no_link = xyes; then
11224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char dlopen ();
11237 main ()
11239 return dlopen ();
11241 return 0;
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 ac_cv_lib_dl_dlopen=yes
11246 else
11247 ac_cv_lib_dl_dlopen=no
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11254 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11255 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11256 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11257 else
11259 lt_cv_dlopen="dyld"
11260 lt_cv_dlopen_libs=
11261 lt_cv_dlopen_self=yes
11268 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11269 if test "x$ac_cv_func_shl_load" = x""yes; then :
11270 lt_cv_dlopen="shl_load"
11271 else
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11273 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11274 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11275 $as_echo_n "(cached) " >&6
11276 else
11277 ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-ldld $LIBS"
11279 if test x$gcc_no_link = xyes; then
11280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char shl_load ();
11293 main ()
11295 return shl_load ();
11297 return 0;
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_dld_shl_load=yes
11302 else
11303 ac_cv_lib_dld_shl_load=no
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11310 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11311 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11312 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11313 else
11314 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11315 if test "x$ac_cv_func_dlopen" = x""yes; then :
11316 lt_cv_dlopen="dlopen"
11317 else
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11319 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11320 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_lib_save_LIBS=$LIBS
11324 LIBS="-ldl $LIBS"
11325 if test x$gcc_no_link = xyes; then
11326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char dlopen ();
11339 main ()
11341 return dlopen ();
11343 return 0;
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 ac_cv_lib_dl_dlopen=yes
11348 else
11349 ac_cv_lib_dl_dlopen=no
11351 rm -f core conftest.err conftest.$ac_objext \
11352 conftest$ac_exeext conftest.$ac_ext
11353 LIBS=$ac_check_lib_save_LIBS
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11356 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11357 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11358 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11359 else
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11361 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11362 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11363 $as_echo_n "(cached) " >&6
11364 else
11365 ac_check_lib_save_LIBS=$LIBS
11366 LIBS="-lsvld $LIBS"
11367 if test x$gcc_no_link = xyes; then
11368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char dlopen ();
11381 main ()
11383 return dlopen ();
11385 return 0;
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_svld_dlopen=yes
11390 else
11391 ac_cv_lib_svld_dlopen=no
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11398 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11399 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11401 else
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11403 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11404 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11405 $as_echo_n "(cached) " >&6
11406 else
11407 ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-ldld $LIBS"
11409 if test x$gcc_no_link = xyes; then
11410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char dld_link ();
11423 main ()
11425 return dld_link ();
11427 return 0;
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_dld_dld_link=yes
11432 else
11433 ac_cv_lib_dld_dld_link=no
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11440 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11441 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11442 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11461 esac
11463 if test "x$lt_cv_dlopen" != xno; then
11464 enable_dlopen=yes
11465 else
11466 enable_dlopen=no
11469 case $lt_cv_dlopen in
11470 dlopen)
11471 save_CPPFLAGS="$CPPFLAGS"
11472 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11474 save_LDFLAGS="$LDFLAGS"
11475 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11477 save_LIBS="$LIBS"
11478 LIBS="$lt_cv_dlopen_libs $LIBS"
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11481 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11482 if test "${lt_cv_dlopen_self+set}" = set; then :
11483 $as_echo_n "(cached) " >&6
11484 else
11485 if test "$cross_compiling" = yes; then :
11486 lt_cv_dlopen_self=cross
11487 else
11488 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11489 lt_status=$lt_dlunknown
11490 cat > conftest.$ac_ext <<_LT_EOF
11491 #line 11491 "configure"
11492 #include "confdefs.h"
11494 #if HAVE_DLFCN_H
11495 #include <dlfcn.h>
11496 #endif
11498 #include <stdio.h>
11500 #ifdef RTLD_GLOBAL
11501 # define LT_DLGLOBAL RTLD_GLOBAL
11502 #else
11503 # ifdef DL_GLOBAL
11504 # define LT_DLGLOBAL DL_GLOBAL
11505 # else
11506 # define LT_DLGLOBAL 0
11507 # endif
11508 #endif
11510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11511 find out it does not work in some platform. */
11512 #ifndef LT_DLLAZY_OR_NOW
11513 # ifdef RTLD_LAZY
11514 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11515 # else
11516 # ifdef DL_LAZY
11517 # define LT_DLLAZY_OR_NOW DL_LAZY
11518 # else
11519 # ifdef RTLD_NOW
11520 # define LT_DLLAZY_OR_NOW RTLD_NOW
11521 # else
11522 # ifdef DL_NOW
11523 # define LT_DLLAZY_OR_NOW DL_NOW
11524 # else
11525 # define LT_DLLAZY_OR_NOW 0
11526 # endif
11527 # endif
11528 # endif
11529 # endif
11530 #endif
11532 /* When -fvisbility=hidden is used, assume the code has been annotated
11533 correspondingly for the symbols needed. */
11534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11535 void fnord () __attribute__((visibility("default")));
11536 #endif
11538 void fnord () { int i=42; }
11539 int main ()
11541 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11542 int status = $lt_dlunknown;
11544 if (self)
11546 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11547 else
11549 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11550 else puts (dlerror ());
11552 /* dlclose (self); */
11554 else
11555 puts (dlerror ());
11557 return status;
11559 _LT_EOF
11560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11561 (eval $ac_link) 2>&5
11562 ac_status=$?
11563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11564 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11565 (./conftest; exit; ) >&5 2>/dev/null
11566 lt_status=$?
11567 case x$lt_status in
11568 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11569 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11570 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11571 esac
11572 else :
11573 # compilation failed
11574 lt_cv_dlopen_self=no
11577 rm -fr conftest*
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11582 $as_echo "$lt_cv_dlopen_self" >&6; }
11584 if test "x$lt_cv_dlopen_self" = xyes; then
11585 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11587 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self_static=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11604 #include <stdio.h>
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11644 void fnord () { int i=42; }
11645 int main ()
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11650 if (self)
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11658 /* dlclose (self); */
11660 else
11661 puts (dlerror ());
11663 return status;
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self_static=no
11683 rm -fr conftest*
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11688 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11691 CPPFLAGS="$save_CPPFLAGS"
11692 LDFLAGS="$save_LDFLAGS"
11693 LIBS="$save_LIBS"
11695 esac
11697 case $lt_cv_dlopen_self in
11698 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11699 *) enable_dlopen_self=unknown ;;
11700 esac
11702 case $lt_cv_dlopen_self_static in
11703 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11704 *) enable_dlopen_self_static=unknown ;;
11705 esac
11724 striplib=
11725 old_striplib=
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11727 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11728 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11729 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11730 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11732 $as_echo "yes" >&6; }
11733 else
11734 # FIXME - insert some real tests, host_os isn't really good enough
11735 case $host_os in
11736 darwin*)
11737 if test -n "$STRIP" ; then
11738 striplib="$STRIP -x"
11739 old_striplib="$STRIP -S"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11742 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744 $as_echo "no" >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749 $as_echo "no" >&6; }
11751 esac
11765 # Report which library types will actually be built
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11767 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11769 $as_echo "$can_build_shared" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11772 $as_echo_n "checking whether to build shared libraries... " >&6; }
11773 test "$can_build_shared" = "no" && enable_shared=no
11775 # On AIX, shared libraries and static libraries use the same namespace, and
11776 # are all built from PIC.
11777 case $host_os in
11778 aix3*)
11779 test "$enable_shared" = yes && enable_static=no
11780 if test -n "$RANLIB"; then
11781 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11782 postinstall_cmds='$RANLIB $lib'
11786 aix[4-9]*)
11787 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11788 test "$enable_shared" = yes && enable_static=no
11791 esac
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11793 $as_echo "$enable_shared" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11796 $as_echo_n "checking whether to build static libraries... " >&6; }
11797 # Make sure either enable_shared or enable_static is yes.
11798 test "$enable_shared" = yes || enable_static=yes
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11800 $as_echo "$enable_static" >&6; }
11806 ac_ext=c
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11812 CC="$lt_save_CC"
11814 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11815 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11816 (test "X$CXX" != "Xg++"))) ; then
11817 ac_ext=cpp
11818 ac_cpp='$CXXCPP $CPPFLAGS'
11819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11823 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11824 if test -z "$CXXCPP"; then
11825 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11826 $as_echo_n "(cached) " >&6
11827 else
11828 # Double quotes because CXXCPP needs to be expanded
11829 for CXXCPP in "$CXX -E" "/lib/cpp"
11831 ac_preproc_ok=false
11832 for ac_cxx_preproc_warn_flag in '' yes
11834 # Use a header file that comes with gcc, so configuring glibc
11835 # with a fresh cross-compiler works.
11836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11837 # <limits.h> exists even on freestanding compilers.
11838 # On the NeXT, cc -E runs the code through the compiler's parser,
11839 # not just through cpp. "Syntax error" is here to catch this case.
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11842 #ifdef __STDC__
11843 # include <limits.h>
11844 #else
11845 # include <assert.h>
11846 #endif
11847 Syntax error
11848 _ACEOF
11849 if ac_fn_cxx_try_cpp "$LINENO"; then :
11851 else
11852 # Broken: fails on valid input.
11853 continue
11855 rm -f conftest.err conftest.$ac_ext
11857 # OK, works on sane cases. Now check whether nonexistent headers
11858 # can be detected and how.
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11861 #include <ac_nonexistent.h>
11862 _ACEOF
11863 if ac_fn_cxx_try_cpp "$LINENO"; then :
11864 # Broken: success on invalid input.
11865 continue
11866 else
11867 # Passes both tests.
11868 ac_preproc_ok=:
11869 break
11871 rm -f conftest.err conftest.$ac_ext
11873 done
11874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11875 rm -f conftest.err conftest.$ac_ext
11876 if $ac_preproc_ok; then :
11877 break
11880 done
11881 ac_cv_prog_CXXCPP=$CXXCPP
11884 CXXCPP=$ac_cv_prog_CXXCPP
11885 else
11886 ac_cv_prog_CXXCPP=$CXXCPP
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11889 $as_echo "$CXXCPP" >&6; }
11890 ac_preproc_ok=false
11891 for ac_cxx_preproc_warn_flag in '' yes
11893 # Use a header file that comes with gcc, so configuring glibc
11894 # with a fresh cross-compiler works.
11895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 # <limits.h> exists even on freestanding compilers.
11897 # On the NeXT, cc -E runs the code through the compiler's parser,
11898 # not just through cpp. "Syntax error" is here to catch this case.
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 #ifdef __STDC__
11902 # include <limits.h>
11903 #else
11904 # include <assert.h>
11905 #endif
11906 Syntax error
11907 _ACEOF
11908 if ac_fn_cxx_try_cpp "$LINENO"; then :
11910 else
11911 # Broken: fails on valid input.
11912 continue
11914 rm -f conftest.err conftest.$ac_ext
11916 # OK, works on sane cases. Now check whether nonexistent headers
11917 # can be detected and how.
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #include <ac_nonexistent.h>
11921 _ACEOF
11922 if ac_fn_cxx_try_cpp "$LINENO"; then :
11923 # Broken: success on invalid input.
11924 continue
11925 else
11926 # Passes both tests.
11927 ac_preproc_ok=:
11928 break
11930 rm -f conftest.err conftest.$ac_ext
11932 done
11933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11934 rm -f conftest.err conftest.$ac_ext
11935 if $ac_preproc_ok; then :
11937 else
11938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11940 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11941 See \`config.log' for more details." "$LINENO" 5; }
11944 ac_ext=c
11945 ac_cpp='$CPP $CPPFLAGS'
11946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11950 else
11951 _lt_caught_CXX_error=yes
11954 ac_ext=cpp
11955 ac_cpp='$CXXCPP $CPPFLAGS'
11956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11960 archive_cmds_need_lc_CXX=no
11961 allow_undefined_flag_CXX=
11962 always_export_symbols_CXX=no
11963 archive_expsym_cmds_CXX=
11964 compiler_needs_object_CXX=no
11965 export_dynamic_flag_spec_CXX=
11966 hardcode_direct_CXX=no
11967 hardcode_direct_absolute_CXX=no
11968 hardcode_libdir_flag_spec_CXX=
11969 hardcode_libdir_flag_spec_ld_CXX=
11970 hardcode_libdir_separator_CXX=
11971 hardcode_minus_L_CXX=no
11972 hardcode_shlibpath_var_CXX=unsupported
11973 hardcode_automatic_CXX=no
11974 inherit_rpath_CXX=no
11975 module_cmds_CXX=
11976 module_expsym_cmds_CXX=
11977 link_all_deplibs_CXX=unknown
11978 old_archive_cmds_CXX=$old_archive_cmds
11979 reload_flag_CXX=$reload_flag
11980 reload_cmds_CXX=$reload_cmds
11981 no_undefined_flag_CXX=
11982 whole_archive_flag_spec_CXX=
11983 enable_shared_with_static_runtimes_CXX=no
11985 # Source file extension for C++ test sources.
11986 ac_ext=cpp
11988 # Object file extension for compiled C++ test sources.
11989 objext=o
11990 objext_CXX=$objext
11992 # No sense in running all these tests if we already determined that
11993 # the CXX compiler isn't working. Some variables (like enable_shared)
11994 # are currently assumed to apply to all compilers on this platform,
11995 # and will be corrupted by setting them based on a non-working compiler.
11996 if test "$_lt_caught_CXX_error" != yes; then
11997 # Code to be used in simple compile tests
11998 lt_simple_compile_test_code="int some_variable = 0;"
12000 # Code to be used in simple link tests
12001 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12003 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12010 # If no C compiler was specified, use CC.
12011 LTCC=${LTCC-"$CC"}
12013 # If no C compiler flags were specified, use CFLAGS.
12014 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12016 # Allow CC to be a program name with arguments.
12017 compiler=$CC
12020 # save warnings/boilerplate of simple test code
12021 ac_outfile=conftest.$ac_objext
12022 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12023 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12024 _lt_compiler_boilerplate=`cat conftest.err`
12025 $RM conftest*
12027 ac_outfile=conftest.$ac_objext
12028 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12029 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12030 _lt_linker_boilerplate=`cat conftest.err`
12031 $RM -r conftest*
12034 # Allow CC to be a program name with arguments.
12035 lt_save_CC=$CC
12036 lt_save_LD=$LD
12037 lt_save_GCC=$GCC
12038 GCC=$GXX
12039 lt_save_with_gnu_ld=$with_gnu_ld
12040 lt_save_path_LD=$lt_cv_path_LD
12041 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12042 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12043 else
12044 $as_unset lt_cv_prog_gnu_ld
12046 if test -n "${lt_cv_path_LDCXX+set}"; then
12047 lt_cv_path_LD=$lt_cv_path_LDCXX
12048 else
12049 $as_unset lt_cv_path_LD
12051 test -z "${LDCXX+set}" || LD=$LDCXX
12052 CC=${CXX-"c++"}
12053 compiler=$CC
12054 compiler_CXX=$CC
12055 for cc_temp in $compiler""; do
12056 case $cc_temp in
12057 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12058 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12059 \-*) ;;
12060 *) break;;
12061 esac
12062 done
12063 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12066 if test -n "$compiler"; then
12067 # We don't want -fno-exception when compiling C++ code, so set the
12068 # no_builtin_flag separately
12069 if test "$GXX" = yes; then
12070 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12071 else
12072 lt_prog_compiler_no_builtin_flag_CXX=
12075 if test "$GXX" = yes; then
12076 # Set up default GNU C++ configuration
12080 # Check whether --with-gnu-ld was given.
12081 if test "${with_gnu_ld+set}" = set; then :
12082 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12083 else
12084 with_gnu_ld=no
12087 ac_prog=ld
12088 if test "$GCC" = yes; then
12089 # Check if gcc -print-prog-name=ld gives a path.
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12091 $as_echo_n "checking for ld used by $CC... " >&6; }
12092 case $host in
12093 *-*-mingw*)
12094 # gcc leaves a trailing carriage return which upsets mingw
12095 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12097 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12098 esac
12099 case $ac_prog in
12100 # Accept absolute paths.
12101 [\\/]* | ?:[\\/]*)
12102 re_direlt='/[^/][^/]*/\.\./'
12103 # Canonicalize the pathname of ld
12104 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12105 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12106 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12107 done
12108 test -z "$LD" && LD="$ac_prog"
12111 # If it fails, then pretend we aren't using GCC.
12112 ac_prog=ld
12115 # If it is relative, then search for the first ld in PATH.
12116 with_gnu_ld=unknown
12118 esac
12119 elif test "$with_gnu_ld" = yes; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12121 $as_echo_n "checking for GNU ld... " >&6; }
12122 else
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12124 $as_echo_n "checking for non-GNU ld... " >&6; }
12126 if test "${lt_cv_path_LD+set}" = set; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 if test -z "$LD"; then
12130 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12131 for ac_dir in $PATH; do
12132 IFS="$lt_save_ifs"
12133 test -z "$ac_dir" && ac_dir=.
12134 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12135 lt_cv_path_LD="$ac_dir/$ac_prog"
12136 # Check to see if the program is GNU ld. I'd rather use --version,
12137 # but apparently some variants of GNU ld only accept -v.
12138 # Break only if it was the GNU/non-GNU ld that we prefer.
12139 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12140 *GNU* | *'with BFD'*)
12141 test "$with_gnu_ld" != no && break
12144 test "$with_gnu_ld" != yes && break
12146 esac
12148 done
12149 IFS="$lt_save_ifs"
12150 else
12151 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12155 LD="$lt_cv_path_LD"
12156 if test -n "$LD"; then
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12158 $as_echo "$LD" >&6; }
12159 else
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12161 $as_echo "no" >&6; }
12163 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12165 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12166 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12167 $as_echo_n "(cached) " >&6
12168 else
12169 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12170 case `$LD -v 2>&1 </dev/null` in
12171 *GNU* | *'with BFD'*)
12172 lt_cv_prog_gnu_ld=yes
12175 lt_cv_prog_gnu_ld=no
12177 esac
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12180 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12181 with_gnu_ld=$lt_cv_prog_gnu_ld
12189 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12190 # archiving commands below assume that GNU ld is being used.
12191 if test "$with_gnu_ld" = yes; then
12192 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12193 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12195 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12196 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12198 # If archive_cmds runs LD, not CC, wlarc should be empty
12199 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12200 # investigate it a little bit more. (MM)
12201 wlarc='${wl}'
12203 # ancient GNU ld didn't support --whole-archive et. al.
12204 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12205 $GREP 'no-whole-archive' > /dev/null; then
12206 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12207 else
12208 whole_archive_flag_spec_CXX=
12210 else
12211 with_gnu_ld=no
12212 wlarc=
12214 # A generic and very simple default shared library creation
12215 # command for GNU C++ for the case where it uses the native
12216 # linker, instead of GNU ld. If possible, this setting should
12217 # overridden to take advantage of the native linker features on
12218 # the platform it is being used on.
12219 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12222 # Commands to make compiler produce verbose output that lists
12223 # what "hidden" libraries, object files and flags are used when
12224 # linking a shared library.
12225 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12227 else
12228 GXX=no
12229 with_gnu_ld=no
12230 wlarc=
12233 # PORTME: fill in a description of your system's C++ link characteristics
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12235 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12236 ld_shlibs_CXX=yes
12237 case $host_os in
12238 aix3*)
12239 # FIXME: insert proper C++ library support
12240 ld_shlibs_CXX=no
12242 aix[4-9]*)
12243 if test "$host_cpu" = ia64; then
12244 # On IA64, the linker does run time linking by default, so we don't
12245 # have to do anything special.
12246 aix_use_runtimelinking=no
12247 exp_sym_flag='-Bexport'
12248 no_entry_flag=""
12249 else
12250 aix_use_runtimelinking=no
12252 # Test if we are trying to use run time linking or normal
12253 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12254 # need to do runtime linking.
12255 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12256 for ld_flag in $LDFLAGS; do
12257 case $ld_flag in
12258 *-brtl*)
12259 aix_use_runtimelinking=yes
12260 break
12262 esac
12263 done
12265 esac
12267 exp_sym_flag='-bexport'
12268 no_entry_flag='-bnoentry'
12271 # When large executables or shared objects are built, AIX ld can
12272 # have problems creating the table of contents. If linking a library
12273 # or program results in "error TOC overflow" add -mminimal-toc to
12274 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12275 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12277 archive_cmds_CXX=''
12278 hardcode_direct_CXX=yes
12279 hardcode_direct_absolute_CXX=yes
12280 hardcode_libdir_separator_CXX=':'
12281 link_all_deplibs_CXX=yes
12282 file_list_spec_CXX='${wl}-f,'
12284 if test "$GXX" = yes; then
12285 case $host_os in aix4.[012]|aix4.[012].*)
12286 # We only want to do this on AIX 4.2 and lower, the check
12287 # below for broken collect2 doesn't work under 4.3+
12288 collect2name=`${CC} -print-prog-name=collect2`
12289 if test -f "$collect2name" &&
12290 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12291 then
12292 # We have reworked collect2
12294 else
12295 # We have old collect2
12296 hardcode_direct_CXX=unsupported
12297 # It fails to find uninstalled libraries when the uninstalled
12298 # path is not listed in the libpath. Setting hardcode_minus_L
12299 # to unsupported forces relinking
12300 hardcode_minus_L_CXX=yes
12301 hardcode_libdir_flag_spec_CXX='-L$libdir'
12302 hardcode_libdir_separator_CXX=
12304 esac
12305 shared_flag='-shared'
12306 if test "$aix_use_runtimelinking" = yes; then
12307 shared_flag="$shared_flag "'${wl}-G'
12309 else
12310 # not using gcc
12311 if test "$host_cpu" = ia64; then
12312 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12313 # chokes on -Wl,-G. The following line is correct:
12314 shared_flag='-G'
12315 else
12316 if test "$aix_use_runtimelinking" = yes; then
12317 shared_flag='${wl}-G'
12318 else
12319 shared_flag='${wl}-bM:SRE'
12324 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12325 # It seems that -bexpall does not export symbols beginning with
12326 # underscore (_), so it is better to generate a list of symbols to
12327 # export.
12328 always_export_symbols_CXX=yes
12329 if test "$aix_use_runtimelinking" = yes; then
12330 # Warning - without using the other runtime loading flags (-brtl),
12331 # -berok will link without error, but may produce a broken library.
12332 allow_undefined_flag_CXX='-berok'
12333 # Determine the default libpath from the value encoded in an empty
12334 # executable.
12335 if test x$gcc_no_link = xyes; then
12336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12342 main ()
12346 return 0;
12348 _ACEOF
12349 if ac_fn_cxx_try_link "$LINENO"; then :
12351 lt_aix_libpath_sed='
12352 /Import File Strings/,/^$/ {
12353 /^0/ {
12354 s/^0 *\(.*\)$/\1/
12358 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12359 # Check for a 64-bit object if we didn't find anything.
12360 if test -z "$aix_libpath"; then
12361 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12368 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12370 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12371 else
12372 if test "$host_cpu" = ia64; then
12373 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12374 allow_undefined_flag_CXX="-z nodefs"
12375 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12376 else
12377 # Determine the default libpath from the value encoded in an
12378 # empty executable.
12379 if test x$gcc_no_link = xyes; then
12380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12386 main ()
12390 return 0;
12392 _ACEOF
12393 if ac_fn_cxx_try_link "$LINENO"; then :
12395 lt_aix_libpath_sed='
12396 /Import File Strings/,/^$/ {
12397 /^0/ {
12398 s/^0 *\(.*\)$/\1/
12402 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12403 # Check for a 64-bit object if we didn't find anything.
12404 if test -z "$aix_libpath"; then
12405 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12408 rm -f core conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12412 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12413 # Warning - without using the other run time loading flags,
12414 # -berok will link without error, but may produce a broken library.
12415 no_undefined_flag_CXX=' ${wl}-bernotok'
12416 allow_undefined_flag_CXX=' ${wl}-berok'
12417 if test "$with_gnu_ld" = yes; then
12418 # We only use this code for GNU lds that support --whole-archive.
12419 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12420 else
12421 # Exported symbols can be pulled into shared objects from archives
12422 whole_archive_flag_spec_CXX='$convenience'
12424 archive_cmds_need_lc_CXX=yes
12425 # This is similar to how AIX traditionally builds its shared
12426 # libraries.
12427 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12432 beos*)
12433 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12434 allow_undefined_flag_CXX=unsupported
12435 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12436 # support --undefined. This deserves some investigation. FIXME
12437 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12438 else
12439 ld_shlibs_CXX=no
12443 chorus*)
12444 case $cc_basename in
12446 # FIXME: insert proper C++ library support
12447 ld_shlibs_CXX=no
12449 esac
12452 cygwin* | mingw* | pw32* | cegcc*)
12453 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12454 # as there is no search path for DLLs.
12455 hardcode_libdir_flag_spec_CXX='-L$libdir'
12456 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12457 allow_undefined_flag_CXX=unsupported
12458 always_export_symbols_CXX=no
12459 enable_shared_with_static_runtimes_CXX=yes
12461 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12462 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12463 # If the export-symbols file already is a .def file (1st line
12464 # is EXPORTS), use it as is; otherwise, prepend...
12465 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12466 cp $export_symbols $output_objdir/$soname.def;
12467 else
12468 echo EXPORTS > $output_objdir/$soname.def;
12469 cat $export_symbols >> $output_objdir/$soname.def;
12471 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12472 else
12473 ld_shlibs_CXX=no
12476 darwin* | rhapsody*)
12479 archive_cmds_need_lc_CXX=no
12480 hardcode_direct_CXX=no
12481 hardcode_automatic_CXX=yes
12482 hardcode_shlibpath_var_CXX=unsupported
12483 if test "$lt_cv_ld_force_load" = "yes"; then
12484 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12485 else
12486 whole_archive_flag_spec_CXX=''
12488 link_all_deplibs_CXX=yes
12489 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12490 case $cc_basename in
12491 ifort*) _lt_dar_can_shared=yes ;;
12492 *) _lt_dar_can_shared=$GCC ;;
12493 esac
12494 if test "$_lt_dar_can_shared" = "yes"; then
12495 output_verbose_link_cmd=func_echo_all
12496 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12497 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12498 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12499 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12500 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12501 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12502 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12505 else
12506 ld_shlibs_CXX=no
12511 dgux*)
12512 case $cc_basename in
12513 ec++*)
12514 # FIXME: insert proper C++ library support
12515 ld_shlibs_CXX=no
12517 ghcx*)
12518 # Green Hills C++ Compiler
12519 # FIXME: insert proper C++ library support
12520 ld_shlibs_CXX=no
12523 # FIXME: insert proper C++ library support
12524 ld_shlibs_CXX=no
12526 esac
12529 freebsd[12]*)
12530 # C++ shared libraries reported to be fairly broken before
12531 # switch to ELF
12532 ld_shlibs_CXX=no
12535 freebsd-elf*)
12536 archive_cmds_need_lc_CXX=no
12539 freebsd* | dragonfly*)
12540 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12541 # conventions
12542 ld_shlibs_CXX=yes
12545 gnu*)
12548 haiku*)
12549 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12550 link_all_deplibs_CXX=yes
12553 hpux9*)
12554 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12555 hardcode_libdir_separator_CXX=:
12556 export_dynamic_flag_spec_CXX='${wl}-E'
12557 hardcode_direct_CXX=yes
12558 hardcode_minus_L_CXX=yes # Not in the search PATH,
12559 # but as the default
12560 # location of the library.
12562 case $cc_basename in
12563 CC*)
12564 # FIXME: insert proper C++ library support
12565 ld_shlibs_CXX=no
12567 aCC*)
12568 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12569 # Commands to make compiler produce verbose output that lists
12570 # what "hidden" libraries, object files and flags are used when
12571 # linking a shared library.
12573 # There doesn't appear to be a way to prevent this compiler from
12574 # explicitly linking system object files so we need to strip them
12575 # from the output so that they don't get included in the library
12576 # dependencies.
12577 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12580 if test "$GXX" = yes; then
12581 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12582 else
12583 # FIXME: insert proper C++ library support
12584 ld_shlibs_CXX=no
12587 esac
12590 hpux10*|hpux11*)
12591 if test $with_gnu_ld = no; then
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12595 case $host_cpu in
12596 hppa*64*|ia64*)
12599 export_dynamic_flag_spec_CXX='${wl}-E'
12601 esac
12603 case $host_cpu in
12604 hppa*64*|ia64*)
12605 hardcode_direct_CXX=no
12606 hardcode_shlibpath_var_CXX=no
12609 hardcode_direct_CXX=yes
12610 hardcode_direct_absolute_CXX=yes
12611 hardcode_minus_L_CXX=yes # Not in the search PATH,
12612 # but as the default
12613 # location of the library.
12615 esac
12617 case $cc_basename in
12618 CC*)
12619 # FIXME: insert proper C++ library support
12620 ld_shlibs_CXX=no
12622 aCC*)
12623 case $host_cpu in
12624 hppa*64*)
12625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12627 ia64*)
12628 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12631 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12633 esac
12634 # Commands to make compiler produce verbose output that lists
12635 # what "hidden" libraries, object files and flags are used when
12636 # linking a shared library.
12638 # There doesn't appear to be a way to prevent this compiler from
12639 # explicitly linking system object files so we need to strip them
12640 # from the output so that they don't get included in the library
12641 # dependencies.
12642 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12645 if test "$GXX" = yes; then
12646 if test $with_gnu_ld = no; then
12647 case $host_cpu in
12648 hppa*64*)
12649 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651 ia64*)
12652 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12655 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657 esac
12659 else
12660 # FIXME: insert proper C++ library support
12661 ld_shlibs_CXX=no
12664 esac
12667 interix[3-9]*)
12668 hardcode_direct_CXX=no
12669 hardcode_shlibpath_var_CXX=no
12670 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12671 export_dynamic_flag_spec_CXX='${wl}-E'
12672 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12673 # Instead, shared libraries are loaded at an image base (0x10000000 by
12674 # default) and relocated if they conflict, which is a slow very memory
12675 # consuming and fragmenting process. To avoid this, we pick a random,
12676 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12677 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12678 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12679 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12681 irix5* | irix6*)
12682 case $cc_basename in
12683 CC*)
12684 # SGI C++
12685 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12687 # Archives containing C++ object files must be created using
12688 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12689 # necessary to make sure instantiated templates are included
12690 # in the archive.
12691 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12694 if test "$GXX" = yes; then
12695 if test "$with_gnu_ld" = no; then
12696 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12697 else
12698 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12701 link_all_deplibs_CXX=yes
12703 esac
12704 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12705 hardcode_libdir_separator_CXX=:
12706 inherit_rpath_CXX=yes
12709 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12710 case $cc_basename in
12711 KCC*)
12712 # Kuck and Associates, Inc. (KAI) C++ Compiler
12714 # KCC will only create a shared library if the output file
12715 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12716 # to its proper name (with version) after linking.
12717 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12718 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12719 # Commands to make compiler produce verbose output that lists
12720 # what "hidden" libraries, object files and flags are used when
12721 # linking a shared library.
12723 # There doesn't appear to be a way to prevent this compiler from
12724 # explicitly linking system object files so we need to strip them
12725 # from the output so that they don't get included in the library
12726 # dependencies.
12727 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12730 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12732 # Archives containing C++ object files must be created using
12733 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12734 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12736 icpc* | ecpc* )
12737 # Intel C++
12738 with_gnu_ld=yes
12739 # version 8.0 and above of icpc choke on multiply defined symbols
12740 # if we add $predep_objects and $postdep_objects, however 7.1 and
12741 # earlier do not add the objects themselves.
12742 case `$CC -V 2>&1` in
12743 *"Version 7."*)
12744 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12745 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12747 *) # Version 8.0 or newer
12748 tmp_idyn=
12749 case $host_cpu in
12750 ia64*) tmp_idyn=' -i_dynamic';;
12751 esac
12752 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12753 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12755 esac
12756 archive_cmds_need_lc_CXX=no
12757 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12758 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12759 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12761 pgCC* | pgcpp*)
12762 # Portland Group C++ compiler
12763 case `$CC -V` in
12764 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12765 prelink_cmds_CXX='tpldir=Template.dir~
12766 rm -rf $tpldir~
12767 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12768 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12769 old_archive_cmds_CXX='tpldir=Template.dir~
12770 rm -rf $tpldir~
12771 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12772 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12773 $RANLIB $oldlib'
12774 archive_cmds_CXX='tpldir=Template.dir~
12775 rm -rf $tpldir~
12776 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12777 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12778 archive_expsym_cmds_CXX='tpldir=Template.dir~
12779 rm -rf $tpldir~
12780 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12781 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12783 *) # Version 6 and above use weak symbols
12784 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12785 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12787 esac
12789 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12791 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12793 cxx*)
12794 # Compaq C++
12795 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12798 runpath_var=LD_RUN_PATH
12799 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12800 hardcode_libdir_separator_CXX=:
12802 # Commands to make compiler produce verbose output that lists
12803 # what "hidden" libraries, object files and flags are used when
12804 # linking a shared library.
12806 # There doesn't appear to be a way to prevent this compiler from
12807 # explicitly linking system object files so we need to strip them
12808 # from the output so that they don't get included in the library
12809 # dependencies.
12810 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12812 xl* | mpixl* | bgxl*)
12813 # IBM XL 8.0 on PPC, with GNU ld
12814 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12817 if test "x$supports_anon_versioning" = xyes; then
12818 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12819 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12820 echo "local: *; };" >> $output_objdir/$libname.ver~
12821 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12825 case `$CC -V 2>&1 | sed 5q` in
12826 *Sun\ C*)
12827 # Sun C++ 5.9
12828 no_undefined_flag_CXX=' -zdefs'
12829 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12830 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12831 hardcode_libdir_flag_spec_CXX='-R$libdir'
12832 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12833 compiler_needs_object_CXX=yes
12835 # Not sure whether something based on
12836 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12837 # would be better.
12838 output_verbose_link_cmd='func_echo_all'
12840 # Archives containing C++ object files must be created using
12841 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12842 # necessary to make sure instantiated templates are included
12843 # in the archive.
12844 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12846 esac
12848 esac
12851 lynxos*)
12852 # FIXME: insert proper C++ library support
12853 ld_shlibs_CXX=no
12856 m88k*)
12857 # FIXME: insert proper C++ library support
12858 ld_shlibs_CXX=no
12861 mvs*)
12862 case $cc_basename in
12863 cxx*)
12864 # FIXME: insert proper C++ library support
12865 ld_shlibs_CXX=no
12868 # FIXME: insert proper C++ library support
12869 ld_shlibs_CXX=no
12871 esac
12874 netbsd*)
12875 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12876 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12877 wlarc=
12878 hardcode_libdir_flag_spec_CXX='-R$libdir'
12879 hardcode_direct_CXX=yes
12880 hardcode_shlibpath_var_CXX=no
12882 # Workaround some broken pre-1.5 toolchains
12883 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12886 *nto* | *qnx*)
12887 ld_shlibs_CXX=yes
12890 openbsd2*)
12891 # C++ shared libraries are fairly broken
12892 ld_shlibs_CXX=no
12895 openbsd*)
12896 if test -f /usr/libexec/ld.so; then
12897 hardcode_direct_CXX=yes
12898 hardcode_shlibpath_var_CXX=no
12899 hardcode_direct_absolute_CXX=yes
12900 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12901 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12902 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12903 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12904 export_dynamic_flag_spec_CXX='${wl}-E'
12905 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12907 output_verbose_link_cmd=func_echo_all
12908 else
12909 ld_shlibs_CXX=no
12913 osf3* | osf4* | osf5*)
12914 case $cc_basename in
12915 KCC*)
12916 # Kuck and Associates, Inc. (KAI) C++ Compiler
12918 # KCC will only create a shared library if the output file
12919 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12920 # to its proper name (with version) after linking.
12921 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12924 hardcode_libdir_separator_CXX=:
12926 # Archives containing C++ object files must be created using
12927 # the KAI C++ compiler.
12928 case $host in
12929 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12930 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12931 esac
12933 RCC*)
12934 # Rational C++ 2.4.1
12935 # FIXME: insert proper C++ library support
12936 ld_shlibs_CXX=no
12938 cxx*)
12939 case $host in
12940 osf3*)
12941 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12942 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12943 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12946 allow_undefined_flag_CXX=' -expect_unresolved \*'
12947 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12948 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12949 echo "-hidden">> $lib.exp~
12950 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12951 $RM $lib.exp'
12952 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12954 esac
12956 hardcode_libdir_separator_CXX=:
12958 # Commands to make compiler produce verbose output that lists
12959 # what "hidden" libraries, object files and flags are used when
12960 # linking a shared library.
12962 # There doesn't appear to be a way to prevent this compiler from
12963 # explicitly linking system object files so we need to strip them
12964 # from the output so that they don't get included in the library
12965 # dependencies.
12966 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12969 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12970 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12971 case $host in
12972 osf3*)
12973 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12976 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12978 esac
12980 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12981 hardcode_libdir_separator_CXX=:
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12986 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12988 else
12989 # FIXME: insert proper C++ library support
12990 ld_shlibs_CXX=no
12993 esac
12996 psos*)
12997 # FIXME: insert proper C++ library support
12998 ld_shlibs_CXX=no
13001 sunos4*)
13002 case $cc_basename in
13003 CC*)
13004 # Sun C++ 4.x
13005 # FIXME: insert proper C++ library support
13006 ld_shlibs_CXX=no
13008 lcc*)
13009 # Lucid
13010 # FIXME: insert proper C++ library support
13011 ld_shlibs_CXX=no
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13017 esac
13020 solaris*)
13021 case $cc_basename in
13022 CC*)
13023 # Sun C++ 4.2, 5.x and Centerline C++
13024 archive_cmds_need_lc_CXX=yes
13025 no_undefined_flag_CXX=' -zdefs'
13026 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13027 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13028 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13030 hardcode_libdir_flag_spec_CXX='-R$libdir'
13031 hardcode_shlibpath_var_CXX=no
13032 case $host_os in
13033 solaris2.[0-5] | solaris2.[0-5].*) ;;
13035 # The compiler driver will combine and reorder linker options,
13036 # but understands `-z linker_flag'.
13037 # Supported since Solaris 2.6 (maybe 2.5.1?)
13038 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13040 esac
13041 link_all_deplibs_CXX=yes
13043 output_verbose_link_cmd='func_echo_all'
13045 # Archives containing C++ object files must be created using
13046 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13047 # necessary to make sure instantiated templates are included
13048 # in the archive.
13049 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13051 gcx*)
13052 # Green Hills C++ Compiler
13053 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13055 # The C++ compiler must be used to create the archive.
13056 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13059 # GNU C++ compiler with Solaris linker
13060 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13061 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13062 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13063 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13064 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13065 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13067 # Commands to make compiler produce verbose output that lists
13068 # what "hidden" libraries, object files and flags are used when
13069 # linking a shared library.
13070 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13071 else
13072 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13073 # platform.
13074 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13075 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13076 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13078 # Commands to make compiler produce verbose output that lists
13079 # what "hidden" libraries, object files and flags are used when
13080 # linking a shared library.
13081 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13084 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13085 case $host_os in
13086 solaris2.[0-5] | solaris2.[0-5].*) ;;
13088 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13090 esac
13093 esac
13096 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13097 no_undefined_flag_CXX='${wl}-z,text'
13098 archive_cmds_need_lc_CXX=no
13099 hardcode_shlibpath_var_CXX=no
13100 runpath_var='LD_RUN_PATH'
13102 case $cc_basename in
13103 CC*)
13104 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13111 esac
13114 sysv5* | sco3.2v5* | sco5v6*)
13115 # Note: We can NOT use -z defs as we might desire, because we do not
13116 # link with -lc, and that would cause any symbols used from libc to
13117 # always be unresolved, which means just about no library would
13118 # ever link correctly. If we're not using GNU ld we use -z text
13119 # though, which does catch some bad symbols but isn't as heavy-handed
13120 # as -z defs.
13121 no_undefined_flag_CXX='${wl}-z,text'
13122 allow_undefined_flag_CXX='${wl}-z,nodefs'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13126 hardcode_libdir_separator_CXX=':'
13127 link_all_deplibs_CXX=yes
13128 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13129 runpath_var='LD_RUN_PATH'
13131 case $cc_basename in
13132 CC*)
13133 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13136 '"$old_archive_cmds_CXX"
13137 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13138 '"$reload_cmds_CXX"
13141 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144 esac
13147 tandem*)
13148 case $cc_basename in
13149 NCC*)
13150 # NonStop-UX NCC 3.20
13151 # FIXME: insert proper C++ library support
13152 ld_shlibs_CXX=no
13155 # FIXME: insert proper C++ library support
13156 ld_shlibs_CXX=no
13158 esac
13161 vxworks*)
13162 # FIXME: insert proper C++ library support
13163 ld_shlibs_CXX=no
13167 # FIXME: insert proper C++ library support
13168 ld_shlibs_CXX=no
13170 esac
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13173 $as_echo "$ld_shlibs_CXX" >&6; }
13174 test "$ld_shlibs_CXX" = no && can_build_shared=no
13176 GCC_CXX="$GXX"
13177 LD_CXX="$LD"
13179 ## CAVEAT EMPTOR:
13180 ## There is no encapsulation within the following macros, do not change
13181 ## the running order or otherwise move them around unless you know exactly
13182 ## what you are doing...
13183 # Dependencies to place before and after the object being linked:
13184 predep_objects_CXX=
13185 postdep_objects_CXX=
13186 predeps_CXX=
13187 postdeps_CXX=
13188 compiler_lib_search_path_CXX=
13190 cat > conftest.$ac_ext <<_LT_EOF
13191 class Foo
13193 public:
13194 Foo (void) { a = 0; }
13195 private:
13196 int a;
13198 _LT_EOF
13200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13201 (eval $ac_compile) 2>&5
13202 ac_status=$?
13203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204 test $ac_status = 0; }; then
13205 # Parse the compiler output and extract the necessary
13206 # objects, libraries and library flags.
13208 # Sentinel used to keep track of whether or not we are before
13209 # the conftest object file.
13210 pre_test_object_deps_done=no
13212 for p in `eval "$output_verbose_link_cmd"`; do
13213 case $p in
13215 -L* | -R* | -l*)
13216 # Some compilers place space between "-{L,R}" and the path.
13217 # Remove the space.
13218 if test $p = "-L" ||
13219 test $p = "-R"; then
13220 prev=$p
13221 continue
13222 else
13223 prev=
13226 if test "$pre_test_object_deps_done" = no; then
13227 case $p in
13228 -L* | -R*)
13229 # Internal compiler library paths should come after those
13230 # provided the user. The postdeps already come after the
13231 # user supplied libs so there is no need to process them.
13232 if test -z "$compiler_lib_search_path_CXX"; then
13233 compiler_lib_search_path_CXX="${prev}${p}"
13234 else
13235 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13238 # The "-l" case would never come before the object being
13239 # linked, so don't bother handling this case.
13240 esac
13241 else
13242 if test -z "$postdeps_CXX"; then
13243 postdeps_CXX="${prev}${p}"
13244 else
13245 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13250 *.$objext)
13251 # This assumes that the test object file only shows up
13252 # once in the compiler output.
13253 if test "$p" = "conftest.$objext"; then
13254 pre_test_object_deps_done=yes
13255 continue
13258 if test "$pre_test_object_deps_done" = no; then
13259 if test -z "$predep_objects_CXX"; then
13260 predep_objects_CXX="$p"
13261 else
13262 predep_objects_CXX="$predep_objects_CXX $p"
13264 else
13265 if test -z "$postdep_objects_CXX"; then
13266 postdep_objects_CXX="$p"
13267 else
13268 postdep_objects_CXX="$postdep_objects_CXX $p"
13273 *) ;; # Ignore the rest.
13275 esac
13276 done
13278 # Clean up.
13279 rm -f a.out a.exe
13280 else
13281 echo "libtool.m4: error: problem compiling CXX test program"
13284 $RM -f confest.$objext
13286 # PORTME: override above test on systems where it is broken
13287 case $host_os in
13288 interix[3-9]*)
13289 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13290 # hack all around it, let's just trust "g++" to DTRT.
13291 predep_objects_CXX=
13292 postdep_objects_CXX=
13293 postdeps_CXX=
13296 linux*)
13297 case `$CC -V 2>&1 | sed 5q` in
13298 *Sun\ C*)
13299 # Sun C++ 5.9
13301 # The more standards-conforming stlport4 library is
13302 # incompatible with the Cstd library. Avoid specifying
13303 # it if it's in CXXFLAGS. Ignore libCrun as
13304 # -library=stlport4 depends on it.
13305 case " $CXX $CXXFLAGS " in
13306 *" -library=stlport4 "*)
13307 solaris_use_stlport4=yes
13309 esac
13311 if test "$solaris_use_stlport4" != yes; then
13312 postdeps_CXX='-library=Cstd -library=Crun'
13315 esac
13318 solaris*)
13319 case $cc_basename in
13320 CC*)
13321 # The more standards-conforming stlport4 library is
13322 # incompatible with the Cstd library. Avoid specifying
13323 # it if it's in CXXFLAGS. Ignore libCrun as
13324 # -library=stlport4 depends on it.
13325 case " $CXX $CXXFLAGS " in
13326 *" -library=stlport4 "*)
13327 solaris_use_stlport4=yes
13329 esac
13331 # Adding this requires a known-good setup of shared libraries for
13332 # Sun compiler versions before 5.6, else PIC objects from an old
13333 # archive will be linked into the output, leading to subtle bugs.
13334 if test "$solaris_use_stlport4" != yes; then
13335 postdeps_CXX='-library=Cstd -library=Crun'
13338 esac
13340 esac
13343 case " $postdeps_CXX " in
13344 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13345 esac
13346 compiler_lib_search_dirs_CXX=
13347 if test -n "${compiler_lib_search_path_CXX}"; then
13348 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13381 lt_prog_compiler_wl_CXX=
13382 lt_prog_compiler_pic_CXX=
13383 lt_prog_compiler_static_CXX=
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13386 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13388 # C++ specific cases for pic, static, wl, etc.
13389 if test "$GXX" = yes; then
13390 lt_prog_compiler_wl_CXX='-Wl,'
13391 lt_prog_compiler_static_CXX='-static'
13393 case $host_os in
13394 aix*)
13395 # All AIX code is PIC.
13396 if test "$host_cpu" = ia64; then
13397 # AIX 5 now supports IA64 processor
13398 lt_prog_compiler_static_CXX='-Bstatic'
13402 amigaos*)
13403 case $host_cpu in
13404 powerpc)
13405 # see comment about AmigaOS4 .so support
13406 lt_prog_compiler_pic_CXX='-fPIC'
13408 m68k)
13409 # FIXME: we need at least 68020 code to build shared libraries, but
13410 # adding the `-m68020' flag to GCC prevents building anything better,
13411 # like `-m68040'.
13412 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13414 esac
13417 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13418 # PIC is the default for these OSes.
13420 mingw* | cygwin* | os2* | pw32* | cegcc*)
13421 # This hack is so that the source file can tell whether it is being
13422 # built for inclusion in a dll (and should export symbols for example).
13423 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13424 # (--disable-auto-import) libraries
13425 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13427 darwin* | rhapsody*)
13428 # PIC is the default on this platform
13429 # Common symbols not allowed in MH_DYLIB files
13430 lt_prog_compiler_pic_CXX='-fno-common'
13432 *djgpp*)
13433 # DJGPP does not support shared libraries at all
13434 lt_prog_compiler_pic_CXX=
13436 haiku*)
13437 # PIC is the default for Haiku.
13438 # The "-static" flag exists, but is broken.
13439 lt_prog_compiler_static_CXX=
13441 interix[3-9]*)
13442 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13443 # Instead, we relocate shared libraries at runtime.
13445 sysv4*MP*)
13446 if test -d /usr/nec; then
13447 lt_prog_compiler_pic_CXX=-Kconform_pic
13450 hpux*)
13451 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13452 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13453 # sets the default TLS model and affects inlining.
13454 case $host_cpu in
13455 hppa*64*)
13458 lt_prog_compiler_pic_CXX='-fPIC'
13460 esac
13462 *qnx* | *nto*)
13463 # QNX uses GNU C++, but need to define -shared option too, otherwise
13464 # it will coredump.
13465 lt_prog_compiler_pic_CXX='-fPIC -shared'
13468 lt_prog_compiler_pic_CXX='-fPIC'
13470 esac
13471 else
13472 case $host_os in
13473 aix[4-9]*)
13474 # All AIX code is PIC.
13475 if test "$host_cpu" = ia64; then
13476 # AIX 5 now supports IA64 processor
13477 lt_prog_compiler_static_CXX='-Bstatic'
13478 else
13479 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13482 chorus*)
13483 case $cc_basename in
13484 cxch68*)
13485 # Green Hills C++ Compiler
13486 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13488 esac
13490 dgux*)
13491 case $cc_basename in
13492 ec++*)
13493 lt_prog_compiler_pic_CXX='-KPIC'
13495 ghcx*)
13496 # Green Hills C++ Compiler
13497 lt_prog_compiler_pic_CXX='-pic'
13501 esac
13503 freebsd* | dragonfly*)
13504 # FreeBSD uses GNU C++
13506 hpux9* | hpux10* | hpux11*)
13507 case $cc_basename in
13508 CC*)
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13511 if test "$host_cpu" != ia64; then
13512 lt_prog_compiler_pic_CXX='+Z'
13515 aCC*)
13516 lt_prog_compiler_wl_CXX='-Wl,'
13517 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13518 case $host_cpu in
13519 hppa*64*|ia64*)
13520 # +Z the default
13523 lt_prog_compiler_pic_CXX='+Z'
13525 esac
13529 esac
13531 interix*)
13532 # This is c89, which is MS Visual C++ (no shared libs)
13533 # Anyone wants to do a port?
13535 irix5* | irix6* | nonstopux*)
13536 case $cc_basename in
13537 CC*)
13538 lt_prog_compiler_wl_CXX='-Wl,'
13539 lt_prog_compiler_static_CXX='-non_shared'
13540 # CC pic flag -KPIC is the default.
13544 esac
13546 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13547 case $cc_basename in
13548 KCC*)
13549 # KAI C++ Compiler
13550 lt_prog_compiler_wl_CXX='--backend -Wl,'
13551 lt_prog_compiler_pic_CXX='-fPIC'
13553 ecpc* )
13554 # old Intel C++ for x86_64 which still supported -KPIC.
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_pic_CXX='-KPIC'
13557 lt_prog_compiler_static_CXX='-static'
13559 icpc* )
13560 # Intel C++, used to be incompatible with GCC.
13561 # ICC 10 doesn't accept -KPIC any more.
13562 lt_prog_compiler_wl_CXX='-Wl,'
13563 lt_prog_compiler_pic_CXX='-fPIC'
13564 lt_prog_compiler_static_CXX='-static'
13566 pgCC* | pgcpp*)
13567 # Portland Group C++ compiler
13568 lt_prog_compiler_wl_CXX='-Wl,'
13569 lt_prog_compiler_pic_CXX='-fpic'
13570 lt_prog_compiler_static_CXX='-Bstatic'
13572 cxx*)
13573 # Compaq C++
13574 # Make sure the PIC flag is empty. It appears that all Alpha
13575 # Linux and Compaq Tru64 Unix objects are PIC.
13576 lt_prog_compiler_pic_CXX=
13577 lt_prog_compiler_static_CXX='-non_shared'
13579 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13580 # IBM XL 8.0, 9.0 on PPC and BlueGene
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-qpic'
13583 lt_prog_compiler_static_CXX='-qstaticlink'
13586 case `$CC -V 2>&1 | sed 5q` in
13587 *Sun\ C*)
13588 # Sun C++ 5.9
13589 lt_prog_compiler_pic_CXX='-KPIC'
13590 lt_prog_compiler_static_CXX='-Bstatic'
13591 lt_prog_compiler_wl_CXX='-Qoption ld '
13593 esac
13595 esac
13597 lynxos*)
13599 m88k*)
13601 mvs*)
13602 case $cc_basename in
13603 cxx*)
13604 lt_prog_compiler_pic_CXX='-W c,exportall'
13608 esac
13610 netbsd*)
13612 *qnx* | *nto*)
13613 # QNX uses GNU C++, but need to define -shared option too, otherwise
13614 # it will coredump.
13615 lt_prog_compiler_pic_CXX='-fPIC -shared'
13617 osf3* | osf4* | osf5*)
13618 case $cc_basename in
13619 KCC*)
13620 lt_prog_compiler_wl_CXX='--backend -Wl,'
13622 RCC*)
13623 # Rational C++ 2.4.1
13624 lt_prog_compiler_pic_CXX='-pic'
13626 cxx*)
13627 # Digital/Compaq C++
13628 lt_prog_compiler_wl_CXX='-Wl,'
13629 # Make sure the PIC flag is empty. It appears that all Alpha
13630 # Linux and Compaq Tru64 Unix objects are PIC.
13631 lt_prog_compiler_pic_CXX=
13632 lt_prog_compiler_static_CXX='-non_shared'
13636 esac
13638 psos*)
13640 solaris*)
13641 case $cc_basename in
13642 CC*)
13643 # Sun C++ 4.2, 5.x and Centerline C++
13644 lt_prog_compiler_pic_CXX='-KPIC'
13645 lt_prog_compiler_static_CXX='-Bstatic'
13646 lt_prog_compiler_wl_CXX='-Qoption ld '
13648 gcx*)
13649 # Green Hills C++ Compiler
13650 lt_prog_compiler_pic_CXX='-PIC'
13654 esac
13656 sunos4*)
13657 case $cc_basename in
13658 CC*)
13659 # Sun C++ 4.x
13660 lt_prog_compiler_pic_CXX='-pic'
13661 lt_prog_compiler_static_CXX='-Bstatic'
13663 lcc*)
13664 # Lucid
13665 lt_prog_compiler_pic_CXX='-pic'
13669 esac
13671 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13672 case $cc_basename in
13673 CC*)
13674 lt_prog_compiler_wl_CXX='-Wl,'
13675 lt_prog_compiler_pic_CXX='-KPIC'
13676 lt_prog_compiler_static_CXX='-Bstatic'
13678 esac
13680 tandem*)
13681 case $cc_basename in
13682 NCC*)
13683 # NonStop-UX NCC 3.20
13684 lt_prog_compiler_pic_CXX='-KPIC'
13688 esac
13690 vxworks*)
13693 lt_prog_compiler_can_build_shared_CXX=no
13695 esac
13698 case $host_os in
13699 # For platforms which do not support PIC, -DPIC is meaningless:
13700 *djgpp*)
13701 lt_prog_compiler_pic_CXX=
13704 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13706 esac
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13708 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13713 # Check to make sure the PIC flag actually works.
13715 if test -n "$lt_prog_compiler_pic_CXX"; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13717 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13718 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 lt_cv_prog_compiler_pic_works_CXX=no
13722 ac_outfile=conftest.$ac_objext
13723 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13724 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13725 # Insert the option either (1) after the last *FLAGS variable, or
13726 # (2) before a word containing "conftest.", or (3) at the end.
13727 # Note that $ac_compile itself does not contain backslashes and begins
13728 # with a dollar sign (not a hyphen), so the echo should work correctly.
13729 # The option is referenced via a variable to avoid confusing sed.
13730 lt_compile=`echo "$ac_compile" | $SED \
13731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13733 -e 's:$: $lt_compiler_flag:'`
13734 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13735 (eval "$lt_compile" 2>conftest.err)
13736 ac_status=$?
13737 cat conftest.err >&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 if (exit $ac_status) && test -s "$ac_outfile"; then
13740 # The compiler can only warn and ignore the option if not recognized
13741 # So say no if there are warnings other than the usual output.
13742 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13743 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13744 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13745 lt_cv_prog_compiler_pic_works_CXX=yes
13748 $RM conftest*
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13752 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13754 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13755 case $lt_prog_compiler_pic_CXX in
13756 "" | " "*) ;;
13757 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13758 esac
13759 else
13760 lt_prog_compiler_pic_CXX=
13761 lt_prog_compiler_can_build_shared_CXX=no
13769 # Check to make sure the static flag actually works.
13771 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13773 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13774 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777 lt_cv_prog_compiler_static_works_CXX=no
13778 save_LDFLAGS="$LDFLAGS"
13779 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13780 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13781 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13782 # The linker can only warn and ignore the option if not recognized
13783 # So say no if there are warnings
13784 if test -s conftest.err; then
13785 # Append any errors to the config.log.
13786 cat conftest.err 1>&5
13787 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13788 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13789 if diff conftest.exp conftest.er2 >/dev/null; then
13790 lt_cv_prog_compiler_static_works_CXX=yes
13792 else
13793 lt_cv_prog_compiler_static_works_CXX=yes
13796 $RM -r conftest*
13797 LDFLAGS="$save_LDFLAGS"
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13801 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13803 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13805 else
13806 lt_prog_compiler_static_CXX=
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13814 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13815 $as_echo_n "(cached) " >&6
13816 else
13817 lt_cv_prog_compiler_c_o_CXX=no
13818 $RM -r conftest 2>/dev/null
13819 mkdir conftest
13820 cd conftest
13821 mkdir out
13822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13824 lt_compiler_flag="-o out/conftest2.$ac_objext"
13825 # Insert the option either (1) after the last *FLAGS variable, or
13826 # (2) before a word containing "conftest.", or (3) at the end.
13827 # Note that $ac_compile itself does not contain backslashes and begins
13828 # with a dollar sign (not a hyphen), so the echo should work correctly.
13829 lt_compile=`echo "$ac_compile" | $SED \
13830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13832 -e 's:$: $lt_compiler_flag:'`
13833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13834 (eval "$lt_compile" 2>out/conftest.err)
13835 ac_status=$?
13836 cat out/conftest.err >&5
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13839 then
13840 # The compiler can only warn and ignore the option if not recognized
13841 # So say no if there are warnings
13842 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13843 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13844 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13845 lt_cv_prog_compiler_c_o_CXX=yes
13848 chmod u+w . 2>&5
13849 $RM conftest*
13850 # SGI C++ compiler will create directory out/ii_files/ for
13851 # template instantiation
13852 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13853 $RM out/* && rmdir out
13854 cd ..
13855 $RM -r conftest
13856 $RM conftest*
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13860 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13866 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 lt_cv_prog_compiler_c_o_CXX=no
13870 $RM -r conftest 2>/dev/null
13871 mkdir conftest
13872 cd conftest
13873 mkdir out
13874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13876 lt_compiler_flag="-o out/conftest2.$ac_objext"
13877 # Insert the option either (1) after the last *FLAGS variable, or
13878 # (2) before a word containing "conftest.", or (3) at the end.
13879 # Note that $ac_compile itself does not contain backslashes and begins
13880 # with a dollar sign (not a hyphen), so the echo should work correctly.
13881 lt_compile=`echo "$ac_compile" | $SED \
13882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13884 -e 's:$: $lt_compiler_flag:'`
13885 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13886 (eval "$lt_compile" 2>out/conftest.err)
13887 ac_status=$?
13888 cat out/conftest.err >&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13891 then
13892 # The compiler can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13895 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13896 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_c_o_CXX=yes
13900 chmod u+w . 2>&5
13901 $RM conftest*
13902 # SGI C++ compiler will create directory out/ii_files/ for
13903 # template instantiation
13904 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13905 $RM out/* && rmdir out
13906 cd ..
13907 $RM -r conftest
13908 $RM conftest*
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13912 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13917 hard_links="nottested"
13918 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13919 # do not overwrite the value of need_locks provided by the user
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13921 $as_echo_n "checking if we can lock with hard links... " >&6; }
13922 hard_links=yes
13923 $RM conftest*
13924 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13925 touch conftest.a
13926 ln conftest.a conftest.b 2>&5 || hard_links=no
13927 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13929 $as_echo "$hard_links" >&6; }
13930 if test "$hard_links" = no; then
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13932 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13933 need_locks=warn
13935 else
13936 need_locks=no
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13942 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13945 case $host_os in
13946 aix[4-9]*)
13947 # If we're using GNU nm, then we don't want the "-C" option.
13948 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13949 # Also, AIX nm treats weak defined symbols like other global defined
13950 # symbols, whereas GNU nm marks them as "W".
13951 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13952 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13953 else
13954 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13957 pw32*)
13958 export_symbols_cmds_CXX="$ltdll_cmds"
13960 cygwin* | mingw* | cegcc*)
13961 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13964 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13966 esac
13967 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13970 $as_echo "$ld_shlibs_CXX" >&6; }
13971 test "$ld_shlibs_CXX" = no && can_build_shared=no
13973 with_gnu_ld_CXX=$with_gnu_ld
13981 # Do we need to explicitly link libc?
13983 case "x$archive_cmds_need_lc_CXX" in
13984 x|xyes)
13985 # Assume -lc should be added
13986 archive_cmds_need_lc_CXX=yes
13988 if test "$enable_shared" = yes && test "$GCC" = yes; then
13989 case $archive_cmds_CXX in
13990 *'~'*)
13991 # FIXME: we may have to deal with multi-command sequences.
13993 '$CC '*)
13994 # Test whether the compiler implicitly links with -lc since on some
13995 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13996 # to ld, don't add -lc before -lgcc.
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13998 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13999 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 $RM conftest*
14003 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14006 (eval $ac_compile) 2>&5
14007 ac_status=$?
14008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009 test $ac_status = 0; } 2>conftest.err; then
14010 soname=conftest
14011 lib=conftest
14012 libobjs=conftest.$ac_objext
14013 deplibs=
14014 wl=$lt_prog_compiler_wl_CXX
14015 pic_flag=$lt_prog_compiler_pic_CXX
14016 compiler_flags=-v
14017 linker_flags=-v
14018 verstring=
14019 output_objdir=.
14020 libname=conftest
14021 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14022 allow_undefined_flag_CXX=
14023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14024 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14025 ac_status=$?
14026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14027 test $ac_status = 0; }
14028 then
14029 lt_cv_archive_cmds_need_lc_CXX=no
14030 else
14031 lt_cv_archive_cmds_need_lc_CXX=yes
14033 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14034 else
14035 cat conftest.err 1>&5
14037 $RM conftest*
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14041 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14042 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14044 esac
14047 esac
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14113 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14115 library_names_spec=
14116 libname_spec='lib$name'
14117 soname_spec=
14118 shrext_cmds=".so"
14119 postinstall_cmds=
14120 postuninstall_cmds=
14121 finish_cmds=
14122 finish_eval=
14123 shlibpath_var=
14124 shlibpath_overrides_runpath=unknown
14125 version_type=none
14126 dynamic_linker="$host_os ld.so"
14127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14128 need_lib_prefix=unknown
14129 hardcode_into_libs=no
14131 # when you set need_version to no, make sure it does not cause -set_version
14132 # flags to be left without arguments
14133 need_version=unknown
14135 case $host_os in
14136 aix3*)
14137 version_type=linux
14138 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14139 shlibpath_var=LIBPATH
14141 # AIX 3 has no versioning support, so we append a major version to the name.
14142 soname_spec='${libname}${release}${shared_ext}$major'
14145 aix[4-9]*)
14146 version_type=linux
14147 need_lib_prefix=no
14148 need_version=no
14149 hardcode_into_libs=yes
14150 if test "$host_cpu" = ia64; then
14151 # AIX 5 supports IA64
14152 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14153 shlibpath_var=LD_LIBRARY_PATH
14154 else
14155 # With GCC up to 2.95.x, collect2 would create an import file
14156 # for dependence libraries. The import file would start with
14157 # the line `#! .'. This would cause the generated library to
14158 # depend on `.', always an invalid library. This was fixed in
14159 # development snapshots of GCC prior to 3.0.
14160 case $host_os in
14161 aix4 | aix4.[01] | aix4.[01].*)
14162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14163 echo ' yes '
14164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14166 else
14167 can_build_shared=no
14170 esac
14171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14172 # soname into executable. Probably we can add versioning support to
14173 # collect2, so additional links can be useful in future.
14174 if test "$aix_use_runtimelinking" = yes; then
14175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14176 # instead of lib<name>.a to let people know that these are not
14177 # typical AIX shared libraries.
14178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14179 else
14180 # We preserve .a as extension for shared libraries through AIX4.2
14181 # and later when we are not doing run time linking.
14182 library_names_spec='${libname}${release}.a $libname.a'
14183 soname_spec='${libname}${release}${shared_ext}$major'
14185 shlibpath_var=LIBPATH
14189 amigaos*)
14190 case $host_cpu in
14191 powerpc)
14192 # Since July 2007 AmigaOS4 officially supports .so libraries.
14193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14196 m68k)
14197 library_names_spec='$libname.ixlibrary $libname.a'
14198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14199 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14201 esac
14204 beos*)
14205 library_names_spec='${libname}${shared_ext}'
14206 dynamic_linker="$host_os ld.so"
14207 shlibpath_var=LIBRARY_PATH
14210 bsdi[45]*)
14211 version_type=linux
14212 need_version=no
14213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14214 soname_spec='${libname}${release}${shared_ext}$major'
14215 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14216 shlibpath_var=LD_LIBRARY_PATH
14217 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14218 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14219 # the default ld.so.conf also contains /usr/contrib/lib and
14220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14221 # libtool to hard-code these into programs
14224 cygwin* | mingw* | pw32* | cegcc*)
14225 version_type=windows
14226 shrext_cmds=".dll"
14227 need_version=no
14228 need_lib_prefix=no
14230 case $GCC,$host_os in
14231 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14232 library_names_spec='$libname.dll.a'
14233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14234 postinstall_cmds='base_file=`basename \${file}`~
14235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14236 dldir=$destdir/`dirname \$dlpath`~
14237 test -d \$dldir || mkdir -p \$dldir~
14238 $install_prog $dir/$dlname \$dldir/$dlname~
14239 chmod a+x \$dldir/$dlname~
14240 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14241 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14243 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14244 dlpath=$dir/\$dldll~
14245 $RM \$dlpath'
14246 shlibpath_overrides_runpath=yes
14248 case $host_os in
14249 cygwin*)
14250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14251 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14254 mingw* | cegcc*)
14255 # MinGW DLLs use traditional 'lib' prefix
14256 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14258 pw32*)
14259 # pw32 DLLs use 'pw' prefix rather than 'lib'
14260 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14262 esac
14266 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14268 esac
14269 dynamic_linker='Win32 ld.exe'
14270 # FIXME: first we should search . and the directory the executable is in
14271 shlibpath_var=PATH
14274 darwin* | rhapsody*)
14275 dynamic_linker="$host_os dyld"
14276 version_type=darwin
14277 need_lib_prefix=no
14278 need_version=no
14279 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14280 soname_spec='${libname}${release}${major}$shared_ext'
14281 shlibpath_overrides_runpath=yes
14282 shlibpath_var=DYLD_LIBRARY_PATH
14283 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14285 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14288 dgux*)
14289 version_type=linux
14290 need_lib_prefix=no
14291 need_version=no
14292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14293 soname_spec='${libname}${release}${shared_ext}$major'
14294 shlibpath_var=LD_LIBRARY_PATH
14297 freebsd* | dragonfly*)
14298 # DragonFly does not have aout. When/if they implement a new
14299 # versioning mechanism, adjust this.
14300 if test -x /usr/bin/objformat; then
14301 objformat=`/usr/bin/objformat`
14302 else
14303 case $host_os in
14304 freebsd[123]*) objformat=aout ;;
14305 *) objformat=elf ;;
14306 esac
14308 version_type=freebsd-$objformat
14309 case $version_type in
14310 freebsd-elf*)
14311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14312 need_version=no
14313 need_lib_prefix=no
14315 freebsd-*)
14316 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14317 need_version=yes
14319 esac
14320 shlibpath_var=LD_LIBRARY_PATH
14321 case $host_os in
14322 freebsd2*)
14323 shlibpath_overrides_runpath=yes
14325 freebsd3.[01]* | freebsdelf3.[01]*)
14326 shlibpath_overrides_runpath=yes
14327 hardcode_into_libs=yes
14329 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14330 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14331 shlibpath_overrides_runpath=no
14332 hardcode_into_libs=yes
14334 *) # from 4.6 on, and DragonFly
14335 shlibpath_overrides_runpath=yes
14336 hardcode_into_libs=yes
14338 esac
14341 gnu*)
14342 version_type=linux
14343 need_lib_prefix=no
14344 need_version=no
14345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14346 soname_spec='${libname}${release}${shared_ext}$major'
14347 shlibpath_var=LD_LIBRARY_PATH
14348 hardcode_into_libs=yes
14351 haiku*)
14352 version_type=linux
14353 need_lib_prefix=no
14354 need_version=no
14355 dynamic_linker="$host_os runtime_loader"
14356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14357 soname_spec='${libname}${release}${shared_ext}$major'
14358 shlibpath_var=LIBRARY_PATH
14359 shlibpath_overrides_runpath=yes
14360 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14361 hardcode_into_libs=yes
14364 hpux9* | hpux10* | hpux11*)
14365 # Give a soname corresponding to the major version so that dld.sl refuses to
14366 # link against other versions.
14367 version_type=sunos
14368 need_lib_prefix=no
14369 need_version=no
14370 case $host_cpu in
14371 ia64*)
14372 shrext_cmds='.so'
14373 hardcode_into_libs=yes
14374 dynamic_linker="$host_os dld.so"
14375 shlibpath_var=LD_LIBRARY_PATH
14376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 if test "X$HPUX_IA64_MODE" = X32; then
14380 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14381 else
14382 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14386 hppa*64*)
14387 shrext_cmds='.sl'
14388 hardcode_into_libs=yes
14389 dynamic_linker="$host_os dld.sl"
14390 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14393 soname_spec='${libname}${release}${shared_ext}$major'
14394 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14395 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14398 shrext_cmds='.sl'
14399 dynamic_linker="$host_os dld.sl"
14400 shlibpath_var=SHLIB_PATH
14401 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14405 esac
14406 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14407 postinstall_cmds='chmod 555 $lib'
14408 # or fails outright, so override atomically:
14409 install_override_mode=555
14412 interix[3-9]*)
14413 version_type=linux
14414 need_lib_prefix=no
14415 need_version=no
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14419 shlibpath_var=LD_LIBRARY_PATH
14420 shlibpath_overrides_runpath=no
14421 hardcode_into_libs=yes
14424 irix5* | irix6* | nonstopux*)
14425 case $host_os in
14426 nonstopux*) version_type=nonstopux ;;
14428 if test "$lt_cv_prog_gnu_ld" = yes; then
14429 version_type=linux
14430 else
14431 version_type=irix
14432 fi ;;
14433 esac
14434 need_lib_prefix=no
14435 need_version=no
14436 soname_spec='${libname}${release}${shared_ext}$major'
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14438 case $host_os in
14439 irix5* | nonstopux*)
14440 libsuff= shlibsuff=
14443 case $LD in # libtool.m4 will add one of these switches to LD
14444 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14445 libsuff= shlibsuff= libmagic=32-bit;;
14446 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14447 libsuff=32 shlibsuff=N32 libmagic=N32;;
14448 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14449 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14450 *) libsuff= shlibsuff= libmagic=never-match;;
14451 esac
14453 esac
14454 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14455 shlibpath_overrides_runpath=no
14456 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14457 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14458 hardcode_into_libs=yes
14461 # No shared lib support for Linux oldld, aout, or coff.
14462 linux*oldld* | linux*aout* | linux*coff*)
14463 dynamic_linker=no
14466 # This must be Linux ELF.
14467 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14468 version_type=linux
14469 need_lib_prefix=no
14470 need_version=no
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14472 soname_spec='${libname}${release}${shared_ext}$major'
14473 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14474 shlibpath_var=LD_LIBRARY_PATH
14475 shlibpath_overrides_runpath=no
14477 # Some binutils ld are patched to set DT_RUNPATH
14478 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 lt_cv_shlibpath_overrides_runpath=no
14482 save_LDFLAGS=$LDFLAGS
14483 save_libdir=$libdir
14484 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14485 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14486 if test x$gcc_no_link = xyes; then
14487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14493 main ()
14497 return 0;
14499 _ACEOF
14500 if ac_fn_cxx_try_link "$LINENO"; then :
14501 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14502 lt_cv_shlibpath_overrides_runpath=yes
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LDFLAGS=$save_LDFLAGS
14508 libdir=$save_libdir
14512 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14514 # This implies no fast_install, which is unacceptable.
14515 # Some rework will be needed to allow for fast_install
14516 # before this can be enabled.
14517 hardcode_into_libs=yes
14519 # Append ld.so.conf contents to the search path
14520 if test -f /etc/ld.so.conf; then
14521 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14522 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14525 # We used to test for /lib/ld.so.1 and disable shared libraries on
14526 # powerpc, because MkLinux only supported shared libraries with the
14527 # GNU dynamic linker. Since this was broken with cross compilers,
14528 # most powerpc-linux boxes support dynamic linking these days and
14529 # people can always --disable-shared, the test was removed, and we
14530 # assume the GNU/Linux dynamic linker is in use.
14531 dynamic_linker='GNU/Linux ld.so'
14534 netbsd*)
14535 version_type=sunos
14536 need_lib_prefix=no
14537 need_version=no
14538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14541 dynamic_linker='NetBSD (a.out) ld.so'
14542 else
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14544 soname_spec='${libname}${release}${shared_ext}$major'
14545 dynamic_linker='NetBSD ld.elf_so'
14547 shlibpath_var=LD_LIBRARY_PATH
14548 shlibpath_overrides_runpath=yes
14549 hardcode_into_libs=yes
14552 newsos6)
14553 version_type=linux
14554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14555 shlibpath_var=LD_LIBRARY_PATH
14556 shlibpath_overrides_runpath=yes
14559 *nto* | *qnx*)
14560 version_type=qnx
14561 need_lib_prefix=no
14562 need_version=no
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564 soname_spec='${libname}${release}${shared_ext}$major'
14565 shlibpath_var=LD_LIBRARY_PATH
14566 shlibpath_overrides_runpath=no
14567 hardcode_into_libs=yes
14568 dynamic_linker='ldqnx.so'
14571 openbsd*)
14572 version_type=sunos
14573 sys_lib_dlsearch_path_spec="/usr/lib"
14574 need_lib_prefix=no
14575 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14576 case $host_os in
14577 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14578 *) need_version=no ;;
14579 esac
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14581 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14582 shlibpath_var=LD_LIBRARY_PATH
14583 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14584 case $host_os in
14585 openbsd2.[89] | openbsd2.[89].*)
14586 shlibpath_overrides_runpath=no
14589 shlibpath_overrides_runpath=yes
14591 esac
14592 else
14593 shlibpath_overrides_runpath=yes
14597 os2*)
14598 libname_spec='$name'
14599 shrext_cmds=".dll"
14600 need_lib_prefix=no
14601 library_names_spec='$libname${shared_ext} $libname.a'
14602 dynamic_linker='OS/2 ld.exe'
14603 shlibpath_var=LIBPATH
14606 osf3* | osf4* | osf5*)
14607 version_type=osf
14608 need_lib_prefix=no
14609 need_version=no
14610 soname_spec='${libname}${release}${shared_ext}$major'
14611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 shlibpath_var=LD_LIBRARY_PATH
14613 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14614 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14617 rdos*)
14618 dynamic_linker=no
14621 solaris*)
14622 version_type=linux
14623 need_lib_prefix=no
14624 need_version=no
14625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14626 soname_spec='${libname}${release}${shared_ext}$major'
14627 shlibpath_var=LD_LIBRARY_PATH
14628 shlibpath_overrides_runpath=yes
14629 hardcode_into_libs=yes
14630 # ldd complains unless libraries are executable
14631 postinstall_cmds='chmod +x $lib'
14634 sunos4*)
14635 version_type=sunos
14636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14637 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 shlibpath_overrides_runpath=yes
14640 if test "$with_gnu_ld" = yes; then
14641 need_lib_prefix=no
14643 need_version=yes
14646 sysv4 | sysv4.3*)
14647 version_type=linux
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 shlibpath_var=LD_LIBRARY_PATH
14651 case $host_vendor in
14652 sni)
14653 shlibpath_overrides_runpath=no
14654 need_lib_prefix=no
14655 runpath_var=LD_RUN_PATH
14657 siemens)
14658 need_lib_prefix=no
14660 motorola)
14661 need_lib_prefix=no
14662 need_version=no
14663 shlibpath_overrides_runpath=no
14664 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14666 esac
14669 sysv4*MP*)
14670 if test -d /usr/nec ;then
14671 version_type=linux
14672 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14673 soname_spec='$libname${shared_ext}.$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14678 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14679 version_type=freebsd-elf
14680 need_lib_prefix=no
14681 need_version=no
14682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14683 soname_spec='${libname}${release}${shared_ext}$major'
14684 shlibpath_var=LD_LIBRARY_PATH
14685 shlibpath_overrides_runpath=yes
14686 hardcode_into_libs=yes
14687 if test "$with_gnu_ld" = yes; then
14688 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14689 else
14690 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14691 case $host_os in
14692 sco3.2v5*)
14693 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14695 esac
14697 sys_lib_dlsearch_path_spec='/usr/lib'
14700 tpf*)
14701 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14702 version_type=linux
14703 need_lib_prefix=no
14704 need_version=no
14705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14706 shlibpath_var=LD_LIBRARY_PATH
14707 shlibpath_overrides_runpath=no
14708 hardcode_into_libs=yes
14711 uts4*)
14712 version_type=linux
14713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14714 soname_spec='${libname}${release}${shared_ext}$major'
14715 shlibpath_var=LD_LIBRARY_PATH
14719 dynamic_linker=no
14721 esac
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14723 $as_echo "$dynamic_linker" >&6; }
14724 test "$dynamic_linker" = no && can_build_shared=no
14726 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14727 if test "$GCC" = yes; then
14728 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14731 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14732 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14734 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14735 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14777 hardcode_action_CXX=
14778 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14779 test -n "$runpath_var_CXX" ||
14780 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14782 # We can hardcode non-existent directories.
14783 if test "$hardcode_direct_CXX" != no &&
14784 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14785 # have to relink, otherwise we might link with an installed library
14786 # when we should be linking with a yet-to-be-installed one
14787 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14788 test "$hardcode_minus_L_CXX" != no; then
14789 # Linking always hardcodes the temporary library directory.
14790 hardcode_action_CXX=relink
14791 else
14792 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14793 hardcode_action_CXX=immediate
14795 else
14796 # We cannot hardcode anything, or else we can only hardcode existing
14797 # directories.
14798 hardcode_action_CXX=unsupported
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14801 $as_echo "$hardcode_action_CXX" >&6; }
14803 if test "$hardcode_action_CXX" = relink ||
14804 test "$inherit_rpath_CXX" = yes; then
14805 # Fast installation is not supported
14806 enable_fast_install=no
14807 elif test "$shlibpath_overrides_runpath" = yes ||
14808 test "$enable_shared" = no; then
14809 # Fast installation is not necessary
14810 enable_fast_install=needless
14819 fi # test -n "$compiler"
14821 CC=$lt_save_CC
14822 LDCXX=$LD
14823 LD=$lt_save_LD
14824 GCC=$lt_save_GCC
14825 with_gnu_ld=$lt_save_with_gnu_ld
14826 lt_cv_path_LDCXX=$lt_cv_path_LD
14827 lt_cv_path_LD=$lt_save_path_LD
14828 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14829 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14830 fi # test "$_lt_caught_CXX_error" != yes
14832 ac_ext=c
14833 ac_cpp='$CPP $CPPFLAGS'
14834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14850 ac_config_commands="$ac_config_commands libtool"
14855 # Only expand once:
14861 case $host in
14862 *-cygwin* | *-mingw*)
14863 # 'host' will be top-level target in the case of a target lib,
14864 # we must compare to with_cross_host to decide if this is a native
14865 # or cross-compiler and select where to install dlls appropriately.
14866 if test -n "$with_cross_host" &&
14867 test x"$with_cross_host" != x"no"; then
14868 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14869 else
14870 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14874 lt_host_flags=
14876 esac
14883 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14884 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14886 # Possibly disable most of the library.
14887 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14888 ## than just ignoring the results. Faster /and/ more correct, win win.
14890 # Check whether --enable-hosted-libstdcxx was given.
14891 if test "${enable_hosted_libstdcxx+set}" = set; then :
14892 enableval=$enable_hosted_libstdcxx;
14893 else
14894 case "$host" in
14895 arm*-*-symbianelf*)
14896 enable_hosted_libstdcxx=no
14899 enable_hosted_libstdcxx=yes
14901 esac
14904 if test "$enable_hosted_libstdcxx" = no; then
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14906 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14907 is_hosted=no
14908 hosted_define=0
14909 enable_abi_check=no
14910 enable_libstdcxx_pch=no
14911 else
14912 is_hosted=yes
14913 hosted_define=1
14917 cat >>confdefs.h <<_ACEOF
14918 #define _GLIBCXX_HOSTED $hosted_define
14919 _ACEOF
14923 # Enable compiler support that doesn't require linking.
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14926 $as_echo_n "checking for exception model to use... " >&6; }
14928 ac_ext=cpp
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14934 # Check whether --enable-sjlj-exceptions was given.
14935 if test "${enable_sjlj_exceptions+set}" = set; then :
14936 enableval=$enable_sjlj_exceptions;
14937 case "$enableval" in
14938 yes|no|auto) ;;
14939 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14940 esac
14942 else
14943 enable_sjlj_exceptions=auto
14948 if test $enable_sjlj_exceptions = auto; then
14949 # Botheration. Now we've got to detect the exception model. Link tests
14950 # against libgcc.a are problematic since we've not been given proper -L
14951 # bits for single-tree newlib and libgloss.
14953 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14954 cat > conftest.$ac_ext << EOF
14955 #line 14955 "configure"
14956 struct S { ~S(); };
14957 void bar();
14958 void foo()
14960 S s;
14961 bar();
14964 old_CXXFLAGS="$CXXFLAGS"
14965 CXXFLAGS=-S
14966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14967 (eval $ac_compile) 2>&5
14968 ac_status=$?
14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970 test $ac_status = 0; }; then
14971 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14972 enable_sjlj_exceptions=yes
14973 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14974 enable_sjlj_exceptions=no
14975 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14976 enable_sjlj_exceptions=no
14979 CXXFLAGS="$old_CXXFLAGS"
14980 rm -f conftest*
14983 # This is a tad weird, for hysterical raisins. We have to map
14984 # enable/disable to two different models.
14985 case $enable_sjlj_exceptions in
14986 yes)
14988 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14990 ac_exception_model_name=sjlj
14993 ac_exception_model_name="call frame"
14996 as_fn_error "unable to detect exception model" "$LINENO" 5
14998 esac
14999 ac_ext=c
15000 ac_cpp='$CPP $CPPFLAGS'
15001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15006 $as_echo "$ac_exception_model_name" >&6; }
15009 # Check whether --enable-libstdcxx-pch was given.
15010 if test "${enable_libstdcxx_pch+set}" = set; then :
15011 enableval=$enable_libstdcxx_pch;
15012 case "$enableval" in
15013 yes|no) ;;
15014 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15015 esac
15017 else
15018 enable_libstdcxx_pch=$is_hosted
15022 if test $enable_libstdcxx_pch = yes; then
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15024 $as_echo_n "checking for compiler with PCH support... " >&6; }
15025 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_save_CXXFLAGS="$CXXFLAGS"
15029 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15031 ac_ext=cpp
15032 ac_cpp='$CXXCPP $CPPFLAGS'
15033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15037 echo '#include <math.h>' > conftest.h
15038 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15039 -o conftest.h.gch 1>&5 2>&1 &&
15040 echo '#error "pch failed"' > conftest.h &&
15041 echo '#include "conftest.h"' > conftest.cc &&
15042 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15043 then
15044 glibcxx_cv_prog_CXX_pch=yes
15045 else
15046 glibcxx_cv_prog_CXX_pch=no
15048 rm -f conftest*
15049 CXXFLAGS=$ac_save_CXXFLAGS
15050 ac_ext=c
15051 ac_cpp='$CPP $CPPFLAGS'
15052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15059 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15060 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15064 $as_echo_n "checking for enabled PCH... " >&6; }
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15066 $as_echo "$enable_libstdcxx_pch" >&6; }
15069 if test $enable_libstdcxx_pch = yes; then
15070 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15071 else
15072 glibcxx_PCHFLAGS=""
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15078 $as_echo_n "checking for thread model used by GCC... " >&6; }
15079 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15081 $as_echo "$target_thread_file" >&6; }
15083 if test $target_thread_file != single; then
15085 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15089 glibcxx_thread_h=gthr-$target_thread_file.h
15091 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15092 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15093 enable_thread=yes
15094 else
15095 enable_thread=no
15102 ac_ext=cpp
15103 ac_cpp='$CXXCPP $CPPFLAGS'
15104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15108 old_CXXFLAGS="$CXXFLAGS"
15110 # Do link tests if possible, instead asm tests, limited to some platforms
15111 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15112 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15113 atomic_builtins_link_tests=no
15114 if test x$gcc_no_link != xyes; then
15115 # Can do link tests. Limit to some tested platforms
15116 case "$host" in
15117 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15118 atomic_builtins_link_tests=yes
15120 esac
15123 if test x$atomic_builtins_link_tests = xyes; then
15125 # Do link tests.
15127 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15130 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15131 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15132 $as_echo_n "(cached) " >&6
15133 else
15135 if test x$gcc_no_link = xyes; then
15136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15142 main ()
15144 typedef bool atomic_type;
15145 atomic_type c1;
15146 atomic_type c2;
15147 const atomic_type c3(0);
15148 __sync_fetch_and_add(&c1, c2);
15149 __sync_val_compare_and_swap(&c1, c3, c2);
15150 __sync_lock_test_and_set(&c1, c3);
15151 __sync_lock_release(&c1);
15152 __sync_synchronize();
15154 return 0;
15156 _ACEOF
15157 if ac_fn_cxx_try_link "$LINENO"; then :
15158 glibcxx_cv_atomic_bool=yes
15159 else
15160 glibcxx_cv_atomic_bool=no
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15167 if test $glibcxx_cv_atomic_bool = yes; then
15169 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15173 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15176 $as_echo_n "checking for atomic builtins for short... " >&6; }
15177 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15178 $as_echo_n "(cached) " >&6
15179 else
15181 if test x$gcc_no_link = xyes; then
15182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15188 main ()
15190 typedef short atomic_type;
15191 atomic_type c1;
15192 atomic_type c2;
15193 const atomic_type c3(0);
15194 __sync_fetch_and_add(&c1, c2);
15195 __sync_val_compare_and_swap(&c1, c3, c2);
15196 __sync_lock_test_and_set(&c1, c3);
15197 __sync_lock_release(&c1);
15198 __sync_synchronize();
15200 return 0;
15202 _ACEOF
15203 if ac_fn_cxx_try_link "$LINENO"; then :
15204 glibcxx_cv_atomic_short=yes
15205 else
15206 glibcxx_cv_atomic_short=no
15208 rm -f core conftest.err conftest.$ac_objext \
15209 conftest$ac_exeext conftest.$ac_ext
15213 if test $glibcxx_cv_atomic_short = yes; then
15215 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15219 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15222 $as_echo_n "checking for atomic builtins for int... " >&6; }
15223 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15224 $as_echo_n "(cached) " >&6
15225 else
15227 if test x$gcc_no_link = xyes; then
15228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15234 main ()
15236 typedef int atomic_type;
15237 atomic_type c1;
15238 atomic_type c2;
15239 const atomic_type c3(0);
15240 __sync_fetch_and_add(&c1, c2);
15241 __sync_val_compare_and_swap(&c1, c3, c2);
15242 __sync_lock_test_and_set(&c1, c3);
15243 __sync_lock_release(&c1);
15244 __sync_synchronize();
15246 return 0;
15248 _ACEOF
15249 if ac_fn_cxx_try_link "$LINENO"; then :
15250 glibcxx_cv_atomic_int=yes
15251 else
15252 glibcxx_cv_atomic_int=no
15254 rm -f core conftest.err conftest.$ac_objext \
15255 conftest$ac_exeext conftest.$ac_ext
15259 if test $glibcxx_cv_atomic_int = yes; then
15261 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15265 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15268 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15269 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15270 $as_echo_n "(cached) " >&6
15271 else
15273 if test x$gcc_no_link = xyes; then
15274 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15280 main ()
15282 typedef long long atomic_type;
15283 atomic_type c1;
15284 atomic_type c2;
15285 const atomic_type c3(0);
15286 __sync_fetch_and_add(&c1, c2);
15287 __sync_val_compare_and_swap(&c1, c3, c2);
15288 __sync_lock_test_and_set(&c1, c3);
15289 __sync_lock_release(&c1);
15290 __sync_synchronize();
15292 return 0;
15294 _ACEOF
15295 if ac_fn_cxx_try_link "$LINENO"; then :
15296 glibcxx_cv_atomic_long_long=yes
15297 else
15298 glibcxx_cv_atomic_long_long=no
15300 rm -f core conftest.err conftest.$ac_objext \
15301 conftest$ac_exeext conftest.$ac_ext
15305 if test $glibcxx_cv_atomic_long_long = yes; then
15307 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15311 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15313 else
15315 # Do asm tests.
15317 # Compile unoptimized.
15318 CXXFLAGS='-O0 -S'
15320 # Fake what AC_TRY_COMPILE does.
15322 cat > conftest.$ac_ext << EOF
15323 #line 15323 "configure"
15324 int main()
15326 typedef bool atomic_type;
15327 atomic_type c1;
15328 atomic_type c2;
15329 const atomic_type c3(0);
15330 __sync_fetch_and_add(&c1, c2);
15331 __sync_val_compare_and_swap(&c1, c3, c2);
15332 __sync_lock_test_and_set(&c1, c3);
15333 __sync_lock_release(&c1);
15334 __sync_synchronize();
15335 return 0;
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15340 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15342 (eval $ac_compile) 2>&5
15343 ac_status=$?
15344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15345 test $ac_status = 0; }; then
15346 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15347 glibcxx_cv_atomic_bool=no
15348 else
15350 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15352 glibcxx_cv_atomic_bool=yes
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15356 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15357 rm -f conftest*
15359 cat > conftest.$ac_ext << EOF
15360 #line 15360 "configure"
15361 int main()
15363 typedef short atomic_type;
15364 atomic_type c1;
15365 atomic_type c2;
15366 const atomic_type c3(0);
15367 __sync_fetch_and_add(&c1, c2);
15368 __sync_val_compare_and_swap(&c1, c3, c2);
15369 __sync_lock_test_and_set(&c1, c3);
15370 __sync_lock_release(&c1);
15371 __sync_synchronize();
15372 return 0;
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15377 $as_echo_n "checking for atomic builtins for short... " >&6; }
15378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15379 (eval $ac_compile) 2>&5
15380 ac_status=$?
15381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382 test $ac_status = 0; }; then
15383 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15384 glibcxx_cv_atomic_short=no
15385 else
15387 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15389 glibcxx_cv_atomic_short=yes
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15393 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15394 rm -f conftest*
15396 cat > conftest.$ac_ext << EOF
15397 #line 15397 "configure"
15398 int main()
15400 // NB: _Atomic_word not necessarily int.
15401 typedef int atomic_type;
15402 atomic_type c1;
15403 atomic_type c2;
15404 const atomic_type c3(0);
15405 __sync_fetch_and_add(&c1, c2);
15406 __sync_val_compare_and_swap(&c1, c3, c2);
15407 __sync_lock_test_and_set(&c1, c3);
15408 __sync_lock_release(&c1);
15409 __sync_synchronize();
15410 return 0;
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15415 $as_echo_n "checking for atomic builtins for int... " >&6; }
15416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15417 (eval $ac_compile) 2>&5
15418 ac_status=$?
15419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15420 test $ac_status = 0; }; then
15421 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15422 glibcxx_cv_atomic_int=no
15423 else
15425 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15427 glibcxx_cv_atomic_int=yes
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15431 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15432 rm -f conftest*
15434 cat > conftest.$ac_ext << EOF
15435 #line 15435 "configure"
15436 int main()
15438 typedef long long atomic_type;
15439 atomic_type c1;
15440 atomic_type c2;
15441 const atomic_type c3(0);
15442 __sync_fetch_and_add(&c1, c2);
15443 __sync_val_compare_and_swap(&c1, c3, c2);
15444 __sync_lock_test_and_set(&c1, c3);
15445 __sync_lock_release(&c1);
15446 __sync_synchronize();
15447 return 0;
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15452 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15454 (eval $ac_compile) 2>&5
15455 ac_status=$?
15456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15457 test $ac_status = 0; }; then
15458 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15459 glibcxx_cv_atomic_long_long=no
15460 else
15462 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15464 glibcxx_cv_atomic_long_long=yes
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15468 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15469 rm -f conftest*
15473 CXXFLAGS="$old_CXXFLAGS"
15474 ac_ext=c
15475 ac_cpp='$CPP $CPPFLAGS'
15476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15481 # Set atomicity_dir to builtins if either of above tests pass.
15482 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15483 atomicity_dir=cpu/generic/atomicity_builtins
15486 # If still generic, set to mutex.
15487 if test $atomicity_dir = "cpu/generic" ; then
15488 atomicity_dir=cpu/generic/atomicity_mutex
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15490 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15491 if test "x$target_thread_file" = xsingle; then
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15493 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15495 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15496 else
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15498 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15500 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15507 # Fake what AC_TRY_COMPILE does, without linking as this is
15508 # unnecessary for this test.
15510 cat > conftest.$ac_ext << EOF
15511 #line 15511 "configure"
15512 int main()
15514 _Decimal32 d1;
15515 _Decimal64 d2;
15516 _Decimal128 d3;
15517 return 0;
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15522 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15524 (eval $ac_compile) 2>&5
15525 ac_status=$?
15526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15527 test $ac_status = 0; }; then
15529 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15531 enable_dfp=yes
15532 else
15533 enable_dfp=no
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15536 $as_echo "$enable_dfp" >&6; }
15537 rm -f conftest*
15540 # Checks for compiler support that doesn't require linking.
15542 # All these tests are for C++; save the language and the compiler flags.
15543 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15544 # found in GLIBCXX_CONFIGURE.
15546 ac_ext=cpp
15547 ac_cpp='$CXXCPP $CPPFLAGS'
15548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15552 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15553 ac_save_CXXFLAGS="$CXXFLAGS"
15555 # Check for maintainer-mode bits.
15556 if test x"$USE_MAINTAINER_MODE" = xno; then
15557 WERROR=''
15558 else
15559 WERROR='-Werror'
15562 # Check for -ffunction-sections -fdata-sections
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15564 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15565 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15568 int foo; void bar() { };
15570 main ()
15574 return 0;
15576 _ACEOF
15577 if ac_fn_cxx_try_compile "$LINENO"; then :
15578 ac_fdsections=yes
15579 else
15580 ac_fdsections=no
15582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15583 if test "$ac_test_CXXFLAGS" = set; then
15584 CXXFLAGS="$ac_save_CXXFLAGS"
15585 else
15586 # this is the suspicious part
15587 CXXFLAGS=''
15589 if test x"$ac_fdsections" = x"yes"; then
15590 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15593 $as_echo "$ac_fdsections" >&6; }
15595 ac_ext=c
15596 ac_cpp='$CPP $CPPFLAGS'
15597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605 # Enable all the variable C++ runtime options that don't require linking.
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15608 $as_echo_n "checking for underlying I/O to use... " >&6; }
15609 # Check whether --enable-cstdio was given.
15610 if test "${enable_cstdio+set}" = set; then :
15611 enableval=$enable_cstdio;
15612 case "$enableval" in
15613 stdio) ;;
15614 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15615 esac
15617 else
15618 enable_cstdio=stdio
15623 # Now that libio has been removed, you can have any color you want as long
15624 # as it's black. This is one big no-op until other packages are added, but
15625 # showing the framework never hurts.
15626 case ${enable_cstdio} in
15627 stdio)
15628 CSTDIO_H=config/io/c_io_stdio.h
15629 BASIC_FILE_H=config/io/basic_file_stdio.h
15630 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15632 $as_echo "stdio" >&6; }
15634 esac
15641 # Check whether --enable-clocale was given.
15642 if test "${enable_clocale+set}" = set; then :
15643 enableval=$enable_clocale;
15644 case "$enableval" in
15645 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15646 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15647 esac
15649 else
15650 enable_clocale=auto
15655 # Deal with gettext issues. Default to not using it (=no) until we detect
15656 # support for it later. Let the user turn it off via --e/d, but let that
15657 # default to on for easier handling.
15658 USE_NLS=no
15659 # Check whether --enable-nls was given.
15660 if test "${enable_nls+set}" = set; then :
15661 enableval=$enable_nls;
15662 else
15663 enable_nls=yes
15667 # Either a known packaage, or "auto"
15668 if test $enable_clocale = no || test $enable_clocale = yes; then
15669 enable_clocale=auto
15671 enable_clocale_flag=$enable_clocale
15673 # Probe for locale model to use if none specified.
15674 # Default to "generic".
15675 if test $enable_clocale_flag = auto; then
15676 case ${target_os} in
15677 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15678 enable_clocale_flag=gnu
15680 darwin* | freebsd*)
15681 enable_clocale_flag=darwin
15684 enable_clocale_flag=generic
15686 esac
15689 # Sanity check model, and test for special functionality.
15690 if test $enable_clocale_flag = gnu; then
15691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15694 #include <features.h>
15695 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15696 _GLIBCXX_ok
15697 #endif
15699 _ACEOF
15700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15701 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15702 enable_clocale_flag=gnu
15703 else
15704 enable_clocale_flag=generic
15706 rm -f conftest*
15709 # Set it to scream when it hurts.
15710 ac_save_CFLAGS="$CFLAGS"
15711 CFLAGS="-Wimplicit-function-declaration -Werror"
15713 # Use strxfrm_l if available.
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 #define _GNU_SOURCE 1
15717 #include <string.h>
15718 #include <locale.h>
15720 main ()
15722 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15724 return 0;
15726 _ACEOF
15727 if ac_fn_c_try_compile "$LINENO"; then :
15729 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15734 # Use strerror_l if available.
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 #define _GNU_SOURCE 1
15738 #include <string.h>
15739 #include <locale.h>
15741 main ()
15743 __locale_t loc; strerror_l(5, loc);
15745 return 0;
15747 _ACEOF
15748 if ac_fn_c_try_compile "$LINENO"; then :
15750 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755 CFLAGS="$ac_save_CFLAGS"
15758 # Perhaps use strerror_r if available, and strerror_l isn't.
15759 ac_save_CFLAGS="$CFLAGS"
15760 CFLAGS="-Wimplicit-function-declaration -Werror"
15761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15763 #define _GNU_SOURCE 1
15764 #include <string.h>
15765 #include <locale.h>
15767 main ()
15769 char s[128]; strerror_r(5, s, 128);
15771 return 0;
15773 _ACEOF
15774 if ac_fn_c_try_compile "$LINENO"; then :
15776 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15780 CFLAGS="$ac_save_CFLAGS"
15782 # Set configure bits for specified locale package
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15784 $as_echo_n "checking for C locale to use... " >&6; }
15785 case ${enable_clocale_flag} in
15786 generic)
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15788 $as_echo "generic" >&6; }
15790 CLOCALE_H=config/locale/generic/c_locale.h
15791 CLOCALE_CC=config/locale/generic/c_locale.cc
15792 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15793 CCOLLATE_CC=config/locale/generic/collate_members.cc
15794 CCTYPE_CC=config/locale/generic/ctype_members.cc
15795 CMESSAGES_H=config/locale/generic/messages_members.h
15796 CMESSAGES_CC=config/locale/generic/messages_members.cc
15797 CMONEY_CC=config/locale/generic/monetary_members.cc
15798 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15799 CTIME_H=config/locale/generic/time_members.h
15800 CTIME_CC=config/locale/generic/time_members.cc
15801 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15803 darwin)
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15805 $as_echo "darwin or freebsd" >&6; }
15807 CLOCALE_H=config/locale/generic/c_locale.h
15808 CLOCALE_CC=config/locale/generic/c_locale.cc
15809 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15810 CCOLLATE_CC=config/locale/generic/collate_members.cc
15811 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15812 CMESSAGES_H=config/locale/generic/messages_members.h
15813 CMESSAGES_CC=config/locale/generic/messages_members.cc
15814 CMONEY_CC=config/locale/generic/monetary_members.cc
15815 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15816 CTIME_H=config/locale/generic/time_members.h
15817 CTIME_CC=config/locale/generic/time_members.cc
15818 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15821 gnu)
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15823 $as_echo "gnu" >&6; }
15825 # Declare intention to use gettext, and add support for specific
15826 # languages.
15827 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15828 ALL_LINGUAS="de fr"
15830 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15831 # Extract the first word of "msgfmt", so it can be a program name with args.
15832 set dummy msgfmt; ac_word=$2
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15834 $as_echo_n "checking for $ac_word... " >&6; }
15835 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15836 $as_echo_n "(cached) " >&6
15837 else
15838 if test -n "$check_msgfmt"; then
15839 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15840 else
15841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15842 for as_dir in $PATH
15844 IFS=$as_save_IFS
15845 test -z "$as_dir" && as_dir=.
15846 for ac_exec_ext in '' $ac_executable_extensions; do
15847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15848 ac_cv_prog_check_msgfmt="yes"
15849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15850 break 2
15852 done
15853 done
15854 IFS=$as_save_IFS
15856 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15859 check_msgfmt=$ac_cv_prog_check_msgfmt
15860 if test -n "$check_msgfmt"; then
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15862 $as_echo "$check_msgfmt" >&6; }
15863 else
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15865 $as_echo "no" >&6; }
15869 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15870 USE_NLS=yes
15872 # Export the build objects.
15873 for ling in $ALL_LINGUAS; do \
15874 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15875 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15876 done
15880 CLOCALE_H=config/locale/gnu/c_locale.h
15881 CLOCALE_CC=config/locale/gnu/c_locale.cc
15882 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15883 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15884 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15885 CMESSAGES_H=config/locale/gnu/messages_members.h
15886 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15887 CMONEY_CC=config/locale/gnu/monetary_members.cc
15888 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15889 CTIME_H=config/locale/gnu/time_members.h
15890 CTIME_CC=config/locale/gnu/time_members.cc
15891 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15893 ieee_1003.1-2001)
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15895 $as_echo "IEEE 1003.1" >&6; }
15897 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15898 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15899 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15900 CCOLLATE_CC=config/locale/generic/collate_members.cc
15901 CCTYPE_CC=config/locale/generic/ctype_members.cc
15902 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15903 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15904 CMONEY_CC=config/locale/generic/monetary_members.cc
15905 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15906 CTIME_H=config/locale/generic/time_members.h
15907 CTIME_CC=config/locale/generic/time_members.cc
15908 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15910 esac
15912 # This is where the testsuite looks for locale catalogs, using the
15913 # -DLOCALEDIR define during testsuite compilation.
15914 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15917 # A standalone libintl (e.g., GNU libintl) may be in use.
15918 if test $USE_NLS = yes; then
15919 for ac_header in libintl.h
15920 do :
15921 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15922 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_LIBINTL_H 1
15925 _ACEOF
15927 else
15928 USE_NLS=no
15931 done
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15934 $as_echo_n "checking for library containing gettext... " >&6; }
15935 if test "${ac_cv_search_gettext+set}" = set; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15938 ac_func_search_save_LIBS=$LIBS
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15942 /* Override any GCC internal prototype to avoid an error.
15943 Use char because int might match the return type of a GCC
15944 builtin and then its argument prototype would still apply. */
15945 #ifdef __cplusplus
15946 extern "C"
15947 #endif
15948 char gettext ();
15950 main ()
15952 return gettext ();
15954 return 0;
15956 _ACEOF
15957 for ac_lib in '' intl; do
15958 if test -z "$ac_lib"; then
15959 ac_res="none required"
15960 else
15961 ac_res=-l$ac_lib
15962 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15964 if test x$gcc_no_link = xyes; then
15965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15967 if ac_fn_c_try_link "$LINENO"; then :
15968 ac_cv_search_gettext=$ac_res
15970 rm -f core conftest.err conftest.$ac_objext \
15971 conftest$ac_exeext
15972 if test "${ac_cv_search_gettext+set}" = set; then :
15973 break
15975 done
15976 if test "${ac_cv_search_gettext+set}" = set; then :
15978 else
15979 ac_cv_search_gettext=no
15981 rm conftest.$ac_ext
15982 LIBS=$ac_func_search_save_LIBS
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15985 $as_echo "$ac_cv_search_gettext" >&6; }
15986 ac_res=$ac_cv_search_gettext
15987 if test "$ac_res" != no; then :
15988 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15990 else
15991 USE_NLS=no
15995 if test $USE_NLS = yes; then
15997 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16017 $as_echo_n "checking for std::allocator base class... " >&6; }
16018 # Check whether --enable-libstdcxx-allocator was given.
16019 if test "${enable_libstdcxx_allocator+set}" = set; then :
16020 enableval=$enable_libstdcxx_allocator;
16021 case "$enableval" in
16022 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16023 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16024 esac
16026 else
16027 enable_libstdcxx_allocator=auto
16032 # If they didn't use this option switch, or if they specified --enable
16033 # with no specific model, we'll have to look for one. If they
16034 # specified --disable (???), do likewise.
16035 if test $enable_libstdcxx_allocator = no ||
16036 test $enable_libstdcxx_allocator = yes;
16037 then
16038 enable_libstdcxx_allocator=auto
16041 # Either a known package, or "auto". Auto implies the default choice
16042 # for a particular platform.
16043 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16045 # Probe for host-specific support if no specific model is specified.
16046 # Default to "new".
16047 if test $enable_libstdcxx_allocator_flag = auto; then
16048 case ${target_os} in
16049 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16050 enable_libstdcxx_allocator_flag=new
16053 enable_libstdcxx_allocator_flag=new
16055 esac
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16058 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16061 # Set configure bits for specified locale package
16062 case ${enable_libstdcxx_allocator_flag} in
16063 bitmap)
16064 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16065 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16067 malloc)
16068 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16069 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16072 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16073 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16075 new)
16076 ALLOCATOR_H=config/allocator/new_allocator_base.h
16077 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16079 pool)
16080 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16081 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16083 esac
16089 # Check whether --enable-cheaders was given.
16090 if test "${enable_cheaders+set}" = set; then :
16091 enableval=$enable_cheaders;
16092 case "$enableval" in
16093 c|c_std|c_global) ;;
16094 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16095 esac
16097 else
16098 enable_cheaders=$c_model
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16103 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16105 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16107 # Allow overrides to configure.host here.
16108 if test $enable_cheaders = c_global; then
16109 c_compatibility=yes
16118 # Check whether --enable-long-long was given.
16119 if test "${enable_long_long+set}" = set; then :
16120 enableval=$enable_long_long;
16121 case "$enableval" in
16122 yes|no) ;;
16123 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16124 esac
16126 else
16127 enable_long_long=yes
16131 if test $enable_long_long = yes; then
16133 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16137 $as_echo_n "checking for enabled long long specializations... " >&6; }
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16139 $as_echo "$enable_long_long" >&6; }
16142 # Check whether --enable-wchar_t was given.
16143 if test "${enable_wchar_t+set}" = set; then :
16144 enableval=$enable_wchar_t;
16145 case "$enableval" in
16146 yes|no) ;;
16147 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16148 esac
16150 else
16151 enable_wchar_t=yes
16156 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16157 for ac_header in wchar.h
16158 do :
16159 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16160 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_WCHAR_H 1
16163 _ACEOF
16164 ac_has_wchar_h=yes
16165 else
16166 ac_has_wchar_h=no
16169 done
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16172 $as_echo_n "checking for mbstate_t... " >&6; }
16173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16175 #include <wchar.h>
16177 main ()
16179 mbstate_t teststate;
16181 return 0;
16183 _ACEOF
16184 if ac_fn_c_try_compile "$LINENO"; then :
16185 have_mbstate_t=yes
16186 else
16187 have_mbstate_t=no
16189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16191 $as_echo "$have_mbstate_t" >&6; }
16192 if test x"$have_mbstate_t" = xyes; then
16194 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16198 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16199 # ac_has_wchar_h.
16200 for ac_header in wctype.h
16201 do :
16202 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16203 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16204 cat >>confdefs.h <<_ACEOF
16205 #define HAVE_WCTYPE_H 1
16206 _ACEOF
16207 ac_has_wctype_h=yes
16208 else
16209 ac_has_wctype_h=no
16212 done
16215 if test x"$enable_wchar_t" = x"yes"; then
16218 ac_ext=cpp
16219 ac_cpp='$CXXCPP $CPPFLAGS'
16220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16225 if test x"$ac_has_wchar_h" = xyes &&
16226 test x"$ac_has_wctype_h" = xyes; then
16227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h. */
16229 #include <wchar.h>
16230 #include <stddef.h>
16231 wint_t i;
16232 long l = WEOF;
16233 long j = WCHAR_MIN;
16234 long k = WCHAR_MAX;
16235 namespace test
16237 using ::btowc;
16238 using ::fgetwc;
16239 using ::fgetws;
16240 using ::fputwc;
16241 using ::fputws;
16242 using ::fwide;
16243 using ::fwprintf;
16244 using ::fwscanf;
16245 using ::getwc;
16246 using ::getwchar;
16247 using ::mbrlen;
16248 using ::mbrtowc;
16249 using ::mbsinit;
16250 using ::mbsrtowcs;
16251 using ::putwc;
16252 using ::putwchar;
16253 using ::swprintf;
16254 using ::swscanf;
16255 using ::ungetwc;
16256 using ::vfwprintf;
16257 using ::vswprintf;
16258 using ::vwprintf;
16259 using ::wcrtomb;
16260 using ::wcscat;
16261 using ::wcschr;
16262 using ::wcscmp;
16263 using ::wcscoll;
16264 using ::wcscpy;
16265 using ::wcscspn;
16266 using ::wcsftime;
16267 using ::wcslen;
16268 using ::wcsncat;
16269 using ::wcsncmp;
16270 using ::wcsncpy;
16271 using ::wcspbrk;
16272 using ::wcsrchr;
16273 using ::wcsrtombs;
16274 using ::wcsspn;
16275 using ::wcsstr;
16276 using ::wcstod;
16277 using ::wcstok;
16278 using ::wcstol;
16279 using ::wcstoul;
16280 using ::wcsxfrm;
16281 using ::wctob;
16282 using ::wmemchr;
16283 using ::wmemcmp;
16284 using ::wmemcpy;
16285 using ::wmemmove;
16286 using ::wmemset;
16287 using ::wprintf;
16288 using ::wscanf;
16292 main ()
16296 return 0;
16298 _ACEOF
16299 if ac_fn_cxx_try_compile "$LINENO"; then :
16301 else
16302 enable_wchar_t=no
16304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16305 else
16306 enable_wchar_t=no
16309 ac_ext=c
16310 ac_cpp='$CPP $CPPFLAGS'
16311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16317 if test x"$enable_wchar_t" = x"yes"; then
16319 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16324 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16326 $as_echo "$enable_wchar_t" >&6; }
16330 # Check whether --enable-c99 was given.
16331 if test "${enable_c99+set}" = set; then :
16332 enableval=$enable_c99;
16333 case "$enableval" in
16334 yes|no) ;;
16335 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16336 esac
16338 else
16339 enable_c99=yes
16344 if test x"$enable_c99" = x"yes"; then
16347 ac_ext=cpp
16348 ac_cpp='$CXXCPP $CPPFLAGS'
16349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16354 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16355 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16356 # spuriously enabled.
16357 # Long term, -std=c++0x could be even better, could manage to explicitely
16358 # request C99 facilities to the underlying C headers.
16359 ac_save_CXXFLAGS="$CXXFLAGS"
16360 CXXFLAGS="$CXXFLAGS -std=c++98"
16361 ac_save_LIBS="$LIBS"
16362 ac_save_gcc_no_link="$gcc_no_link"
16364 if test x$gcc_no_link != xyes; then
16365 # Use -fno-exceptions to that the C driver can link these tests without
16366 # hitting undefined references to personality routines.
16367 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16369 $as_echo_n "checking for sin in -lm... " >&6; }
16370 if test "${ac_cv_lib_m_sin+set}" = set; then :
16371 $as_echo_n "(cached) " >&6
16372 else
16373 ac_check_lib_save_LIBS=$LIBS
16374 LIBS="-lm $LIBS"
16375 if test x$gcc_no_link = xyes; then
16376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16381 /* Override any GCC internal prototype to avoid an error.
16382 Use char because int might match the return type of a GCC
16383 builtin and then its argument prototype would still apply. */
16384 #ifdef __cplusplus
16385 extern "C"
16386 #endif
16387 char sin ();
16389 main ()
16391 return sin ();
16393 return 0;
16395 _ACEOF
16396 if ac_fn_cxx_try_link "$LINENO"; then :
16397 ac_cv_lib_m_sin=yes
16398 else
16399 ac_cv_lib_m_sin=no
16401 rm -f core conftest.err conftest.$ac_objext \
16402 conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_lib_save_LIBS
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16406 $as_echo "$ac_cv_lib_m_sin" >&6; }
16407 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16409 LIBS="$LIBS -lm"
16411 else
16413 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16414 gcc_no_link=yes
16420 # Check for the existence of <math.h> functions used if C99 is enabled.
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16422 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16423 if test "${glibcxx_cv_c99_math+set}" = set; then :
16424 $as_echo_n "(cached) " >&6
16425 else
16427 if test x$gcc_no_link = xyes; then
16428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16430 #include <math.h>
16431 volatile double d1, d2;
16432 volatile int i;
16434 main ()
16436 i = fpclassify(d1);
16437 i = isfinite(d1);
16438 i = isinf(d1);
16439 i = isnan(d1);
16440 i = isnormal(d1);
16441 i = signbit(d1);
16442 i = isgreater(d1, d2);
16443 i = isgreaterequal(d1, d2);
16444 i = isless(d1, d2);
16445 i = islessequal(d1, d2);
16446 i = islessgreater(d1, d2);
16447 i = islessgreater(d1, d2);
16448 i = isunordered(d1, d2);
16451 return 0;
16453 _ACEOF
16454 if ac_fn_cxx_try_compile "$LINENO"; then :
16455 glibcxx_cv_c99_math=yes
16456 else
16457 glibcxx_cv_c99_math=no
16459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16460 else
16461 if test x$gcc_no_link = xyes; then
16462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16465 /* end confdefs.h. */
16466 #include <math.h>
16467 volatile double d1, d2;
16468 volatile int i;
16470 main ()
16472 i = fpclassify(d1);
16473 i = isfinite(d1);
16474 i = isinf(d1);
16475 i = isnan(d1);
16476 i = isnormal(d1);
16477 i = signbit(d1);
16478 i = isgreater(d1, d2);
16479 i = isgreaterequal(d1, d2);
16480 i = isless(d1, d2);
16481 i = islessequal(d1, d2);
16482 i = islessgreater(d1, d2);
16483 i = islessgreater(d1, d2);
16484 i = isunordered(d1, d2);
16487 return 0;
16489 _ACEOF
16490 if ac_fn_cxx_try_link "$LINENO"; then :
16491 glibcxx_cv_c99_math=yes
16492 else
16493 glibcxx_cv_c99_math=no
16495 rm -f core conftest.err conftest.$ac_objext \
16496 conftest$ac_exeext conftest.$ac_ext
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16502 $as_echo "$glibcxx_cv_c99_math" >&6; }
16503 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16505 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16509 # Check for the existence of <complex.h> complex math functions.
16510 # This is necessary even though libstdc++ uses the builtin versions
16511 # of these functions, because if the builtin cannot be used, a reference
16512 # to the library function is emitted.
16513 for ac_header in tgmath.h
16514 do :
16515 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16516 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16517 cat >>confdefs.h <<_ACEOF
16518 #define HAVE_TGMATH_H 1
16519 _ACEOF
16520 ac_has_tgmath_h=yes
16521 else
16522 ac_has_tgmath_h=no
16525 done
16527 for ac_header in complex.h
16528 do :
16529 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16530 if test "x$ac_cv_header_complex_h" = x""yes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_COMPLEX_H 1
16533 _ACEOF
16534 ac_has_complex_h=yes
16535 else
16536 ac_has_complex_h=no
16539 done
16541 glibcxx_cv_c99_complex=no;
16542 if test x"$ac_has_complex_h" = x"yes"; then
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16544 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16545 if test x$gcc_no_link = xyes; then
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16548 #include <complex.h>
16549 typedef __complex__ float float_type;
16550 typedef __complex__ double double_type;
16551 typedef __complex__ long double ld_type;
16552 volatile float_type tmpf;
16553 volatile double_type tmpd;
16554 volatile ld_type tmpld;
16555 volatile float f;
16556 volatile double d;
16557 volatile long double ld;
16559 main ()
16561 f = cabsf(tmpf);
16562 f = cargf(tmpf);
16563 tmpf = ccosf(tmpf);
16564 tmpf = ccoshf(tmpf);
16565 tmpf = cexpf(tmpf);
16566 tmpf = clogf(tmpf);
16567 tmpf = csinf(tmpf);
16568 tmpf = csinhf(tmpf);
16569 tmpf = csqrtf(tmpf);
16570 tmpf = ctanf(tmpf);
16571 tmpf = ctanhf(tmpf);
16572 tmpf = cpowf(tmpf, tmpf);
16573 tmpf = cprojf(tmpf);
16574 d = cabs(tmpd);
16575 d = carg(tmpd);
16576 tmpd = ccos(tmpd);
16577 tmpd = ccosh(tmpd);
16578 tmpd = cexp(tmpd);
16579 tmpd = clog(tmpd);
16580 tmpd = csin(tmpd);
16581 tmpd = csinh(tmpd);
16582 tmpd = csqrt(tmpd);
16583 tmpd = ctan(tmpd);
16584 tmpd = ctanh(tmpd);
16585 tmpd = cpow(tmpd, tmpd);
16586 tmpd = cproj(tmpd);
16587 ld = cabsl(tmpld);
16588 ld = cargl(tmpld);
16589 tmpld = ccosl(tmpld);
16590 tmpld = ccoshl(tmpld);
16591 tmpld = cexpl(tmpld);
16592 tmpld = clogl(tmpld);
16593 tmpld = csinl(tmpld);
16594 tmpld = csinhl(tmpld);
16595 tmpld = csqrtl(tmpld);
16596 tmpld = ctanl(tmpld);
16597 tmpld = ctanhl(tmpld);
16598 tmpld = cpowl(tmpld, tmpld);
16599 tmpld = cprojl(tmpld);
16602 return 0;
16604 _ACEOF
16605 if ac_fn_cxx_try_compile "$LINENO"; then :
16606 glibcxx_cv_c99_complex=yes
16607 else
16608 glibcxx_cv_c99_complex=no
16610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16611 else
16612 if test x$gcc_no_link = xyes; then
16613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16616 /* end confdefs.h. */
16617 #include <complex.h>
16618 typedef __complex__ float float_type;
16619 typedef __complex__ double double_type;
16620 typedef __complex__ long double ld_type;
16621 volatile float_type tmpf;
16622 volatile double_type tmpd;
16623 volatile ld_type tmpld;
16624 volatile float f;
16625 volatile double d;
16626 volatile long double ld;
16628 main ()
16630 f = cabsf(tmpf);
16631 f = cargf(tmpf);
16632 tmpf = ccosf(tmpf);
16633 tmpf = ccoshf(tmpf);
16634 tmpf = cexpf(tmpf);
16635 tmpf = clogf(tmpf);
16636 tmpf = csinf(tmpf);
16637 tmpf = csinhf(tmpf);
16638 tmpf = csqrtf(tmpf);
16639 tmpf = ctanf(tmpf);
16640 tmpf = ctanhf(tmpf);
16641 tmpf = cpowf(tmpf, tmpf);
16642 tmpf = cprojf(tmpf);
16643 d = cabs(tmpd);
16644 d = carg(tmpd);
16645 tmpd = ccos(tmpd);
16646 tmpd = ccosh(tmpd);
16647 tmpd = cexp(tmpd);
16648 tmpd = clog(tmpd);
16649 tmpd = csin(tmpd);
16650 tmpd = csinh(tmpd);
16651 tmpd = csqrt(tmpd);
16652 tmpd = ctan(tmpd);
16653 tmpd = ctanh(tmpd);
16654 tmpd = cpow(tmpd, tmpd);
16655 tmpd = cproj(tmpd);
16656 ld = cabsl(tmpld);
16657 ld = cargl(tmpld);
16658 tmpld = ccosl(tmpld);
16659 tmpld = ccoshl(tmpld);
16660 tmpld = cexpl(tmpld);
16661 tmpld = clogl(tmpld);
16662 tmpld = csinl(tmpld);
16663 tmpld = csinhl(tmpld);
16664 tmpld = csqrtl(tmpld);
16665 tmpld = ctanl(tmpld);
16666 tmpld = ctanhl(tmpld);
16667 tmpld = cpowl(tmpld, tmpld);
16668 tmpld = cprojl(tmpld);
16671 return 0;
16673 _ACEOF
16674 if ac_fn_cxx_try_link "$LINENO"; then :
16675 glibcxx_cv_c99_complex=yes
16676 else
16677 glibcxx_cv_c99_complex=no
16679 rm -f core conftest.err conftest.$ac_objext \
16680 conftest$ac_exeext conftest.$ac_ext
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16684 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16685 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16687 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16691 # Check for the existence in <stdio.h> of vscanf, et. al.
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16693 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16694 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16695 $as_echo_n "(cached) " >&6
16696 else
16698 if test x$gcc_no_link = xyes; then
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16701 #include <stdio.h>
16702 #include <stdarg.h>
16703 void foo(char* fmt, ...)
16705 va_list args; va_start(args, fmt);
16706 vfscanf(stderr, "%i", args);
16707 vscanf("%i", args);
16708 vsnprintf(fmt, 0, "%i", args);
16709 vsscanf(fmt, "%i", args);
16712 main ()
16714 snprintf("12", 0, "%i");
16716 return 0;
16718 _ACEOF
16719 if ac_fn_cxx_try_compile "$LINENO"; then :
16720 glibcxx_cv_c99_stdio=yes
16721 else
16722 glibcxx_cv_c99_stdio=no
16724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16725 else
16726 if test x$gcc_no_link = xyes; then
16727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16730 /* end confdefs.h. */
16731 #include <stdio.h>
16732 #include <stdarg.h>
16733 void foo(char* fmt, ...)
16735 va_list args; va_start(args, fmt);
16736 vfscanf(stderr, "%i", args);
16737 vscanf("%i", args);
16738 vsnprintf(fmt, 0, "%i", args);
16739 vsscanf(fmt, "%i", args);
16742 main ()
16744 snprintf("12", 0, "%i");
16746 return 0;
16748 _ACEOF
16749 if ac_fn_cxx_try_link "$LINENO"; then :
16750 glibcxx_cv_c99_stdio=yes
16751 else
16752 glibcxx_cv_c99_stdio=no
16754 rm -f core conftest.err conftest.$ac_objext \
16755 conftest$ac_exeext conftest.$ac_ext
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16761 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16763 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16765 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16766 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16767 $as_echo_n "(cached) " >&6
16768 else
16770 if test x$gcc_no_link = xyes; then
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16773 #include <stdlib.h>
16774 volatile float f;
16775 volatile long double ld;
16776 volatile unsigned long long ll;
16777 lldiv_t mydivt;
16779 main ()
16781 char* tmp;
16782 f = strtof("gnu", &tmp);
16783 ld = strtold("gnu", &tmp);
16784 ll = strtoll("gnu", &tmp, 10);
16785 ll = strtoull("gnu", &tmp, 10);
16786 ll = llabs(10);
16787 mydivt = lldiv(10,1);
16788 ll = mydivt.quot;
16789 ll = mydivt.rem;
16790 ll = atoll("10");
16791 _Exit(0);
16794 return 0;
16796 _ACEOF
16797 if ac_fn_cxx_try_compile "$LINENO"; then :
16798 glibcxx_cv_c99_stdlib=yes
16799 else
16800 glibcxx_cv_c99_stdlib=no
16802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16803 else
16804 if test x$gcc_no_link = xyes; then
16805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16809 #include <stdlib.h>
16810 volatile float f;
16811 volatile long double ld;
16812 volatile unsigned long long ll;
16813 lldiv_t mydivt;
16815 main ()
16817 char* tmp;
16818 f = strtof("gnu", &tmp);
16819 ld = strtold("gnu", &tmp);
16820 ll = strtoll("gnu", &tmp, 10);
16821 ll = strtoull("gnu", &tmp, 10);
16822 ll = llabs(10);
16823 mydivt = lldiv(10,1);
16824 ll = mydivt.quot;
16825 ll = mydivt.rem;
16826 ll = atoll("10");
16827 _Exit(0);
16830 return 0;
16832 _ACEOF
16833 if ac_fn_cxx_try_link "$LINENO"; then :
16834 glibcxx_cv_c99_stdlib=yes
16835 else
16836 glibcxx_cv_c99_stdlib=no
16838 rm -f core conftest.err conftest.$ac_objext \
16839 conftest$ac_exeext conftest.$ac_ext
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16845 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16847 # Check for the existence in <wchar.h> of wcstold, etc.
16848 glibcxx_cv_c99_wchar=no;
16849 if test x"$ac_has_wchar_h" = xyes &&
16850 test x"$ac_has_wctype_h" = xyes; then
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16852 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16855 #include <wchar.h>
16856 namespace test
16858 using ::wcstold;
16859 using ::wcstoll;
16860 using ::wcstoull;
16864 main ()
16868 return 0;
16870 _ACEOF
16871 if ac_fn_cxx_try_compile "$LINENO"; then :
16872 glibcxx_cv_c99_wchar=yes
16873 else
16874 glibcxx_cv_c99_wchar=no
16876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 # Checks for wide character functions that may not be present.
16879 # Injection of these is wrapped with guard macros.
16880 # NB: only put functions here, instead of immediately above, if
16881 # absolutely necessary.
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16884 #include <wchar.h>
16885 namespace test { using ::vfwscanf; }
16887 main ()
16891 return 0;
16893 _ACEOF
16894 if ac_fn_cxx_try_compile "$LINENO"; then :
16896 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #include <wchar.h>
16904 namespace test { using ::vswscanf; }
16906 main ()
16910 return 0;
16912 _ACEOF
16913 if ac_fn_cxx_try_compile "$LINENO"; then :
16915 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16922 #include <wchar.h>
16923 namespace test { using ::vwscanf; }
16925 main ()
16929 return 0;
16931 _ACEOF
16932 if ac_fn_cxx_try_compile "$LINENO"; then :
16934 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h. */
16941 #include <wchar.h>
16942 namespace test { using ::wcstof; }
16944 main ()
16948 return 0;
16950 _ACEOF
16951 if ac_fn_cxx_try_compile "$LINENO"; then :
16953 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 #include <wctype.h>
16962 main ()
16964 wint_t t; int i = iswblank(t);
16966 return 0;
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16971 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16977 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16980 # Option parsed, now set things appropriately.
16981 if test x"$glibcxx_cv_c99_math" = x"no" ||
16982 test x"$glibcxx_cv_c99_complex" = x"no" ||
16983 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16984 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16985 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16986 enable_c99=no;
16987 else
16989 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16993 gcc_no_link="$ac_save_gcc_no_link"
16994 LIBS="$ac_save_LIBS"
16995 CXXFLAGS="$ac_save_CXXFLAGS"
16996 ac_ext=c
16997 ac_cpp='$CPP $CPPFLAGS'
16998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17005 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17007 $as_echo "$enable_c99" >&6; }
17010 # Check whether --enable-concept-checks was given.
17011 if test "${enable_concept_checks+set}" = set; then :
17012 enableval=$enable_concept_checks;
17013 case "$enableval" in
17014 yes|no) ;;
17015 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17016 esac
17018 else
17019 enable_concept_checks=no
17023 if test $enable_concept_checks = yes; then
17025 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17030 # Check whether --enable-libstdcxx-debug-flags was given.
17031 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17032 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17033 xno | x) enable_libstdcxx_debug_flags= ;;
17034 x-*) ;;
17035 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17036 esac
17037 else
17038 enable_libstdcxx_debug_flags="-g3 -O0"
17043 # Option parsed, now set things appropriately
17044 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17048 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17052 $as_echo_n "checking for additional debug build... " >&6; }
17053 # Check whether --enable-libstdcxx-debug was given.
17054 if test "${enable_libstdcxx_debug+set}" = set; then :
17055 enableval=$enable_libstdcxx_debug;
17056 case "$enableval" in
17057 yes|no) ;;
17058 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17059 esac
17061 else
17062 enable_libstdcxx_debug=no
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17067 $as_echo "$enable_libstdcxx_debug" >&6; }
17072 enable_parallel=no;
17074 # See if configured libgomp/omp.h exists. (libgomp may be in
17075 # noconfigdirs but not explicitly disabled.)
17076 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17077 enable_parallel=yes;
17078 else
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17080 $as_echo "$as_me: target-libgomp not built" >&6;}
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17084 $as_echo_n "checking for parallel mode support... " >&6; }
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17086 $as_echo "$enable_parallel" >&6; }
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17090 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17091 # Check whether --enable-cxx-flags was given.
17092 if test "${enable_cxx_flags+set}" = set; then :
17093 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17094 xno | x) enable_cxx_flags= ;;
17095 x-*) ;;
17096 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17097 esac
17098 else
17099 enable_cxx_flags=
17104 # Run through flags (either default or command-line) and set anything
17105 # extra (e.g., #defines) that must accompany particular g++ options.
17106 if test -n "$enable_cxx_flags"; then
17107 for f in $enable_cxx_flags; do
17108 case "$f" in
17109 -fhonor-std) ;;
17110 -*) ;;
17111 *) # and we're trying to pass /what/ exactly?
17112 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17113 esac
17114 done
17117 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17119 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17123 # Check whether --enable-fully-dynamic-string was given.
17124 if test "${enable_fully_dynamic_string+set}" = set; then :
17125 enableval=$enable_fully_dynamic_string;
17126 case "$enableval" in
17127 yes|no) ;;
17128 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17129 esac
17131 else
17132 enable_fully_dynamic_string=no
17136 if test $enable_fully_dynamic_string = yes; then
17138 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17144 # Check whether --enable-extern-template was given.
17145 if test "${enable_extern_template+set}" = set; then :
17146 enableval=$enable_extern_template;
17147 case "$enableval" in
17148 yes|no) ;;
17149 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17150 esac
17152 else
17153 enable_extern_template=yes
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17159 $as_echo_n "checking for extern template support... " >&6; }
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17161 $as_echo "$enable_extern_template" >&6; }
17166 # Checks for operating systems support that doesn't require linking.
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17170 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17171 if test "${glibcxx_cv_system_error1+set}" = set; then :
17172 $as_echo_n "(cached) " >&6
17173 else
17175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h. */
17177 #include <errno.h>
17179 main ()
17181 int i = EOWNERDEAD;
17183 return 0;
17185 _ACEOF
17186 if ac_fn_c_try_compile "$LINENO"; then :
17187 glibcxx_cv_system_error1=yes
17188 else
17189 glibcxx_cv_system_error1=no
17191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17196 $as_echo "$glibcxx_cv_system_error1" >&6; }
17197 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17199 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17203 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17204 if test "${glibcxx_cv_system_error2+set}" = set; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 #include <errno.h>
17212 main ()
17214 int i = ENOTRECOVERABLE;
17216 return 0;
17218 _ACEOF
17219 if ac_fn_c_try_compile "$LINENO"; then :
17220 glibcxx_cv_system_error2=yes
17221 else
17222 glibcxx_cv_system_error2=no
17224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17229 $as_echo "$glibcxx_cv_system_error2" >&6; }
17230 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17232 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17236 $as_echo_n "checking for ENOLINK... " >&6; }
17237 if test "${glibcxx_cv_system_error3+set}" = set; then :
17238 $as_echo_n "(cached) " >&6
17239 else
17241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h. */
17243 #include <errno.h>
17245 main ()
17247 int i = ENOLINK;
17249 return 0;
17251 _ACEOF
17252 if ac_fn_c_try_compile "$LINENO"; then :
17253 glibcxx_cv_system_error3=yes
17254 else
17255 glibcxx_cv_system_error3=no
17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17262 $as_echo "$glibcxx_cv_system_error3" >&6; }
17263 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17265 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17269 $as_echo_n "checking for EPROTO... " >&6; }
17270 if test "${glibcxx_cv_system_error4+set}" = set; then :
17271 $as_echo_n "(cached) " >&6
17272 else
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17276 #include <errno.h>
17278 main ()
17280 int i = EPROTO;
17282 return 0;
17284 _ACEOF
17285 if ac_fn_c_try_compile "$LINENO"; then :
17286 glibcxx_cv_system_error4=yes
17287 else
17288 glibcxx_cv_system_error4=no
17290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17295 $as_echo "$glibcxx_cv_system_error4" >&6; }
17296 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17298 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17302 $as_echo_n "checking for ENODATA... " >&6; }
17303 if test "${glibcxx_cv_system_error5+set}" = set; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #include <errno.h>
17311 main ()
17313 int i = ENODATA;
17315 return 0;
17317 _ACEOF
17318 if ac_fn_c_try_compile "$LINENO"; then :
17319 glibcxx_cv_system_error5=yes
17320 else
17321 glibcxx_cv_system_error5=no
17323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17328 $as_echo "$glibcxx_cv_system_error5" >&6; }
17329 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17331 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17335 $as_echo_n "checking for ENOSR... " >&6; }
17336 if test "${glibcxx_cv_system_error6+set}" = set; then :
17337 $as_echo_n "(cached) " >&6
17338 else
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17342 #include <errno.h>
17344 main ()
17346 int i = ENOSR;
17348 return 0;
17350 _ACEOF
17351 if ac_fn_c_try_compile "$LINENO"; then :
17352 glibcxx_cv_system_error6=yes
17353 else
17354 glibcxx_cv_system_error6=no
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17361 $as_echo "$glibcxx_cv_system_error6" >&6; }
17362 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17364 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17368 $as_echo_n "checking for ENOSTR... " >&6; }
17369 if test "${glibcxx_cv_system_error7+set}" = set; then :
17370 $as_echo_n "(cached) " >&6
17371 else
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17375 #include <errno.h>
17377 main ()
17379 int i = ENOSTR;
17381 return 0;
17383 _ACEOF
17384 if ac_fn_c_try_compile "$LINENO"; then :
17385 glibcxx_cv_system_error7=yes
17386 else
17387 glibcxx_cv_system_error7=no
17389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17394 $as_echo "$glibcxx_cv_system_error7" >&6; }
17395 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17397 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17401 $as_echo_n "checking for ETIME... " >&6; }
17402 if test "${glibcxx_cv_system_error8+set}" = set; then :
17403 $as_echo_n "(cached) " >&6
17404 else
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17408 #include <errno.h>
17410 main ()
17412 int i = ETIME;
17414 return 0;
17416 _ACEOF
17417 if ac_fn_c_try_compile "$LINENO"; then :
17418 glibcxx_cv_system_error8=yes
17419 else
17420 glibcxx_cv_system_error8=no
17422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17427 $as_echo "$glibcxx_cv_system_error8" >&6; }
17428 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17430 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17434 $as_echo_n "checking for EBADMSG... " >&6; }
17435 if test "${glibcxx_cv_system_error9+set}" = set; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17441 #include <errno.h>
17443 main ()
17445 int i = EBADMSG;
17447 return 0;
17449 _ACEOF
17450 if ac_fn_c_try_compile "$LINENO"; then :
17451 glibcxx_cv_system_error9=yes
17452 else
17453 glibcxx_cv_system_error9=no
17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17460 $as_echo "$glibcxx_cv_system_error9" >&6; }
17461 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17463 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17467 $as_echo_n "checking for ECANCELED... " >&6; }
17468 if test "${glibcxx_cv_system_error10+set}" = set; then :
17469 $as_echo_n "(cached) " >&6
17470 else
17472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h. */
17474 #include <errno.h>
17476 main ()
17478 int i = ECANCELED;
17480 return 0;
17482 _ACEOF
17483 if ac_fn_c_try_compile "$LINENO"; then :
17484 glibcxx_cv_system_error10=yes
17485 else
17486 glibcxx_cv_system_error10=no
17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17493 $as_echo "$glibcxx_cv_system_error10" >&6; }
17494 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17496 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17500 $as_echo_n "checking for EOVERFLOW... " >&6; }
17501 if test "${glibcxx_cv_system_error11+set}" = set; then :
17502 $as_echo_n "(cached) " >&6
17503 else
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17507 #include <errno.h>
17509 main ()
17511 int i = EOVERFLOW;
17513 return 0;
17515 _ACEOF
17516 if ac_fn_c_try_compile "$LINENO"; then :
17517 glibcxx_cv_system_error11=yes
17518 else
17519 glibcxx_cv_system_error11=no
17521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17526 $as_echo "$glibcxx_cv_system_error11" >&6; }
17527 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17529 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17533 $as_echo_n "checking for ENOTSUP... " >&6; }
17534 if test "${glibcxx_cv_system_error12+set}" = set; then :
17535 $as_echo_n "(cached) " >&6
17536 else
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h. */
17540 #include <errno.h>
17542 main ()
17544 int i = ENOTSUP;
17546 return 0;
17548 _ACEOF
17549 if ac_fn_c_try_compile "$LINENO"; then :
17550 glibcxx_cv_system_error12=yes
17551 else
17552 glibcxx_cv_system_error12=no
17554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17559 $as_echo "$glibcxx_cv_system_error12" >&6; }
17560 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17562 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17566 $as_echo_n "checking for EIDRM... " >&6; }
17567 if test "${glibcxx_cv_system_error13+set}" = set; then :
17568 $as_echo_n "(cached) " >&6
17569 else
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17573 #include <errno.h>
17575 main ()
17577 int i = EIDRM;
17579 return 0;
17581 _ACEOF
17582 if ac_fn_c_try_compile "$LINENO"; then :
17583 glibcxx_cv_system_error13=yes
17584 else
17585 glibcxx_cv_system_error13=no
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17592 $as_echo "$glibcxx_cv_system_error13" >&6; }
17593 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17595 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17599 $as_echo_n "checking for ETXTBSY... " >&6; }
17600 if test "${glibcxx_cv_system_error14+set}" = set; then :
17601 $as_echo_n "(cached) " >&6
17602 else
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 #include <errno.h>
17608 main ()
17610 int i = ETXTBSY;
17612 return 0;
17614 _ACEOF
17615 if ac_fn_c_try_compile "$LINENO"; then :
17616 glibcxx_cv_system_error14=yes
17617 else
17618 glibcxx_cv_system_error14=no
17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17625 $as_echo "$glibcxx_cv_system_error14" >&6; }
17626 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17628 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17634 # For the streamoff typedef.
17638 ac_ext=cpp
17639 ac_cpp='$CXXCPP $CPPFLAGS'
17640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17646 $as_echo_n "checking for int64_t... " >&6; }
17647 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17648 $as_echo_n "(cached) " >&6
17649 else
17651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17652 /* end confdefs.h. */
17653 #include <stdint.h>
17655 main ()
17657 int64_t var;
17659 return 0;
17661 _ACEOF
17662 if ac_fn_cxx_try_compile "$LINENO"; then :
17663 glibcxx_cv_INT64_T=yes
17664 else
17665 glibcxx_cv_INT64_T=no
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17672 if test $glibcxx_cv_INT64_T = yes; then
17674 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17677 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17680 $as_echo_n "checking for int64_t as long... " >&6; }
17681 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17682 $as_echo_n "(cached) " >&6
17683 else
17685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17687 #include <stdint.h>
17688 template<typename, typename> struct same { enum { value = -1 }; };
17689 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17690 int array[same<int64_t, long>::value];
17692 main ()
17696 return 0;
17698 _ACEOF
17699 if ac_fn_cxx_try_compile "$LINENO"; then :
17700 glibcxx_cv_int64_t_long=yes
17701 else
17702 glibcxx_cv_int64_t_long=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17709 if test $glibcxx_cv_int64_t_long = yes; then
17711 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17714 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17718 $as_echo_n "checking for int64_t as long long... " >&6; }
17719 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17720 $as_echo_n "(cached) " >&6
17721 else
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 #include <stdint.h>
17726 template<typename, typename> struct same { enum { value = -1 }; };
17727 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17728 int array[same<int64_t, long long>::value];
17730 main ()
17734 return 0;
17736 _ACEOF
17737 if ac_fn_cxx_try_compile "$LINENO"; then :
17738 glibcxx_cv_int64_t_long_long=yes
17739 else
17740 glibcxx_cv_int64_t_long_long=no
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17747 if test $glibcxx_cv_int64_t_long_long = yes; then
17749 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17752 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17756 ac_ext=c
17757 ac_cpp='$CPP $CPPFLAGS'
17758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17764 # For LFS support.
17767 ac_ext=cpp
17768 ac_cpp='$CXXCPP $CPPFLAGS'
17769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17773 ac_save_CXXFLAGS="$CXXFLAGS"
17774 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17776 $as_echo_n "checking for LFS support... " >&6; }
17777 if test "${glibcxx_cv_LFS+set}" = set; then :
17778 $as_echo_n "(cached) " >&6
17779 else
17781 if test x$gcc_no_link = xyes; then
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17784 #include <unistd.h>
17785 #include <stdio.h>
17786 #include <sys/stat.h>
17789 main ()
17791 FILE* fp;
17792 fopen64("t", "w");
17793 fseeko64(fp, 0, SEEK_CUR);
17794 ftello64(fp);
17795 lseek64(1, 0, SEEK_CUR);
17796 struct stat64 buf;
17797 fstat64(1, &buf);
17799 return 0;
17801 _ACEOF
17802 if ac_fn_cxx_try_compile "$LINENO"; then :
17803 glibcxx_cv_LFS=yes
17804 else
17805 glibcxx_cv_LFS=no
17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 else
17809 if test x$gcc_no_link = xyes; then
17810 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h. */
17814 #include <unistd.h>
17815 #include <stdio.h>
17816 #include <sys/stat.h>
17819 main ()
17821 FILE* fp;
17822 fopen64("t", "w");
17823 fseeko64(fp, 0, SEEK_CUR);
17824 ftello64(fp);
17825 lseek64(1, 0, SEEK_CUR);
17826 struct stat64 buf;
17827 fstat64(1, &buf);
17829 return 0;
17831 _ACEOF
17832 if ac_fn_cxx_try_link "$LINENO"; then :
17833 glibcxx_cv_LFS=yes
17834 else
17835 glibcxx_cv_LFS=no
17837 rm -f core conftest.err conftest.$ac_objext \
17838 conftest$ac_exeext conftest.$ac_ext
17843 if test $glibcxx_cv_LFS = yes; then
17845 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17849 $as_echo "$glibcxx_cv_LFS" >&6; }
17850 CXXFLAGS="$ac_save_CXXFLAGS"
17851 ac_ext=c
17852 ac_cpp='$CPP $CPPFLAGS'
17853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17859 # For showmanyc_helper().
17860 for ac_header in sys/ioctl.h sys/filio.h
17861 do :
17862 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17863 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17864 eval as_val=\$$as_ac_Header
17865 if test "x$as_val" = x""yes; then :
17866 cat >>confdefs.h <<_ACEOF
17867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17868 _ACEOF
17872 done
17877 ac_ext=cpp
17878 ac_cpp='$CXXCPP $CPPFLAGS'
17879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17883 ac_save_CXXFLAGS="$CXXFLAGS"
17884 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17887 $as_echo_n "checking for poll... " >&6; }
17888 if test "${glibcxx_cv_POLL+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17892 if test x$gcc_no_link = xyes; then
17893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17895 #include <poll.h>
17897 main ()
17899 struct pollfd pfd[1];
17900 pfd[0].events = POLLIN;
17901 poll(pfd, 1, 0);
17903 return 0;
17905 _ACEOF
17906 if ac_fn_cxx_try_compile "$LINENO"; then :
17907 glibcxx_cv_POLL=yes
17908 else
17909 glibcxx_cv_POLL=no
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912 else
17913 if test x$gcc_no_link = xyes; then
17914 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17917 /* end confdefs.h. */
17918 #include <poll.h>
17920 main ()
17922 struct pollfd pfd[1];
17923 pfd[0].events = POLLIN;
17924 poll(pfd, 1, 0);
17926 return 0;
17928 _ACEOF
17929 if ac_fn_cxx_try_link "$LINENO"; then :
17930 glibcxx_cv_POLL=yes
17931 else
17932 glibcxx_cv_POLL=no
17934 rm -f core conftest.err conftest.$ac_objext \
17935 conftest$ac_exeext conftest.$ac_ext
17940 if test $glibcxx_cv_POLL = yes; then
17942 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17946 $as_echo "$glibcxx_cv_POLL" >&6; }
17948 CXXFLAGS="$ac_save_CXXFLAGS"
17949 ac_ext=c
17950 ac_cpp='$CPP $CPPFLAGS'
17951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17959 ac_ext=cpp
17960 ac_cpp='$CXXCPP $CPPFLAGS'
17961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17965 ac_save_CXXFLAGS="$CXXFLAGS"
17966 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17969 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17970 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17974 if test x$gcc_no_link = xyes; then
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 #include <sys/stat.h>
17979 main ()
17981 struct stat buffer;
17982 fstat(0, &buffer);
17983 S_ISREG(buffer.st_mode);
17985 return 0;
17987 _ACEOF
17988 if ac_fn_cxx_try_compile "$LINENO"; then :
17989 glibcxx_cv_S_ISREG=yes
17990 else
17991 glibcxx_cv_S_ISREG=no
17993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17994 else
17995 if test x$gcc_no_link = xyes; then
17996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h. */
18000 #include <sys/stat.h>
18002 main ()
18004 struct stat buffer;
18005 fstat(0, &buffer);
18006 S_ISREG(buffer.st_mode);
18008 return 0;
18010 _ACEOF
18011 if ac_fn_cxx_try_link "$LINENO"; then :
18012 glibcxx_cv_S_ISREG=yes
18013 else
18014 glibcxx_cv_S_ISREG=no
18016 rm -f core conftest.err conftest.$ac_objext \
18017 conftest$ac_exeext conftest.$ac_ext
18022 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18023 $as_echo_n "(cached) " >&6
18024 else
18026 if test x$gcc_no_link = xyes; then
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18029 #include <sys/stat.h>
18031 main ()
18033 struct stat buffer;
18034 fstat(0, &buffer);
18035 S_IFREG & buffer.st_mode;
18037 return 0;
18039 _ACEOF
18040 if ac_fn_cxx_try_compile "$LINENO"; then :
18041 glibcxx_cv_S_IFREG=yes
18042 else
18043 glibcxx_cv_S_IFREG=no
18045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18046 else
18047 if test x$gcc_no_link = xyes; then
18048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18051 /* end confdefs.h. */
18052 #include <sys/stat.h>
18054 main ()
18056 struct stat buffer;
18057 fstat(0, &buffer);
18058 S_IFREG & buffer.st_mode;
18060 return 0;
18062 _ACEOF
18063 if ac_fn_cxx_try_link "$LINENO"; then :
18064 glibcxx_cv_S_IFREG=yes
18065 else
18066 glibcxx_cv_S_IFREG=no
18068 rm -f core conftest.err conftest.$ac_objext \
18069 conftest$ac_exeext conftest.$ac_ext
18074 res=no
18075 if test $glibcxx_cv_S_ISREG = yes; then
18077 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18079 res=S_ISREG
18080 elif test $glibcxx_cv_S_IFREG = yes; then
18082 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18084 res=S_IFREG
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18087 $as_echo "$res" >&6; }
18089 CXXFLAGS="$ac_save_CXXFLAGS"
18090 ac_ext=c
18091 ac_cpp='$CPP $CPPFLAGS'
18092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18098 # For xsputn_2().
18099 for ac_header in sys/uio.h
18100 do :
18101 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18102 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18103 cat >>confdefs.h <<_ACEOF
18104 #define HAVE_SYS_UIO_H 1
18105 _ACEOF
18109 done
18114 ac_ext=cpp
18115 ac_cpp='$CXXCPP $CPPFLAGS'
18116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18120 ac_save_CXXFLAGS="$CXXFLAGS"
18121 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18124 $as_echo_n "checking for writev... " >&6; }
18125 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18126 $as_echo_n "(cached) " >&6
18127 else
18129 if test x$gcc_no_link = xyes; then
18130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18132 #include <sys/uio.h>
18134 main ()
18136 struct iovec iov[2];
18137 writev(0, iov, 0);
18139 return 0;
18141 _ACEOF
18142 if ac_fn_cxx_try_compile "$LINENO"; then :
18143 glibcxx_cv_WRITEV=yes
18144 else
18145 glibcxx_cv_WRITEV=no
18147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18148 else
18149 if test x$gcc_no_link = xyes; then
18150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18154 #include <sys/uio.h>
18156 main ()
18158 struct iovec iov[2];
18159 writev(0, iov, 0);
18161 return 0;
18163 _ACEOF
18164 if ac_fn_cxx_try_link "$LINENO"; then :
18165 glibcxx_cv_WRITEV=yes
18166 else
18167 glibcxx_cv_WRITEV=no
18169 rm -f core conftest.err conftest.$ac_objext \
18170 conftest$ac_exeext conftest.$ac_ext
18175 if test $glibcxx_cv_WRITEV = yes; then
18177 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18181 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18183 CXXFLAGS="$ac_save_CXXFLAGS"
18184 ac_ext=c
18185 ac_cpp='$CPP $CPPFLAGS'
18186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192 # For C99 support to TR1.
18196 ac_ext=cpp
18197 ac_cpp='$CXXCPP $CPPFLAGS'
18198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18203 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18204 # undefined and fake C99 facilities may be spuriously enabled.
18205 ac_save_CXXFLAGS="$CXXFLAGS"
18206 CXXFLAGS="$CXXFLAGS -std=c++98"
18208 # Check for the existence of <complex.h> complex math functions used
18209 # by tr1/complex.
18210 for ac_header in complex.h
18211 do :
18212 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18213 if test "x$ac_cv_header_complex_h" = x""yes; then :
18214 cat >>confdefs.h <<_ACEOF
18215 #define HAVE_COMPLEX_H 1
18216 _ACEOF
18217 ac_has_complex_h=yes
18218 else
18219 ac_has_complex_h=no
18222 done
18224 ac_c99_complex_tr1=no;
18225 if test x"$ac_has_complex_h" = x"yes"; then
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18227 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18230 #include <complex.h>
18232 main ()
18234 typedef __complex__ float float_type; float_type tmpf;
18235 cacosf(tmpf);
18236 casinf(tmpf);
18237 catanf(tmpf);
18238 cacoshf(tmpf);
18239 casinhf(tmpf);
18240 catanhf(tmpf);
18241 typedef __complex__ double double_type; double_type tmpd;
18242 cacos(tmpd);
18243 casin(tmpd);
18244 catan(tmpd);
18245 cacosh(tmpd);
18246 casinh(tmpd);
18247 catanh(tmpd);
18248 typedef __complex__ long double ld_type; ld_type tmpld;
18249 cacosl(tmpld);
18250 casinl(tmpld);
18251 catanl(tmpld);
18252 cacoshl(tmpld);
18253 casinhl(tmpld);
18254 catanhl(tmpld);
18257 return 0;
18259 _ACEOF
18260 if ac_fn_cxx_try_compile "$LINENO"; then :
18261 ac_c99_complex_tr1=yes
18262 else
18263 ac_c99_complex_tr1=no
18265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18268 $as_echo "$ac_c99_complex_tr1" >&6; }
18269 if test x"$ac_c99_complex_tr1" = x"yes"; then
18271 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18275 # Check for the existence of <ctype.h> functions.
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18277 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18278 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18279 $as_echo_n "(cached) " >&6
18280 else
18282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h. */
18284 #include <ctype.h>
18286 main ()
18288 int ch;
18289 int ret;
18290 ret = isblank(ch);
18293 return 0;
18295 _ACEOF
18296 if ac_fn_cxx_try_compile "$LINENO"; then :
18297 glibcxx_cv_c99_ctype_tr1=yes
18298 else
18299 glibcxx_cv_c99_ctype_tr1=no
18301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18306 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18307 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18309 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18313 # Check for the existence of <fenv.h> functions.
18314 for ac_header in fenv.h
18315 do :
18316 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18317 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18318 cat >>confdefs.h <<_ACEOF
18319 #define HAVE_FENV_H 1
18320 _ACEOF
18321 ac_has_fenv_h=yes
18322 else
18323 ac_has_fenv_h=no
18326 done
18328 ac_c99_fenv_tr1=no;
18329 if test x"$ac_has_fenv_h" = x"yes"; then
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18331 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18333 /* end confdefs.h. */
18334 #include <fenv.h>
18336 main ()
18338 int except, mode;
18339 fexcept_t* pflag;
18340 fenv_t* penv;
18341 int ret;
18342 ret = feclearexcept(except);
18343 ret = fegetexceptflag(pflag, except);
18344 ret = feraiseexcept(except);
18345 ret = fesetexceptflag(pflag, except);
18346 ret = fetestexcept(except);
18347 ret = fegetround();
18348 ret = fesetround(mode);
18349 ret = fegetenv(penv);
18350 ret = feholdexcept(penv);
18351 ret = fesetenv(penv);
18352 ret = feupdateenv(penv);
18355 return 0;
18357 _ACEOF
18358 if ac_fn_cxx_try_compile "$LINENO"; then :
18359 ac_c99_fenv_tr1=yes
18360 else
18361 ac_c99_fenv_tr1=no
18363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18366 $as_echo "$ac_c99_fenv_tr1" >&6; }
18367 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18369 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18373 # Check for the existence of <stdint.h> types.
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18375 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18376 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18381 /* end confdefs.h. */
18382 #define __STDC_LIMIT_MACROS
18383 #define __STDC_CONSTANT_MACROS
18384 #include <stdint.h>
18386 main ()
18388 typedef int8_t my_int8_t;
18389 my_int8_t i8 = INT8_MIN;
18390 i8 = INT8_MAX;
18391 typedef int16_t my_int16_t;
18392 my_int16_t i16 = INT16_MIN;
18393 i16 = INT16_MAX;
18394 typedef int32_t my_int32_t;
18395 my_int32_t i32 = INT32_MIN;
18396 i32 = INT32_MAX;
18397 typedef int64_t my_int64_t;
18398 my_int64_t i64 = INT64_MIN;
18399 i64 = INT64_MAX;
18400 typedef int_fast8_t my_int_fast8_t;
18401 my_int_fast8_t if8 = INT_FAST8_MIN;
18402 if8 = INT_FAST8_MAX;
18403 typedef int_fast16_t my_int_fast16_t;
18404 my_int_fast16_t if16 = INT_FAST16_MIN;
18405 if16 = INT_FAST16_MAX;
18406 typedef int_fast32_t my_int_fast32_t;
18407 my_int_fast32_t if32 = INT_FAST32_MIN;
18408 if32 = INT_FAST32_MAX;
18409 typedef int_fast64_t my_int_fast64_t;
18410 my_int_fast64_t if64 = INT_FAST64_MIN;
18411 if64 = INT_FAST64_MAX;
18412 typedef int_least8_t my_int_least8_t;
18413 my_int_least8_t il8 = INT_LEAST8_MIN;
18414 il8 = INT_LEAST8_MAX;
18415 typedef int_least16_t my_int_least16_t;
18416 my_int_least16_t il16 = INT_LEAST16_MIN;
18417 il16 = INT_LEAST16_MAX;
18418 typedef int_least32_t my_int_least32_t;
18419 my_int_least32_t il32 = INT_LEAST32_MIN;
18420 il32 = INT_LEAST32_MAX;
18421 typedef int_least64_t my_int_least64_t;
18422 my_int_least64_t il64 = INT_LEAST64_MIN;
18423 il64 = INT_LEAST64_MAX;
18424 typedef intmax_t my_intmax_t;
18425 my_intmax_t im = INTMAX_MAX;
18426 im = INTMAX_MIN;
18427 typedef intptr_t my_intptr_t;
18428 my_intptr_t ip = INTPTR_MAX;
18429 ip = INTPTR_MIN;
18430 typedef uint8_t my_uint8_t;
18431 my_uint8_t ui8 = UINT8_MAX;
18432 ui8 = UINT8_MAX;
18433 typedef uint16_t my_uint16_t;
18434 my_uint16_t ui16 = UINT16_MAX;
18435 ui16 = UINT16_MAX;
18436 typedef uint32_t my_uint32_t;
18437 my_uint32_t ui32 = UINT32_MAX;
18438 ui32 = UINT32_MAX;
18439 typedef uint64_t my_uint64_t;
18440 my_uint64_t ui64 = UINT64_MAX;
18441 ui64 = UINT64_MAX;
18442 typedef uint_fast8_t my_uint_fast8_t;
18443 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18444 uif8 = UINT_FAST8_MAX;
18445 typedef uint_fast16_t my_uint_fast16_t;
18446 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18447 uif16 = UINT_FAST16_MAX;
18448 typedef uint_fast32_t my_uint_fast32_t;
18449 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18450 uif32 = UINT_FAST32_MAX;
18451 typedef uint_fast64_t my_uint_fast64_t;
18452 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18453 uif64 = UINT_FAST64_MAX;
18454 typedef uint_least8_t my_uint_least8_t;
18455 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18456 uil8 = UINT_LEAST8_MAX;
18457 typedef uint_least16_t my_uint_least16_t;
18458 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18459 uil16 = UINT_LEAST16_MAX;
18460 typedef uint_least32_t my_uint_least32_t;
18461 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18462 uil32 = UINT_LEAST32_MAX;
18463 typedef uint_least64_t my_uint_least64_t;
18464 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18465 uil64 = UINT_LEAST64_MAX;
18466 typedef uintmax_t my_uintmax_t;
18467 my_uintmax_t uim = UINTMAX_MAX;
18468 uim = UINTMAX_MAX;
18469 typedef uintptr_t my_uintptr_t;
18470 my_uintptr_t uip = UINTPTR_MAX;
18471 uip = UINTPTR_MAX;
18474 return 0;
18476 _ACEOF
18477 if ac_fn_cxx_try_compile "$LINENO"; then :
18478 glibcxx_cv_c99_stdint_tr1=yes
18479 else
18480 glibcxx_cv_c99_stdint_tr1=no
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18487 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18488 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18490 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18494 # Check for the existence of <math.h> functions.
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18496 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18497 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18498 $as_echo_n "(cached) " >&6
18499 else
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18503 #include <math.h>
18505 main ()
18507 typedef double_t my_double_t;
18508 typedef float_t my_float_t;
18509 acosh(0.0);
18510 acoshf(0.0f);
18511 acoshl(0.0l);
18512 asinh(0.0);
18513 asinhf(0.0f);
18514 asinhl(0.0l);
18515 atanh(0.0);
18516 atanhf(0.0f);
18517 atanhl(0.0l);
18518 cbrt(0.0);
18519 cbrtf(0.0f);
18520 cbrtl(0.0l);
18521 copysign(0.0, 0.0);
18522 copysignf(0.0f, 0.0f);
18523 copysignl(0.0l, 0.0l);
18524 erf(0.0);
18525 erff(0.0f);
18526 erfl(0.0l);
18527 erfc(0.0);
18528 erfcf(0.0f);
18529 erfcl(0.0l);
18530 exp2(0.0);
18531 exp2f(0.0f);
18532 exp2l(0.0l);
18533 expm1(0.0);
18534 expm1f(0.0f);
18535 expm1l(0.0l);
18536 fdim(0.0, 0.0);
18537 fdimf(0.0f, 0.0f);
18538 fdiml(0.0l, 0.0l);
18539 fma(0.0, 0.0, 0.0);
18540 fmaf(0.0f, 0.0f, 0.0f);
18541 fmal(0.0l, 0.0l, 0.0l);
18542 fmax(0.0, 0.0);
18543 fmaxf(0.0f, 0.0f);
18544 fmaxl(0.0l, 0.0l);
18545 fmin(0.0, 0.0);
18546 fminf(0.0f, 0.0f);
18547 fminl(0.0l, 0.0l);
18548 hypot(0.0, 0.0);
18549 hypotf(0.0f, 0.0f);
18550 hypotl(0.0l, 0.0l);
18551 ilogb(0.0);
18552 ilogbf(0.0f);
18553 ilogbl(0.0l);
18554 lgamma(0.0);
18555 lgammaf(0.0f);
18556 lgammal(0.0l);
18557 llrint(0.0);
18558 llrintf(0.0f);
18559 llrintl(0.0l);
18560 llround(0.0);
18561 llroundf(0.0f);
18562 llroundl(0.0l);
18563 log1p(0.0);
18564 log1pf(0.0f);
18565 log1pl(0.0l);
18566 log2(0.0);
18567 log2f(0.0f);
18568 log2l(0.0l);
18569 logb(0.0);
18570 logbf(0.0f);
18571 logbl(0.0l);
18572 lrint(0.0);
18573 lrintf(0.0f);
18574 lrintl(0.0l);
18575 lround(0.0);
18576 lroundf(0.0f);
18577 lroundl(0.0l);
18578 nan(0);
18579 nanf(0);
18580 nanl(0);
18581 nearbyint(0.0);
18582 nearbyintf(0.0f);
18583 nearbyintl(0.0l);
18584 nextafter(0.0, 0.0);
18585 nextafterf(0.0f, 0.0f);
18586 nextafterl(0.0l, 0.0l);
18587 nexttoward(0.0, 0.0);
18588 nexttowardf(0.0f, 0.0f);
18589 nexttowardl(0.0l, 0.0l);
18590 remainder(0.0, 0.0);
18591 remainderf(0.0f, 0.0f);
18592 remainderl(0.0l, 0.0l);
18593 remquo(0.0, 0.0, 0);
18594 remquof(0.0f, 0.0f, 0);
18595 remquol(0.0l, 0.0l, 0);
18596 rint(0.0);
18597 rintf(0.0f);
18598 rintl(0.0l);
18599 round(0.0);
18600 roundf(0.0f);
18601 roundl(0.0l);
18602 scalbln(0.0, 0l);
18603 scalblnf(0.0f, 0l);
18604 scalblnl(0.0l, 0l);
18605 scalbn(0.0, 0);
18606 scalbnf(0.0f, 0);
18607 scalbnl(0.0l, 0);
18608 tgamma(0.0);
18609 tgammaf(0.0f);
18610 tgammal(0.0l);
18611 trunc(0.0);
18612 truncf(0.0f);
18613 truncl(0.0l);
18616 return 0;
18618 _ACEOF
18619 if ac_fn_cxx_try_compile "$LINENO"; then :
18620 glibcxx_cv_c99_math_tr1=yes
18621 else
18622 glibcxx_cv_c99_math_tr1=no
18624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18629 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18630 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18632 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18636 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18637 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18638 ac_c99_inttypes_tr1=no;
18639 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18641 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 #include <inttypes.h>
18646 main ()
18648 intmax_t i, numer, denom, base;
18649 const char* s;
18650 char** endptr;
18651 intmax_t ret = imaxabs(i);
18652 imaxdiv_t dret = imaxdiv(numer, denom);
18653 ret = strtoimax(s, endptr, base);
18654 uintmax_t uret = strtoumax(s, endptr, base);
18657 return 0;
18659 _ACEOF
18660 if ac_fn_cxx_try_compile "$LINENO"; then :
18661 ac_c99_inttypes_tr1=yes
18662 else
18663 ac_c99_inttypes_tr1=no
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18668 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18669 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18671 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18675 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18676 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18677 ac_c99_inttypes_wchar_t_tr1=no;
18678 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18680 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 #include <inttypes.h>
18685 main ()
18687 intmax_t base;
18688 const wchar_t* s;
18689 wchar_t** endptr;
18690 intmax_t ret = wcstoimax(s, endptr, base);
18691 uintmax_t uret = wcstoumax(s, endptr, base);
18694 return 0;
18696 _ACEOF
18697 if ac_fn_cxx_try_compile "$LINENO"; then :
18698 ac_c99_inttypes_wchar_t_tr1=yes
18699 else
18700 ac_c99_inttypes_wchar_t_tr1=no
18702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18705 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18706 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18708 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18712 # Check for the existence of the <stdbool.h> header.
18713 for ac_header in stdbool.h
18714 do :
18715 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18716 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18717 cat >>confdefs.h <<_ACEOF
18718 #define HAVE_STDBOOL_H 1
18719 _ACEOF
18723 done
18726 CXXFLAGS="$ac_save_CXXFLAGS"
18727 ac_ext=c
18728 ac_cpp='$CPP $CPPFLAGS'
18729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18735 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18739 $as_echo_n "checking for the value of EOF... " >&6; }
18740 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18741 $as_echo_n "(cached) " >&6
18742 else
18744 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18746 else
18747 as_fn_error "computing EOF failed" "$LINENO" 5
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18753 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18755 cat >>confdefs.h <<_ACEOF
18756 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18757 _ACEOF
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18761 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18762 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18763 $as_echo_n "(cached) " >&6
18764 else
18766 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18768 else
18769 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18775 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18777 cat >>confdefs.h <<_ACEOF
18778 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18779 _ACEOF
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18783 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18784 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18785 $as_echo_n "(cached) " >&6
18786 else
18788 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18790 else
18791 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18797 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18799 cat >>confdefs.h <<_ACEOF
18800 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18801 _ACEOF
18805 # For gettimeofday support.
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18809 $as_echo_n "checking for gettimeofday... " >&6; }
18812 ac_ext=cpp
18813 ac_cpp='$CXXCPP $CPPFLAGS'
18814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18818 ac_save_CXXFLAGS="$CXXFLAGS"
18819 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18821 ac_has_gettimeofday=no;
18822 for ac_header in sys/time.h
18823 do :
18824 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18825 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_SYS_TIME_H 1
18828 _ACEOF
18829 ac_has_sys_time_h=yes
18830 else
18831 ac_has_sys_time_h=no
18834 done
18836 if test x"$ac_has_sys_time_h" = x"yes"; then
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18838 $as_echo_n "checking for gettimeofday... " >&6; }
18839 if test x$gcc_no_link = xyes; then
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 #include <sys/time.h>
18844 main ()
18846 timeval tv; gettimeofday(&tv, 0);
18848 return 0;
18850 _ACEOF
18851 if ac_fn_cxx_try_compile "$LINENO"; then :
18852 ac_has_gettimeofday=yes
18853 else
18854 ac_has_gettimeofday=no
18856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18857 else
18858 if test x$gcc_no_link = xyes; then
18859 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18863 #include <sys/time.h>
18865 main ()
18867 timeval tv; gettimeofday(&tv, 0);
18869 return 0;
18871 _ACEOF
18872 if ac_fn_cxx_try_link "$LINENO"; then :
18873 ac_has_gettimeofday=yes
18874 else
18875 ac_has_gettimeofday=no
18877 rm -f core conftest.err conftest.$ac_objext \
18878 conftest$ac_exeext conftest.$ac_ext
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18882 $as_echo "$ac_has_gettimeofday" >&6; }
18885 if test x"$ac_has_gettimeofday" = x"yes"; then
18887 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18891 CXXFLAGS="$ac_save_CXXFLAGS"
18892 ac_ext=c
18893 ac_cpp='$CPP $CPPFLAGS'
18894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18900 # For clock_gettime, nanosleep and sched_yield support.
18901 # NB: The default is [no], because otherwise it requires linking.
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18905 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18906 # Check whether --enable-libstdcxx-time was given.
18907 if test "${enable_libstdcxx_time+set}" = set; then :
18908 enableval=$enable_libstdcxx_time;
18909 case "$enableval" in
18910 yes|no|rt) ;;
18911 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18912 esac
18914 else
18915 enable_libstdcxx_time=no
18921 ac_ext=cpp
18922 ac_cpp='$CXXCPP $CPPFLAGS'
18923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18927 ac_save_CXXFLAGS="$CXXFLAGS"
18928 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18929 ac_save_LIBS="$LIBS"
18931 ac_has_clock_monotonic=no
18932 ac_has_clock_realtime=no
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18934 $as_echo "$enable_libstdcxx_time" >&6; }
18936 if test x"$enable_libstdcxx_time" != x"no"; then
18938 if test x"$enable_libstdcxx_time" = x"rt"; then
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18940 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18941 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18942 $as_echo_n "(cached) " >&6
18943 else
18944 ac_func_search_save_LIBS=$LIBS
18945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18948 /* Override any GCC internal prototype to avoid an error.
18949 Use char because int might match the return type of a GCC
18950 builtin and then its argument prototype would still apply. */
18951 #ifdef __cplusplus
18952 extern "C"
18953 #endif
18954 char clock_gettime ();
18956 main ()
18958 return clock_gettime ();
18960 return 0;
18962 _ACEOF
18963 for ac_lib in '' rt posix4; do
18964 if test -z "$ac_lib"; then
18965 ac_res="none required"
18966 else
18967 ac_res=-l$ac_lib
18968 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18970 if test x$gcc_no_link = xyes; then
18971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18973 if ac_fn_cxx_try_link "$LINENO"; then :
18974 ac_cv_search_clock_gettime=$ac_res
18976 rm -f core conftest.err conftest.$ac_objext \
18977 conftest$ac_exeext
18978 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18979 break
18981 done
18982 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18984 else
18985 ac_cv_search_clock_gettime=no
18987 rm conftest.$ac_ext
18988 LIBS=$ac_func_search_save_LIBS
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18991 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18992 ac_res=$ac_cv_search_clock_gettime
18993 if test "$ac_res" != no; then :
18994 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18999 $as_echo_n "checking for library containing nanosleep... " >&6; }
19000 if test "${ac_cv_search_nanosleep+set}" = set; then :
19001 $as_echo_n "(cached) " >&6
19002 else
19003 ac_func_search_save_LIBS=$LIBS
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19007 /* Override any GCC internal prototype to avoid an error.
19008 Use char because int might match the return type of a GCC
19009 builtin and then its argument prototype would still apply. */
19010 #ifdef __cplusplus
19011 extern "C"
19012 #endif
19013 char nanosleep ();
19015 main ()
19017 return nanosleep ();
19019 return 0;
19021 _ACEOF
19022 for ac_lib in '' rt posix4; do
19023 if test -z "$ac_lib"; then
19024 ac_res="none required"
19025 else
19026 ac_res=-l$ac_lib
19027 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19029 if test x$gcc_no_link = xyes; then
19030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19032 if ac_fn_cxx_try_link "$LINENO"; then :
19033 ac_cv_search_nanosleep=$ac_res
19035 rm -f core conftest.err conftest.$ac_objext \
19036 conftest$ac_exeext
19037 if test "${ac_cv_search_nanosleep+set}" = set; then :
19038 break
19040 done
19041 if test "${ac_cv_search_nanosleep+set}" = set; then :
19043 else
19044 ac_cv_search_nanosleep=no
19046 rm conftest.$ac_ext
19047 LIBS=$ac_func_search_save_LIBS
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19050 $as_echo "$ac_cv_search_nanosleep" >&6; }
19051 ac_res=$ac_cv_search_nanosleep
19052 if test "$ac_res" != no; then :
19053 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19057 else
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19059 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19060 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19061 $as_echo_n "(cached) " >&6
19062 else
19063 ac_func_search_save_LIBS=$LIBS
19064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19067 /* Override any GCC internal prototype to avoid an error.
19068 Use char because int might match the return type of a GCC
19069 builtin and then its argument prototype would still apply. */
19070 #ifdef __cplusplus
19071 extern "C"
19072 #endif
19073 char clock_gettime ();
19075 main ()
19077 return clock_gettime ();
19079 return 0;
19081 _ACEOF
19082 for ac_lib in '' posix4; do
19083 if test -z "$ac_lib"; then
19084 ac_res="none required"
19085 else
19086 ac_res=-l$ac_lib
19087 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19089 if test x$gcc_no_link = xyes; then
19090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19092 if ac_fn_cxx_try_link "$LINENO"; then :
19093 ac_cv_search_clock_gettime=$ac_res
19095 rm -f core conftest.err conftest.$ac_objext \
19096 conftest$ac_exeext
19097 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19098 break
19100 done
19101 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19103 else
19104 ac_cv_search_clock_gettime=no
19106 rm conftest.$ac_ext
19107 LIBS=$ac_func_search_save_LIBS
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19110 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19111 ac_res=$ac_cv_search_clock_gettime
19112 if test "$ac_res" != no; then :
19113 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19118 $as_echo_n "checking for library containing nanosleep... " >&6; }
19119 if test "${ac_cv_search_nanosleep+set}" = set; then :
19120 $as_echo_n "(cached) " >&6
19121 else
19122 ac_func_search_save_LIBS=$LIBS
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19126 /* Override any GCC internal prototype to avoid an error.
19127 Use char because int might match the return type of a GCC
19128 builtin and then its argument prototype would still apply. */
19129 #ifdef __cplusplus
19130 extern "C"
19131 #endif
19132 char nanosleep ();
19134 main ()
19136 return nanosleep ();
19138 return 0;
19140 _ACEOF
19141 for ac_lib in '' posix4; do
19142 if test -z "$ac_lib"; then
19143 ac_res="none required"
19144 else
19145 ac_res=-l$ac_lib
19146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19148 if test x$gcc_no_link = xyes; then
19149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19151 if ac_fn_cxx_try_link "$LINENO"; then :
19152 ac_cv_search_nanosleep=$ac_res
19154 rm -f core conftest.err conftest.$ac_objext \
19155 conftest$ac_exeext
19156 if test "${ac_cv_search_nanosleep+set}" = set; then :
19157 break
19159 done
19160 if test "${ac_cv_search_nanosleep+set}" = set; then :
19162 else
19163 ac_cv_search_nanosleep=no
19165 rm conftest.$ac_ext
19166 LIBS=$ac_func_search_save_LIBS
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19169 $as_echo "$ac_cv_search_nanosleep" >&6; }
19170 ac_res=$ac_cv_search_nanosleep
19171 if test "$ac_res" != no; then :
19172 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19178 case "$ac_cv_search_clock_gettime" in
19179 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19181 esac
19182 case "$ac_cv_search_nanosleep" in
19183 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19185 esac
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19188 $as_echo_n "checking for library containing sched_yield... " >&6; }
19189 if test "${ac_cv_search_sched_yield+set}" = set; then :
19190 $as_echo_n "(cached) " >&6
19191 else
19192 ac_func_search_save_LIBS=$LIBS
19193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19194 /* end confdefs.h. */
19196 /* Override any GCC internal prototype to avoid an error.
19197 Use char because int might match the return type of a GCC
19198 builtin and then its argument prototype would still apply. */
19199 #ifdef __cplusplus
19200 extern "C"
19201 #endif
19202 char sched_yield ();
19204 main ()
19206 return sched_yield ();
19208 return 0;
19210 _ACEOF
19211 for ac_lib in '' rt posix4; do
19212 if test -z "$ac_lib"; then
19213 ac_res="none required"
19214 else
19215 ac_res=-l$ac_lib
19216 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19218 if test x$gcc_no_link = xyes; then
19219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19221 if ac_fn_cxx_try_link "$LINENO"; then :
19222 ac_cv_search_sched_yield=$ac_res
19224 rm -f core conftest.err conftest.$ac_objext \
19225 conftest$ac_exeext
19226 if test "${ac_cv_search_sched_yield+set}" = set; then :
19227 break
19229 done
19230 if test "${ac_cv_search_sched_yield+set}" = set; then :
19232 else
19233 ac_cv_search_sched_yield=no
19235 rm conftest.$ac_ext
19236 LIBS=$ac_func_search_save_LIBS
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19239 $as_echo "$ac_cv_search_sched_yield" >&6; }
19240 ac_res=$ac_cv_search_sched_yield
19241 if test "$ac_res" != no; then :
19242 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19247 case "$ac_cv_search_sched_yield" in
19248 -lposix4*)
19249 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19251 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19254 -lrt*)
19255 if test x"$enable_libstdcxx_time" = x"rt"; then
19256 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19258 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19264 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19267 esac
19269 for ac_header in unistd.h
19270 do :
19271 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19272 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_UNISTD_H 1
19275 _ACEOF
19276 ac_has_unistd_h=yes
19277 else
19278 ac_has_unistd_h=no
19281 done
19284 if test x"$ac_has_unistd_h" = x"yes"; then
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19286 $as_echo_n "checking for monotonic clock... " >&6; }
19287 if test x$gcc_no_link = xyes; then
19288 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19292 #include <unistd.h>
19293 #include <time.h>
19296 main ()
19298 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19299 timespec tp;
19300 #endif
19301 clock_gettime(CLOCK_MONOTONIC, &tp);
19304 return 0;
19306 _ACEOF
19307 if ac_fn_cxx_try_link "$LINENO"; then :
19308 ac_has_clock_monotonic=yes
19309 else
19310 ac_has_clock_monotonic=no
19312 rm -f core conftest.err conftest.$ac_objext \
19313 conftest$ac_exeext conftest.$ac_ext
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19316 $as_echo "$ac_has_clock_monotonic" >&6; }
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19319 $as_echo_n "checking for realtime clock... " >&6; }
19320 if test x$gcc_no_link = xyes; then
19321 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h. */
19325 #include <unistd.h>
19326 #include <time.h>
19329 main ()
19331 #if _POSIX_TIMERS > 0
19332 timespec tp;
19333 #endif
19334 clock_gettime(CLOCK_REALTIME, &tp);
19337 return 0;
19339 _ACEOF
19340 if ac_fn_cxx_try_link "$LINENO"; then :
19341 ac_has_clock_realtime=yes
19342 else
19343 ac_has_clock_realtime=no
19345 rm -f core conftest.err conftest.$ac_objext \
19346 conftest$ac_exeext conftest.$ac_ext
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19349 $as_echo "$ac_has_clock_realtime" >&6; }
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19352 $as_echo_n "checking for nanosleep... " >&6; }
19353 if test x$gcc_no_link = xyes; then
19354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19357 /* end confdefs.h. */
19358 #include <unistd.h>
19359 #include <time.h>
19362 main ()
19364 #if _POSIX_TIMERS > 0
19365 timespec tp;
19366 #endif
19367 nanosleep(&tp, 0);
19370 return 0;
19372 _ACEOF
19373 if ac_fn_cxx_try_link "$LINENO"; then :
19374 ac_has_nanosleep=yes
19375 else
19376 ac_has_nanosleep=no
19378 rm -f core conftest.err conftest.$ac_objext \
19379 conftest$ac_exeext conftest.$ac_ext
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19382 $as_echo "$ac_has_nanosleep" >&6; }
19386 if test x"$ac_has_clock_monotonic" = x"yes"; then
19388 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19392 if test x"$ac_has_clock_realtime" = x"yes"; then
19394 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19398 if test x"$ac_has_nanosleep" = x"yes"; then
19400 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19406 CXXFLAGS="$ac_save_CXXFLAGS"
19407 LIBS="$ac_save_LIBS"
19408 ac_ext=c
19409 ac_cpp='$CPP $CPPFLAGS'
19410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19416 # For gthread support
19419 ac_ext=cpp
19420 ac_cpp='$CXXCPP $CPPFLAGS'
19421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19426 ac_save_CXXFLAGS="$CXXFLAGS"
19427 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19429 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19430 case $target_thread_file in
19431 posix)
19432 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19433 esac
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19436 $as_echo_n "checking for gthreads library... " >&6; }
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19440 #include "gthr.h"
19442 main ()
19445 #ifndef __GTHREADS_CXX0X
19446 #error
19447 #endif
19449 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19450 #if (defined(_PTHREADS) \
19451 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19452 #error
19453 #endif
19456 return 0;
19458 _ACEOF
19459 if ac_fn_cxx_try_compile "$LINENO"; then :
19460 ac_has_gthreads=yes
19461 else
19462 ac_has_gthreads=no
19464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19467 $as_echo "$ac_has_gthreads" >&6; }
19469 if test x"$ac_has_gthreads" = x"yes"; then
19471 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19475 CXXFLAGS="$ac_save_CXXFLAGS"
19476 ac_ext=c
19477 ac_cpp='$CPP $CPPFLAGS'
19478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19485 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19486 if test "x$ac_cv_header_locale_h" = x""yes; then :
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19489 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19490 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19491 $as_echo_n "(cached) " >&6
19492 else
19493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19494 /* end confdefs.h. */
19495 #include <locale.h>
19497 main ()
19499 return LC_MESSAGES
19501 return 0;
19503 _ACEOF
19504 if ac_fn_c_try_compile "$LINENO"; then :
19505 ac_cv_val_LC_MESSAGES=yes
19506 else
19507 ac_cv_val_LC_MESSAGES=no
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19512 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19513 if test $ac_cv_val_LC_MESSAGES = yes; then
19515 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19524 # Check for available headers.
19525 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19526 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19527 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19528 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19529 wchar.h wctype.h
19530 do :
19531 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19532 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19533 eval as_val=\$$as_ac_Header
19534 if test "x$as_val" = x""yes; then :
19535 cat >>confdefs.h <<_ACEOF
19536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19537 _ACEOF
19541 done
19544 # Only do link tests if native. Else, hardcode.
19545 if $GLIBCXX_IS_NATIVE; then
19547 # We can do more elaborate tests that assume a working linker.
19548 CANADIAN=no
19552 # Check whether --with-gnu-ld was given.
19553 if test "${with_gnu_ld+set}" = set; then :
19554 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19555 else
19556 with_gnu_ld=no
19559 ac_prog=ld
19560 if test "$GCC" = yes; then
19561 # Check if gcc -print-prog-name=ld gives a path.
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19563 $as_echo_n "checking for ld used by $CC... " >&6; }
19564 case $host in
19565 *-*-mingw*)
19566 # gcc leaves a trailing carriage return which upsets mingw
19567 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19569 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19570 esac
19571 case $ac_prog in
19572 # Accept absolute paths.
19573 [\\/]* | ?:[\\/]*)
19574 re_direlt='/[^/][^/]*/\.\./'
19575 # Canonicalize the pathname of ld
19576 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19577 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19578 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19579 done
19580 test -z "$LD" && LD="$ac_prog"
19583 # If it fails, then pretend we aren't using GCC.
19584 ac_prog=ld
19587 # If it is relative, then search for the first ld in PATH.
19588 with_gnu_ld=unknown
19590 esac
19591 elif test "$with_gnu_ld" = yes; then
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19593 $as_echo_n "checking for GNU ld... " >&6; }
19594 else
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19596 $as_echo_n "checking for non-GNU ld... " >&6; }
19598 if test "${lt_cv_path_LD+set}" = set; then :
19599 $as_echo_n "(cached) " >&6
19600 else
19601 if test -z "$LD"; then
19602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19603 for ac_dir in $PATH; do
19604 IFS="$lt_save_ifs"
19605 test -z "$ac_dir" && ac_dir=.
19606 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19607 lt_cv_path_LD="$ac_dir/$ac_prog"
19608 # Check to see if the program is GNU ld. I'd rather use --version,
19609 # but apparently some variants of GNU ld only accept -v.
19610 # Break only if it was the GNU/non-GNU ld that we prefer.
19611 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19612 *GNU* | *'with BFD'*)
19613 test "$with_gnu_ld" != no && break
19616 test "$with_gnu_ld" != yes && break
19618 esac
19620 done
19621 IFS="$lt_save_ifs"
19622 else
19623 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19627 LD="$lt_cv_path_LD"
19628 if test -n "$LD"; then
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19630 $as_echo "$LD" >&6; }
19631 else
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19633 $as_echo "no" >&6; }
19635 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19637 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19638 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19639 $as_echo_n "(cached) " >&6
19640 else
19641 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19642 case `$LD -v 2>&1 </dev/null` in
19643 *GNU* | *'with BFD'*)
19644 lt_cv_prog_gnu_ld=yes
19647 lt_cv_prog_gnu_ld=no
19649 esac
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19652 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19653 with_gnu_ld=$lt_cv_prog_gnu_ld
19661 # If we're not using GNU ld, then there's no point in even trying these
19662 # tests. Check for that first. We should have already tested for gld
19663 # by now (in libtool), but require it now just to be safe...
19664 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19665 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19669 # The name set by libtool depends on the version of libtool. Shame on us
19670 # for depending on an impl detail, but c'est la vie. Older versions used
19671 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19672 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19673 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19674 # set (hence we're using an older libtool), then set it.
19675 if test x${with_gnu_ld+set} != xset; then
19676 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19677 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19678 with_gnu_ld=no
19679 else
19680 with_gnu_ld=$ac_cv_prog_gnu_ld
19684 # Start by getting the version number. I think the libtool test already
19685 # does some of this, but throws away the result.
19686 glibcxx_ld_is_gold=no
19687 if test x"$with_gnu_ld" = x"yes"; then
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19689 $as_echo_n "checking for ld version... " >&6; }
19691 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19692 glibcxx_ld_is_gold=yes
19694 ldver=`$LD --version 2>/dev/null |
19695 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'`
19697 glibcxx_gnu_ld_version=`echo $ldver | \
19698 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19700 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19703 # Set --gc-sections.
19704 glibcxx_have_gc_sections=no
19705 if test "$glibcxx_ld_is_gold" = "yes"; then
19706 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19707 glibcxx_have_gc_sections=yes
19709 else
19710 glibcxx_gcsections_min_ld=21602
19711 if test x"$with_gnu_ld" = x"yes" &&
19712 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19713 glibcxx_have_gc_sections=yes
19716 if test "$glibcxx_have_gc_sections" = "yes"; then
19717 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19718 # NB: This flag only works reliably after 2.16.1. Configure tests
19719 # for this are difficult, so hard wire a value that should work.
19721 ac_test_CFLAGS="${CFLAGS+set}"
19722 ac_save_CFLAGS="$CFLAGS"
19723 CFLAGS='-Wl,--gc-sections'
19725 # Check for -Wl,--gc-sections
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19727 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19728 if test x$gcc_no_link = xyes; then
19729 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19732 /* end confdefs.h. */
19733 int one(void) { return 1; }
19734 int two(void) { return 2; }
19737 main ()
19739 two();
19741 return 0;
19743 _ACEOF
19744 if ac_fn_c_try_link "$LINENO"; then :
19745 ac_gcsections=yes
19746 else
19747 ac_gcsections=no
19749 rm -f core conftest.err conftest.$ac_objext \
19750 conftest$ac_exeext conftest.$ac_ext
19751 if test "$ac_gcsections" = "yes"; then
19752 rm -f conftest.c
19753 touch conftest.c
19754 if $CC -c conftest.c; then
19755 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19756 grep "Warning: gc-sections option ignored" > /dev/null; then
19757 ac_gcsections=no
19760 rm -f conftest.c conftest.o conftest
19762 if test "$ac_gcsections" = "yes"; then
19763 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19766 $as_echo "$ac_gcsections" >&6; }
19768 if test "$ac_test_CFLAGS" = set; then
19769 CFLAGS="$ac_save_CFLAGS"
19770 else
19771 # this is the suspicious part
19772 CFLAGS=''
19776 # Set -z,relro.
19777 # Note this is only for shared objects.
19778 ac_ld_relro=no
19779 if test x"$with_gnu_ld" = x"yes"; then
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19781 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19782 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19783 if test -n "$cxx_z_relo"; then
19784 OPT_LDFLAGS="-Wl,-z,relro"
19785 ac_ld_relro=yes
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19788 $as_echo "$ac_ld_relro" >&6; }
19791 # Set linker optimization flags.
19792 if test x"$with_gnu_ld" = x"yes"; then
19793 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19800 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19801 ac_save_CXXFLAGS="$CXXFLAGS"
19802 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19805 $as_echo_n "checking for sin in -lm... " >&6; }
19806 if test "${ac_cv_lib_m_sin+set}" = set; then :
19807 $as_echo_n "(cached) " >&6
19808 else
19809 ac_check_lib_save_LIBS=$LIBS
19810 LIBS="-lm $LIBS"
19811 if test x$gcc_no_link = xyes; then
19812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19817 /* Override any GCC internal prototype to avoid an error.
19818 Use char because int might match the return type of a GCC
19819 builtin and then its argument prototype would still apply. */
19820 #ifdef __cplusplus
19821 extern "C"
19822 #endif
19823 char sin ();
19825 main ()
19827 return sin ();
19829 return 0;
19831 _ACEOF
19832 if ac_fn_c_try_link "$LINENO"; then :
19833 ac_cv_lib_m_sin=yes
19834 else
19835 ac_cv_lib_m_sin=no
19837 rm -f core conftest.err conftest.$ac_objext \
19838 conftest$ac_exeext conftest.$ac_ext
19839 LIBS=$ac_check_lib_save_LIBS
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19842 $as_echo "$ac_cv_lib_m_sin" >&6; }
19843 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19844 libm="-lm"
19847 ac_save_LIBS="$LIBS"
19848 LIBS="$LIBS $libm"
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19853 $as_echo_n "checking for isinf declaration... " >&6; }
19854 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19855 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19856 $as_echo_n "(cached) " >&6
19857 else
19860 ac_ext=cpp
19861 ac_cpp='$CXXCPP $CPPFLAGS'
19862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #include <math.h>
19869 #ifdef HAVE_IEEEFP_H
19870 #include <ieeefp.h>
19871 #endif
19874 main ()
19876 isinf(0);
19878 return 0;
19880 _ACEOF
19881 if ac_fn_cxx_try_compile "$LINENO"; then :
19882 glibcxx_cv_func_isinf_use=yes
19883 else
19884 glibcxx_cv_func_isinf_use=no
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19887 ac_ext=c
19888 ac_cpp='$CPP $CPPFLAGS'
19889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19898 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19900 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19901 for ac_func in isinf
19902 do :
19903 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19904 if test "x$ac_cv_func_isinf" = x""yes; then :
19905 cat >>confdefs.h <<_ACEOF
19906 #define HAVE_ISINF 1
19907 _ACEOF
19910 done
19912 else
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19915 $as_echo_n "checking for _isinf declaration... " >&6; }
19916 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19917 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19918 $as_echo_n "(cached) " >&6
19919 else
19922 ac_ext=cpp
19923 ac_cpp='$CXXCPP $CPPFLAGS'
19924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19930 #include <math.h>
19931 #ifdef HAVE_IEEEFP_H
19932 #include <ieeefp.h>
19933 #endif
19936 main ()
19938 _isinf(0);
19940 return 0;
19942 _ACEOF
19943 if ac_fn_cxx_try_compile "$LINENO"; then :
19944 glibcxx_cv_func__isinf_use=yes
19945 else
19946 glibcxx_cv_func__isinf_use=no
19948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19949 ac_ext=c
19950 ac_cpp='$CPP $CPPFLAGS'
19951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19960 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19962 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19963 for ac_func in _isinf
19964 do :
19965 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19966 if test "x$ac_cv_func__isinf" = x""yes; then :
19967 cat >>confdefs.h <<_ACEOF
19968 #define HAVE__ISINF 1
19969 _ACEOF
19972 done
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19982 $as_echo_n "checking for isnan declaration... " >&6; }
19983 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19984 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19985 $as_echo_n "(cached) " >&6
19986 else
19989 ac_ext=cpp
19990 ac_cpp='$CXXCPP $CPPFLAGS'
19991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19996 /* end confdefs.h. */
19997 #include <math.h>
19998 #ifdef HAVE_IEEEFP_H
19999 #include <ieeefp.h>
20000 #endif
20003 main ()
20005 isnan(0);
20007 return 0;
20009 _ACEOF
20010 if ac_fn_cxx_try_compile "$LINENO"; then :
20011 glibcxx_cv_func_isnan_use=yes
20012 else
20013 glibcxx_cv_func_isnan_use=no
20015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20016 ac_ext=c
20017 ac_cpp='$CPP $CPPFLAGS'
20018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20027 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20029 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20030 for ac_func in isnan
20031 do :
20032 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20033 if test "x$ac_cv_func_isnan" = x""yes; then :
20034 cat >>confdefs.h <<_ACEOF
20035 #define HAVE_ISNAN 1
20036 _ACEOF
20039 done
20041 else
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20044 $as_echo_n "checking for _isnan declaration... " >&6; }
20045 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20046 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20047 $as_echo_n "(cached) " >&6
20048 else
20051 ac_ext=cpp
20052 ac_cpp='$CXXCPP $CPPFLAGS'
20053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058 /* end confdefs.h. */
20059 #include <math.h>
20060 #ifdef HAVE_IEEEFP_H
20061 #include <ieeefp.h>
20062 #endif
20065 main ()
20067 _isnan(0);
20069 return 0;
20071 _ACEOF
20072 if ac_fn_cxx_try_compile "$LINENO"; then :
20073 glibcxx_cv_func__isnan_use=yes
20074 else
20075 glibcxx_cv_func__isnan_use=no
20077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20078 ac_ext=c
20079 ac_cpp='$CPP $CPPFLAGS'
20080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20089 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20091 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20092 for ac_func in _isnan
20093 do :
20094 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20095 if test "x$ac_cv_func__isnan" = x""yes; then :
20096 cat >>confdefs.h <<_ACEOF
20097 #define HAVE__ISNAN 1
20098 _ACEOF
20101 done
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20111 $as_echo_n "checking for finite declaration... " >&6; }
20112 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20113 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20114 $as_echo_n "(cached) " >&6
20115 else
20118 ac_ext=cpp
20119 ac_cpp='$CXXCPP $CPPFLAGS'
20120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20125 /* end confdefs.h. */
20126 #include <math.h>
20127 #ifdef HAVE_IEEEFP_H
20128 #include <ieeefp.h>
20129 #endif
20132 main ()
20134 finite(0);
20136 return 0;
20138 _ACEOF
20139 if ac_fn_cxx_try_compile "$LINENO"; then :
20140 glibcxx_cv_func_finite_use=yes
20141 else
20142 glibcxx_cv_func_finite_use=no
20144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20145 ac_ext=c
20146 ac_cpp='$CPP $CPPFLAGS'
20147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20156 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20158 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20159 for ac_func in finite
20160 do :
20161 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20162 if test "x$ac_cv_func_finite" = x""yes; then :
20163 cat >>confdefs.h <<_ACEOF
20164 #define HAVE_FINITE 1
20165 _ACEOF
20168 done
20170 else
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20173 $as_echo_n "checking for _finite declaration... " >&6; }
20174 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20175 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20176 $as_echo_n "(cached) " >&6
20177 else
20180 ac_ext=cpp
20181 ac_cpp='$CXXCPP $CPPFLAGS'
20182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20187 /* end confdefs.h. */
20188 #include <math.h>
20189 #ifdef HAVE_IEEEFP_H
20190 #include <ieeefp.h>
20191 #endif
20194 main ()
20196 _finite(0);
20198 return 0;
20200 _ACEOF
20201 if ac_fn_cxx_try_compile "$LINENO"; then :
20202 glibcxx_cv_func__finite_use=yes
20203 else
20204 glibcxx_cv_func__finite_use=no
20206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20207 ac_ext=c
20208 ac_cpp='$CPP $CPPFLAGS'
20209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20218 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20220 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20221 for ac_func in _finite
20222 do :
20223 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20224 if test "x$ac_cv_func__finite" = x""yes; then :
20225 cat >>confdefs.h <<_ACEOF
20226 #define HAVE__FINITE 1
20227 _ACEOF
20230 done
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20240 $as_echo_n "checking for sincos declaration... " >&6; }
20241 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20242 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20243 $as_echo_n "(cached) " >&6
20244 else
20247 ac_ext=cpp
20248 ac_cpp='$CXXCPP $CPPFLAGS'
20249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h. */
20255 #include <math.h>
20257 main ()
20259 sincos(0, 0, 0);
20261 return 0;
20263 _ACEOF
20264 if ac_fn_cxx_try_compile "$LINENO"; then :
20265 glibcxx_cv_func_sincos_use=yes
20266 else
20267 glibcxx_cv_func_sincos_use=no
20269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20270 ac_ext=c
20271 ac_cpp='$CPP $CPPFLAGS'
20272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20281 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20283 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20284 for ac_func in sincos
20285 do :
20286 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20287 if test "x$ac_cv_func_sincos" = x""yes; then :
20288 cat >>confdefs.h <<_ACEOF
20289 #define HAVE_SINCOS 1
20290 _ACEOF
20293 done
20295 else
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20298 $as_echo_n "checking for _sincos declaration... " >&6; }
20299 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20300 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20301 $as_echo_n "(cached) " >&6
20302 else
20305 ac_ext=cpp
20306 ac_cpp='$CXXCPP $CPPFLAGS'
20307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h. */
20313 #include <math.h>
20315 main ()
20317 _sincos(0, 0, 0);
20319 return 0;
20321 _ACEOF
20322 if ac_fn_cxx_try_compile "$LINENO"; then :
20323 glibcxx_cv_func__sincos_use=yes
20324 else
20325 glibcxx_cv_func__sincos_use=no
20327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20328 ac_ext=c
20329 ac_cpp='$CPP $CPPFLAGS'
20330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20339 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20341 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20342 for ac_func in _sincos
20343 do :
20344 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20345 if test "x$ac_cv_func__sincos" = x""yes; then :
20346 cat >>confdefs.h <<_ACEOF
20347 #define HAVE__SINCOS 1
20348 _ACEOF
20351 done
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20361 $as_echo_n "checking for fpclass declaration... " >&6; }
20362 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20363 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20364 $as_echo_n "(cached) " >&6
20365 else
20368 ac_ext=cpp
20369 ac_cpp='$CXXCPP $CPPFLAGS'
20370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20375 /* end confdefs.h. */
20376 #include <math.h>
20377 #ifdef HAVE_IEEEFP_H
20378 #include <ieeefp.h>
20379 #endif
20382 main ()
20384 fpclass(0);
20386 return 0;
20388 _ACEOF
20389 if ac_fn_cxx_try_compile "$LINENO"; then :
20390 glibcxx_cv_func_fpclass_use=yes
20391 else
20392 glibcxx_cv_func_fpclass_use=no
20394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20395 ac_ext=c
20396 ac_cpp='$CPP $CPPFLAGS'
20397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20406 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20408 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20409 for ac_func in fpclass
20410 do :
20411 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20412 if test "x$ac_cv_func_fpclass" = x""yes; then :
20413 cat >>confdefs.h <<_ACEOF
20414 #define HAVE_FPCLASS 1
20415 _ACEOF
20418 done
20420 else
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20423 $as_echo_n "checking for _fpclass declaration... " >&6; }
20424 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20425 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20426 $as_echo_n "(cached) " >&6
20427 else
20430 ac_ext=cpp
20431 ac_cpp='$CXXCPP $CPPFLAGS'
20432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h. */
20438 #include <math.h>
20439 #ifdef HAVE_IEEEFP_H
20440 #include <ieeefp.h>
20441 #endif
20444 main ()
20446 _fpclass(0);
20448 return 0;
20450 _ACEOF
20451 if ac_fn_cxx_try_compile "$LINENO"; then :
20452 glibcxx_cv_func__fpclass_use=yes
20453 else
20454 glibcxx_cv_func__fpclass_use=no
20456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20457 ac_ext=c
20458 ac_cpp='$CPP $CPPFLAGS'
20459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20468 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20470 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20471 for ac_func in _fpclass
20472 do :
20473 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20474 if test "x$ac_cv_func__fpclass" = x""yes; then :
20475 cat >>confdefs.h <<_ACEOF
20476 #define HAVE__FPCLASS 1
20477 _ACEOF
20480 done
20489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20490 $as_echo_n "checking for qfpclass declaration... " >&6; }
20491 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20492 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20493 $as_echo_n "(cached) " >&6
20494 else
20497 ac_ext=cpp
20498 ac_cpp='$CXXCPP $CPPFLAGS'
20499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20504 /* end confdefs.h. */
20505 #include <math.h>
20506 #ifdef HAVE_IEEEFP_H
20507 #include <ieeefp.h>
20508 #endif
20511 main ()
20513 qfpclass(0);
20515 return 0;
20517 _ACEOF
20518 if ac_fn_cxx_try_compile "$LINENO"; then :
20519 glibcxx_cv_func_qfpclass_use=yes
20520 else
20521 glibcxx_cv_func_qfpclass_use=no
20523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20524 ac_ext=c
20525 ac_cpp='$CPP $CPPFLAGS'
20526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20535 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20537 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20538 for ac_func in qfpclass
20539 do :
20540 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20541 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20542 cat >>confdefs.h <<_ACEOF
20543 #define HAVE_QFPCLASS 1
20544 _ACEOF
20547 done
20549 else
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20552 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20553 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20554 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20555 $as_echo_n "(cached) " >&6
20556 else
20559 ac_ext=cpp
20560 ac_cpp='$CXXCPP $CPPFLAGS'
20561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20566 /* end confdefs.h. */
20567 #include <math.h>
20568 #ifdef HAVE_IEEEFP_H
20569 #include <ieeefp.h>
20570 #endif
20573 main ()
20575 _qfpclass(0);
20577 return 0;
20579 _ACEOF
20580 if ac_fn_cxx_try_compile "$LINENO"; then :
20581 glibcxx_cv_func__qfpclass_use=yes
20582 else
20583 glibcxx_cv_func__qfpclass_use=no
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20586 ac_ext=c
20587 ac_cpp='$CPP $CPPFLAGS'
20588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20597 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20599 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20600 for ac_func in _qfpclass
20601 do :
20602 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20603 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20604 cat >>confdefs.h <<_ACEOF
20605 #define HAVE__QFPCLASS 1
20606 _ACEOF
20609 done
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20619 $as_echo_n "checking for hypot declaration... " >&6; }
20620 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20621 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20622 $as_echo_n "(cached) " >&6
20623 else
20626 ac_ext=cpp
20627 ac_cpp='$CXXCPP $CPPFLAGS'
20628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20633 /* end confdefs.h. */
20634 #include <math.h>
20636 main ()
20638 hypot(0, 0);
20640 return 0;
20642 _ACEOF
20643 if ac_fn_cxx_try_compile "$LINENO"; then :
20644 glibcxx_cv_func_hypot_use=yes
20645 else
20646 glibcxx_cv_func_hypot_use=no
20648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20649 ac_ext=c
20650 ac_cpp='$CPP $CPPFLAGS'
20651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20660 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20662 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20663 for ac_func in hypot
20664 do :
20665 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20666 if test "x$ac_cv_func_hypot" = x""yes; then :
20667 cat >>confdefs.h <<_ACEOF
20668 #define HAVE_HYPOT 1
20669 _ACEOF
20672 done
20674 else
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20677 $as_echo_n "checking for _hypot declaration... " >&6; }
20678 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20679 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20680 $as_echo_n "(cached) " >&6
20681 else
20684 ac_ext=cpp
20685 ac_cpp='$CXXCPP $CPPFLAGS'
20686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20691 /* end confdefs.h. */
20692 #include <math.h>
20694 main ()
20696 _hypot(0, 0);
20698 return 0;
20700 _ACEOF
20701 if ac_fn_cxx_try_compile "$LINENO"; then :
20702 glibcxx_cv_func__hypot_use=yes
20703 else
20704 glibcxx_cv_func__hypot_use=no
20706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20707 ac_ext=c
20708 ac_cpp='$CPP $CPPFLAGS'
20709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20718 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20720 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20721 for ac_func in _hypot
20722 do :
20723 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20724 if test "x$ac_cv_func__hypot" = x""yes; then :
20725 cat >>confdefs.h <<_ACEOF
20726 #define HAVE__HYPOT 1
20727 _ACEOF
20730 done
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20740 $as_echo_n "checking for float trig functions... " >&6; }
20741 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20742 $as_echo_n "(cached) " >&6
20743 else
20746 ac_ext=cpp
20747 ac_cpp='$CXXCPP $CPPFLAGS'
20748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20753 /* end confdefs.h. */
20754 #include <math.h>
20756 main ()
20758 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20760 return 0;
20762 _ACEOF
20763 if ac_fn_cxx_try_compile "$LINENO"; then :
20764 glibcxx_cv_func_float_trig_use=yes
20765 else
20766 glibcxx_cv_func_float_trig_use=no
20768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20769 ac_ext=c
20770 ac_cpp='$CPP $CPPFLAGS'
20771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20778 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20779 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20780 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20781 do :
20782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20784 eval as_val=\$$as_ac_var
20785 if test "x$as_val" = x""yes; then :
20786 cat >>confdefs.h <<_ACEOF
20787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20788 _ACEOF
20791 done
20793 else
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20795 $as_echo_n "checking for _float trig functions... " >&6; }
20796 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20797 $as_echo_n "(cached) " >&6
20798 else
20801 ac_ext=cpp
20802 ac_cpp='$CXXCPP $CPPFLAGS'
20803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20808 /* end confdefs.h. */
20809 #include <math.h>
20811 main ()
20813 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20815 return 0;
20817 _ACEOF
20818 if ac_fn_cxx_try_compile "$LINENO"; then :
20819 glibcxx_cv_func__float_trig_use=yes
20820 else
20821 glibcxx_cv_func__float_trig_use=no
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20824 ac_ext=c
20825 ac_cpp='$CPP $CPPFLAGS'
20826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20833 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20834 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20835 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20836 do :
20837 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20838 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20839 eval as_val=\$$as_ac_var
20840 if test "x$as_val" = x""yes; then :
20841 cat >>confdefs.h <<_ACEOF
20842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20843 _ACEOF
20846 done
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20856 $as_echo_n "checking for float round functions... " >&6; }
20857 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20858 $as_echo_n "(cached) " >&6
20859 else
20862 ac_ext=cpp
20863 ac_cpp='$CXXCPP $CPPFLAGS'
20864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20869 /* end confdefs.h. */
20870 #include <math.h>
20872 main ()
20874 ceilf (0); floorf (0);
20876 return 0;
20878 _ACEOF
20879 if ac_fn_cxx_try_compile "$LINENO"; then :
20880 glibcxx_cv_func_float_round_use=yes
20881 else
20882 glibcxx_cv_func_float_round_use=no
20884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885 ac_ext=c
20886 ac_cpp='$CPP $CPPFLAGS'
20887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20894 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20895 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20896 for ac_func in ceilf floorf
20897 do :
20898 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20899 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20900 eval as_val=\$$as_ac_var
20901 if test "x$as_val" = x""yes; then :
20902 cat >>confdefs.h <<_ACEOF
20903 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20904 _ACEOF
20907 done
20909 else
20910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20911 $as_echo_n "checking for _float round functions... " >&6; }
20912 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20913 $as_echo_n "(cached) " >&6
20914 else
20917 ac_ext=cpp
20918 ac_cpp='$CXXCPP $CPPFLAGS'
20919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h. */
20925 #include <math.h>
20927 main ()
20929 _ceilf (0); _floorf (0);
20931 return 0;
20933 _ACEOF
20934 if ac_fn_cxx_try_compile "$LINENO"; then :
20935 glibcxx_cv_func__float_round_use=yes
20936 else
20937 glibcxx_cv_func__float_round_use=no
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940 ac_ext=c
20941 ac_cpp='$CPP $CPPFLAGS'
20942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20949 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20950 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20951 for ac_func in _ceilf _floorf
20952 do :
20953 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20954 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20955 eval as_val=\$$as_ac_var
20956 if test "x$as_val" = x""yes; then :
20957 cat >>confdefs.h <<_ACEOF
20958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20959 _ACEOF
20962 done
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20973 $as_echo_n "checking for expf declaration... " >&6; }
20974 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20975 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20976 $as_echo_n "(cached) " >&6
20977 else
20980 ac_ext=cpp
20981 ac_cpp='$CXXCPP $CPPFLAGS'
20982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 #include <math.h>
20989 #ifdef HAVE_IEEEFP_H
20990 #include <ieeefp.h>
20991 #endif
20994 main ()
20996 expf(0);
20998 return 0;
21000 _ACEOF
21001 if ac_fn_cxx_try_compile "$LINENO"; then :
21002 glibcxx_cv_func_expf_use=yes
21003 else
21004 glibcxx_cv_func_expf_use=no
21006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 ac_ext=c
21008 ac_cpp='$CPP $CPPFLAGS'
21009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21018 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21020 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21021 for ac_func in expf
21022 do :
21023 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21024 if test "x$ac_cv_func_expf" = x""yes; then :
21025 cat >>confdefs.h <<_ACEOF
21026 #define HAVE_EXPF 1
21027 _ACEOF
21030 done
21032 else
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21035 $as_echo_n "checking for _expf declaration... " >&6; }
21036 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21037 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21038 $as_echo_n "(cached) " >&6
21039 else
21042 ac_ext=cpp
21043 ac_cpp='$CXXCPP $CPPFLAGS'
21044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21049 /* end confdefs.h. */
21050 #include <math.h>
21051 #ifdef HAVE_IEEEFP_H
21052 #include <ieeefp.h>
21053 #endif
21056 main ()
21058 _expf(0);
21060 return 0;
21062 _ACEOF
21063 if ac_fn_cxx_try_compile "$LINENO"; then :
21064 glibcxx_cv_func__expf_use=yes
21065 else
21066 glibcxx_cv_func__expf_use=no
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069 ac_ext=c
21070 ac_cpp='$CPP $CPPFLAGS'
21071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21080 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21082 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21083 for ac_func in _expf
21084 do :
21085 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21086 if test "x$ac_cv_func__expf" = x""yes; then :
21087 cat >>confdefs.h <<_ACEOF
21088 #define HAVE__EXPF 1
21089 _ACEOF
21092 done
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21102 $as_echo_n "checking for isnanf declaration... " >&6; }
21103 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21104 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21105 $as_echo_n "(cached) " >&6
21106 else
21109 ac_ext=cpp
21110 ac_cpp='$CXXCPP $CPPFLAGS'
21111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21116 /* end confdefs.h. */
21117 #include <math.h>
21118 #ifdef HAVE_IEEEFP_H
21119 #include <ieeefp.h>
21120 #endif
21123 main ()
21125 isnanf(0);
21127 return 0;
21129 _ACEOF
21130 if ac_fn_cxx_try_compile "$LINENO"; then :
21131 glibcxx_cv_func_isnanf_use=yes
21132 else
21133 glibcxx_cv_func_isnanf_use=no
21135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21136 ac_ext=c
21137 ac_cpp='$CPP $CPPFLAGS'
21138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21147 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21149 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21150 for ac_func in isnanf
21151 do :
21152 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21153 if test "x$ac_cv_func_isnanf" = x""yes; then :
21154 cat >>confdefs.h <<_ACEOF
21155 #define HAVE_ISNANF 1
21156 _ACEOF
21159 done
21161 else
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21164 $as_echo_n "checking for _isnanf declaration... " >&6; }
21165 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21166 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21167 $as_echo_n "(cached) " >&6
21168 else
21171 ac_ext=cpp
21172 ac_cpp='$CXXCPP $CPPFLAGS'
21173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178 /* end confdefs.h. */
21179 #include <math.h>
21180 #ifdef HAVE_IEEEFP_H
21181 #include <ieeefp.h>
21182 #endif
21185 main ()
21187 _isnanf(0);
21189 return 0;
21191 _ACEOF
21192 if ac_fn_cxx_try_compile "$LINENO"; then :
21193 glibcxx_cv_func__isnanf_use=yes
21194 else
21195 glibcxx_cv_func__isnanf_use=no
21197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21198 ac_ext=c
21199 ac_cpp='$CPP $CPPFLAGS'
21200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21209 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21211 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21212 for ac_func in _isnanf
21213 do :
21214 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21215 if test "x$ac_cv_func__isnanf" = x""yes; then :
21216 cat >>confdefs.h <<_ACEOF
21217 #define HAVE__ISNANF 1
21218 _ACEOF
21221 done
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21231 $as_echo_n "checking for isinff declaration... " >&6; }
21232 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21233 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21234 $as_echo_n "(cached) " >&6
21235 else
21238 ac_ext=cpp
21239 ac_cpp='$CXXCPP $CPPFLAGS'
21240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21245 /* end confdefs.h. */
21246 #include <math.h>
21247 #ifdef HAVE_IEEEFP_H
21248 #include <ieeefp.h>
21249 #endif
21252 main ()
21254 isinff(0);
21256 return 0;
21258 _ACEOF
21259 if ac_fn_cxx_try_compile "$LINENO"; then :
21260 glibcxx_cv_func_isinff_use=yes
21261 else
21262 glibcxx_cv_func_isinff_use=no
21264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21265 ac_ext=c
21266 ac_cpp='$CPP $CPPFLAGS'
21267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21276 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21278 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21279 for ac_func in isinff
21280 do :
21281 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21282 if test "x$ac_cv_func_isinff" = x""yes; then :
21283 cat >>confdefs.h <<_ACEOF
21284 #define HAVE_ISINFF 1
21285 _ACEOF
21288 done
21290 else
21292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21293 $as_echo_n "checking for _isinff declaration... " >&6; }
21294 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21295 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21296 $as_echo_n "(cached) " >&6
21297 else
21300 ac_ext=cpp
21301 ac_cpp='$CXXCPP $CPPFLAGS'
21302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21307 /* end confdefs.h. */
21308 #include <math.h>
21309 #ifdef HAVE_IEEEFP_H
21310 #include <ieeefp.h>
21311 #endif
21314 main ()
21316 _isinff(0);
21318 return 0;
21320 _ACEOF
21321 if ac_fn_cxx_try_compile "$LINENO"; then :
21322 glibcxx_cv_func__isinff_use=yes
21323 else
21324 glibcxx_cv_func__isinff_use=no
21326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21327 ac_ext=c
21328 ac_cpp='$CPP $CPPFLAGS'
21329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21338 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21340 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21341 for ac_func in _isinff
21342 do :
21343 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21344 if test "x$ac_cv_func__isinff" = x""yes; then :
21345 cat >>confdefs.h <<_ACEOF
21346 #define HAVE__ISINFF 1
21347 _ACEOF
21350 done
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21360 $as_echo_n "checking for atan2f declaration... " >&6; }
21361 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21362 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21363 $as_echo_n "(cached) " >&6
21364 else
21367 ac_ext=cpp
21368 ac_cpp='$CXXCPP $CPPFLAGS'
21369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h. */
21375 #include <math.h>
21377 main ()
21379 atan2f(0, 0);
21381 return 0;
21383 _ACEOF
21384 if ac_fn_cxx_try_compile "$LINENO"; then :
21385 glibcxx_cv_func_atan2f_use=yes
21386 else
21387 glibcxx_cv_func_atan2f_use=no
21389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21390 ac_ext=c
21391 ac_cpp='$CPP $CPPFLAGS'
21392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21401 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21403 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21404 for ac_func in atan2f
21405 do :
21406 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21407 if test "x$ac_cv_func_atan2f" = x""yes; then :
21408 cat >>confdefs.h <<_ACEOF
21409 #define HAVE_ATAN2F 1
21410 _ACEOF
21413 done
21415 else
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21418 $as_echo_n "checking for _atan2f declaration... " >&6; }
21419 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21420 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21421 $as_echo_n "(cached) " >&6
21422 else
21425 ac_ext=cpp
21426 ac_cpp='$CXXCPP $CPPFLAGS'
21427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21432 /* end confdefs.h. */
21433 #include <math.h>
21435 main ()
21437 _atan2f(0, 0);
21439 return 0;
21441 _ACEOF
21442 if ac_fn_cxx_try_compile "$LINENO"; then :
21443 glibcxx_cv_func__atan2f_use=yes
21444 else
21445 glibcxx_cv_func__atan2f_use=no
21447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21448 ac_ext=c
21449 ac_cpp='$CPP $CPPFLAGS'
21450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21459 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21461 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21462 for ac_func in _atan2f
21463 do :
21464 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21465 if test "x$ac_cv_func__atan2f" = x""yes; then :
21466 cat >>confdefs.h <<_ACEOF
21467 #define HAVE__ATAN2F 1
21468 _ACEOF
21471 done
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21481 $as_echo_n "checking for fabsf declaration... " >&6; }
21482 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21483 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21484 $as_echo_n "(cached) " >&6
21485 else
21488 ac_ext=cpp
21489 ac_cpp='$CXXCPP $CPPFLAGS'
21490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21495 /* end confdefs.h. */
21496 #include <math.h>
21497 #ifdef HAVE_IEEEFP_H
21498 #include <ieeefp.h>
21499 #endif
21502 main ()
21504 fabsf(0);
21506 return 0;
21508 _ACEOF
21509 if ac_fn_cxx_try_compile "$LINENO"; then :
21510 glibcxx_cv_func_fabsf_use=yes
21511 else
21512 glibcxx_cv_func_fabsf_use=no
21514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21515 ac_ext=c
21516 ac_cpp='$CPP $CPPFLAGS'
21517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21526 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21528 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21529 for ac_func in fabsf
21530 do :
21531 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21532 if test "x$ac_cv_func_fabsf" = x""yes; then :
21533 cat >>confdefs.h <<_ACEOF
21534 #define HAVE_FABSF 1
21535 _ACEOF
21538 done
21540 else
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21543 $as_echo_n "checking for _fabsf declaration... " >&6; }
21544 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21545 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21546 $as_echo_n "(cached) " >&6
21547 else
21550 ac_ext=cpp
21551 ac_cpp='$CXXCPP $CPPFLAGS'
21552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21557 /* end confdefs.h. */
21558 #include <math.h>
21559 #ifdef HAVE_IEEEFP_H
21560 #include <ieeefp.h>
21561 #endif
21564 main ()
21566 _fabsf(0);
21568 return 0;
21570 _ACEOF
21571 if ac_fn_cxx_try_compile "$LINENO"; then :
21572 glibcxx_cv_func__fabsf_use=yes
21573 else
21574 glibcxx_cv_func__fabsf_use=no
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577 ac_ext=c
21578 ac_cpp='$CPP $CPPFLAGS'
21579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21588 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21590 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21591 for ac_func in _fabsf
21592 do :
21593 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21594 if test "x$ac_cv_func__fabsf" = x""yes; then :
21595 cat >>confdefs.h <<_ACEOF
21596 #define HAVE__FABSF 1
21597 _ACEOF
21600 done
21609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21610 $as_echo_n "checking for fmodf declaration... " >&6; }
21611 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21612 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21613 $as_echo_n "(cached) " >&6
21614 else
21617 ac_ext=cpp
21618 ac_cpp='$CXXCPP $CPPFLAGS'
21619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21624 /* end confdefs.h. */
21625 #include <math.h>
21627 main ()
21629 fmodf(0, 0);
21631 return 0;
21633 _ACEOF
21634 if ac_fn_cxx_try_compile "$LINENO"; then :
21635 glibcxx_cv_func_fmodf_use=yes
21636 else
21637 glibcxx_cv_func_fmodf_use=no
21639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21640 ac_ext=c
21641 ac_cpp='$CPP $CPPFLAGS'
21642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21651 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21653 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21654 for ac_func in fmodf
21655 do :
21656 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21657 if test "x$ac_cv_func_fmodf" = x""yes; then :
21658 cat >>confdefs.h <<_ACEOF
21659 #define HAVE_FMODF 1
21660 _ACEOF
21663 done
21665 else
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21668 $as_echo_n "checking for _fmodf declaration... " >&6; }
21669 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21670 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21671 $as_echo_n "(cached) " >&6
21672 else
21675 ac_ext=cpp
21676 ac_cpp='$CXXCPP $CPPFLAGS'
21677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h. */
21683 #include <math.h>
21685 main ()
21687 _fmodf(0, 0);
21689 return 0;
21691 _ACEOF
21692 if ac_fn_cxx_try_compile "$LINENO"; then :
21693 glibcxx_cv_func__fmodf_use=yes
21694 else
21695 glibcxx_cv_func__fmodf_use=no
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21698 ac_ext=c
21699 ac_cpp='$CPP $CPPFLAGS'
21700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21709 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21711 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21712 for ac_func in _fmodf
21713 do :
21714 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21715 if test "x$ac_cv_func__fmodf" = x""yes; then :
21716 cat >>confdefs.h <<_ACEOF
21717 #define HAVE__FMODF 1
21718 _ACEOF
21721 done
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21731 $as_echo_n "checking for frexpf declaration... " >&6; }
21732 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21733 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21734 $as_echo_n "(cached) " >&6
21735 else
21738 ac_ext=cpp
21739 ac_cpp='$CXXCPP $CPPFLAGS'
21740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21745 /* end confdefs.h. */
21746 #include <math.h>
21748 main ()
21750 frexpf(0, 0);
21752 return 0;
21754 _ACEOF
21755 if ac_fn_cxx_try_compile "$LINENO"; then :
21756 glibcxx_cv_func_frexpf_use=yes
21757 else
21758 glibcxx_cv_func_frexpf_use=no
21760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21761 ac_ext=c
21762 ac_cpp='$CPP $CPPFLAGS'
21763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21772 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21774 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21775 for ac_func in frexpf
21776 do :
21777 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21778 if test "x$ac_cv_func_frexpf" = x""yes; then :
21779 cat >>confdefs.h <<_ACEOF
21780 #define HAVE_FREXPF 1
21781 _ACEOF
21784 done
21786 else
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21789 $as_echo_n "checking for _frexpf declaration... " >&6; }
21790 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21791 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21792 $as_echo_n "(cached) " >&6
21793 else
21796 ac_ext=cpp
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h. */
21804 #include <math.h>
21806 main ()
21808 _frexpf(0, 0);
21810 return 0;
21812 _ACEOF
21813 if ac_fn_cxx_try_compile "$LINENO"; then :
21814 glibcxx_cv_func__frexpf_use=yes
21815 else
21816 glibcxx_cv_func__frexpf_use=no
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21819 ac_ext=c
21820 ac_cpp='$CPP $CPPFLAGS'
21821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21830 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21832 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21833 for ac_func in _frexpf
21834 do :
21835 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21836 if test "x$ac_cv_func__frexpf" = x""yes; then :
21837 cat >>confdefs.h <<_ACEOF
21838 #define HAVE__FREXPF 1
21839 _ACEOF
21842 done
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21852 $as_echo_n "checking for hypotf declaration... " >&6; }
21853 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21854 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21855 $as_echo_n "(cached) " >&6
21856 else
21859 ac_ext=cpp
21860 ac_cpp='$CXXCPP $CPPFLAGS'
21861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21866 /* end confdefs.h. */
21867 #include <math.h>
21869 main ()
21871 hypotf(0, 0);
21873 return 0;
21875 _ACEOF
21876 if ac_fn_cxx_try_compile "$LINENO"; then :
21877 glibcxx_cv_func_hypotf_use=yes
21878 else
21879 glibcxx_cv_func_hypotf_use=no
21881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21882 ac_ext=c
21883 ac_cpp='$CPP $CPPFLAGS'
21884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21893 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21895 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21896 for ac_func in hypotf
21897 do :
21898 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21899 if test "x$ac_cv_func_hypotf" = x""yes; then :
21900 cat >>confdefs.h <<_ACEOF
21901 #define HAVE_HYPOTF 1
21902 _ACEOF
21905 done
21907 else
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21910 $as_echo_n "checking for _hypotf declaration... " >&6; }
21911 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21912 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21913 $as_echo_n "(cached) " >&6
21914 else
21917 ac_ext=cpp
21918 ac_cpp='$CXXCPP $CPPFLAGS'
21919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21924 /* end confdefs.h. */
21925 #include <math.h>
21927 main ()
21929 _hypotf(0, 0);
21931 return 0;
21933 _ACEOF
21934 if ac_fn_cxx_try_compile "$LINENO"; then :
21935 glibcxx_cv_func__hypotf_use=yes
21936 else
21937 glibcxx_cv_func__hypotf_use=no
21939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21940 ac_ext=c
21941 ac_cpp='$CPP $CPPFLAGS'
21942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21951 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21953 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21954 for ac_func in _hypotf
21955 do :
21956 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21957 if test "x$ac_cv_func__hypotf" = x""yes; then :
21958 cat >>confdefs.h <<_ACEOF
21959 #define HAVE__HYPOTF 1
21960 _ACEOF
21963 done
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21973 $as_echo_n "checking for ldexpf declaration... " >&6; }
21974 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21975 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21976 $as_echo_n "(cached) " >&6
21977 else
21980 ac_ext=cpp
21981 ac_cpp='$CXXCPP $CPPFLAGS'
21982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21987 /* end confdefs.h. */
21988 #include <math.h>
21990 main ()
21992 ldexpf(0, 0);
21994 return 0;
21996 _ACEOF
21997 if ac_fn_cxx_try_compile "$LINENO"; then :
21998 glibcxx_cv_func_ldexpf_use=yes
21999 else
22000 glibcxx_cv_func_ldexpf_use=no
22002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22003 ac_ext=c
22004 ac_cpp='$CPP $CPPFLAGS'
22005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22014 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22016 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22017 for ac_func in ldexpf
22018 do :
22019 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22020 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22021 cat >>confdefs.h <<_ACEOF
22022 #define HAVE_LDEXPF 1
22023 _ACEOF
22026 done
22028 else
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22031 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22032 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22033 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22034 $as_echo_n "(cached) " >&6
22035 else
22038 ac_ext=cpp
22039 ac_cpp='$CXXCPP $CPPFLAGS'
22040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22045 /* end confdefs.h. */
22046 #include <math.h>
22048 main ()
22050 _ldexpf(0, 0);
22052 return 0;
22054 _ACEOF
22055 if ac_fn_cxx_try_compile "$LINENO"; then :
22056 glibcxx_cv_func__ldexpf_use=yes
22057 else
22058 glibcxx_cv_func__ldexpf_use=no
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 ac_ext=c
22062 ac_cpp='$CPP $CPPFLAGS'
22063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22072 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22074 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22075 for ac_func in _ldexpf
22076 do :
22077 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22078 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22079 cat >>confdefs.h <<_ACEOF
22080 #define HAVE__LDEXPF 1
22081 _ACEOF
22084 done
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22094 $as_echo_n "checking for logf declaration... " >&6; }
22095 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22096 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22097 $as_echo_n "(cached) " >&6
22098 else
22101 ac_ext=cpp
22102 ac_cpp='$CXXCPP $CPPFLAGS'
22103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22108 /* end confdefs.h. */
22109 #include <math.h>
22110 #ifdef HAVE_IEEEFP_H
22111 #include <ieeefp.h>
22112 #endif
22115 main ()
22117 logf(0);
22119 return 0;
22121 _ACEOF
22122 if ac_fn_cxx_try_compile "$LINENO"; then :
22123 glibcxx_cv_func_logf_use=yes
22124 else
22125 glibcxx_cv_func_logf_use=no
22127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22128 ac_ext=c
22129 ac_cpp='$CPP $CPPFLAGS'
22130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22139 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22141 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22142 for ac_func in logf
22143 do :
22144 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22145 if test "x$ac_cv_func_logf" = x""yes; then :
22146 cat >>confdefs.h <<_ACEOF
22147 #define HAVE_LOGF 1
22148 _ACEOF
22151 done
22153 else
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22156 $as_echo_n "checking for _logf declaration... " >&6; }
22157 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22158 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22159 $as_echo_n "(cached) " >&6
22160 else
22163 ac_ext=cpp
22164 ac_cpp='$CXXCPP $CPPFLAGS'
22165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22170 /* end confdefs.h. */
22171 #include <math.h>
22172 #ifdef HAVE_IEEEFP_H
22173 #include <ieeefp.h>
22174 #endif
22177 main ()
22179 _logf(0);
22181 return 0;
22183 _ACEOF
22184 if ac_fn_cxx_try_compile "$LINENO"; then :
22185 glibcxx_cv_func__logf_use=yes
22186 else
22187 glibcxx_cv_func__logf_use=no
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22190 ac_ext=c
22191 ac_cpp='$CPP $CPPFLAGS'
22192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22201 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22203 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22204 for ac_func in _logf
22205 do :
22206 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22207 if test "x$ac_cv_func__logf" = x""yes; then :
22208 cat >>confdefs.h <<_ACEOF
22209 #define HAVE__LOGF 1
22210 _ACEOF
22213 done
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22223 $as_echo_n "checking for log10f declaration... " >&6; }
22224 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22225 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22226 $as_echo_n "(cached) " >&6
22227 else
22230 ac_ext=cpp
22231 ac_cpp='$CXXCPP $CPPFLAGS'
22232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22237 /* end confdefs.h. */
22238 #include <math.h>
22239 #ifdef HAVE_IEEEFP_H
22240 #include <ieeefp.h>
22241 #endif
22244 main ()
22246 log10f(0);
22248 return 0;
22250 _ACEOF
22251 if ac_fn_cxx_try_compile "$LINENO"; then :
22252 glibcxx_cv_func_log10f_use=yes
22253 else
22254 glibcxx_cv_func_log10f_use=no
22256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22257 ac_ext=c
22258 ac_cpp='$CPP $CPPFLAGS'
22259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22268 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22270 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22271 for ac_func in log10f
22272 do :
22273 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22274 if test "x$ac_cv_func_log10f" = x""yes; then :
22275 cat >>confdefs.h <<_ACEOF
22276 #define HAVE_LOG10F 1
22277 _ACEOF
22280 done
22282 else
22284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22285 $as_echo_n "checking for _log10f declaration... " >&6; }
22286 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22287 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22288 $as_echo_n "(cached) " >&6
22289 else
22292 ac_ext=cpp
22293 ac_cpp='$CXXCPP $CPPFLAGS'
22294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22299 /* end confdefs.h. */
22300 #include <math.h>
22301 #ifdef HAVE_IEEEFP_H
22302 #include <ieeefp.h>
22303 #endif
22306 main ()
22308 _log10f(0);
22310 return 0;
22312 _ACEOF
22313 if ac_fn_cxx_try_compile "$LINENO"; then :
22314 glibcxx_cv_func__log10f_use=yes
22315 else
22316 glibcxx_cv_func__log10f_use=no
22318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22319 ac_ext=c
22320 ac_cpp='$CPP $CPPFLAGS'
22321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22330 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22332 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22333 for ac_func in _log10f
22334 do :
22335 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22336 if test "x$ac_cv_func__log10f" = x""yes; then :
22337 cat >>confdefs.h <<_ACEOF
22338 #define HAVE__LOG10F 1
22339 _ACEOF
22342 done
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22352 $as_echo_n "checking for modff declaration... " >&6; }
22353 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22354 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22355 $as_echo_n "(cached) " >&6
22356 else
22359 ac_ext=cpp
22360 ac_cpp='$CXXCPP $CPPFLAGS'
22361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22366 /* end confdefs.h. */
22367 #include <math.h>
22369 main ()
22371 modff(0, 0);
22373 return 0;
22375 _ACEOF
22376 if ac_fn_cxx_try_compile "$LINENO"; then :
22377 glibcxx_cv_func_modff_use=yes
22378 else
22379 glibcxx_cv_func_modff_use=no
22381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22382 ac_ext=c
22383 ac_cpp='$CPP $CPPFLAGS'
22384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22393 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22395 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22396 for ac_func in modff
22397 do :
22398 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22399 if test "x$ac_cv_func_modff" = x""yes; then :
22400 cat >>confdefs.h <<_ACEOF
22401 #define HAVE_MODFF 1
22402 _ACEOF
22405 done
22407 else
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22410 $as_echo_n "checking for _modff declaration... " >&6; }
22411 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22412 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22413 $as_echo_n "(cached) " >&6
22414 else
22417 ac_ext=cpp
22418 ac_cpp='$CXXCPP $CPPFLAGS'
22419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22424 /* end confdefs.h. */
22425 #include <math.h>
22427 main ()
22429 _modff(0, 0);
22431 return 0;
22433 _ACEOF
22434 if ac_fn_cxx_try_compile "$LINENO"; then :
22435 glibcxx_cv_func__modff_use=yes
22436 else
22437 glibcxx_cv_func__modff_use=no
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440 ac_ext=c
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22451 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22453 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22454 for ac_func in _modff
22455 do :
22456 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22457 if test "x$ac_cv_func__modff" = x""yes; then :
22458 cat >>confdefs.h <<_ACEOF
22459 #define HAVE__MODFF 1
22460 _ACEOF
22463 done
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22473 $as_echo_n "checking for modf declaration... " >&6; }
22474 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22475 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22476 $as_echo_n "(cached) " >&6
22477 else
22480 ac_ext=cpp
22481 ac_cpp='$CXXCPP $CPPFLAGS'
22482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h. */
22488 #include <math.h>
22490 main ()
22492 modf(0, 0);
22494 return 0;
22496 _ACEOF
22497 if ac_fn_cxx_try_compile "$LINENO"; then :
22498 glibcxx_cv_func_modf_use=yes
22499 else
22500 glibcxx_cv_func_modf_use=no
22502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22503 ac_ext=c
22504 ac_cpp='$CPP $CPPFLAGS'
22505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22514 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22516 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22517 for ac_func in modf
22518 do :
22519 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22520 if test "x$ac_cv_func_modf" = x""yes; then :
22521 cat >>confdefs.h <<_ACEOF
22522 #define HAVE_MODF 1
22523 _ACEOF
22526 done
22528 else
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22531 $as_echo_n "checking for _modf declaration... " >&6; }
22532 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22533 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22534 $as_echo_n "(cached) " >&6
22535 else
22538 ac_ext=cpp
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h. */
22546 #include <math.h>
22548 main ()
22550 _modf(0, 0);
22552 return 0;
22554 _ACEOF
22555 if ac_fn_cxx_try_compile "$LINENO"; then :
22556 glibcxx_cv_func__modf_use=yes
22557 else
22558 glibcxx_cv_func__modf_use=no
22560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22561 ac_ext=c
22562 ac_cpp='$CPP $CPPFLAGS'
22563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22572 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22574 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22575 for ac_func in _modf
22576 do :
22577 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22578 if test "x$ac_cv_func__modf" = x""yes; then :
22579 cat >>confdefs.h <<_ACEOF
22580 #define HAVE__MODF 1
22581 _ACEOF
22584 done
22593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22594 $as_echo_n "checking for powf declaration... " >&6; }
22595 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22596 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22597 $as_echo_n "(cached) " >&6
22598 else
22601 ac_ext=cpp
22602 ac_cpp='$CXXCPP $CPPFLAGS'
22603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22608 /* end confdefs.h. */
22609 #include <math.h>
22611 main ()
22613 powf(0, 0);
22615 return 0;
22617 _ACEOF
22618 if ac_fn_cxx_try_compile "$LINENO"; then :
22619 glibcxx_cv_func_powf_use=yes
22620 else
22621 glibcxx_cv_func_powf_use=no
22623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22624 ac_ext=c
22625 ac_cpp='$CPP $CPPFLAGS'
22626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22635 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22637 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22638 for ac_func in powf
22639 do :
22640 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22641 if test "x$ac_cv_func_powf" = x""yes; then :
22642 cat >>confdefs.h <<_ACEOF
22643 #define HAVE_POWF 1
22644 _ACEOF
22647 done
22649 else
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22652 $as_echo_n "checking for _powf declaration... " >&6; }
22653 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22654 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22655 $as_echo_n "(cached) " >&6
22656 else
22659 ac_ext=cpp
22660 ac_cpp='$CXXCPP $CPPFLAGS'
22661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22666 /* end confdefs.h. */
22667 #include <math.h>
22669 main ()
22671 _powf(0, 0);
22673 return 0;
22675 _ACEOF
22676 if ac_fn_cxx_try_compile "$LINENO"; then :
22677 glibcxx_cv_func__powf_use=yes
22678 else
22679 glibcxx_cv_func__powf_use=no
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682 ac_ext=c
22683 ac_cpp='$CPP $CPPFLAGS'
22684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22693 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22695 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22696 for ac_func in _powf
22697 do :
22698 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22699 if test "x$ac_cv_func__powf" = x""yes; then :
22700 cat >>confdefs.h <<_ACEOF
22701 #define HAVE__POWF 1
22702 _ACEOF
22705 done
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22715 $as_echo_n "checking for sqrtf declaration... " >&6; }
22716 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22717 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22718 $as_echo_n "(cached) " >&6
22719 else
22722 ac_ext=cpp
22723 ac_cpp='$CXXCPP $CPPFLAGS'
22724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22729 /* end confdefs.h. */
22730 #include <math.h>
22731 #ifdef HAVE_IEEEFP_H
22732 #include <ieeefp.h>
22733 #endif
22736 main ()
22738 sqrtf(0);
22740 return 0;
22742 _ACEOF
22743 if ac_fn_cxx_try_compile "$LINENO"; then :
22744 glibcxx_cv_func_sqrtf_use=yes
22745 else
22746 glibcxx_cv_func_sqrtf_use=no
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749 ac_ext=c
22750 ac_cpp='$CPP $CPPFLAGS'
22751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22760 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22762 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22763 for ac_func in sqrtf
22764 do :
22765 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22766 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22767 cat >>confdefs.h <<_ACEOF
22768 #define HAVE_SQRTF 1
22769 _ACEOF
22772 done
22774 else
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22777 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22778 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22779 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22780 $as_echo_n "(cached) " >&6
22781 else
22784 ac_ext=cpp
22785 ac_cpp='$CXXCPP $CPPFLAGS'
22786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22791 /* end confdefs.h. */
22792 #include <math.h>
22793 #ifdef HAVE_IEEEFP_H
22794 #include <ieeefp.h>
22795 #endif
22798 main ()
22800 _sqrtf(0);
22802 return 0;
22804 _ACEOF
22805 if ac_fn_cxx_try_compile "$LINENO"; then :
22806 glibcxx_cv_func__sqrtf_use=yes
22807 else
22808 glibcxx_cv_func__sqrtf_use=no
22810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22811 ac_ext=c
22812 ac_cpp='$CPP $CPPFLAGS'
22813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22822 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22824 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22825 for ac_func in _sqrtf
22826 do :
22827 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22828 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22829 cat >>confdefs.h <<_ACEOF
22830 #define HAVE__SQRTF 1
22831 _ACEOF
22834 done
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22844 $as_echo_n "checking for sincosf declaration... " >&6; }
22845 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22846 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22847 $as_echo_n "(cached) " >&6
22848 else
22851 ac_ext=cpp
22852 ac_cpp='$CXXCPP $CPPFLAGS'
22853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22858 /* end confdefs.h. */
22859 #include <math.h>
22861 main ()
22863 sincosf(0, 0, 0);
22865 return 0;
22867 _ACEOF
22868 if ac_fn_cxx_try_compile "$LINENO"; then :
22869 glibcxx_cv_func_sincosf_use=yes
22870 else
22871 glibcxx_cv_func_sincosf_use=no
22873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22874 ac_ext=c
22875 ac_cpp='$CPP $CPPFLAGS'
22876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22885 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22887 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22888 for ac_func in sincosf
22889 do :
22890 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22891 if test "x$ac_cv_func_sincosf" = x""yes; then :
22892 cat >>confdefs.h <<_ACEOF
22893 #define HAVE_SINCOSF 1
22894 _ACEOF
22897 done
22899 else
22901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22902 $as_echo_n "checking for _sincosf declaration... " >&6; }
22903 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22904 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22905 $as_echo_n "(cached) " >&6
22906 else
22909 ac_ext=cpp
22910 ac_cpp='$CXXCPP $CPPFLAGS'
22911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22916 /* end confdefs.h. */
22917 #include <math.h>
22919 main ()
22921 _sincosf(0, 0, 0);
22923 return 0;
22925 _ACEOF
22926 if ac_fn_cxx_try_compile "$LINENO"; then :
22927 glibcxx_cv_func__sincosf_use=yes
22928 else
22929 glibcxx_cv_func__sincosf_use=no
22931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22932 ac_ext=c
22933 ac_cpp='$CPP $CPPFLAGS'
22934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22943 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22945 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22946 for ac_func in _sincosf
22947 do :
22948 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22949 if test "x$ac_cv_func__sincosf" = x""yes; then :
22950 cat >>confdefs.h <<_ACEOF
22951 #define HAVE__SINCOSF 1
22952 _ACEOF
22955 done
22964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22965 $as_echo_n "checking for finitef declaration... " >&6; }
22966 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22967 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22968 $as_echo_n "(cached) " >&6
22969 else
22972 ac_ext=cpp
22973 ac_cpp='$CXXCPP $CPPFLAGS'
22974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22979 /* end confdefs.h. */
22980 #include <math.h>
22981 #ifdef HAVE_IEEEFP_H
22982 #include <ieeefp.h>
22983 #endif
22986 main ()
22988 finitef(0);
22990 return 0;
22992 _ACEOF
22993 if ac_fn_cxx_try_compile "$LINENO"; then :
22994 glibcxx_cv_func_finitef_use=yes
22995 else
22996 glibcxx_cv_func_finitef_use=no
22998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22999 ac_ext=c
23000 ac_cpp='$CPP $CPPFLAGS'
23001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23010 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23012 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23013 for ac_func in finitef
23014 do :
23015 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23016 if test "x$ac_cv_func_finitef" = x""yes; then :
23017 cat >>confdefs.h <<_ACEOF
23018 #define HAVE_FINITEF 1
23019 _ACEOF
23022 done
23024 else
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23027 $as_echo_n "checking for _finitef declaration... " >&6; }
23028 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23029 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23030 $as_echo_n "(cached) " >&6
23031 else
23034 ac_ext=cpp
23035 ac_cpp='$CXXCPP $CPPFLAGS'
23036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23041 /* end confdefs.h. */
23042 #include <math.h>
23043 #ifdef HAVE_IEEEFP_H
23044 #include <ieeefp.h>
23045 #endif
23048 main ()
23050 _finitef(0);
23052 return 0;
23054 _ACEOF
23055 if ac_fn_cxx_try_compile "$LINENO"; then :
23056 glibcxx_cv_func__finitef_use=yes
23057 else
23058 glibcxx_cv_func__finitef_use=no
23060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23061 ac_ext=c
23062 ac_cpp='$CPP $CPPFLAGS'
23063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23072 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23074 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23075 for ac_func in _finitef
23076 do :
23077 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23078 if test "x$ac_cv_func__finitef" = x""yes; then :
23079 cat >>confdefs.h <<_ACEOF
23080 #define HAVE__FINITEF 1
23081 _ACEOF
23084 done
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23094 $as_echo_n "checking for long double trig functions... " >&6; }
23095 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23096 $as_echo_n "(cached) " >&6
23097 else
23100 ac_ext=cpp
23101 ac_cpp='$CXXCPP $CPPFLAGS'
23102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23107 /* end confdefs.h. */
23108 #include <math.h>
23110 main ()
23112 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23114 return 0;
23116 _ACEOF
23117 if ac_fn_cxx_try_compile "$LINENO"; then :
23118 glibcxx_cv_func_long_double_trig_use=yes
23119 else
23120 glibcxx_cv_func_long_double_trig_use=no
23122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23123 ac_ext=c
23124 ac_cpp='$CPP $CPPFLAGS'
23125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23132 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23133 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23134 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23135 do :
23136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23138 eval as_val=\$$as_ac_var
23139 if test "x$as_val" = x""yes; then :
23140 cat >>confdefs.h <<_ACEOF
23141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23142 _ACEOF
23145 done
23147 else
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23149 $as_echo_n "checking for _long double trig functions... " >&6; }
23150 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23151 $as_echo_n "(cached) " >&6
23152 else
23155 ac_ext=cpp
23156 ac_cpp='$CXXCPP $CPPFLAGS'
23157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23162 /* end confdefs.h. */
23163 #include <math.h>
23165 main ()
23167 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23169 return 0;
23171 _ACEOF
23172 if ac_fn_cxx_try_compile "$LINENO"; then :
23173 glibcxx_cv_func__long_double_trig_use=yes
23174 else
23175 glibcxx_cv_func__long_double_trig_use=no
23177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23178 ac_ext=c
23179 ac_cpp='$CPP $CPPFLAGS'
23180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23187 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23188 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23189 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23190 do :
23191 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23193 eval as_val=\$$as_ac_var
23194 if test "x$as_val" = x""yes; then :
23195 cat >>confdefs.h <<_ACEOF
23196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23197 _ACEOF
23200 done
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23210 $as_echo_n "checking for long double round functions... " >&6; }
23211 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23212 $as_echo_n "(cached) " >&6
23213 else
23216 ac_ext=cpp
23217 ac_cpp='$CXXCPP $CPPFLAGS'
23218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23223 /* end confdefs.h. */
23224 #include <math.h>
23226 main ()
23228 ceill (0); floorl (0);
23230 return 0;
23232 _ACEOF
23233 if ac_fn_cxx_try_compile "$LINENO"; then :
23234 glibcxx_cv_func_long_double_round_use=yes
23235 else
23236 glibcxx_cv_func_long_double_round_use=no
23238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23239 ac_ext=c
23240 ac_cpp='$CPP $CPPFLAGS'
23241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23248 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23249 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23250 for ac_func in ceill floorl
23251 do :
23252 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23254 eval as_val=\$$as_ac_var
23255 if test "x$as_val" = x""yes; then :
23256 cat >>confdefs.h <<_ACEOF
23257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23258 _ACEOF
23261 done
23263 else
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23265 $as_echo_n "checking for _long double round functions... " >&6; }
23266 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23267 $as_echo_n "(cached) " >&6
23268 else
23271 ac_ext=cpp
23272 ac_cpp='$CXXCPP $CPPFLAGS'
23273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23278 /* end confdefs.h. */
23279 #include <math.h>
23281 main ()
23283 _ceill (0); _floorl (0);
23285 return 0;
23287 _ACEOF
23288 if ac_fn_cxx_try_compile "$LINENO"; then :
23289 glibcxx_cv_func__long_double_round_use=yes
23290 else
23291 glibcxx_cv_func__long_double_round_use=no
23293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23294 ac_ext=c
23295 ac_cpp='$CPP $CPPFLAGS'
23296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23303 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23304 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23305 for ac_func in _ceill _floorl
23306 do :
23307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23309 eval as_val=\$$as_ac_var
23310 if test "x$as_val" = x""yes; then :
23311 cat >>confdefs.h <<_ACEOF
23312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23313 _ACEOF
23316 done
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23327 $as_echo_n "checking for isnanl declaration... " >&6; }
23328 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23329 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23330 $as_echo_n "(cached) " >&6
23331 else
23334 ac_ext=cpp
23335 ac_cpp='$CXXCPP $CPPFLAGS'
23336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23341 /* end confdefs.h. */
23342 #include <math.h>
23343 #ifdef HAVE_IEEEFP_H
23344 #include <ieeefp.h>
23345 #endif
23348 main ()
23350 isnanl(0);
23352 return 0;
23354 _ACEOF
23355 if ac_fn_cxx_try_compile "$LINENO"; then :
23356 glibcxx_cv_func_isnanl_use=yes
23357 else
23358 glibcxx_cv_func_isnanl_use=no
23360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23361 ac_ext=c
23362 ac_cpp='$CPP $CPPFLAGS'
23363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23372 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23374 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23375 for ac_func in isnanl
23376 do :
23377 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23378 if test "x$ac_cv_func_isnanl" = x""yes; then :
23379 cat >>confdefs.h <<_ACEOF
23380 #define HAVE_ISNANL 1
23381 _ACEOF
23384 done
23386 else
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23389 $as_echo_n "checking for _isnanl declaration... " >&6; }
23390 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23391 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23392 $as_echo_n "(cached) " >&6
23393 else
23396 ac_ext=cpp
23397 ac_cpp='$CXXCPP $CPPFLAGS'
23398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23403 /* end confdefs.h. */
23404 #include <math.h>
23405 #ifdef HAVE_IEEEFP_H
23406 #include <ieeefp.h>
23407 #endif
23410 main ()
23412 _isnanl(0);
23414 return 0;
23416 _ACEOF
23417 if ac_fn_cxx_try_compile "$LINENO"; then :
23418 glibcxx_cv_func__isnanl_use=yes
23419 else
23420 glibcxx_cv_func__isnanl_use=no
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23423 ac_ext=c
23424 ac_cpp='$CPP $CPPFLAGS'
23425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23434 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23436 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23437 for ac_func in _isnanl
23438 do :
23439 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23440 if test "x$ac_cv_func__isnanl" = x""yes; then :
23441 cat >>confdefs.h <<_ACEOF
23442 #define HAVE__ISNANL 1
23443 _ACEOF
23446 done
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23456 $as_echo_n "checking for isinfl declaration... " >&6; }
23457 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23458 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23460 else
23463 ac_ext=cpp
23464 ac_cpp='$CXXCPP $CPPFLAGS'
23465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23470 /* end confdefs.h. */
23471 #include <math.h>
23472 #ifdef HAVE_IEEEFP_H
23473 #include <ieeefp.h>
23474 #endif
23477 main ()
23479 isinfl(0);
23481 return 0;
23483 _ACEOF
23484 if ac_fn_cxx_try_compile "$LINENO"; then :
23485 glibcxx_cv_func_isinfl_use=yes
23486 else
23487 glibcxx_cv_func_isinfl_use=no
23489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23490 ac_ext=c
23491 ac_cpp='$CPP $CPPFLAGS'
23492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23501 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23503 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23504 for ac_func in isinfl
23505 do :
23506 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23507 if test "x$ac_cv_func_isinfl" = x""yes; then :
23508 cat >>confdefs.h <<_ACEOF
23509 #define HAVE_ISINFL 1
23510 _ACEOF
23513 done
23515 else
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23518 $as_echo_n "checking for _isinfl declaration... " >&6; }
23519 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23520 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23521 $as_echo_n "(cached) " >&6
23522 else
23525 ac_ext=cpp
23526 ac_cpp='$CXXCPP $CPPFLAGS'
23527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23532 /* end confdefs.h. */
23533 #include <math.h>
23534 #ifdef HAVE_IEEEFP_H
23535 #include <ieeefp.h>
23536 #endif
23539 main ()
23541 _isinfl(0);
23543 return 0;
23545 _ACEOF
23546 if ac_fn_cxx_try_compile "$LINENO"; then :
23547 glibcxx_cv_func__isinfl_use=yes
23548 else
23549 glibcxx_cv_func__isinfl_use=no
23551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23552 ac_ext=c
23553 ac_cpp='$CPP $CPPFLAGS'
23554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23563 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23565 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23566 for ac_func in _isinfl
23567 do :
23568 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23569 if test "x$ac_cv_func__isinfl" = x""yes; then :
23570 cat >>confdefs.h <<_ACEOF
23571 #define HAVE__ISINFL 1
23572 _ACEOF
23575 done
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23585 $as_echo_n "checking for atan2l declaration... " >&6; }
23586 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23587 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23588 $as_echo_n "(cached) " >&6
23589 else
23592 ac_ext=cpp
23593 ac_cpp='$CXXCPP $CPPFLAGS'
23594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23599 /* end confdefs.h. */
23600 #include <math.h>
23602 main ()
23604 atan2l(0, 0);
23606 return 0;
23608 _ACEOF
23609 if ac_fn_cxx_try_compile "$LINENO"; then :
23610 glibcxx_cv_func_atan2l_use=yes
23611 else
23612 glibcxx_cv_func_atan2l_use=no
23614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23615 ac_ext=c
23616 ac_cpp='$CPP $CPPFLAGS'
23617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23626 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23628 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23629 for ac_func in atan2l
23630 do :
23631 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23632 if test "x$ac_cv_func_atan2l" = x""yes; then :
23633 cat >>confdefs.h <<_ACEOF
23634 #define HAVE_ATAN2L 1
23635 _ACEOF
23638 done
23640 else
23642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23643 $as_echo_n "checking for _atan2l declaration... " >&6; }
23644 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23645 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23646 $as_echo_n "(cached) " >&6
23647 else
23650 ac_ext=cpp
23651 ac_cpp='$CXXCPP $CPPFLAGS'
23652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h. */
23658 #include <math.h>
23660 main ()
23662 _atan2l(0, 0);
23664 return 0;
23666 _ACEOF
23667 if ac_fn_cxx_try_compile "$LINENO"; then :
23668 glibcxx_cv_func__atan2l_use=yes
23669 else
23670 glibcxx_cv_func__atan2l_use=no
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23673 ac_ext=c
23674 ac_cpp='$CPP $CPPFLAGS'
23675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23684 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23686 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23687 for ac_func in _atan2l
23688 do :
23689 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23690 if test "x$ac_cv_func__atan2l" = x""yes; then :
23691 cat >>confdefs.h <<_ACEOF
23692 #define HAVE__ATAN2L 1
23693 _ACEOF
23696 done
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23706 $as_echo_n "checking for expl declaration... " >&6; }
23707 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23708 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23709 $as_echo_n "(cached) " >&6
23710 else
23713 ac_ext=cpp
23714 ac_cpp='$CXXCPP $CPPFLAGS'
23715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23720 /* end confdefs.h. */
23721 #include <math.h>
23722 #ifdef HAVE_IEEEFP_H
23723 #include <ieeefp.h>
23724 #endif
23727 main ()
23729 expl(0);
23731 return 0;
23733 _ACEOF
23734 if ac_fn_cxx_try_compile "$LINENO"; then :
23735 glibcxx_cv_func_expl_use=yes
23736 else
23737 glibcxx_cv_func_expl_use=no
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740 ac_ext=c
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23751 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23753 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23754 for ac_func in expl
23755 do :
23756 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23757 if test "x$ac_cv_func_expl" = x""yes; then :
23758 cat >>confdefs.h <<_ACEOF
23759 #define HAVE_EXPL 1
23760 _ACEOF
23763 done
23765 else
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23768 $as_echo_n "checking for _expl declaration... " >&6; }
23769 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23770 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23771 $as_echo_n "(cached) " >&6
23772 else
23775 ac_ext=cpp
23776 ac_cpp='$CXXCPP $CPPFLAGS'
23777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23782 /* end confdefs.h. */
23783 #include <math.h>
23784 #ifdef HAVE_IEEEFP_H
23785 #include <ieeefp.h>
23786 #endif
23789 main ()
23791 _expl(0);
23793 return 0;
23795 _ACEOF
23796 if ac_fn_cxx_try_compile "$LINENO"; then :
23797 glibcxx_cv_func__expl_use=yes
23798 else
23799 glibcxx_cv_func__expl_use=no
23801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23802 ac_ext=c
23803 ac_cpp='$CPP $CPPFLAGS'
23804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23813 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23815 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23816 for ac_func in _expl
23817 do :
23818 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23819 if test "x$ac_cv_func__expl" = x""yes; then :
23820 cat >>confdefs.h <<_ACEOF
23821 #define HAVE__EXPL 1
23822 _ACEOF
23825 done
23834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23835 $as_echo_n "checking for fabsl declaration... " >&6; }
23836 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23837 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23838 $as_echo_n "(cached) " >&6
23839 else
23842 ac_ext=cpp
23843 ac_cpp='$CXXCPP $CPPFLAGS'
23844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23849 /* end confdefs.h. */
23850 #include <math.h>
23851 #ifdef HAVE_IEEEFP_H
23852 #include <ieeefp.h>
23853 #endif
23856 main ()
23858 fabsl(0);
23860 return 0;
23862 _ACEOF
23863 if ac_fn_cxx_try_compile "$LINENO"; then :
23864 glibcxx_cv_func_fabsl_use=yes
23865 else
23866 glibcxx_cv_func_fabsl_use=no
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23869 ac_ext=c
23870 ac_cpp='$CPP $CPPFLAGS'
23871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23880 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23882 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23883 for ac_func in fabsl
23884 do :
23885 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23886 if test "x$ac_cv_func_fabsl" = x""yes; then :
23887 cat >>confdefs.h <<_ACEOF
23888 #define HAVE_FABSL 1
23889 _ACEOF
23892 done
23894 else
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23897 $as_echo_n "checking for _fabsl declaration... " >&6; }
23898 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23899 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23900 $as_echo_n "(cached) " >&6
23901 else
23904 ac_ext=cpp
23905 ac_cpp='$CXXCPP $CPPFLAGS'
23906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23911 /* end confdefs.h. */
23912 #include <math.h>
23913 #ifdef HAVE_IEEEFP_H
23914 #include <ieeefp.h>
23915 #endif
23918 main ()
23920 _fabsl(0);
23922 return 0;
23924 _ACEOF
23925 if ac_fn_cxx_try_compile "$LINENO"; then :
23926 glibcxx_cv_func__fabsl_use=yes
23927 else
23928 glibcxx_cv_func__fabsl_use=no
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931 ac_ext=c
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23942 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23944 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23945 for ac_func in _fabsl
23946 do :
23947 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23948 if test "x$ac_cv_func__fabsl" = x""yes; then :
23949 cat >>confdefs.h <<_ACEOF
23950 #define HAVE__FABSL 1
23951 _ACEOF
23954 done
23963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23964 $as_echo_n "checking for fmodl declaration... " >&6; }
23965 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23966 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23967 $as_echo_n "(cached) " >&6
23968 else
23971 ac_ext=cpp
23972 ac_cpp='$CXXCPP $CPPFLAGS'
23973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23978 /* end confdefs.h. */
23979 #include <math.h>
23981 main ()
23983 fmodl(0, 0);
23985 return 0;
23987 _ACEOF
23988 if ac_fn_cxx_try_compile "$LINENO"; then :
23989 glibcxx_cv_func_fmodl_use=yes
23990 else
23991 glibcxx_cv_func_fmodl_use=no
23993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23994 ac_ext=c
23995 ac_cpp='$CPP $CPPFLAGS'
23996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24005 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24007 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24008 for ac_func in fmodl
24009 do :
24010 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24011 if test "x$ac_cv_func_fmodl" = x""yes; then :
24012 cat >>confdefs.h <<_ACEOF
24013 #define HAVE_FMODL 1
24014 _ACEOF
24017 done
24019 else
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24022 $as_echo_n "checking for _fmodl declaration... " >&6; }
24023 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24024 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24025 $as_echo_n "(cached) " >&6
24026 else
24029 ac_ext=cpp
24030 ac_cpp='$CXXCPP $CPPFLAGS'
24031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24036 /* end confdefs.h. */
24037 #include <math.h>
24039 main ()
24041 _fmodl(0, 0);
24043 return 0;
24045 _ACEOF
24046 if ac_fn_cxx_try_compile "$LINENO"; then :
24047 glibcxx_cv_func__fmodl_use=yes
24048 else
24049 glibcxx_cv_func__fmodl_use=no
24051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24052 ac_ext=c
24053 ac_cpp='$CPP $CPPFLAGS'
24054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24063 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24065 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24066 for ac_func in _fmodl
24067 do :
24068 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24069 if test "x$ac_cv_func__fmodl" = x""yes; then :
24070 cat >>confdefs.h <<_ACEOF
24071 #define HAVE__FMODL 1
24072 _ACEOF
24075 done
24084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24085 $as_echo_n "checking for frexpl declaration... " >&6; }
24086 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24087 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24088 $as_echo_n "(cached) " >&6
24089 else
24092 ac_ext=cpp
24093 ac_cpp='$CXXCPP $CPPFLAGS'
24094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24099 /* end confdefs.h. */
24100 #include <math.h>
24102 main ()
24104 frexpl(0, 0);
24106 return 0;
24108 _ACEOF
24109 if ac_fn_cxx_try_compile "$LINENO"; then :
24110 glibcxx_cv_func_frexpl_use=yes
24111 else
24112 glibcxx_cv_func_frexpl_use=no
24114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24115 ac_ext=c
24116 ac_cpp='$CPP $CPPFLAGS'
24117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24126 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24128 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24129 for ac_func in frexpl
24130 do :
24131 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24132 if test "x$ac_cv_func_frexpl" = x""yes; then :
24133 cat >>confdefs.h <<_ACEOF
24134 #define HAVE_FREXPL 1
24135 _ACEOF
24138 done
24140 else
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24143 $as_echo_n "checking for _frexpl declaration... " >&6; }
24144 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24145 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24146 $as_echo_n "(cached) " >&6
24147 else
24150 ac_ext=cpp
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24157 /* end confdefs.h. */
24158 #include <math.h>
24160 main ()
24162 _frexpl(0, 0);
24164 return 0;
24166 _ACEOF
24167 if ac_fn_cxx_try_compile "$LINENO"; then :
24168 glibcxx_cv_func__frexpl_use=yes
24169 else
24170 glibcxx_cv_func__frexpl_use=no
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173 ac_ext=c
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24184 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24186 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24187 for ac_func in _frexpl
24188 do :
24189 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24190 if test "x$ac_cv_func__frexpl" = x""yes; then :
24191 cat >>confdefs.h <<_ACEOF
24192 #define HAVE__FREXPL 1
24193 _ACEOF
24196 done
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24206 $as_echo_n "checking for hypotl declaration... " >&6; }
24207 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24208 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24209 $as_echo_n "(cached) " >&6
24210 else
24213 ac_ext=cpp
24214 ac_cpp='$CXXCPP $CPPFLAGS'
24215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24220 /* end confdefs.h. */
24221 #include <math.h>
24223 main ()
24225 hypotl(0, 0);
24227 return 0;
24229 _ACEOF
24230 if ac_fn_cxx_try_compile "$LINENO"; then :
24231 glibcxx_cv_func_hypotl_use=yes
24232 else
24233 glibcxx_cv_func_hypotl_use=no
24235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24236 ac_ext=c
24237 ac_cpp='$CPP $CPPFLAGS'
24238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24247 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24249 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24250 for ac_func in hypotl
24251 do :
24252 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24253 if test "x$ac_cv_func_hypotl" = x""yes; then :
24254 cat >>confdefs.h <<_ACEOF
24255 #define HAVE_HYPOTL 1
24256 _ACEOF
24259 done
24261 else
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24264 $as_echo_n "checking for _hypotl declaration... " >&6; }
24265 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24266 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24267 $as_echo_n "(cached) " >&6
24268 else
24271 ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24279 #include <math.h>
24281 main ()
24283 _hypotl(0, 0);
24285 return 0;
24287 _ACEOF
24288 if ac_fn_cxx_try_compile "$LINENO"; then :
24289 glibcxx_cv_func__hypotl_use=yes
24290 else
24291 glibcxx_cv_func__hypotl_use=no
24293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294 ac_ext=c
24295 ac_cpp='$CPP $CPPFLAGS'
24296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24305 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24307 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24308 for ac_func in _hypotl
24309 do :
24310 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24311 if test "x$ac_cv_func__hypotl" = x""yes; then :
24312 cat >>confdefs.h <<_ACEOF
24313 #define HAVE__HYPOTL 1
24314 _ACEOF
24317 done
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24327 $as_echo_n "checking for ldexpl declaration... " >&6; }
24328 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24329 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24330 $as_echo_n "(cached) " >&6
24331 else
24334 ac_ext=cpp
24335 ac_cpp='$CXXCPP $CPPFLAGS'
24336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24341 /* end confdefs.h. */
24342 #include <math.h>
24344 main ()
24346 ldexpl(0, 0);
24348 return 0;
24350 _ACEOF
24351 if ac_fn_cxx_try_compile "$LINENO"; then :
24352 glibcxx_cv_func_ldexpl_use=yes
24353 else
24354 glibcxx_cv_func_ldexpl_use=no
24356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24357 ac_ext=c
24358 ac_cpp='$CPP $CPPFLAGS'
24359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24368 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24370 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24371 for ac_func in ldexpl
24372 do :
24373 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24374 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24375 cat >>confdefs.h <<_ACEOF
24376 #define HAVE_LDEXPL 1
24377 _ACEOF
24380 done
24382 else
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24385 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24386 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24387 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24388 $as_echo_n "(cached) " >&6
24389 else
24392 ac_ext=cpp
24393 ac_cpp='$CXXCPP $CPPFLAGS'
24394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h. */
24400 #include <math.h>
24402 main ()
24404 _ldexpl(0, 0);
24406 return 0;
24408 _ACEOF
24409 if ac_fn_cxx_try_compile "$LINENO"; then :
24410 glibcxx_cv_func__ldexpl_use=yes
24411 else
24412 glibcxx_cv_func__ldexpl_use=no
24414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24415 ac_ext=c
24416 ac_cpp='$CPP $CPPFLAGS'
24417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24426 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24428 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24429 for ac_func in _ldexpl
24430 do :
24431 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24432 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24433 cat >>confdefs.h <<_ACEOF
24434 #define HAVE__LDEXPL 1
24435 _ACEOF
24438 done
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24448 $as_echo_n "checking for logl declaration... " >&6; }
24449 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24450 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24451 $as_echo_n "(cached) " >&6
24452 else
24455 ac_ext=cpp
24456 ac_cpp='$CXXCPP $CPPFLAGS'
24457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h. */
24463 #include <math.h>
24464 #ifdef HAVE_IEEEFP_H
24465 #include <ieeefp.h>
24466 #endif
24469 main ()
24471 logl(0);
24473 return 0;
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477 glibcxx_cv_func_logl_use=yes
24478 else
24479 glibcxx_cv_func_logl_use=no
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482 ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24493 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24495 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24496 for ac_func in logl
24497 do :
24498 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24499 if test "x$ac_cv_func_logl" = x""yes; then :
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE_LOGL 1
24502 _ACEOF
24505 done
24507 else
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24510 $as_echo_n "checking for _logl declaration... " >&6; }
24511 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24512 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24513 $as_echo_n "(cached) " >&6
24514 else
24517 ac_ext=cpp
24518 ac_cpp='$CXXCPP $CPPFLAGS'
24519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24524 /* end confdefs.h. */
24525 #include <math.h>
24526 #ifdef HAVE_IEEEFP_H
24527 #include <ieeefp.h>
24528 #endif
24531 main ()
24533 _logl(0);
24535 return 0;
24537 _ACEOF
24538 if ac_fn_cxx_try_compile "$LINENO"; then :
24539 glibcxx_cv_func__logl_use=yes
24540 else
24541 glibcxx_cv_func__logl_use=no
24543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24544 ac_ext=c
24545 ac_cpp='$CPP $CPPFLAGS'
24546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24555 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24557 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24558 for ac_func in _logl
24559 do :
24560 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24561 if test "x$ac_cv_func__logl" = x""yes; then :
24562 cat >>confdefs.h <<_ACEOF
24563 #define HAVE__LOGL 1
24564 _ACEOF
24567 done
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24577 $as_echo_n "checking for log10l declaration... " >&6; }
24578 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24579 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24580 $as_echo_n "(cached) " >&6
24581 else
24584 ac_ext=cpp
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24592 #include <math.h>
24593 #ifdef HAVE_IEEEFP_H
24594 #include <ieeefp.h>
24595 #endif
24598 main ()
24600 log10l(0);
24602 return 0;
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606 glibcxx_cv_func_log10l_use=yes
24607 else
24608 glibcxx_cv_func_log10l_use=no
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611 ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24622 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24624 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24625 for ac_func in log10l
24626 do :
24627 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24628 if test "x$ac_cv_func_log10l" = x""yes; then :
24629 cat >>confdefs.h <<_ACEOF
24630 #define HAVE_LOG10L 1
24631 _ACEOF
24634 done
24636 else
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24639 $as_echo_n "checking for _log10l declaration... " >&6; }
24640 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24641 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24642 $as_echo_n "(cached) " >&6
24643 else
24646 ac_ext=cpp
24647 ac_cpp='$CXXCPP $CPPFLAGS'
24648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24653 /* end confdefs.h. */
24654 #include <math.h>
24655 #ifdef HAVE_IEEEFP_H
24656 #include <ieeefp.h>
24657 #endif
24660 main ()
24662 _log10l(0);
24664 return 0;
24666 _ACEOF
24667 if ac_fn_cxx_try_compile "$LINENO"; then :
24668 glibcxx_cv_func__log10l_use=yes
24669 else
24670 glibcxx_cv_func__log10l_use=no
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24673 ac_ext=c
24674 ac_cpp='$CPP $CPPFLAGS'
24675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24684 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24686 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24687 for ac_func in _log10l
24688 do :
24689 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24690 if test "x$ac_cv_func__log10l" = x""yes; then :
24691 cat >>confdefs.h <<_ACEOF
24692 #define HAVE__LOG10L 1
24693 _ACEOF
24696 done
24705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24706 $as_echo_n "checking for modfl declaration... " >&6; }
24707 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24708 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24709 $as_echo_n "(cached) " >&6
24710 else
24713 ac_ext=cpp
24714 ac_cpp='$CXXCPP $CPPFLAGS'
24715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24720 /* end confdefs.h. */
24721 #include <math.h>
24723 main ()
24725 modfl(0, 0);
24727 return 0;
24729 _ACEOF
24730 if ac_fn_cxx_try_compile "$LINENO"; then :
24731 glibcxx_cv_func_modfl_use=yes
24732 else
24733 glibcxx_cv_func_modfl_use=no
24735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24736 ac_ext=c
24737 ac_cpp='$CPP $CPPFLAGS'
24738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24747 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24749 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24750 for ac_func in modfl
24751 do :
24752 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24753 if test "x$ac_cv_func_modfl" = x""yes; then :
24754 cat >>confdefs.h <<_ACEOF
24755 #define HAVE_MODFL 1
24756 _ACEOF
24759 done
24761 else
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24764 $as_echo_n "checking for _modfl declaration... " >&6; }
24765 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24766 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24767 $as_echo_n "(cached) " >&6
24768 else
24771 ac_ext=cpp
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24778 /* end confdefs.h. */
24779 #include <math.h>
24781 main ()
24783 _modfl(0, 0);
24785 return 0;
24787 _ACEOF
24788 if ac_fn_cxx_try_compile "$LINENO"; then :
24789 glibcxx_cv_func__modfl_use=yes
24790 else
24791 glibcxx_cv_func__modfl_use=no
24793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24794 ac_ext=c
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24805 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24807 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24808 for ac_func in _modfl
24809 do :
24810 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24811 if test "x$ac_cv_func__modfl" = x""yes; then :
24812 cat >>confdefs.h <<_ACEOF
24813 #define HAVE__MODFL 1
24814 _ACEOF
24817 done
24826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24827 $as_echo_n "checking for powl declaration... " >&6; }
24828 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24829 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24830 $as_echo_n "(cached) " >&6
24831 else
24834 ac_ext=cpp
24835 ac_cpp='$CXXCPP $CPPFLAGS'
24836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24841 /* end confdefs.h. */
24842 #include <math.h>
24844 main ()
24846 powl(0, 0);
24848 return 0;
24850 _ACEOF
24851 if ac_fn_cxx_try_compile "$LINENO"; then :
24852 glibcxx_cv_func_powl_use=yes
24853 else
24854 glibcxx_cv_func_powl_use=no
24856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24857 ac_ext=c
24858 ac_cpp='$CPP $CPPFLAGS'
24859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24868 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24870 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24871 for ac_func in powl
24872 do :
24873 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24874 if test "x$ac_cv_func_powl" = x""yes; then :
24875 cat >>confdefs.h <<_ACEOF
24876 #define HAVE_POWL 1
24877 _ACEOF
24880 done
24882 else
24884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24885 $as_echo_n "checking for _powl declaration... " >&6; }
24886 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24887 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24888 $as_echo_n "(cached) " >&6
24889 else
24892 ac_ext=cpp
24893 ac_cpp='$CXXCPP $CPPFLAGS'
24894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24899 /* end confdefs.h. */
24900 #include <math.h>
24902 main ()
24904 _powl(0, 0);
24906 return 0;
24908 _ACEOF
24909 if ac_fn_cxx_try_compile "$LINENO"; then :
24910 glibcxx_cv_func__powl_use=yes
24911 else
24912 glibcxx_cv_func__powl_use=no
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915 ac_ext=c
24916 ac_cpp='$CPP $CPPFLAGS'
24917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24926 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24928 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24929 for ac_func in _powl
24930 do :
24931 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24932 if test "x$ac_cv_func__powl" = x""yes; then :
24933 cat >>confdefs.h <<_ACEOF
24934 #define HAVE__POWL 1
24935 _ACEOF
24938 done
24947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24948 $as_echo_n "checking for sqrtl declaration... " >&6; }
24949 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24950 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24951 $as_echo_n "(cached) " >&6
24952 else
24955 ac_ext=cpp
24956 ac_cpp='$CXXCPP $CPPFLAGS'
24957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24962 /* end confdefs.h. */
24963 #include <math.h>
24964 #ifdef HAVE_IEEEFP_H
24965 #include <ieeefp.h>
24966 #endif
24969 main ()
24971 sqrtl(0);
24973 return 0;
24975 _ACEOF
24976 if ac_fn_cxx_try_compile "$LINENO"; then :
24977 glibcxx_cv_func_sqrtl_use=yes
24978 else
24979 glibcxx_cv_func_sqrtl_use=no
24981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24982 ac_ext=c
24983 ac_cpp='$CPP $CPPFLAGS'
24984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24993 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24995 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24996 for ac_func in sqrtl
24997 do :
24998 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24999 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25000 cat >>confdefs.h <<_ACEOF
25001 #define HAVE_SQRTL 1
25002 _ACEOF
25005 done
25007 else
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25010 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25011 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25012 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25013 $as_echo_n "(cached) " >&6
25014 else
25017 ac_ext=cpp
25018 ac_cpp='$CXXCPP $CPPFLAGS'
25019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25024 /* end confdefs.h. */
25025 #include <math.h>
25026 #ifdef HAVE_IEEEFP_H
25027 #include <ieeefp.h>
25028 #endif
25031 main ()
25033 _sqrtl(0);
25035 return 0;
25037 _ACEOF
25038 if ac_fn_cxx_try_compile "$LINENO"; then :
25039 glibcxx_cv_func__sqrtl_use=yes
25040 else
25041 glibcxx_cv_func__sqrtl_use=no
25043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25044 ac_ext=c
25045 ac_cpp='$CPP $CPPFLAGS'
25046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25055 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25057 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25058 for ac_func in _sqrtl
25059 do :
25060 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25061 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25062 cat >>confdefs.h <<_ACEOF
25063 #define HAVE__SQRTL 1
25064 _ACEOF
25067 done
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25077 $as_echo_n "checking for sincosl declaration... " >&6; }
25078 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25079 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25080 $as_echo_n "(cached) " >&6
25081 else
25084 ac_ext=cpp
25085 ac_cpp='$CXXCPP $CPPFLAGS'
25086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25091 /* end confdefs.h. */
25092 #include <math.h>
25094 main ()
25096 sincosl(0, 0, 0);
25098 return 0;
25100 _ACEOF
25101 if ac_fn_cxx_try_compile "$LINENO"; then :
25102 glibcxx_cv_func_sincosl_use=yes
25103 else
25104 glibcxx_cv_func_sincosl_use=no
25106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25107 ac_ext=c
25108 ac_cpp='$CPP $CPPFLAGS'
25109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25118 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25120 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25121 for ac_func in sincosl
25122 do :
25123 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25124 if test "x$ac_cv_func_sincosl" = x""yes; then :
25125 cat >>confdefs.h <<_ACEOF
25126 #define HAVE_SINCOSL 1
25127 _ACEOF
25130 done
25132 else
25134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25135 $as_echo_n "checking for _sincosl declaration... " >&6; }
25136 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25137 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25138 $as_echo_n "(cached) " >&6
25139 else
25142 ac_ext=cpp
25143 ac_cpp='$CXXCPP $CPPFLAGS'
25144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25149 /* end confdefs.h. */
25150 #include <math.h>
25152 main ()
25154 _sincosl(0, 0, 0);
25156 return 0;
25158 _ACEOF
25159 if ac_fn_cxx_try_compile "$LINENO"; then :
25160 glibcxx_cv_func__sincosl_use=yes
25161 else
25162 glibcxx_cv_func__sincosl_use=no
25164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25165 ac_ext=c
25166 ac_cpp='$CPP $CPPFLAGS'
25167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25176 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25178 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25179 for ac_func in _sincosl
25180 do :
25181 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25182 if test "x$ac_cv_func__sincosl" = x""yes; then :
25183 cat >>confdefs.h <<_ACEOF
25184 #define HAVE__SINCOSL 1
25185 _ACEOF
25188 done
25197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25198 $as_echo_n "checking for finitel declaration... " >&6; }
25199 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25200 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25201 $as_echo_n "(cached) " >&6
25202 else
25205 ac_ext=cpp
25206 ac_cpp='$CXXCPP $CPPFLAGS'
25207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25212 /* end confdefs.h. */
25213 #include <math.h>
25214 #ifdef HAVE_IEEEFP_H
25215 #include <ieeefp.h>
25216 #endif
25219 main ()
25221 finitel(0);
25223 return 0;
25225 _ACEOF
25226 if ac_fn_cxx_try_compile "$LINENO"; then :
25227 glibcxx_cv_func_finitel_use=yes
25228 else
25229 glibcxx_cv_func_finitel_use=no
25231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25232 ac_ext=c
25233 ac_cpp='$CPP $CPPFLAGS'
25234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25243 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25245 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25246 for ac_func in finitel
25247 do :
25248 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25249 if test "x$ac_cv_func_finitel" = x""yes; then :
25250 cat >>confdefs.h <<_ACEOF
25251 #define HAVE_FINITEL 1
25252 _ACEOF
25255 done
25257 else
25259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25260 $as_echo_n "checking for _finitel declaration... " >&6; }
25261 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25262 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25263 $as_echo_n "(cached) " >&6
25264 else
25267 ac_ext=cpp
25268 ac_cpp='$CXXCPP $CPPFLAGS'
25269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25274 /* end confdefs.h. */
25275 #include <math.h>
25276 #ifdef HAVE_IEEEFP_H
25277 #include <ieeefp.h>
25278 #endif
25281 main ()
25283 _finitel(0);
25285 return 0;
25287 _ACEOF
25288 if ac_fn_cxx_try_compile "$LINENO"; then :
25289 glibcxx_cv_func__finitel_use=yes
25290 else
25291 glibcxx_cv_func__finitel_use=no
25293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25294 ac_ext=c
25295 ac_cpp='$CPP $CPPFLAGS'
25296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25305 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25307 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25308 for ac_func in _finitel
25309 do :
25310 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25311 if test "x$ac_cv_func__finitel" = x""yes; then :
25312 cat >>confdefs.h <<_ACEOF
25313 #define HAVE__FINITEL 1
25314 _ACEOF
25317 done
25325 LIBS="$ac_save_LIBS"
25326 CXXFLAGS="$ac_save_CXXFLAGS"
25329 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25330 ac_save_CXXFLAGS="$CXXFLAGS"
25331 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25335 $as_echo_n "checking for strtold declaration... " >&6; }
25336 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25337 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25338 $as_echo_n "(cached) " >&6
25339 else
25342 ac_ext=cpp
25343 ac_cpp='$CXXCPP $CPPFLAGS'
25344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25349 /* end confdefs.h. */
25350 #include <stdlib.h>
25352 main ()
25354 strtold(0, 0);
25356 return 0;
25358 _ACEOF
25359 if ac_fn_cxx_try_compile "$LINENO"; then :
25360 glibcxx_cv_func_strtold_use=yes
25361 else
25362 glibcxx_cv_func_strtold_use=no
25364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25365 ac_ext=c
25366 ac_cpp='$CPP $CPPFLAGS'
25367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25376 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25377 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25378 for ac_func in strtold
25379 do :
25380 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25381 if test "x$ac_cv_func_strtold" = x""yes; then :
25382 cat >>confdefs.h <<_ACEOF
25383 #define HAVE_STRTOLD 1
25384 _ACEOF
25387 done
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25395 $as_echo_n "checking for strtof declaration... " >&6; }
25396 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25397 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25398 $as_echo_n "(cached) " >&6
25399 else
25402 ac_ext=cpp
25403 ac_cpp='$CXXCPP $CPPFLAGS'
25404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25409 /* end confdefs.h. */
25410 #include <stdlib.h>
25412 main ()
25414 strtof(0, 0);
25416 return 0;
25418 _ACEOF
25419 if ac_fn_cxx_try_compile "$LINENO"; then :
25420 glibcxx_cv_func_strtof_use=yes
25421 else
25422 glibcxx_cv_func_strtof_use=no
25424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25425 ac_ext=c
25426 ac_cpp='$CPP $CPPFLAGS'
25427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25436 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25437 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25438 for ac_func in strtof
25439 do :
25440 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25441 if test "x$ac_cv_func_strtof" = x""yes; then :
25442 cat >>confdefs.h <<_ACEOF
25443 #define HAVE_STRTOF 1
25444 _ACEOF
25447 done
25454 CXXFLAGS="$ac_save_CXXFLAGS"
25457 # For /dev/random and /dev/urandom for TR1.
25460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25461 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25462 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25463 $as_echo_n "(cached) " >&6
25464 else
25466 if test -r /dev/random && test -r /dev/urandom; then
25467 glibcxx_cv_random_tr1=yes;
25468 else
25469 glibcxx_cv_random_tr1=no;
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25475 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25477 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25479 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25485 # For TLS support.
25488 # Check whether --enable-tls was given.
25489 if test "${enable_tls+set}" = set; then :
25490 enableval=$enable_tls;
25491 case "$enableval" in
25492 yes|no) ;;
25493 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25494 esac
25496 else
25497 enable_tls=yes
25501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25502 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25503 if test "${gcc_cv_have_tls+set}" = set; then :
25504 $as_echo_n "(cached) " >&6
25505 else
25507 if test "$cross_compiling" = yes; then :
25508 if test x$gcc_no_link = xyes; then
25509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25512 /* end confdefs.h. */
25513 __thread int a; int b; int main() { return a = b; }
25514 _ACEOF
25515 if ac_fn_c_try_link "$LINENO"; then :
25516 chktls_save_LDFLAGS="$LDFLAGS"
25517 case $host in
25518 *-*-linux*)
25519 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25521 esac
25522 chktls_save_CFLAGS="$CFLAGS"
25523 CFLAGS="-fPIC $CFLAGS"
25524 if test x$gcc_no_link = xyes; then
25525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25528 /* end confdefs.h. */
25529 int f() { return 0; }
25530 _ACEOF
25531 if ac_fn_c_try_link "$LINENO"; then :
25532 if test x$gcc_no_link = xyes; then
25533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25536 /* end confdefs.h. */
25537 __thread int a; int b; int f() { return a = b; }
25538 _ACEOF
25539 if ac_fn_c_try_link "$LINENO"; then :
25540 gcc_cv_have_tls=yes
25541 else
25542 gcc_cv_have_tls=no
25544 rm -f core conftest.err conftest.$ac_objext \
25545 conftest$ac_exeext conftest.$ac_ext
25546 else
25547 gcc_cv_have_tls=yes
25549 rm -f core conftest.err conftest.$ac_objext \
25550 conftest$ac_exeext conftest.$ac_ext
25551 CFLAGS="$chktls_save_CFLAGS"
25552 LDFLAGS="$chktls_save_LDFLAGS"
25553 else
25554 gcc_cv_have_tls=no
25556 rm -f core conftest.err conftest.$ac_objext \
25557 conftest$ac_exeext conftest.$ac_ext
25560 else
25561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25562 /* end confdefs.h. */
25563 __thread int a; int b; int main() { return a = b; }
25564 _ACEOF
25565 if ac_fn_c_try_run "$LINENO"; then :
25566 chktls_save_LDFLAGS="$LDFLAGS"
25567 LDFLAGS="-static $LDFLAGS"
25568 if test x$gcc_no_link = xyes; then
25569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25572 /* end confdefs.h. */
25573 int main() { return 0; }
25574 _ACEOF
25575 if ac_fn_c_try_link "$LINENO"; then :
25576 if test "$cross_compiling" = yes; then :
25577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25579 as_fn_error "cannot run test program while cross compiling
25580 See \`config.log' for more details." "$LINENO" 5; }
25581 else
25582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25583 /* end confdefs.h. */
25584 __thread int a; int b; int main() { return a = b; }
25585 _ACEOF
25586 if ac_fn_c_try_run "$LINENO"; then :
25587 gcc_cv_have_tls=yes
25588 else
25589 gcc_cv_have_tls=no
25591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25592 conftest.$ac_objext conftest.beam conftest.$ac_ext
25595 else
25596 gcc_cv_have_tls=yes
25598 rm -f core conftest.err conftest.$ac_objext \
25599 conftest$ac_exeext conftest.$ac_ext
25600 LDFLAGS="$chktls_save_LDFLAGS"
25601 if test $gcc_cv_have_tls = yes; then
25602 chktls_save_CFLAGS="$CFLAGS"
25603 thread_CFLAGS=failed
25604 for flag in '' '-pthread' '-lpthread'; do
25605 CFLAGS="$flag $chktls_save_CFLAGS"
25606 if test x$gcc_no_link = xyes; then
25607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25610 /* end confdefs.h. */
25611 #include <pthread.h>
25612 void *g(void *d) { return NULL; }
25614 main ()
25616 pthread_t t; pthread_create(&t,NULL,g,NULL);
25618 return 0;
25620 _ACEOF
25621 if ac_fn_c_try_link "$LINENO"; then :
25622 thread_CFLAGS="$flag"
25624 rm -f core conftest.err conftest.$ac_objext \
25625 conftest$ac_exeext conftest.$ac_ext
25626 if test "X$thread_CFLAGS" != Xfailed; then
25627 break
25629 done
25630 CFLAGS="$chktls_save_CFLAGS"
25631 if test "X$thread_CFLAGS" != Xfailed; then
25632 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25633 if test "$cross_compiling" = yes; then :
25634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25636 as_fn_error "cannot run test program while cross compiling
25637 See \`config.log' for more details." "$LINENO" 5; }
25638 else
25639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25640 /* end confdefs.h. */
25641 #include <pthread.h>
25642 __thread int a;
25643 static int *volatile a_in_other_thread;
25644 static void *
25645 thread_func (void *arg)
25647 a_in_other_thread = &a;
25648 return (void *)0;
25651 main ()
25653 pthread_t thread;
25654 void *thread_retval;
25655 int *volatile a_in_main_thread;
25656 a_in_main_thread = &a;
25657 if (pthread_create (&thread, (pthread_attr_t *)0,
25658 thread_func, (void *)0))
25659 return 0;
25660 if (pthread_join (thread, &thread_retval))
25661 return 0;
25662 return (a_in_other_thread == a_in_main_thread);
25664 return 0;
25666 _ACEOF
25667 if ac_fn_c_try_run "$LINENO"; then :
25668 gcc_cv_have_tls=yes
25669 else
25670 gcc_cv_have_tls=no
25672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25673 conftest.$ac_objext conftest.beam conftest.$ac_ext
25676 CFLAGS="$chktls_save_CFLAGS"
25679 else
25680 gcc_cv_have_tls=no
25682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25683 conftest.$ac_objext conftest.beam conftest.$ac_ext
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25688 $as_echo "$gcc_cv_have_tls" >&6; }
25689 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25691 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25695 # For iconv support.
25697 if test "X$prefix" = "XNONE"; then
25698 acl_final_prefix="$ac_default_prefix"
25699 else
25700 acl_final_prefix="$prefix"
25702 if test "X$exec_prefix" = "XNONE"; then
25703 acl_final_exec_prefix='${prefix}'
25704 else
25705 acl_final_exec_prefix="$exec_prefix"
25707 acl_save_prefix="$prefix"
25708 prefix="$acl_final_prefix"
25709 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25710 prefix="$acl_save_prefix"
25713 # Check whether --with-gnu-ld was given.
25714 if test "${with_gnu_ld+set}" = set; then :
25715 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25716 else
25717 with_gnu_ld=no
25720 # Prepare PATH_SEPARATOR.
25721 # The user is always right.
25722 if test "${PATH_SEPARATOR+set}" != set; then
25723 echo "#! /bin/sh" >conf$$.sh
25724 echo "exit 0" >>conf$$.sh
25725 chmod +x conf$$.sh
25726 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25727 PATH_SEPARATOR=';'
25728 else
25729 PATH_SEPARATOR=:
25731 rm -f conf$$.sh
25733 ac_prog=ld
25734 if test "$GCC" = yes; then
25735 # Check if gcc -print-prog-name=ld gives a path.
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25737 $as_echo_n "checking for ld used by GCC... " >&6; }
25738 case $host in
25739 *-*-mingw*)
25740 # gcc leaves a trailing carriage return which upsets mingw
25741 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25743 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25744 esac
25745 case $ac_prog in
25746 # Accept absolute paths.
25747 [\\/]* | [A-Za-z]:[\\/]*)
25748 re_direlt='/[^/][^/]*/\.\./'
25749 # Canonicalize the path of ld
25750 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25751 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25752 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25753 done
25754 test -z "$LD" && LD="$ac_prog"
25757 # If it fails, then pretend we aren't using GCC.
25758 ac_prog=ld
25761 # If it is relative, then search for the first ld in PATH.
25762 with_gnu_ld=unknown
25764 esac
25765 elif test "$with_gnu_ld" = yes; then
25766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25767 $as_echo_n "checking for GNU ld... " >&6; }
25768 else
25769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25770 $as_echo_n "checking for non-GNU ld... " >&6; }
25772 if test "${acl_cv_path_LD+set}" = set; then :
25773 $as_echo_n "(cached) " >&6
25774 else
25775 if test -z "$LD"; then
25776 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25777 for ac_dir in $PATH; do
25778 test -z "$ac_dir" && ac_dir=.
25779 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25780 acl_cv_path_LD="$ac_dir/$ac_prog"
25781 # Check to see if the program is GNU ld. I'd rather use --version,
25782 # but apparently some GNU ld's only accept -v.
25783 # Break only if it was the GNU/non-GNU ld that we prefer.
25784 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25785 test "$with_gnu_ld" != no && break
25786 else
25787 test "$with_gnu_ld" != yes && break
25790 done
25791 IFS="$ac_save_ifs"
25792 else
25793 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25797 LD="$acl_cv_path_LD"
25798 if test -n "$LD"; then
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25800 $as_echo "$LD" >&6; }
25801 else
25802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25803 $as_echo "no" >&6; }
25805 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25807 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25808 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25809 $as_echo_n "(cached) " >&6
25810 else
25811 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25812 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25813 acl_cv_prog_gnu_ld=yes
25814 else
25815 acl_cv_prog_gnu_ld=no
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25819 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25820 with_gnu_ld=$acl_cv_prog_gnu_ld
25824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25825 $as_echo_n "checking for shared library run path origin... " >&6; }
25826 if test "${acl_cv_rpath+set}" = set; then :
25827 $as_echo_n "(cached) " >&6
25828 else
25830 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25831 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25832 . ./conftest.sh
25833 rm -f ./conftest.sh
25834 acl_cv_rpath=done
25837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25838 $as_echo "$acl_cv_rpath" >&6; }
25839 wl="$acl_cv_wl"
25840 libext="$acl_cv_libext"
25841 shlibext="$acl_cv_shlibext"
25842 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25843 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25844 hardcode_direct="$acl_cv_hardcode_direct"
25845 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25846 # Check whether --enable-rpath was given.
25847 if test "${enable_rpath+set}" = set; then :
25848 enableval=$enable_rpath; :
25849 else
25850 enable_rpath=yes
25860 use_additional=yes
25862 acl_save_prefix="$prefix"
25863 prefix="$acl_final_prefix"
25864 acl_save_exec_prefix="$exec_prefix"
25865 exec_prefix="$acl_final_exec_prefix"
25867 eval additional_includedir=\"$includedir\"
25868 eval additional_libdir=\"$libdir\"
25870 exec_prefix="$acl_save_exec_prefix"
25871 prefix="$acl_save_prefix"
25874 # Check whether --with-libiconv-prefix was given.
25875 if test "${with_libiconv_prefix+set}" = set; then :
25876 withval=$with_libiconv_prefix;
25877 if test "X$withval" = "Xno"; then
25878 use_additional=no
25879 else
25880 if test "X$withval" = "X"; then
25882 acl_save_prefix="$prefix"
25883 prefix="$acl_final_prefix"
25884 acl_save_exec_prefix="$exec_prefix"
25885 exec_prefix="$acl_final_exec_prefix"
25887 eval additional_includedir=\"$includedir\"
25888 eval additional_libdir=\"$libdir\"
25890 exec_prefix="$acl_save_exec_prefix"
25891 prefix="$acl_save_prefix"
25893 else
25894 additional_includedir="$withval/include"
25895 additional_libdir="$withval/lib"
25901 LIBICONV=
25902 LTLIBICONV=
25903 INCICONV=
25904 rpathdirs=
25905 ltrpathdirs=
25906 names_already_handled=
25907 names_next_round='iconv '
25908 while test -n "$names_next_round"; do
25909 names_this_round="$names_next_round"
25910 names_next_round=
25911 for name in $names_this_round; do
25912 already_handled=
25913 for n in $names_already_handled; do
25914 if test "$n" = "$name"; then
25915 already_handled=yes
25916 break
25918 done
25919 if test -z "$already_handled"; then
25920 names_already_handled="$names_already_handled $name"
25921 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25922 eval value=\"\$HAVE_LIB$uppername\"
25923 if test -n "$value"; then
25924 if test "$value" = yes; then
25925 eval value=\"\$LIB$uppername\"
25926 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25927 eval value=\"\$LTLIB$uppername\"
25928 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25929 else
25932 else
25933 found_dir=
25934 found_la=
25935 found_so=
25936 found_a=
25937 if test $use_additional = yes; then
25938 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25939 found_dir="$additional_libdir"
25940 found_so="$additional_libdir/lib$name.$shlibext"
25941 if test -f "$additional_libdir/lib$name.la"; then
25942 found_la="$additional_libdir/lib$name.la"
25944 else
25945 if test -f "$additional_libdir/lib$name.$libext"; then
25946 found_dir="$additional_libdir"
25947 found_a="$additional_libdir/lib$name.$libext"
25948 if test -f "$additional_libdir/lib$name.la"; then
25949 found_la="$additional_libdir/lib$name.la"
25954 if test "X$found_dir" = "X"; then
25955 for x in $LDFLAGS $LTLIBICONV; do
25957 acl_save_prefix="$prefix"
25958 prefix="$acl_final_prefix"
25959 acl_save_exec_prefix="$exec_prefix"
25960 exec_prefix="$acl_final_exec_prefix"
25961 eval x=\"$x\"
25962 exec_prefix="$acl_save_exec_prefix"
25963 prefix="$acl_save_prefix"
25965 case "$x" in
25966 -L*)
25967 dir=`echo "X$x" | sed -e 's/^X-L//'`
25968 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25969 found_dir="$dir"
25970 found_so="$dir/lib$name.$shlibext"
25971 if test -f "$dir/lib$name.la"; then
25972 found_la="$dir/lib$name.la"
25974 else
25975 if test -f "$dir/lib$name.$libext"; then
25976 found_dir="$dir"
25977 found_a="$dir/lib$name.$libext"
25978 if test -f "$dir/lib$name.la"; then
25979 found_la="$dir/lib$name.la"
25984 esac
25985 if test "X$found_dir" != "X"; then
25986 break
25988 done
25990 if test "X$found_dir" != "X"; then
25991 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25992 if test "X$found_so" != "X"; then
25993 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25994 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25995 else
25996 haveit=
25997 for x in $ltrpathdirs; do
25998 if test "X$x" = "X$found_dir"; then
25999 haveit=yes
26000 break
26002 done
26003 if test -z "$haveit"; then
26004 ltrpathdirs="$ltrpathdirs $found_dir"
26006 if test "$hardcode_direct" = yes; then
26007 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26008 else
26009 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26010 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26011 haveit=
26012 for x in $rpathdirs; do
26013 if test "X$x" = "X$found_dir"; then
26014 haveit=yes
26015 break
26017 done
26018 if test -z "$haveit"; then
26019 rpathdirs="$rpathdirs $found_dir"
26021 else
26022 haveit=
26023 for x in $LDFLAGS $LIBICONV; do
26025 acl_save_prefix="$prefix"
26026 prefix="$acl_final_prefix"
26027 acl_save_exec_prefix="$exec_prefix"
26028 exec_prefix="$acl_final_exec_prefix"
26029 eval x=\"$x\"
26030 exec_prefix="$acl_save_exec_prefix"
26031 prefix="$acl_save_prefix"
26033 if test "X$x" = "X-L$found_dir"; then
26034 haveit=yes
26035 break
26037 done
26038 if test -z "$haveit"; then
26039 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26041 if test "$hardcode_minus_L" != no; then
26042 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26043 else
26044 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26049 else
26050 if test "X$found_a" != "X"; then
26051 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26052 else
26053 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26056 additional_includedir=
26057 case "$found_dir" in
26058 */lib | */lib/)
26059 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26060 additional_includedir="$basedir/include"
26062 esac
26063 if test "X$additional_includedir" != "X"; then
26064 if test "X$additional_includedir" != "X/usr/include"; then
26065 haveit=
26066 if test "X$additional_includedir" = "X/usr/local/include"; then
26067 if test -n "$GCC"; then
26068 case $host_os in
26069 linux*) haveit=yes;;
26070 esac
26073 if test -z "$haveit"; then
26074 for x in $CPPFLAGS $INCICONV; do
26076 acl_save_prefix="$prefix"
26077 prefix="$acl_final_prefix"
26078 acl_save_exec_prefix="$exec_prefix"
26079 exec_prefix="$acl_final_exec_prefix"
26080 eval x=\"$x\"
26081 exec_prefix="$acl_save_exec_prefix"
26082 prefix="$acl_save_prefix"
26084 if test "X$x" = "X-I$additional_includedir"; then
26085 haveit=yes
26086 break
26088 done
26089 if test -z "$haveit"; then
26090 if test -d "$additional_includedir"; then
26091 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26097 if test -n "$found_la"; then
26098 save_libdir="$libdir"
26099 case "$found_la" in
26100 */* | *\\*) . "$found_la" ;;
26101 *) . "./$found_la" ;;
26102 esac
26103 libdir="$save_libdir"
26104 for dep in $dependency_libs; do
26105 case "$dep" in
26106 -L*)
26107 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26108 if test "X$additional_libdir" != "X/usr/lib"; then
26109 haveit=
26110 if test "X$additional_libdir" = "X/usr/local/lib"; then
26111 if test -n "$GCC"; then
26112 case $host_os in
26113 linux*) haveit=yes;;
26114 esac
26117 if test -z "$haveit"; then
26118 haveit=
26119 for x in $LDFLAGS $LIBICONV; do
26121 acl_save_prefix="$prefix"
26122 prefix="$acl_final_prefix"
26123 acl_save_exec_prefix="$exec_prefix"
26124 exec_prefix="$acl_final_exec_prefix"
26125 eval x=\"$x\"
26126 exec_prefix="$acl_save_exec_prefix"
26127 prefix="$acl_save_prefix"
26129 if test "X$x" = "X-L$additional_libdir"; then
26130 haveit=yes
26131 break
26133 done
26134 if test -z "$haveit"; then
26135 if test -d "$additional_libdir"; then
26136 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26139 haveit=
26140 for x in $LDFLAGS $LTLIBICONV; do
26142 acl_save_prefix="$prefix"
26143 prefix="$acl_final_prefix"
26144 acl_save_exec_prefix="$exec_prefix"
26145 exec_prefix="$acl_final_exec_prefix"
26146 eval x=\"$x\"
26147 exec_prefix="$acl_save_exec_prefix"
26148 prefix="$acl_save_prefix"
26150 if test "X$x" = "X-L$additional_libdir"; then
26151 haveit=yes
26152 break
26154 done
26155 if test -z "$haveit"; then
26156 if test -d "$additional_libdir"; then
26157 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26163 -R*)
26164 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26165 if test "$enable_rpath" != no; then
26166 haveit=
26167 for x in $rpathdirs; do
26168 if test "X$x" = "X$dir"; then
26169 haveit=yes
26170 break
26172 done
26173 if test -z "$haveit"; then
26174 rpathdirs="$rpathdirs $dir"
26176 haveit=
26177 for x in $ltrpathdirs; do
26178 if test "X$x" = "X$dir"; then
26179 haveit=yes
26180 break
26182 done
26183 if test -z "$haveit"; then
26184 ltrpathdirs="$ltrpathdirs $dir"
26188 -l*)
26189 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26191 *.la)
26192 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26195 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26196 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26198 esac
26199 done
26201 else
26202 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26203 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26207 done
26208 done
26209 if test "X$rpathdirs" != "X"; then
26210 if test -n "$hardcode_libdir_separator"; then
26211 alldirs=
26212 for found_dir in $rpathdirs; do
26213 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26214 done
26215 acl_save_libdir="$libdir"
26216 libdir="$alldirs"
26217 eval flag=\"$hardcode_libdir_flag_spec\"
26218 libdir="$acl_save_libdir"
26219 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26220 else
26221 for found_dir in $rpathdirs; do
26222 acl_save_libdir="$libdir"
26223 libdir="$found_dir"
26224 eval flag=\"$hardcode_libdir_flag_spec\"
26225 libdir="$acl_save_libdir"
26226 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26227 done
26230 if test "X$ltrpathdirs" != "X"; then
26231 for found_dir in $ltrpathdirs; do
26232 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26233 done
26242 am_save_CPPFLAGS="$CPPFLAGS"
26244 for element in $INCICONV; do
26245 haveit=
26246 for x in $CPPFLAGS; do
26248 acl_save_prefix="$prefix"
26249 prefix="$acl_final_prefix"
26250 acl_save_exec_prefix="$exec_prefix"
26251 exec_prefix="$acl_final_exec_prefix"
26252 eval x=\"$x\"
26253 exec_prefix="$acl_save_exec_prefix"
26254 prefix="$acl_save_prefix"
26256 if test "X$x" = "X$element"; then
26257 haveit=yes
26258 break
26260 done
26261 if test -z "$haveit"; then
26262 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26264 done
26267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26268 $as_echo_n "checking for iconv... " >&6; }
26269 if test "${am_cv_func_iconv+set}" = set; then :
26270 $as_echo_n "(cached) " >&6
26271 else
26273 am_cv_func_iconv="no, consider installing GNU libiconv"
26274 am_cv_lib_iconv=no
26275 if test x$gcc_no_link = xyes; then
26276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26279 /* end confdefs.h. */
26280 #include <stdlib.h>
26281 #include <iconv.h>
26283 main ()
26285 iconv_t cd = iconv_open("","");
26286 iconv(cd,NULL,NULL,NULL,NULL);
26287 iconv_close(cd);
26289 return 0;
26291 _ACEOF
26292 if ac_fn_c_try_link "$LINENO"; then :
26293 am_cv_func_iconv=yes
26295 rm -f core conftest.err conftest.$ac_objext \
26296 conftest$ac_exeext conftest.$ac_ext
26297 if test "$am_cv_func_iconv" != yes; then
26298 am_save_LIBS="$LIBS"
26299 LIBS="$LIBS $LIBICONV"
26300 if test x$gcc_no_link = xyes; then
26301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26304 /* end confdefs.h. */
26305 #include <stdlib.h>
26306 #include <iconv.h>
26308 main ()
26310 iconv_t cd = iconv_open("","");
26311 iconv(cd,NULL,NULL,NULL,NULL);
26312 iconv_close(cd);
26314 return 0;
26316 _ACEOF
26317 if ac_fn_c_try_link "$LINENO"; then :
26318 am_cv_lib_iconv=yes
26319 am_cv_func_iconv=yes
26321 rm -f core conftest.err conftest.$ac_objext \
26322 conftest$ac_exeext conftest.$ac_ext
26323 LIBS="$am_save_LIBS"
26327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26328 $as_echo "$am_cv_func_iconv" >&6; }
26329 if test "$am_cv_func_iconv" = yes; then
26331 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26334 if test "$am_cv_lib_iconv" = yes; then
26335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26336 $as_echo_n "checking how to link with libiconv... " >&6; }
26337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26338 $as_echo "$LIBICONV" >&6; }
26339 else
26340 CPPFLAGS="$am_save_CPPFLAGS"
26341 LIBICONV=
26342 LTLIBICONV=
26347 if test "$am_cv_func_iconv" = yes; then
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26349 $as_echo_n "checking for iconv declaration... " >&6; }
26350 if test "${am_cv_proto_iconv+set}" = set; then :
26351 $as_echo_n "(cached) " >&6
26352 else
26354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26355 /* end confdefs.h. */
26357 #include <stdlib.h>
26358 #include <iconv.h>
26359 extern
26360 #ifdef __cplusplus
26362 #endif
26363 #if defined(__STDC__) || defined(__cplusplus)
26364 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26365 #else
26366 size_t iconv();
26367 #endif
26370 main ()
26374 return 0;
26376 _ACEOF
26377 if ac_fn_c_try_compile "$LINENO"; then :
26378 am_cv_proto_iconv_arg1=""
26379 else
26380 am_cv_proto_iconv_arg1="const"
26382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26383 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);"
26386 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26388 }$am_cv_proto_iconv" >&5
26389 $as_echo "${ac_t:-
26390 }$am_cv_proto_iconv" >&6; }
26392 cat >>confdefs.h <<_ACEOF
26393 #define ICONV_CONST $am_cv_proto_iconv_arg1
26394 _ACEOF
26399 else
26401 # This lets us hard-code the functionality we know we'll have in the cross
26402 # target environment. "Let" is a sugar-coated word placed on an especially
26403 # dull and tedious hack, actually.
26405 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26406 # that involve linking, can't be used:
26407 # "cannot open sim-crt0.o"
26408 # "cannot open crt0.o"
26409 # etc. All this is because there currently exists no unified, consistent
26410 # way for top level CC information to be passed down to target directories:
26411 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26412 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26413 # crosses can be removed.
26415 # If Canadian cross, then don't pick up tools from the build directory.
26416 # Used only in GLIBCXX_EXPORT_INCLUDES.
26417 if test -n "$with_cross_host" &&
26418 test x"$build_alias" != x"$with_cross_host" &&
26419 test x"$build" != x"$target";
26420 then
26421 CANADIAN=yes
26422 else
26423 CANADIAN=no
26426 # Construct crosses by hand, eliminating bits that need ld...
26427 # GLIBCXX_CHECK_MATH_SUPPORT
26429 # First, test for "known" system libraries. We may be using newlib even
26430 # on a hosted environment.
26431 if test "x${with_newlib}" = "xyes"; then
26432 os_include_dir="os/newlib"
26433 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26436 # GLIBCXX_CHECK_STDLIB_SUPPORT
26437 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26440 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26442 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26444 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26446 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26448 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26450 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26452 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26454 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26456 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26458 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26460 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26462 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26464 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26466 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26468 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26470 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26472 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26474 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26476 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26478 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26480 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26482 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26485 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26487 else
26489 # Base decisions on target environment.
26490 case "${host}" in
26491 arm*-*-symbianelf*)
26492 # This is a freestanding configuration; there is nothing to do here.
26495 mips*-sde-elf*)
26496 # These definitions are for the SDE C library rather than newlib.
26497 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26500 # All these tests are for C++; save the language and the compiler flags.
26501 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26502 # found in GLIBCXX_CONFIGURE.
26504 ac_ext=cpp
26505 ac_cpp='$CXXCPP $CPPFLAGS'
26506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26510 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26511 ac_save_CXXFLAGS="$CXXFLAGS"
26513 # Check for maintainer-mode bits.
26514 if test x"$USE_MAINTAINER_MODE" = xno; then
26515 WERROR=''
26516 else
26517 WERROR='-Werror'
26520 # Check for -ffunction-sections -fdata-sections
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26522 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26523 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26525 /* end confdefs.h. */
26526 int foo; void bar() { };
26528 main ()
26532 return 0;
26534 _ACEOF
26535 if ac_fn_cxx_try_compile "$LINENO"; then :
26536 ac_fdsections=yes
26537 else
26538 ac_fdsections=no
26540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26541 if test "$ac_test_CXXFLAGS" = set; then
26542 CXXFLAGS="$ac_save_CXXFLAGS"
26543 else
26544 # this is the suspicious part
26545 CXXFLAGS=''
26547 if test x"$ac_fdsections" = x"yes"; then
26548 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26551 $as_echo "$ac_fdsections" >&6; }
26553 ac_ext=c
26554 ac_cpp='$CPP $CPPFLAGS'
26555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26563 # If we're not using GNU ld, then there's no point in even trying these
26564 # tests. Check for that first. We should have already tested for gld
26565 # by now (in libtool), but require it now just to be safe...
26566 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26567 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26571 # The name set by libtool depends on the version of libtool. Shame on us
26572 # for depending on an impl detail, but c'est la vie. Older versions used
26573 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26574 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26575 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26576 # set (hence we're using an older libtool), then set it.
26577 if test x${with_gnu_ld+set} != xset; then
26578 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26579 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26580 with_gnu_ld=no
26581 else
26582 with_gnu_ld=$ac_cv_prog_gnu_ld
26586 # Start by getting the version number. I think the libtool test already
26587 # does some of this, but throws away the result.
26588 glibcxx_ld_is_gold=no
26589 if test x"$with_gnu_ld" = x"yes"; then
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26591 $as_echo_n "checking for ld version... " >&6; }
26593 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26594 glibcxx_ld_is_gold=yes
26596 ldver=`$LD --version 2>/dev/null |
26597 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'`
26599 glibcxx_gnu_ld_version=`echo $ldver | \
26600 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26602 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26605 # Set --gc-sections.
26606 glibcxx_have_gc_sections=no
26607 if test "$glibcxx_ld_is_gold" = "yes"; then
26608 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26609 glibcxx_have_gc_sections=yes
26611 else
26612 glibcxx_gcsections_min_ld=21602
26613 if test x"$with_gnu_ld" = x"yes" &&
26614 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26615 glibcxx_have_gc_sections=yes
26618 if test "$glibcxx_have_gc_sections" = "yes"; then
26619 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26620 # NB: This flag only works reliably after 2.16.1. Configure tests
26621 # for this are difficult, so hard wire a value that should work.
26623 ac_test_CFLAGS="${CFLAGS+set}"
26624 ac_save_CFLAGS="$CFLAGS"
26625 CFLAGS='-Wl,--gc-sections'
26627 # Check for -Wl,--gc-sections
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26629 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26630 if test x$gcc_no_link = xyes; then
26631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26634 /* end confdefs.h. */
26635 int one(void) { return 1; }
26636 int two(void) { return 2; }
26639 main ()
26641 two();
26643 return 0;
26645 _ACEOF
26646 if ac_fn_c_try_link "$LINENO"; then :
26647 ac_gcsections=yes
26648 else
26649 ac_gcsections=no
26651 rm -f core conftest.err conftest.$ac_objext \
26652 conftest$ac_exeext conftest.$ac_ext
26653 if test "$ac_gcsections" = "yes"; then
26654 rm -f conftest.c
26655 touch conftest.c
26656 if $CC -c conftest.c; then
26657 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26658 grep "Warning: gc-sections option ignored" > /dev/null; then
26659 ac_gcsections=no
26662 rm -f conftest.c conftest.o conftest
26664 if test "$ac_gcsections" = "yes"; then
26665 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26668 $as_echo "$ac_gcsections" >&6; }
26670 if test "$ac_test_CFLAGS" = set; then
26671 CFLAGS="$ac_save_CFLAGS"
26672 else
26673 # this is the suspicious part
26674 CFLAGS=''
26678 # Set -z,relro.
26679 # Note this is only for shared objects.
26680 ac_ld_relro=no
26681 if test x"$with_gnu_ld" = x"yes"; then
26682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26683 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26684 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26685 if test -n "$cxx_z_relo"; then
26686 OPT_LDFLAGS="-Wl,-z,relro"
26687 ac_ld_relro=yes
26689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26690 $as_echo "$ac_ld_relro" >&6; }
26693 # Set linker optimization flags.
26694 if test x"$with_gnu_ld" = x"yes"; then
26695 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26702 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26703 ac_save_CXXFLAGS="$CXXFLAGS"
26704 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26707 $as_echo_n "checking for sin in -lm... " >&6; }
26708 if test "${ac_cv_lib_m_sin+set}" = set; then :
26709 $as_echo_n "(cached) " >&6
26710 else
26711 ac_check_lib_save_LIBS=$LIBS
26712 LIBS="-lm $LIBS"
26713 if test x$gcc_no_link = xyes; then
26714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26717 /* end confdefs.h. */
26719 /* Override any GCC internal prototype to avoid an error.
26720 Use char because int might match the return type of a GCC
26721 builtin and then its argument prototype would still apply. */
26722 #ifdef __cplusplus
26723 extern "C"
26724 #endif
26725 char sin ();
26727 main ()
26729 return sin ();
26731 return 0;
26733 _ACEOF
26734 if ac_fn_c_try_link "$LINENO"; then :
26735 ac_cv_lib_m_sin=yes
26736 else
26737 ac_cv_lib_m_sin=no
26739 rm -f core conftest.err conftest.$ac_objext \
26740 conftest$ac_exeext conftest.$ac_ext
26741 LIBS=$ac_check_lib_save_LIBS
26743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26744 $as_echo "$ac_cv_lib_m_sin" >&6; }
26745 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26746 libm="-lm"
26749 ac_save_LIBS="$LIBS"
26750 LIBS="$LIBS $libm"
26754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26755 $as_echo_n "checking for isinf declaration... " >&6; }
26756 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26757 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26758 $as_echo_n "(cached) " >&6
26759 else
26762 ac_ext=cpp
26763 ac_cpp='$CXXCPP $CPPFLAGS'
26764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26769 /* end confdefs.h. */
26770 #include <math.h>
26771 #ifdef HAVE_IEEEFP_H
26772 #include <ieeefp.h>
26773 #endif
26776 main ()
26778 isinf(0);
26780 return 0;
26782 _ACEOF
26783 if ac_fn_cxx_try_compile "$LINENO"; then :
26784 glibcxx_cv_func_isinf_use=yes
26785 else
26786 glibcxx_cv_func_isinf_use=no
26788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26789 ac_ext=c
26790 ac_cpp='$CPP $CPPFLAGS'
26791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26800 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26802 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26803 for ac_func in isinf
26804 do :
26805 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26806 if test "x$ac_cv_func_isinf" = x""yes; then :
26807 cat >>confdefs.h <<_ACEOF
26808 #define HAVE_ISINF 1
26809 _ACEOF
26812 done
26814 else
26816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26817 $as_echo_n "checking for _isinf declaration... " >&6; }
26818 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26819 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26820 $as_echo_n "(cached) " >&6
26821 else
26824 ac_ext=cpp
26825 ac_cpp='$CXXCPP $CPPFLAGS'
26826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26831 /* end confdefs.h. */
26832 #include <math.h>
26833 #ifdef HAVE_IEEEFP_H
26834 #include <ieeefp.h>
26835 #endif
26838 main ()
26840 _isinf(0);
26842 return 0;
26844 _ACEOF
26845 if ac_fn_cxx_try_compile "$LINENO"; then :
26846 glibcxx_cv_func__isinf_use=yes
26847 else
26848 glibcxx_cv_func__isinf_use=no
26850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26851 ac_ext=c
26852 ac_cpp='$CPP $CPPFLAGS'
26853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26862 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26864 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26865 for ac_func in _isinf
26866 do :
26867 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26868 if test "x$ac_cv_func__isinf" = x""yes; then :
26869 cat >>confdefs.h <<_ACEOF
26870 #define HAVE__ISINF 1
26871 _ACEOF
26874 done
26883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26884 $as_echo_n "checking for isnan declaration... " >&6; }
26885 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26886 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26887 $as_echo_n "(cached) " >&6
26888 else
26891 ac_ext=cpp
26892 ac_cpp='$CXXCPP $CPPFLAGS'
26893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26898 /* end confdefs.h. */
26899 #include <math.h>
26900 #ifdef HAVE_IEEEFP_H
26901 #include <ieeefp.h>
26902 #endif
26905 main ()
26907 isnan(0);
26909 return 0;
26911 _ACEOF
26912 if ac_fn_cxx_try_compile "$LINENO"; then :
26913 glibcxx_cv_func_isnan_use=yes
26914 else
26915 glibcxx_cv_func_isnan_use=no
26917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26918 ac_ext=c
26919 ac_cpp='$CPP $CPPFLAGS'
26920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26929 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26931 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26932 for ac_func in isnan
26933 do :
26934 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26935 if test "x$ac_cv_func_isnan" = x""yes; then :
26936 cat >>confdefs.h <<_ACEOF
26937 #define HAVE_ISNAN 1
26938 _ACEOF
26941 done
26943 else
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26946 $as_echo_n "checking for _isnan declaration... " >&6; }
26947 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26948 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26949 $as_echo_n "(cached) " >&6
26950 else
26953 ac_ext=cpp
26954 ac_cpp='$CXXCPP $CPPFLAGS'
26955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h. */
26961 #include <math.h>
26962 #ifdef HAVE_IEEEFP_H
26963 #include <ieeefp.h>
26964 #endif
26967 main ()
26969 _isnan(0);
26971 return 0;
26973 _ACEOF
26974 if ac_fn_cxx_try_compile "$LINENO"; then :
26975 glibcxx_cv_func__isnan_use=yes
26976 else
26977 glibcxx_cv_func__isnan_use=no
26979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26980 ac_ext=c
26981 ac_cpp='$CPP $CPPFLAGS'
26982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26991 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26993 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26994 for ac_func in _isnan
26995 do :
26996 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26997 if test "x$ac_cv_func__isnan" = x""yes; then :
26998 cat >>confdefs.h <<_ACEOF
26999 #define HAVE__ISNAN 1
27000 _ACEOF
27003 done
27012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27013 $as_echo_n "checking for finite declaration... " >&6; }
27014 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27015 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27016 $as_echo_n "(cached) " >&6
27017 else
27020 ac_ext=cpp
27021 ac_cpp='$CXXCPP $CPPFLAGS'
27022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27027 /* end confdefs.h. */
27028 #include <math.h>
27029 #ifdef HAVE_IEEEFP_H
27030 #include <ieeefp.h>
27031 #endif
27034 main ()
27036 finite(0);
27038 return 0;
27040 _ACEOF
27041 if ac_fn_cxx_try_compile "$LINENO"; then :
27042 glibcxx_cv_func_finite_use=yes
27043 else
27044 glibcxx_cv_func_finite_use=no
27046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27047 ac_ext=c
27048 ac_cpp='$CPP $CPPFLAGS'
27049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27058 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27060 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27061 for ac_func in finite
27062 do :
27063 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27064 if test "x$ac_cv_func_finite" = x""yes; then :
27065 cat >>confdefs.h <<_ACEOF
27066 #define HAVE_FINITE 1
27067 _ACEOF
27070 done
27072 else
27074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27075 $as_echo_n "checking for _finite declaration... " >&6; }
27076 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27077 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27078 $as_echo_n "(cached) " >&6
27079 else
27082 ac_ext=cpp
27083 ac_cpp='$CXXCPP $CPPFLAGS'
27084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27089 /* end confdefs.h. */
27090 #include <math.h>
27091 #ifdef HAVE_IEEEFP_H
27092 #include <ieeefp.h>
27093 #endif
27096 main ()
27098 _finite(0);
27100 return 0;
27102 _ACEOF
27103 if ac_fn_cxx_try_compile "$LINENO"; then :
27104 glibcxx_cv_func__finite_use=yes
27105 else
27106 glibcxx_cv_func__finite_use=no
27108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27109 ac_ext=c
27110 ac_cpp='$CPP $CPPFLAGS'
27111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27120 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27122 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27123 for ac_func in _finite
27124 do :
27125 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27126 if test "x$ac_cv_func__finite" = x""yes; then :
27127 cat >>confdefs.h <<_ACEOF
27128 #define HAVE__FINITE 1
27129 _ACEOF
27132 done
27141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27142 $as_echo_n "checking for sincos declaration... " >&6; }
27143 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27144 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27145 $as_echo_n "(cached) " >&6
27146 else
27149 ac_ext=cpp
27150 ac_cpp='$CXXCPP $CPPFLAGS'
27151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27156 /* end confdefs.h. */
27157 #include <math.h>
27159 main ()
27161 sincos(0, 0, 0);
27163 return 0;
27165 _ACEOF
27166 if ac_fn_cxx_try_compile "$LINENO"; then :
27167 glibcxx_cv_func_sincos_use=yes
27168 else
27169 glibcxx_cv_func_sincos_use=no
27171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27172 ac_ext=c
27173 ac_cpp='$CPP $CPPFLAGS'
27174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27183 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27185 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27186 for ac_func in sincos
27187 do :
27188 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27189 if test "x$ac_cv_func_sincos" = x""yes; then :
27190 cat >>confdefs.h <<_ACEOF
27191 #define HAVE_SINCOS 1
27192 _ACEOF
27195 done
27197 else
27199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27200 $as_echo_n "checking for _sincos declaration... " >&6; }
27201 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27202 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27203 $as_echo_n "(cached) " >&6
27204 else
27207 ac_ext=cpp
27208 ac_cpp='$CXXCPP $CPPFLAGS'
27209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27214 /* end confdefs.h. */
27215 #include <math.h>
27217 main ()
27219 _sincos(0, 0, 0);
27221 return 0;
27223 _ACEOF
27224 if ac_fn_cxx_try_compile "$LINENO"; then :
27225 glibcxx_cv_func__sincos_use=yes
27226 else
27227 glibcxx_cv_func__sincos_use=no
27229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27230 ac_ext=c
27231 ac_cpp='$CPP $CPPFLAGS'
27232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27241 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27243 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27244 for ac_func in _sincos
27245 do :
27246 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27247 if test "x$ac_cv_func__sincos" = x""yes; then :
27248 cat >>confdefs.h <<_ACEOF
27249 #define HAVE__SINCOS 1
27250 _ACEOF
27253 done
27262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27263 $as_echo_n "checking for fpclass declaration... " >&6; }
27264 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27265 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27266 $as_echo_n "(cached) " >&6
27267 else
27270 ac_ext=cpp
27271 ac_cpp='$CXXCPP $CPPFLAGS'
27272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27277 /* end confdefs.h. */
27278 #include <math.h>
27279 #ifdef HAVE_IEEEFP_H
27280 #include <ieeefp.h>
27281 #endif
27284 main ()
27286 fpclass(0);
27288 return 0;
27290 _ACEOF
27291 if ac_fn_cxx_try_compile "$LINENO"; then :
27292 glibcxx_cv_func_fpclass_use=yes
27293 else
27294 glibcxx_cv_func_fpclass_use=no
27296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27297 ac_ext=c
27298 ac_cpp='$CPP $CPPFLAGS'
27299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27308 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27310 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27311 for ac_func in fpclass
27312 do :
27313 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27314 if test "x$ac_cv_func_fpclass" = x""yes; then :
27315 cat >>confdefs.h <<_ACEOF
27316 #define HAVE_FPCLASS 1
27317 _ACEOF
27320 done
27322 else
27324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27325 $as_echo_n "checking for _fpclass declaration... " >&6; }
27326 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27327 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27328 $as_echo_n "(cached) " >&6
27329 else
27332 ac_ext=cpp
27333 ac_cpp='$CXXCPP $CPPFLAGS'
27334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27339 /* end confdefs.h. */
27340 #include <math.h>
27341 #ifdef HAVE_IEEEFP_H
27342 #include <ieeefp.h>
27343 #endif
27346 main ()
27348 _fpclass(0);
27350 return 0;
27352 _ACEOF
27353 if ac_fn_cxx_try_compile "$LINENO"; then :
27354 glibcxx_cv_func__fpclass_use=yes
27355 else
27356 glibcxx_cv_func__fpclass_use=no
27358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27359 ac_ext=c
27360 ac_cpp='$CPP $CPPFLAGS'
27361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27370 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27372 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27373 for ac_func in _fpclass
27374 do :
27375 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27376 if test "x$ac_cv_func__fpclass" = x""yes; then :
27377 cat >>confdefs.h <<_ACEOF
27378 #define HAVE__FPCLASS 1
27379 _ACEOF
27382 done
27391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27392 $as_echo_n "checking for qfpclass declaration... " >&6; }
27393 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27394 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27395 $as_echo_n "(cached) " >&6
27396 else
27399 ac_ext=cpp
27400 ac_cpp='$CXXCPP $CPPFLAGS'
27401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27406 /* end confdefs.h. */
27407 #include <math.h>
27408 #ifdef HAVE_IEEEFP_H
27409 #include <ieeefp.h>
27410 #endif
27413 main ()
27415 qfpclass(0);
27417 return 0;
27419 _ACEOF
27420 if ac_fn_cxx_try_compile "$LINENO"; then :
27421 glibcxx_cv_func_qfpclass_use=yes
27422 else
27423 glibcxx_cv_func_qfpclass_use=no
27425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27426 ac_ext=c
27427 ac_cpp='$CPP $CPPFLAGS'
27428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27437 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27439 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27440 for ac_func in qfpclass
27441 do :
27442 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27443 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27444 cat >>confdefs.h <<_ACEOF
27445 #define HAVE_QFPCLASS 1
27446 _ACEOF
27449 done
27451 else
27453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27454 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27455 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27456 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27457 $as_echo_n "(cached) " >&6
27458 else
27461 ac_ext=cpp
27462 ac_cpp='$CXXCPP $CPPFLAGS'
27463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27468 /* end confdefs.h. */
27469 #include <math.h>
27470 #ifdef HAVE_IEEEFP_H
27471 #include <ieeefp.h>
27472 #endif
27475 main ()
27477 _qfpclass(0);
27479 return 0;
27481 _ACEOF
27482 if ac_fn_cxx_try_compile "$LINENO"; then :
27483 glibcxx_cv_func__qfpclass_use=yes
27484 else
27485 glibcxx_cv_func__qfpclass_use=no
27487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27488 ac_ext=c
27489 ac_cpp='$CPP $CPPFLAGS'
27490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27499 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27501 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27502 for ac_func in _qfpclass
27503 do :
27504 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27505 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27506 cat >>confdefs.h <<_ACEOF
27507 #define HAVE__QFPCLASS 1
27508 _ACEOF
27511 done
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27521 $as_echo_n "checking for hypot declaration... " >&6; }
27522 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27523 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27524 $as_echo_n "(cached) " >&6
27525 else
27528 ac_ext=cpp
27529 ac_cpp='$CXXCPP $CPPFLAGS'
27530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27535 /* end confdefs.h. */
27536 #include <math.h>
27538 main ()
27540 hypot(0, 0);
27542 return 0;
27544 _ACEOF
27545 if ac_fn_cxx_try_compile "$LINENO"; then :
27546 glibcxx_cv_func_hypot_use=yes
27547 else
27548 glibcxx_cv_func_hypot_use=no
27550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27551 ac_ext=c
27552 ac_cpp='$CPP $CPPFLAGS'
27553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27562 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27564 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27565 for ac_func in hypot
27566 do :
27567 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27568 if test "x$ac_cv_func_hypot" = x""yes; then :
27569 cat >>confdefs.h <<_ACEOF
27570 #define HAVE_HYPOT 1
27571 _ACEOF
27574 done
27576 else
27578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27579 $as_echo_n "checking for _hypot declaration... " >&6; }
27580 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27581 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27582 $as_echo_n "(cached) " >&6
27583 else
27586 ac_ext=cpp
27587 ac_cpp='$CXXCPP $CPPFLAGS'
27588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27593 /* end confdefs.h. */
27594 #include <math.h>
27596 main ()
27598 _hypot(0, 0);
27600 return 0;
27602 _ACEOF
27603 if ac_fn_cxx_try_compile "$LINENO"; then :
27604 glibcxx_cv_func__hypot_use=yes
27605 else
27606 glibcxx_cv_func__hypot_use=no
27608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27609 ac_ext=c
27610 ac_cpp='$CPP $CPPFLAGS'
27611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27620 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27622 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27623 for ac_func in _hypot
27624 do :
27625 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27626 if test "x$ac_cv_func__hypot" = x""yes; then :
27627 cat >>confdefs.h <<_ACEOF
27628 #define HAVE__HYPOT 1
27629 _ACEOF
27632 done
27641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27642 $as_echo_n "checking for float trig functions... " >&6; }
27643 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27644 $as_echo_n "(cached) " >&6
27645 else
27648 ac_ext=cpp
27649 ac_cpp='$CXXCPP $CPPFLAGS'
27650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27655 /* end confdefs.h. */
27656 #include <math.h>
27658 main ()
27660 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27662 return 0;
27664 _ACEOF
27665 if ac_fn_cxx_try_compile "$LINENO"; then :
27666 glibcxx_cv_func_float_trig_use=yes
27667 else
27668 glibcxx_cv_func_float_trig_use=no
27670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27671 ac_ext=c
27672 ac_cpp='$CPP $CPPFLAGS'
27673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27680 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27681 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27682 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27683 do :
27684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27686 eval as_val=\$$as_ac_var
27687 if test "x$as_val" = x""yes; then :
27688 cat >>confdefs.h <<_ACEOF
27689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27690 _ACEOF
27693 done
27695 else
27696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27697 $as_echo_n "checking for _float trig functions... " >&6; }
27698 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27699 $as_echo_n "(cached) " >&6
27700 else
27703 ac_ext=cpp
27704 ac_cpp='$CXXCPP $CPPFLAGS'
27705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27710 /* end confdefs.h. */
27711 #include <math.h>
27713 main ()
27715 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27717 return 0;
27719 _ACEOF
27720 if ac_fn_cxx_try_compile "$LINENO"; then :
27721 glibcxx_cv_func__float_trig_use=yes
27722 else
27723 glibcxx_cv_func__float_trig_use=no
27725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27726 ac_ext=c
27727 ac_cpp='$CPP $CPPFLAGS'
27728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27735 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27736 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27737 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27738 do :
27739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27741 eval as_val=\$$as_ac_var
27742 if test "x$as_val" = x""yes; then :
27743 cat >>confdefs.h <<_ACEOF
27744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27745 _ACEOF
27748 done
27757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27758 $as_echo_n "checking for float round functions... " >&6; }
27759 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27760 $as_echo_n "(cached) " >&6
27761 else
27764 ac_ext=cpp
27765 ac_cpp='$CXXCPP $CPPFLAGS'
27766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27771 /* end confdefs.h. */
27772 #include <math.h>
27774 main ()
27776 ceilf (0); floorf (0);
27778 return 0;
27780 _ACEOF
27781 if ac_fn_cxx_try_compile "$LINENO"; then :
27782 glibcxx_cv_func_float_round_use=yes
27783 else
27784 glibcxx_cv_func_float_round_use=no
27786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27787 ac_ext=c
27788 ac_cpp='$CPP $CPPFLAGS'
27789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27796 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27797 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27798 for ac_func in ceilf floorf
27799 do :
27800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27802 eval as_val=\$$as_ac_var
27803 if test "x$as_val" = x""yes; then :
27804 cat >>confdefs.h <<_ACEOF
27805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27806 _ACEOF
27809 done
27811 else
27812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27813 $as_echo_n "checking for _float round functions... " >&6; }
27814 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27815 $as_echo_n "(cached) " >&6
27816 else
27819 ac_ext=cpp
27820 ac_cpp='$CXXCPP $CPPFLAGS'
27821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27826 /* end confdefs.h. */
27827 #include <math.h>
27829 main ()
27831 _ceilf (0); _floorf (0);
27833 return 0;
27835 _ACEOF
27836 if ac_fn_cxx_try_compile "$LINENO"; then :
27837 glibcxx_cv_func__float_round_use=yes
27838 else
27839 glibcxx_cv_func__float_round_use=no
27841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27842 ac_ext=c
27843 ac_cpp='$CPP $CPPFLAGS'
27844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27851 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27852 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27853 for ac_func in _ceilf _floorf
27854 do :
27855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27857 eval as_val=\$$as_ac_var
27858 if test "x$as_val" = x""yes; then :
27859 cat >>confdefs.h <<_ACEOF
27860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27861 _ACEOF
27864 done
27874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27875 $as_echo_n "checking for expf declaration... " >&6; }
27876 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27877 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27878 $as_echo_n "(cached) " >&6
27879 else
27882 ac_ext=cpp
27883 ac_cpp='$CXXCPP $CPPFLAGS'
27884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27889 /* end confdefs.h. */
27890 #include <math.h>
27891 #ifdef HAVE_IEEEFP_H
27892 #include <ieeefp.h>
27893 #endif
27896 main ()
27898 expf(0);
27900 return 0;
27902 _ACEOF
27903 if ac_fn_cxx_try_compile "$LINENO"; then :
27904 glibcxx_cv_func_expf_use=yes
27905 else
27906 glibcxx_cv_func_expf_use=no
27908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27909 ac_ext=c
27910 ac_cpp='$CPP $CPPFLAGS'
27911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27920 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27922 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27923 for ac_func in expf
27924 do :
27925 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27926 if test "x$ac_cv_func_expf" = x""yes; then :
27927 cat >>confdefs.h <<_ACEOF
27928 #define HAVE_EXPF 1
27929 _ACEOF
27932 done
27934 else
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27937 $as_echo_n "checking for _expf declaration... " >&6; }
27938 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27939 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27940 $as_echo_n "(cached) " >&6
27941 else
27944 ac_ext=cpp
27945 ac_cpp='$CXXCPP $CPPFLAGS'
27946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27951 /* end confdefs.h. */
27952 #include <math.h>
27953 #ifdef HAVE_IEEEFP_H
27954 #include <ieeefp.h>
27955 #endif
27958 main ()
27960 _expf(0);
27962 return 0;
27964 _ACEOF
27965 if ac_fn_cxx_try_compile "$LINENO"; then :
27966 glibcxx_cv_func__expf_use=yes
27967 else
27968 glibcxx_cv_func__expf_use=no
27970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27971 ac_ext=c
27972 ac_cpp='$CPP $CPPFLAGS'
27973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27982 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27984 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27985 for ac_func in _expf
27986 do :
27987 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27988 if test "x$ac_cv_func__expf" = x""yes; then :
27989 cat >>confdefs.h <<_ACEOF
27990 #define HAVE__EXPF 1
27991 _ACEOF
27994 done
28003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28004 $as_echo_n "checking for isnanf declaration... " >&6; }
28005 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28006 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28007 $as_echo_n "(cached) " >&6
28008 else
28011 ac_ext=cpp
28012 ac_cpp='$CXXCPP $CPPFLAGS'
28013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28018 /* end confdefs.h. */
28019 #include <math.h>
28020 #ifdef HAVE_IEEEFP_H
28021 #include <ieeefp.h>
28022 #endif
28025 main ()
28027 isnanf(0);
28029 return 0;
28031 _ACEOF
28032 if ac_fn_cxx_try_compile "$LINENO"; then :
28033 glibcxx_cv_func_isnanf_use=yes
28034 else
28035 glibcxx_cv_func_isnanf_use=no
28037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28038 ac_ext=c
28039 ac_cpp='$CPP $CPPFLAGS'
28040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28049 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28051 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28052 for ac_func in isnanf
28053 do :
28054 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28055 if test "x$ac_cv_func_isnanf" = x""yes; then :
28056 cat >>confdefs.h <<_ACEOF
28057 #define HAVE_ISNANF 1
28058 _ACEOF
28061 done
28063 else
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28066 $as_echo_n "checking for _isnanf declaration... " >&6; }
28067 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28068 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28069 $as_echo_n "(cached) " >&6
28070 else
28073 ac_ext=cpp
28074 ac_cpp='$CXXCPP $CPPFLAGS'
28075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28080 /* end confdefs.h. */
28081 #include <math.h>
28082 #ifdef HAVE_IEEEFP_H
28083 #include <ieeefp.h>
28084 #endif
28087 main ()
28089 _isnanf(0);
28091 return 0;
28093 _ACEOF
28094 if ac_fn_cxx_try_compile "$LINENO"; then :
28095 glibcxx_cv_func__isnanf_use=yes
28096 else
28097 glibcxx_cv_func__isnanf_use=no
28099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28100 ac_ext=c
28101 ac_cpp='$CPP $CPPFLAGS'
28102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28111 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28113 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28114 for ac_func in _isnanf
28115 do :
28116 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28117 if test "x$ac_cv_func__isnanf" = x""yes; then :
28118 cat >>confdefs.h <<_ACEOF
28119 #define HAVE__ISNANF 1
28120 _ACEOF
28123 done
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28133 $as_echo_n "checking for isinff declaration... " >&6; }
28134 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28135 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28136 $as_echo_n "(cached) " >&6
28137 else
28140 ac_ext=cpp
28141 ac_cpp='$CXXCPP $CPPFLAGS'
28142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28147 /* end confdefs.h. */
28148 #include <math.h>
28149 #ifdef HAVE_IEEEFP_H
28150 #include <ieeefp.h>
28151 #endif
28154 main ()
28156 isinff(0);
28158 return 0;
28160 _ACEOF
28161 if ac_fn_cxx_try_compile "$LINENO"; then :
28162 glibcxx_cv_func_isinff_use=yes
28163 else
28164 glibcxx_cv_func_isinff_use=no
28166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28167 ac_ext=c
28168 ac_cpp='$CPP $CPPFLAGS'
28169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28178 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28180 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28181 for ac_func in isinff
28182 do :
28183 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28184 if test "x$ac_cv_func_isinff" = x""yes; then :
28185 cat >>confdefs.h <<_ACEOF
28186 #define HAVE_ISINFF 1
28187 _ACEOF
28190 done
28192 else
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28195 $as_echo_n "checking for _isinff declaration... " >&6; }
28196 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28197 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28198 $as_echo_n "(cached) " >&6
28199 else
28202 ac_ext=cpp
28203 ac_cpp='$CXXCPP $CPPFLAGS'
28204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28209 /* end confdefs.h. */
28210 #include <math.h>
28211 #ifdef HAVE_IEEEFP_H
28212 #include <ieeefp.h>
28213 #endif
28216 main ()
28218 _isinff(0);
28220 return 0;
28222 _ACEOF
28223 if ac_fn_cxx_try_compile "$LINENO"; then :
28224 glibcxx_cv_func__isinff_use=yes
28225 else
28226 glibcxx_cv_func__isinff_use=no
28228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28229 ac_ext=c
28230 ac_cpp='$CPP $CPPFLAGS'
28231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28240 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28242 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28243 for ac_func in _isinff
28244 do :
28245 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28246 if test "x$ac_cv_func__isinff" = x""yes; then :
28247 cat >>confdefs.h <<_ACEOF
28248 #define HAVE__ISINFF 1
28249 _ACEOF
28252 done
28261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28262 $as_echo_n "checking for atan2f declaration... " >&6; }
28263 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28264 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28265 $as_echo_n "(cached) " >&6
28266 else
28269 ac_ext=cpp
28270 ac_cpp='$CXXCPP $CPPFLAGS'
28271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28276 /* end confdefs.h. */
28277 #include <math.h>
28279 main ()
28281 atan2f(0, 0);
28283 return 0;
28285 _ACEOF
28286 if ac_fn_cxx_try_compile "$LINENO"; then :
28287 glibcxx_cv_func_atan2f_use=yes
28288 else
28289 glibcxx_cv_func_atan2f_use=no
28291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28292 ac_ext=c
28293 ac_cpp='$CPP $CPPFLAGS'
28294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28303 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28305 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28306 for ac_func in atan2f
28307 do :
28308 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28309 if test "x$ac_cv_func_atan2f" = x""yes; then :
28310 cat >>confdefs.h <<_ACEOF
28311 #define HAVE_ATAN2F 1
28312 _ACEOF
28315 done
28317 else
28319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28320 $as_echo_n "checking for _atan2f declaration... " >&6; }
28321 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28322 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28323 $as_echo_n "(cached) " >&6
28324 else
28327 ac_ext=cpp
28328 ac_cpp='$CXXCPP $CPPFLAGS'
28329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28334 /* end confdefs.h. */
28335 #include <math.h>
28337 main ()
28339 _atan2f(0, 0);
28341 return 0;
28343 _ACEOF
28344 if ac_fn_cxx_try_compile "$LINENO"; then :
28345 glibcxx_cv_func__atan2f_use=yes
28346 else
28347 glibcxx_cv_func__atan2f_use=no
28349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28350 ac_ext=c
28351 ac_cpp='$CPP $CPPFLAGS'
28352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28361 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28363 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28364 for ac_func in _atan2f
28365 do :
28366 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28367 if test "x$ac_cv_func__atan2f" = x""yes; then :
28368 cat >>confdefs.h <<_ACEOF
28369 #define HAVE__ATAN2F 1
28370 _ACEOF
28373 done
28382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28383 $as_echo_n "checking for fabsf declaration... " >&6; }
28384 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28385 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28386 $as_echo_n "(cached) " >&6
28387 else
28390 ac_ext=cpp
28391 ac_cpp='$CXXCPP $CPPFLAGS'
28392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28397 /* end confdefs.h. */
28398 #include <math.h>
28399 #ifdef HAVE_IEEEFP_H
28400 #include <ieeefp.h>
28401 #endif
28404 main ()
28406 fabsf(0);
28408 return 0;
28410 _ACEOF
28411 if ac_fn_cxx_try_compile "$LINENO"; then :
28412 glibcxx_cv_func_fabsf_use=yes
28413 else
28414 glibcxx_cv_func_fabsf_use=no
28416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28417 ac_ext=c
28418 ac_cpp='$CPP $CPPFLAGS'
28419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28428 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28430 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28431 for ac_func in fabsf
28432 do :
28433 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28434 if test "x$ac_cv_func_fabsf" = x""yes; then :
28435 cat >>confdefs.h <<_ACEOF
28436 #define HAVE_FABSF 1
28437 _ACEOF
28440 done
28442 else
28444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28445 $as_echo_n "checking for _fabsf declaration... " >&6; }
28446 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28447 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28448 $as_echo_n "(cached) " >&6
28449 else
28452 ac_ext=cpp
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28459 /* end confdefs.h. */
28460 #include <math.h>
28461 #ifdef HAVE_IEEEFP_H
28462 #include <ieeefp.h>
28463 #endif
28466 main ()
28468 _fabsf(0);
28470 return 0;
28472 _ACEOF
28473 if ac_fn_cxx_try_compile "$LINENO"; then :
28474 glibcxx_cv_func__fabsf_use=yes
28475 else
28476 glibcxx_cv_func__fabsf_use=no
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28479 ac_ext=c
28480 ac_cpp='$CPP $CPPFLAGS'
28481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28490 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28492 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28493 for ac_func in _fabsf
28494 do :
28495 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28496 if test "x$ac_cv_func__fabsf" = x""yes; then :
28497 cat >>confdefs.h <<_ACEOF
28498 #define HAVE__FABSF 1
28499 _ACEOF
28502 done
28511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28512 $as_echo_n "checking for fmodf declaration... " >&6; }
28513 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28514 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28515 $as_echo_n "(cached) " >&6
28516 else
28519 ac_ext=cpp
28520 ac_cpp='$CXXCPP $CPPFLAGS'
28521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28526 /* end confdefs.h. */
28527 #include <math.h>
28529 main ()
28531 fmodf(0, 0);
28533 return 0;
28535 _ACEOF
28536 if ac_fn_cxx_try_compile "$LINENO"; then :
28537 glibcxx_cv_func_fmodf_use=yes
28538 else
28539 glibcxx_cv_func_fmodf_use=no
28541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28542 ac_ext=c
28543 ac_cpp='$CPP $CPPFLAGS'
28544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28553 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28555 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28556 for ac_func in fmodf
28557 do :
28558 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28559 if test "x$ac_cv_func_fmodf" = x""yes; then :
28560 cat >>confdefs.h <<_ACEOF
28561 #define HAVE_FMODF 1
28562 _ACEOF
28565 done
28567 else
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28570 $as_echo_n "checking for _fmodf declaration... " >&6; }
28571 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28572 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28573 $as_echo_n "(cached) " >&6
28574 else
28577 ac_ext=cpp
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28584 /* end confdefs.h. */
28585 #include <math.h>
28587 main ()
28589 _fmodf(0, 0);
28591 return 0;
28593 _ACEOF
28594 if ac_fn_cxx_try_compile "$LINENO"; then :
28595 glibcxx_cv_func__fmodf_use=yes
28596 else
28597 glibcxx_cv_func__fmodf_use=no
28599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28600 ac_ext=c
28601 ac_cpp='$CPP $CPPFLAGS'
28602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28611 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28613 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28614 for ac_func in _fmodf
28615 do :
28616 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28617 if test "x$ac_cv_func__fmodf" = x""yes; then :
28618 cat >>confdefs.h <<_ACEOF
28619 #define HAVE__FMODF 1
28620 _ACEOF
28623 done
28632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28633 $as_echo_n "checking for frexpf declaration... " >&6; }
28634 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28635 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28636 $as_echo_n "(cached) " >&6
28637 else
28640 ac_ext=cpp
28641 ac_cpp='$CXXCPP $CPPFLAGS'
28642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28647 /* end confdefs.h. */
28648 #include <math.h>
28650 main ()
28652 frexpf(0, 0);
28654 return 0;
28656 _ACEOF
28657 if ac_fn_cxx_try_compile "$LINENO"; then :
28658 glibcxx_cv_func_frexpf_use=yes
28659 else
28660 glibcxx_cv_func_frexpf_use=no
28662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28663 ac_ext=c
28664 ac_cpp='$CPP $CPPFLAGS'
28665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28674 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28676 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28677 for ac_func in frexpf
28678 do :
28679 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28680 if test "x$ac_cv_func_frexpf" = x""yes; then :
28681 cat >>confdefs.h <<_ACEOF
28682 #define HAVE_FREXPF 1
28683 _ACEOF
28686 done
28688 else
28690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28691 $as_echo_n "checking for _frexpf declaration... " >&6; }
28692 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28693 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28694 $as_echo_n "(cached) " >&6
28695 else
28698 ac_ext=cpp
28699 ac_cpp='$CXXCPP $CPPFLAGS'
28700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28705 /* end confdefs.h. */
28706 #include <math.h>
28708 main ()
28710 _frexpf(0, 0);
28712 return 0;
28714 _ACEOF
28715 if ac_fn_cxx_try_compile "$LINENO"; then :
28716 glibcxx_cv_func__frexpf_use=yes
28717 else
28718 glibcxx_cv_func__frexpf_use=no
28720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28721 ac_ext=c
28722 ac_cpp='$CPP $CPPFLAGS'
28723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28732 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28734 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28735 for ac_func in _frexpf
28736 do :
28737 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28738 if test "x$ac_cv_func__frexpf" = x""yes; then :
28739 cat >>confdefs.h <<_ACEOF
28740 #define HAVE__FREXPF 1
28741 _ACEOF
28744 done
28753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28754 $as_echo_n "checking for hypotf declaration... " >&6; }
28755 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28756 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28757 $as_echo_n "(cached) " >&6
28758 else
28761 ac_ext=cpp
28762 ac_cpp='$CXXCPP $CPPFLAGS'
28763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28768 /* end confdefs.h. */
28769 #include <math.h>
28771 main ()
28773 hypotf(0, 0);
28775 return 0;
28777 _ACEOF
28778 if ac_fn_cxx_try_compile "$LINENO"; then :
28779 glibcxx_cv_func_hypotf_use=yes
28780 else
28781 glibcxx_cv_func_hypotf_use=no
28783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28784 ac_ext=c
28785 ac_cpp='$CPP $CPPFLAGS'
28786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28795 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28797 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28798 for ac_func in hypotf
28799 do :
28800 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28801 if test "x$ac_cv_func_hypotf" = x""yes; then :
28802 cat >>confdefs.h <<_ACEOF
28803 #define HAVE_HYPOTF 1
28804 _ACEOF
28807 done
28809 else
28811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28812 $as_echo_n "checking for _hypotf declaration... " >&6; }
28813 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28814 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28815 $as_echo_n "(cached) " >&6
28816 else
28819 ac_ext=cpp
28820 ac_cpp='$CXXCPP $CPPFLAGS'
28821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28826 /* end confdefs.h. */
28827 #include <math.h>
28829 main ()
28831 _hypotf(0, 0);
28833 return 0;
28835 _ACEOF
28836 if ac_fn_cxx_try_compile "$LINENO"; then :
28837 glibcxx_cv_func__hypotf_use=yes
28838 else
28839 glibcxx_cv_func__hypotf_use=no
28841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28842 ac_ext=c
28843 ac_cpp='$CPP $CPPFLAGS'
28844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28853 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28855 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28856 for ac_func in _hypotf
28857 do :
28858 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28859 if test "x$ac_cv_func__hypotf" = x""yes; then :
28860 cat >>confdefs.h <<_ACEOF
28861 #define HAVE__HYPOTF 1
28862 _ACEOF
28865 done
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28875 $as_echo_n "checking for ldexpf declaration... " >&6; }
28876 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28877 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28878 $as_echo_n "(cached) " >&6
28879 else
28882 ac_ext=cpp
28883 ac_cpp='$CXXCPP $CPPFLAGS'
28884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28889 /* end confdefs.h. */
28890 #include <math.h>
28892 main ()
28894 ldexpf(0, 0);
28896 return 0;
28898 _ACEOF
28899 if ac_fn_cxx_try_compile "$LINENO"; then :
28900 glibcxx_cv_func_ldexpf_use=yes
28901 else
28902 glibcxx_cv_func_ldexpf_use=no
28904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28905 ac_ext=c
28906 ac_cpp='$CPP $CPPFLAGS'
28907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28916 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28918 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28919 for ac_func in ldexpf
28920 do :
28921 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28922 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28923 cat >>confdefs.h <<_ACEOF
28924 #define HAVE_LDEXPF 1
28925 _ACEOF
28928 done
28930 else
28932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28933 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28934 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28935 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28936 $as_echo_n "(cached) " >&6
28937 else
28940 ac_ext=cpp
28941 ac_cpp='$CXXCPP $CPPFLAGS'
28942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28947 /* end confdefs.h. */
28948 #include <math.h>
28950 main ()
28952 _ldexpf(0, 0);
28954 return 0;
28956 _ACEOF
28957 if ac_fn_cxx_try_compile "$LINENO"; then :
28958 glibcxx_cv_func__ldexpf_use=yes
28959 else
28960 glibcxx_cv_func__ldexpf_use=no
28962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28963 ac_ext=c
28964 ac_cpp='$CPP $CPPFLAGS'
28965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28974 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28976 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28977 for ac_func in _ldexpf
28978 do :
28979 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28980 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28981 cat >>confdefs.h <<_ACEOF
28982 #define HAVE__LDEXPF 1
28983 _ACEOF
28986 done
28995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28996 $as_echo_n "checking for logf declaration... " >&6; }
28997 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28998 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28999 $as_echo_n "(cached) " >&6
29000 else
29003 ac_ext=cpp
29004 ac_cpp='$CXXCPP $CPPFLAGS'
29005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29010 /* end confdefs.h. */
29011 #include <math.h>
29012 #ifdef HAVE_IEEEFP_H
29013 #include <ieeefp.h>
29014 #endif
29017 main ()
29019 logf(0);
29021 return 0;
29023 _ACEOF
29024 if ac_fn_cxx_try_compile "$LINENO"; then :
29025 glibcxx_cv_func_logf_use=yes
29026 else
29027 glibcxx_cv_func_logf_use=no
29029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29030 ac_ext=c
29031 ac_cpp='$CPP $CPPFLAGS'
29032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29041 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29043 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29044 for ac_func in logf
29045 do :
29046 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29047 if test "x$ac_cv_func_logf" = x""yes; then :
29048 cat >>confdefs.h <<_ACEOF
29049 #define HAVE_LOGF 1
29050 _ACEOF
29053 done
29055 else
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29058 $as_echo_n "checking for _logf declaration... " >&6; }
29059 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29060 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29061 $as_echo_n "(cached) " >&6
29062 else
29065 ac_ext=cpp
29066 ac_cpp='$CXXCPP $CPPFLAGS'
29067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29072 /* end confdefs.h. */
29073 #include <math.h>
29074 #ifdef HAVE_IEEEFP_H
29075 #include <ieeefp.h>
29076 #endif
29079 main ()
29081 _logf(0);
29083 return 0;
29085 _ACEOF
29086 if ac_fn_cxx_try_compile "$LINENO"; then :
29087 glibcxx_cv_func__logf_use=yes
29088 else
29089 glibcxx_cv_func__logf_use=no
29091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29092 ac_ext=c
29093 ac_cpp='$CPP $CPPFLAGS'
29094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29103 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29105 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29106 for ac_func in _logf
29107 do :
29108 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29109 if test "x$ac_cv_func__logf" = x""yes; then :
29110 cat >>confdefs.h <<_ACEOF
29111 #define HAVE__LOGF 1
29112 _ACEOF
29115 done
29124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29125 $as_echo_n "checking for log10f declaration... " >&6; }
29126 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29127 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29128 $as_echo_n "(cached) " >&6
29129 else
29132 ac_ext=cpp
29133 ac_cpp='$CXXCPP $CPPFLAGS'
29134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29139 /* end confdefs.h. */
29140 #include <math.h>
29141 #ifdef HAVE_IEEEFP_H
29142 #include <ieeefp.h>
29143 #endif
29146 main ()
29148 log10f(0);
29150 return 0;
29152 _ACEOF
29153 if ac_fn_cxx_try_compile "$LINENO"; then :
29154 glibcxx_cv_func_log10f_use=yes
29155 else
29156 glibcxx_cv_func_log10f_use=no
29158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29159 ac_ext=c
29160 ac_cpp='$CPP $CPPFLAGS'
29161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29170 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29172 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29173 for ac_func in log10f
29174 do :
29175 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29176 if test "x$ac_cv_func_log10f" = x""yes; then :
29177 cat >>confdefs.h <<_ACEOF
29178 #define HAVE_LOG10F 1
29179 _ACEOF
29182 done
29184 else
29186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29187 $as_echo_n "checking for _log10f declaration... " >&6; }
29188 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29189 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29190 $as_echo_n "(cached) " >&6
29191 else
29194 ac_ext=cpp
29195 ac_cpp='$CXXCPP $CPPFLAGS'
29196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29201 /* end confdefs.h. */
29202 #include <math.h>
29203 #ifdef HAVE_IEEEFP_H
29204 #include <ieeefp.h>
29205 #endif
29208 main ()
29210 _log10f(0);
29212 return 0;
29214 _ACEOF
29215 if ac_fn_cxx_try_compile "$LINENO"; then :
29216 glibcxx_cv_func__log10f_use=yes
29217 else
29218 glibcxx_cv_func__log10f_use=no
29220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29221 ac_ext=c
29222 ac_cpp='$CPP $CPPFLAGS'
29223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29232 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29234 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29235 for ac_func in _log10f
29236 do :
29237 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29238 if test "x$ac_cv_func__log10f" = x""yes; then :
29239 cat >>confdefs.h <<_ACEOF
29240 #define HAVE__LOG10F 1
29241 _ACEOF
29244 done
29253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29254 $as_echo_n "checking for modff declaration... " >&6; }
29255 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29256 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29257 $as_echo_n "(cached) " >&6
29258 else
29261 ac_ext=cpp
29262 ac_cpp='$CXXCPP $CPPFLAGS'
29263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29268 /* end confdefs.h. */
29269 #include <math.h>
29271 main ()
29273 modff(0, 0);
29275 return 0;
29277 _ACEOF
29278 if ac_fn_cxx_try_compile "$LINENO"; then :
29279 glibcxx_cv_func_modff_use=yes
29280 else
29281 glibcxx_cv_func_modff_use=no
29283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29284 ac_ext=c
29285 ac_cpp='$CPP $CPPFLAGS'
29286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29295 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29297 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29298 for ac_func in modff
29299 do :
29300 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29301 if test "x$ac_cv_func_modff" = x""yes; then :
29302 cat >>confdefs.h <<_ACEOF
29303 #define HAVE_MODFF 1
29304 _ACEOF
29307 done
29309 else
29311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29312 $as_echo_n "checking for _modff declaration... " >&6; }
29313 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29314 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29315 $as_echo_n "(cached) " >&6
29316 else
29319 ac_ext=cpp
29320 ac_cpp='$CXXCPP $CPPFLAGS'
29321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29326 /* end confdefs.h. */
29327 #include <math.h>
29329 main ()
29331 _modff(0, 0);
29333 return 0;
29335 _ACEOF
29336 if ac_fn_cxx_try_compile "$LINENO"; then :
29337 glibcxx_cv_func__modff_use=yes
29338 else
29339 glibcxx_cv_func__modff_use=no
29341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29342 ac_ext=c
29343 ac_cpp='$CPP $CPPFLAGS'
29344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29353 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29355 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29356 for ac_func in _modff
29357 do :
29358 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29359 if test "x$ac_cv_func__modff" = x""yes; then :
29360 cat >>confdefs.h <<_ACEOF
29361 #define HAVE__MODFF 1
29362 _ACEOF
29365 done
29374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29375 $as_echo_n "checking for modf declaration... " >&6; }
29376 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29377 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29378 $as_echo_n "(cached) " >&6
29379 else
29382 ac_ext=cpp
29383 ac_cpp='$CXXCPP $CPPFLAGS'
29384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29389 /* end confdefs.h. */
29390 #include <math.h>
29392 main ()
29394 modf(0, 0);
29396 return 0;
29398 _ACEOF
29399 if ac_fn_cxx_try_compile "$LINENO"; then :
29400 glibcxx_cv_func_modf_use=yes
29401 else
29402 glibcxx_cv_func_modf_use=no
29404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29405 ac_ext=c
29406 ac_cpp='$CPP $CPPFLAGS'
29407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29416 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29418 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29419 for ac_func in modf
29420 do :
29421 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29422 if test "x$ac_cv_func_modf" = x""yes; then :
29423 cat >>confdefs.h <<_ACEOF
29424 #define HAVE_MODF 1
29425 _ACEOF
29428 done
29430 else
29432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29433 $as_echo_n "checking for _modf declaration... " >&6; }
29434 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29435 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29436 $as_echo_n "(cached) " >&6
29437 else
29440 ac_ext=cpp
29441 ac_cpp='$CXXCPP $CPPFLAGS'
29442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29447 /* end confdefs.h. */
29448 #include <math.h>
29450 main ()
29452 _modf(0, 0);
29454 return 0;
29456 _ACEOF
29457 if ac_fn_cxx_try_compile "$LINENO"; then :
29458 glibcxx_cv_func__modf_use=yes
29459 else
29460 glibcxx_cv_func__modf_use=no
29462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29463 ac_ext=c
29464 ac_cpp='$CPP $CPPFLAGS'
29465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29474 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29476 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29477 for ac_func in _modf
29478 do :
29479 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29480 if test "x$ac_cv_func__modf" = x""yes; then :
29481 cat >>confdefs.h <<_ACEOF
29482 #define HAVE__MODF 1
29483 _ACEOF
29486 done
29495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29496 $as_echo_n "checking for powf declaration... " >&6; }
29497 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29498 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29499 $as_echo_n "(cached) " >&6
29500 else
29503 ac_ext=cpp
29504 ac_cpp='$CXXCPP $CPPFLAGS'
29505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29510 /* end confdefs.h. */
29511 #include <math.h>
29513 main ()
29515 powf(0, 0);
29517 return 0;
29519 _ACEOF
29520 if ac_fn_cxx_try_compile "$LINENO"; then :
29521 glibcxx_cv_func_powf_use=yes
29522 else
29523 glibcxx_cv_func_powf_use=no
29525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29526 ac_ext=c
29527 ac_cpp='$CPP $CPPFLAGS'
29528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29537 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29539 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29540 for ac_func in powf
29541 do :
29542 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29543 if test "x$ac_cv_func_powf" = x""yes; then :
29544 cat >>confdefs.h <<_ACEOF
29545 #define HAVE_POWF 1
29546 _ACEOF
29549 done
29551 else
29553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29554 $as_echo_n "checking for _powf declaration... " >&6; }
29555 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29556 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29557 $as_echo_n "(cached) " >&6
29558 else
29561 ac_ext=cpp
29562 ac_cpp='$CXXCPP $CPPFLAGS'
29563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29568 /* end confdefs.h. */
29569 #include <math.h>
29571 main ()
29573 _powf(0, 0);
29575 return 0;
29577 _ACEOF
29578 if ac_fn_cxx_try_compile "$LINENO"; then :
29579 glibcxx_cv_func__powf_use=yes
29580 else
29581 glibcxx_cv_func__powf_use=no
29583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29584 ac_ext=c
29585 ac_cpp='$CPP $CPPFLAGS'
29586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29595 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29597 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29598 for ac_func in _powf
29599 do :
29600 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29601 if test "x$ac_cv_func__powf" = x""yes; then :
29602 cat >>confdefs.h <<_ACEOF
29603 #define HAVE__POWF 1
29604 _ACEOF
29607 done
29616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29617 $as_echo_n "checking for sqrtf declaration... " >&6; }
29618 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29619 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29620 $as_echo_n "(cached) " >&6
29621 else
29624 ac_ext=cpp
29625 ac_cpp='$CXXCPP $CPPFLAGS'
29626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29631 /* end confdefs.h. */
29632 #include <math.h>
29633 #ifdef HAVE_IEEEFP_H
29634 #include <ieeefp.h>
29635 #endif
29638 main ()
29640 sqrtf(0);
29642 return 0;
29644 _ACEOF
29645 if ac_fn_cxx_try_compile "$LINENO"; then :
29646 glibcxx_cv_func_sqrtf_use=yes
29647 else
29648 glibcxx_cv_func_sqrtf_use=no
29650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29651 ac_ext=c
29652 ac_cpp='$CPP $CPPFLAGS'
29653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29662 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29664 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29665 for ac_func in sqrtf
29666 do :
29667 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29668 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29669 cat >>confdefs.h <<_ACEOF
29670 #define HAVE_SQRTF 1
29671 _ACEOF
29674 done
29676 else
29678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29679 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29680 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29681 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29682 $as_echo_n "(cached) " >&6
29683 else
29686 ac_ext=cpp
29687 ac_cpp='$CXXCPP $CPPFLAGS'
29688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29693 /* end confdefs.h. */
29694 #include <math.h>
29695 #ifdef HAVE_IEEEFP_H
29696 #include <ieeefp.h>
29697 #endif
29700 main ()
29702 _sqrtf(0);
29704 return 0;
29706 _ACEOF
29707 if ac_fn_cxx_try_compile "$LINENO"; then :
29708 glibcxx_cv_func__sqrtf_use=yes
29709 else
29710 glibcxx_cv_func__sqrtf_use=no
29712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29713 ac_ext=c
29714 ac_cpp='$CPP $CPPFLAGS'
29715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29724 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29726 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29727 for ac_func in _sqrtf
29728 do :
29729 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29730 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29731 cat >>confdefs.h <<_ACEOF
29732 #define HAVE__SQRTF 1
29733 _ACEOF
29736 done
29745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29746 $as_echo_n "checking for sincosf declaration... " >&6; }
29747 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29748 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29749 $as_echo_n "(cached) " >&6
29750 else
29753 ac_ext=cpp
29754 ac_cpp='$CXXCPP $CPPFLAGS'
29755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29760 /* end confdefs.h. */
29761 #include <math.h>
29763 main ()
29765 sincosf(0, 0, 0);
29767 return 0;
29769 _ACEOF
29770 if ac_fn_cxx_try_compile "$LINENO"; then :
29771 glibcxx_cv_func_sincosf_use=yes
29772 else
29773 glibcxx_cv_func_sincosf_use=no
29775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29776 ac_ext=c
29777 ac_cpp='$CPP $CPPFLAGS'
29778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29787 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29789 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29790 for ac_func in sincosf
29791 do :
29792 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29793 if test "x$ac_cv_func_sincosf" = x""yes; then :
29794 cat >>confdefs.h <<_ACEOF
29795 #define HAVE_SINCOSF 1
29796 _ACEOF
29799 done
29801 else
29803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29804 $as_echo_n "checking for _sincosf declaration... " >&6; }
29805 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29806 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29807 $as_echo_n "(cached) " >&6
29808 else
29811 ac_ext=cpp
29812 ac_cpp='$CXXCPP $CPPFLAGS'
29813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29818 /* end confdefs.h. */
29819 #include <math.h>
29821 main ()
29823 _sincosf(0, 0, 0);
29825 return 0;
29827 _ACEOF
29828 if ac_fn_cxx_try_compile "$LINENO"; then :
29829 glibcxx_cv_func__sincosf_use=yes
29830 else
29831 glibcxx_cv_func__sincosf_use=no
29833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29834 ac_ext=c
29835 ac_cpp='$CPP $CPPFLAGS'
29836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29845 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29847 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29848 for ac_func in _sincosf
29849 do :
29850 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29851 if test "x$ac_cv_func__sincosf" = x""yes; then :
29852 cat >>confdefs.h <<_ACEOF
29853 #define HAVE__SINCOSF 1
29854 _ACEOF
29857 done
29866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29867 $as_echo_n "checking for finitef declaration... " >&6; }
29868 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29869 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29870 $as_echo_n "(cached) " >&6
29871 else
29874 ac_ext=cpp
29875 ac_cpp='$CXXCPP $CPPFLAGS'
29876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29881 /* end confdefs.h. */
29882 #include <math.h>
29883 #ifdef HAVE_IEEEFP_H
29884 #include <ieeefp.h>
29885 #endif
29888 main ()
29890 finitef(0);
29892 return 0;
29894 _ACEOF
29895 if ac_fn_cxx_try_compile "$LINENO"; then :
29896 glibcxx_cv_func_finitef_use=yes
29897 else
29898 glibcxx_cv_func_finitef_use=no
29900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29901 ac_ext=c
29902 ac_cpp='$CPP $CPPFLAGS'
29903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29912 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29914 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29915 for ac_func in finitef
29916 do :
29917 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29918 if test "x$ac_cv_func_finitef" = x""yes; then :
29919 cat >>confdefs.h <<_ACEOF
29920 #define HAVE_FINITEF 1
29921 _ACEOF
29924 done
29926 else
29928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29929 $as_echo_n "checking for _finitef declaration... " >&6; }
29930 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29931 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29932 $as_echo_n "(cached) " >&6
29933 else
29936 ac_ext=cpp
29937 ac_cpp='$CXXCPP $CPPFLAGS'
29938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29943 /* end confdefs.h. */
29944 #include <math.h>
29945 #ifdef HAVE_IEEEFP_H
29946 #include <ieeefp.h>
29947 #endif
29950 main ()
29952 _finitef(0);
29954 return 0;
29956 _ACEOF
29957 if ac_fn_cxx_try_compile "$LINENO"; then :
29958 glibcxx_cv_func__finitef_use=yes
29959 else
29960 glibcxx_cv_func__finitef_use=no
29962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29963 ac_ext=c
29964 ac_cpp='$CPP $CPPFLAGS'
29965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29974 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29976 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29977 for ac_func in _finitef
29978 do :
29979 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29980 if test "x$ac_cv_func__finitef" = x""yes; then :
29981 cat >>confdefs.h <<_ACEOF
29982 #define HAVE__FINITEF 1
29983 _ACEOF
29986 done
29995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29996 $as_echo_n "checking for long double trig functions... " >&6; }
29997 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29998 $as_echo_n "(cached) " >&6
29999 else
30002 ac_ext=cpp
30003 ac_cpp='$CXXCPP $CPPFLAGS'
30004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30009 /* end confdefs.h. */
30010 #include <math.h>
30012 main ()
30014 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30016 return 0;
30018 _ACEOF
30019 if ac_fn_cxx_try_compile "$LINENO"; then :
30020 glibcxx_cv_func_long_double_trig_use=yes
30021 else
30022 glibcxx_cv_func_long_double_trig_use=no
30024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30025 ac_ext=c
30026 ac_cpp='$CPP $CPPFLAGS'
30027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30034 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30035 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30036 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30037 do :
30038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30040 eval as_val=\$$as_ac_var
30041 if test "x$as_val" = x""yes; then :
30042 cat >>confdefs.h <<_ACEOF
30043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30044 _ACEOF
30047 done
30049 else
30050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30051 $as_echo_n "checking for _long double trig functions... " >&6; }
30052 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30053 $as_echo_n "(cached) " >&6
30054 else
30057 ac_ext=cpp
30058 ac_cpp='$CXXCPP $CPPFLAGS'
30059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30064 /* end confdefs.h. */
30065 #include <math.h>
30067 main ()
30069 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30071 return 0;
30073 _ACEOF
30074 if ac_fn_cxx_try_compile "$LINENO"; then :
30075 glibcxx_cv_func__long_double_trig_use=yes
30076 else
30077 glibcxx_cv_func__long_double_trig_use=no
30079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30080 ac_ext=c
30081 ac_cpp='$CPP $CPPFLAGS'
30082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30089 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30090 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30091 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30092 do :
30093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30095 eval as_val=\$$as_ac_var
30096 if test "x$as_val" = x""yes; then :
30097 cat >>confdefs.h <<_ACEOF
30098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30099 _ACEOF
30102 done
30111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30112 $as_echo_n "checking for long double round functions... " >&6; }
30113 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30114 $as_echo_n "(cached) " >&6
30115 else
30118 ac_ext=cpp
30119 ac_cpp='$CXXCPP $CPPFLAGS'
30120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30125 /* end confdefs.h. */
30126 #include <math.h>
30128 main ()
30130 ceill (0); floorl (0);
30132 return 0;
30134 _ACEOF
30135 if ac_fn_cxx_try_compile "$LINENO"; then :
30136 glibcxx_cv_func_long_double_round_use=yes
30137 else
30138 glibcxx_cv_func_long_double_round_use=no
30140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30141 ac_ext=c
30142 ac_cpp='$CPP $CPPFLAGS'
30143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30150 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30151 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30152 for ac_func in ceill floorl
30153 do :
30154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30156 eval as_val=\$$as_ac_var
30157 if test "x$as_val" = x""yes; then :
30158 cat >>confdefs.h <<_ACEOF
30159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30160 _ACEOF
30163 done
30165 else
30166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30167 $as_echo_n "checking for _long double round functions... " >&6; }
30168 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30169 $as_echo_n "(cached) " >&6
30170 else
30173 ac_ext=cpp
30174 ac_cpp='$CXXCPP $CPPFLAGS'
30175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30180 /* end confdefs.h. */
30181 #include <math.h>
30183 main ()
30185 _ceill (0); _floorl (0);
30187 return 0;
30189 _ACEOF
30190 if ac_fn_cxx_try_compile "$LINENO"; then :
30191 glibcxx_cv_func__long_double_round_use=yes
30192 else
30193 glibcxx_cv_func__long_double_round_use=no
30195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30196 ac_ext=c
30197 ac_cpp='$CPP $CPPFLAGS'
30198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30205 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30206 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30207 for ac_func in _ceill _floorl
30208 do :
30209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30211 eval as_val=\$$as_ac_var
30212 if test "x$as_val" = x""yes; then :
30213 cat >>confdefs.h <<_ACEOF
30214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30215 _ACEOF
30218 done
30228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30229 $as_echo_n "checking for isnanl declaration... " >&6; }
30230 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30231 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30232 $as_echo_n "(cached) " >&6
30233 else
30236 ac_ext=cpp
30237 ac_cpp='$CXXCPP $CPPFLAGS'
30238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30243 /* end confdefs.h. */
30244 #include <math.h>
30245 #ifdef HAVE_IEEEFP_H
30246 #include <ieeefp.h>
30247 #endif
30250 main ()
30252 isnanl(0);
30254 return 0;
30256 _ACEOF
30257 if ac_fn_cxx_try_compile "$LINENO"; then :
30258 glibcxx_cv_func_isnanl_use=yes
30259 else
30260 glibcxx_cv_func_isnanl_use=no
30262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30263 ac_ext=c
30264 ac_cpp='$CPP $CPPFLAGS'
30265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30274 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30276 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30277 for ac_func in isnanl
30278 do :
30279 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30280 if test "x$ac_cv_func_isnanl" = x""yes; then :
30281 cat >>confdefs.h <<_ACEOF
30282 #define HAVE_ISNANL 1
30283 _ACEOF
30286 done
30288 else
30290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30291 $as_echo_n "checking for _isnanl declaration... " >&6; }
30292 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30293 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30294 $as_echo_n "(cached) " >&6
30295 else
30298 ac_ext=cpp
30299 ac_cpp='$CXXCPP $CPPFLAGS'
30300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30305 /* end confdefs.h. */
30306 #include <math.h>
30307 #ifdef HAVE_IEEEFP_H
30308 #include <ieeefp.h>
30309 #endif
30312 main ()
30314 _isnanl(0);
30316 return 0;
30318 _ACEOF
30319 if ac_fn_cxx_try_compile "$LINENO"; then :
30320 glibcxx_cv_func__isnanl_use=yes
30321 else
30322 glibcxx_cv_func__isnanl_use=no
30324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30325 ac_ext=c
30326 ac_cpp='$CPP $CPPFLAGS'
30327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30336 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30338 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30339 for ac_func in _isnanl
30340 do :
30341 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30342 if test "x$ac_cv_func__isnanl" = x""yes; then :
30343 cat >>confdefs.h <<_ACEOF
30344 #define HAVE__ISNANL 1
30345 _ACEOF
30348 done
30357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30358 $as_echo_n "checking for isinfl declaration... " >&6; }
30359 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30360 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30361 $as_echo_n "(cached) " >&6
30362 else
30365 ac_ext=cpp
30366 ac_cpp='$CXXCPP $CPPFLAGS'
30367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30372 /* end confdefs.h. */
30373 #include <math.h>
30374 #ifdef HAVE_IEEEFP_H
30375 #include <ieeefp.h>
30376 #endif
30379 main ()
30381 isinfl(0);
30383 return 0;
30385 _ACEOF
30386 if ac_fn_cxx_try_compile "$LINENO"; then :
30387 glibcxx_cv_func_isinfl_use=yes
30388 else
30389 glibcxx_cv_func_isinfl_use=no
30391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30392 ac_ext=c
30393 ac_cpp='$CPP $CPPFLAGS'
30394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30403 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30405 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30406 for ac_func in isinfl
30407 do :
30408 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30409 if test "x$ac_cv_func_isinfl" = x""yes; then :
30410 cat >>confdefs.h <<_ACEOF
30411 #define HAVE_ISINFL 1
30412 _ACEOF
30415 done
30417 else
30419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30420 $as_echo_n "checking for _isinfl declaration... " >&6; }
30421 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30422 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30423 $as_echo_n "(cached) " >&6
30424 else
30427 ac_ext=cpp
30428 ac_cpp='$CXXCPP $CPPFLAGS'
30429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 /* end confdefs.h. */
30435 #include <math.h>
30436 #ifdef HAVE_IEEEFP_H
30437 #include <ieeefp.h>
30438 #endif
30441 main ()
30443 _isinfl(0);
30445 return 0;
30447 _ACEOF
30448 if ac_fn_cxx_try_compile "$LINENO"; then :
30449 glibcxx_cv_func__isinfl_use=yes
30450 else
30451 glibcxx_cv_func__isinfl_use=no
30453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30454 ac_ext=c
30455 ac_cpp='$CPP $CPPFLAGS'
30456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30465 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30467 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30468 for ac_func in _isinfl
30469 do :
30470 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30471 if test "x$ac_cv_func__isinfl" = x""yes; then :
30472 cat >>confdefs.h <<_ACEOF
30473 #define HAVE__ISINFL 1
30474 _ACEOF
30477 done
30486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30487 $as_echo_n "checking for atan2l declaration... " >&6; }
30488 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30489 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30490 $as_echo_n "(cached) " >&6
30491 else
30494 ac_ext=cpp
30495 ac_cpp='$CXXCPP $CPPFLAGS'
30496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30501 /* end confdefs.h. */
30502 #include <math.h>
30504 main ()
30506 atan2l(0, 0);
30508 return 0;
30510 _ACEOF
30511 if ac_fn_cxx_try_compile "$LINENO"; then :
30512 glibcxx_cv_func_atan2l_use=yes
30513 else
30514 glibcxx_cv_func_atan2l_use=no
30516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30517 ac_ext=c
30518 ac_cpp='$CPP $CPPFLAGS'
30519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30528 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30530 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30531 for ac_func in atan2l
30532 do :
30533 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30534 if test "x$ac_cv_func_atan2l" = x""yes; then :
30535 cat >>confdefs.h <<_ACEOF
30536 #define HAVE_ATAN2L 1
30537 _ACEOF
30540 done
30542 else
30544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30545 $as_echo_n "checking for _atan2l declaration... " >&6; }
30546 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30547 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30548 $as_echo_n "(cached) " >&6
30549 else
30552 ac_ext=cpp
30553 ac_cpp='$CXXCPP $CPPFLAGS'
30554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30559 /* end confdefs.h. */
30560 #include <math.h>
30562 main ()
30564 _atan2l(0, 0);
30566 return 0;
30568 _ACEOF
30569 if ac_fn_cxx_try_compile "$LINENO"; then :
30570 glibcxx_cv_func__atan2l_use=yes
30571 else
30572 glibcxx_cv_func__atan2l_use=no
30574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30575 ac_ext=c
30576 ac_cpp='$CPP $CPPFLAGS'
30577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30586 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30588 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30589 for ac_func in _atan2l
30590 do :
30591 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30592 if test "x$ac_cv_func__atan2l" = x""yes; then :
30593 cat >>confdefs.h <<_ACEOF
30594 #define HAVE__ATAN2L 1
30595 _ACEOF
30598 done
30607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30608 $as_echo_n "checking for expl declaration... " >&6; }
30609 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30610 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30611 $as_echo_n "(cached) " >&6
30612 else
30615 ac_ext=cpp
30616 ac_cpp='$CXXCPP $CPPFLAGS'
30617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30622 /* end confdefs.h. */
30623 #include <math.h>
30624 #ifdef HAVE_IEEEFP_H
30625 #include <ieeefp.h>
30626 #endif
30629 main ()
30631 expl(0);
30633 return 0;
30635 _ACEOF
30636 if ac_fn_cxx_try_compile "$LINENO"; then :
30637 glibcxx_cv_func_expl_use=yes
30638 else
30639 glibcxx_cv_func_expl_use=no
30641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30642 ac_ext=c
30643 ac_cpp='$CPP $CPPFLAGS'
30644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30653 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30655 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30656 for ac_func in expl
30657 do :
30658 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30659 if test "x$ac_cv_func_expl" = x""yes; then :
30660 cat >>confdefs.h <<_ACEOF
30661 #define HAVE_EXPL 1
30662 _ACEOF
30665 done
30667 else
30669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30670 $as_echo_n "checking for _expl declaration... " >&6; }
30671 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30672 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30673 $as_echo_n "(cached) " >&6
30674 else
30677 ac_ext=cpp
30678 ac_cpp='$CXXCPP $CPPFLAGS'
30679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30684 /* end confdefs.h. */
30685 #include <math.h>
30686 #ifdef HAVE_IEEEFP_H
30687 #include <ieeefp.h>
30688 #endif
30691 main ()
30693 _expl(0);
30695 return 0;
30697 _ACEOF
30698 if ac_fn_cxx_try_compile "$LINENO"; then :
30699 glibcxx_cv_func__expl_use=yes
30700 else
30701 glibcxx_cv_func__expl_use=no
30703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30704 ac_ext=c
30705 ac_cpp='$CPP $CPPFLAGS'
30706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30715 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30717 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30718 for ac_func in _expl
30719 do :
30720 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30721 if test "x$ac_cv_func__expl" = x""yes; then :
30722 cat >>confdefs.h <<_ACEOF
30723 #define HAVE__EXPL 1
30724 _ACEOF
30727 done
30736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30737 $as_echo_n "checking for fabsl declaration... " >&6; }
30738 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30739 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30740 $as_echo_n "(cached) " >&6
30741 else
30744 ac_ext=cpp
30745 ac_cpp='$CXXCPP $CPPFLAGS'
30746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30751 /* end confdefs.h. */
30752 #include <math.h>
30753 #ifdef HAVE_IEEEFP_H
30754 #include <ieeefp.h>
30755 #endif
30758 main ()
30760 fabsl(0);
30762 return 0;
30764 _ACEOF
30765 if ac_fn_cxx_try_compile "$LINENO"; then :
30766 glibcxx_cv_func_fabsl_use=yes
30767 else
30768 glibcxx_cv_func_fabsl_use=no
30770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30771 ac_ext=c
30772 ac_cpp='$CPP $CPPFLAGS'
30773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30782 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30784 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30785 for ac_func in fabsl
30786 do :
30787 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30788 if test "x$ac_cv_func_fabsl" = x""yes; then :
30789 cat >>confdefs.h <<_ACEOF
30790 #define HAVE_FABSL 1
30791 _ACEOF
30794 done
30796 else
30798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30799 $as_echo_n "checking for _fabsl declaration... " >&6; }
30800 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30801 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30802 $as_echo_n "(cached) " >&6
30803 else
30806 ac_ext=cpp
30807 ac_cpp='$CXXCPP $CPPFLAGS'
30808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30813 /* end confdefs.h. */
30814 #include <math.h>
30815 #ifdef HAVE_IEEEFP_H
30816 #include <ieeefp.h>
30817 #endif
30820 main ()
30822 _fabsl(0);
30824 return 0;
30826 _ACEOF
30827 if ac_fn_cxx_try_compile "$LINENO"; then :
30828 glibcxx_cv_func__fabsl_use=yes
30829 else
30830 glibcxx_cv_func__fabsl_use=no
30832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30833 ac_ext=c
30834 ac_cpp='$CPP $CPPFLAGS'
30835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30844 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30846 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30847 for ac_func in _fabsl
30848 do :
30849 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30850 if test "x$ac_cv_func__fabsl" = x""yes; then :
30851 cat >>confdefs.h <<_ACEOF
30852 #define HAVE__FABSL 1
30853 _ACEOF
30856 done
30865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30866 $as_echo_n "checking for fmodl declaration... " >&6; }
30867 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30868 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30869 $as_echo_n "(cached) " >&6
30870 else
30873 ac_ext=cpp
30874 ac_cpp='$CXXCPP $CPPFLAGS'
30875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30880 /* end confdefs.h. */
30881 #include <math.h>
30883 main ()
30885 fmodl(0, 0);
30887 return 0;
30889 _ACEOF
30890 if ac_fn_cxx_try_compile "$LINENO"; then :
30891 glibcxx_cv_func_fmodl_use=yes
30892 else
30893 glibcxx_cv_func_fmodl_use=no
30895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30896 ac_ext=c
30897 ac_cpp='$CPP $CPPFLAGS'
30898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30907 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30909 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30910 for ac_func in fmodl
30911 do :
30912 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30913 if test "x$ac_cv_func_fmodl" = x""yes; then :
30914 cat >>confdefs.h <<_ACEOF
30915 #define HAVE_FMODL 1
30916 _ACEOF
30919 done
30921 else
30923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30924 $as_echo_n "checking for _fmodl declaration... " >&6; }
30925 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30926 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30927 $as_echo_n "(cached) " >&6
30928 else
30931 ac_ext=cpp
30932 ac_cpp='$CXXCPP $CPPFLAGS'
30933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30938 /* end confdefs.h. */
30939 #include <math.h>
30941 main ()
30943 _fmodl(0, 0);
30945 return 0;
30947 _ACEOF
30948 if ac_fn_cxx_try_compile "$LINENO"; then :
30949 glibcxx_cv_func__fmodl_use=yes
30950 else
30951 glibcxx_cv_func__fmodl_use=no
30953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30954 ac_ext=c
30955 ac_cpp='$CPP $CPPFLAGS'
30956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30965 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30967 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30968 for ac_func in _fmodl
30969 do :
30970 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30971 if test "x$ac_cv_func__fmodl" = x""yes; then :
30972 cat >>confdefs.h <<_ACEOF
30973 #define HAVE__FMODL 1
30974 _ACEOF
30977 done
30986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30987 $as_echo_n "checking for frexpl declaration... " >&6; }
30988 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30989 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30990 $as_echo_n "(cached) " >&6
30991 else
30994 ac_ext=cpp
30995 ac_cpp='$CXXCPP $CPPFLAGS'
30996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31001 /* end confdefs.h. */
31002 #include <math.h>
31004 main ()
31006 frexpl(0, 0);
31008 return 0;
31010 _ACEOF
31011 if ac_fn_cxx_try_compile "$LINENO"; then :
31012 glibcxx_cv_func_frexpl_use=yes
31013 else
31014 glibcxx_cv_func_frexpl_use=no
31016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31017 ac_ext=c
31018 ac_cpp='$CPP $CPPFLAGS'
31019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31028 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31030 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31031 for ac_func in frexpl
31032 do :
31033 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31034 if test "x$ac_cv_func_frexpl" = x""yes; then :
31035 cat >>confdefs.h <<_ACEOF
31036 #define HAVE_FREXPL 1
31037 _ACEOF
31040 done
31042 else
31044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31045 $as_echo_n "checking for _frexpl declaration... " >&6; }
31046 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31047 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31048 $as_echo_n "(cached) " >&6
31049 else
31052 ac_ext=cpp
31053 ac_cpp='$CXXCPP $CPPFLAGS'
31054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31059 /* end confdefs.h. */
31060 #include <math.h>
31062 main ()
31064 _frexpl(0, 0);
31066 return 0;
31068 _ACEOF
31069 if ac_fn_cxx_try_compile "$LINENO"; then :
31070 glibcxx_cv_func__frexpl_use=yes
31071 else
31072 glibcxx_cv_func__frexpl_use=no
31074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31075 ac_ext=c
31076 ac_cpp='$CPP $CPPFLAGS'
31077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31086 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31088 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31089 for ac_func in _frexpl
31090 do :
31091 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31092 if test "x$ac_cv_func__frexpl" = x""yes; then :
31093 cat >>confdefs.h <<_ACEOF
31094 #define HAVE__FREXPL 1
31095 _ACEOF
31098 done
31107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31108 $as_echo_n "checking for hypotl declaration... " >&6; }
31109 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31110 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31111 $as_echo_n "(cached) " >&6
31112 else
31115 ac_ext=cpp
31116 ac_cpp='$CXXCPP $CPPFLAGS'
31117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31122 /* end confdefs.h. */
31123 #include <math.h>
31125 main ()
31127 hypotl(0, 0);
31129 return 0;
31131 _ACEOF
31132 if ac_fn_cxx_try_compile "$LINENO"; then :
31133 glibcxx_cv_func_hypotl_use=yes
31134 else
31135 glibcxx_cv_func_hypotl_use=no
31137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31138 ac_ext=c
31139 ac_cpp='$CPP $CPPFLAGS'
31140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31149 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31151 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31152 for ac_func in hypotl
31153 do :
31154 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31155 if test "x$ac_cv_func_hypotl" = x""yes; then :
31156 cat >>confdefs.h <<_ACEOF
31157 #define HAVE_HYPOTL 1
31158 _ACEOF
31161 done
31163 else
31165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31166 $as_echo_n "checking for _hypotl declaration... " >&6; }
31167 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31168 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31169 $as_echo_n "(cached) " >&6
31170 else
31173 ac_ext=cpp
31174 ac_cpp='$CXXCPP $CPPFLAGS'
31175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31180 /* end confdefs.h. */
31181 #include <math.h>
31183 main ()
31185 _hypotl(0, 0);
31187 return 0;
31189 _ACEOF
31190 if ac_fn_cxx_try_compile "$LINENO"; then :
31191 glibcxx_cv_func__hypotl_use=yes
31192 else
31193 glibcxx_cv_func__hypotl_use=no
31195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31196 ac_ext=c
31197 ac_cpp='$CPP $CPPFLAGS'
31198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31207 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31209 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31210 for ac_func in _hypotl
31211 do :
31212 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31213 if test "x$ac_cv_func__hypotl" = x""yes; then :
31214 cat >>confdefs.h <<_ACEOF
31215 #define HAVE__HYPOTL 1
31216 _ACEOF
31219 done
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31229 $as_echo_n "checking for ldexpl declaration... " >&6; }
31230 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31231 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31232 $as_echo_n "(cached) " >&6
31233 else
31236 ac_ext=cpp
31237 ac_cpp='$CXXCPP $CPPFLAGS'
31238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31243 /* end confdefs.h. */
31244 #include <math.h>
31246 main ()
31248 ldexpl(0, 0);
31250 return 0;
31252 _ACEOF
31253 if ac_fn_cxx_try_compile "$LINENO"; then :
31254 glibcxx_cv_func_ldexpl_use=yes
31255 else
31256 glibcxx_cv_func_ldexpl_use=no
31258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31259 ac_ext=c
31260 ac_cpp='$CPP $CPPFLAGS'
31261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31270 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31272 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31273 for ac_func in ldexpl
31274 do :
31275 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31276 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31277 cat >>confdefs.h <<_ACEOF
31278 #define HAVE_LDEXPL 1
31279 _ACEOF
31282 done
31284 else
31286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31287 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31288 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31289 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31290 $as_echo_n "(cached) " >&6
31291 else
31294 ac_ext=cpp
31295 ac_cpp='$CXXCPP $CPPFLAGS'
31296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31301 /* end confdefs.h. */
31302 #include <math.h>
31304 main ()
31306 _ldexpl(0, 0);
31308 return 0;
31310 _ACEOF
31311 if ac_fn_cxx_try_compile "$LINENO"; then :
31312 glibcxx_cv_func__ldexpl_use=yes
31313 else
31314 glibcxx_cv_func__ldexpl_use=no
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31317 ac_ext=c
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31328 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31330 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31331 for ac_func in _ldexpl
31332 do :
31333 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31334 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31335 cat >>confdefs.h <<_ACEOF
31336 #define HAVE__LDEXPL 1
31337 _ACEOF
31340 done
31349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31350 $as_echo_n "checking for logl declaration... " >&6; }
31351 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31352 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31353 $as_echo_n "(cached) " >&6
31354 else
31357 ac_ext=cpp
31358 ac_cpp='$CXXCPP $CPPFLAGS'
31359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31364 /* end confdefs.h. */
31365 #include <math.h>
31366 #ifdef HAVE_IEEEFP_H
31367 #include <ieeefp.h>
31368 #endif
31371 main ()
31373 logl(0);
31375 return 0;
31377 _ACEOF
31378 if ac_fn_cxx_try_compile "$LINENO"; then :
31379 glibcxx_cv_func_logl_use=yes
31380 else
31381 glibcxx_cv_func_logl_use=no
31383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31384 ac_ext=c
31385 ac_cpp='$CPP $CPPFLAGS'
31386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31395 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31397 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31398 for ac_func in logl
31399 do :
31400 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31401 if test "x$ac_cv_func_logl" = x""yes; then :
31402 cat >>confdefs.h <<_ACEOF
31403 #define HAVE_LOGL 1
31404 _ACEOF
31407 done
31409 else
31411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31412 $as_echo_n "checking for _logl declaration... " >&6; }
31413 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31414 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31415 $as_echo_n "(cached) " >&6
31416 else
31419 ac_ext=cpp
31420 ac_cpp='$CXXCPP $CPPFLAGS'
31421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31426 /* end confdefs.h. */
31427 #include <math.h>
31428 #ifdef HAVE_IEEEFP_H
31429 #include <ieeefp.h>
31430 #endif
31433 main ()
31435 _logl(0);
31437 return 0;
31439 _ACEOF
31440 if ac_fn_cxx_try_compile "$LINENO"; then :
31441 glibcxx_cv_func__logl_use=yes
31442 else
31443 glibcxx_cv_func__logl_use=no
31445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31446 ac_ext=c
31447 ac_cpp='$CPP $CPPFLAGS'
31448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31457 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31459 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31460 for ac_func in _logl
31461 do :
31462 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31463 if test "x$ac_cv_func__logl" = x""yes; then :
31464 cat >>confdefs.h <<_ACEOF
31465 #define HAVE__LOGL 1
31466 _ACEOF
31469 done
31478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31479 $as_echo_n "checking for log10l declaration... " >&6; }
31480 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31481 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31482 $as_echo_n "(cached) " >&6
31483 else
31486 ac_ext=cpp
31487 ac_cpp='$CXXCPP $CPPFLAGS'
31488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31493 /* end confdefs.h. */
31494 #include <math.h>
31495 #ifdef HAVE_IEEEFP_H
31496 #include <ieeefp.h>
31497 #endif
31500 main ()
31502 log10l(0);
31504 return 0;
31506 _ACEOF
31507 if ac_fn_cxx_try_compile "$LINENO"; then :
31508 glibcxx_cv_func_log10l_use=yes
31509 else
31510 glibcxx_cv_func_log10l_use=no
31512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31513 ac_ext=c
31514 ac_cpp='$CPP $CPPFLAGS'
31515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31524 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31526 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31527 for ac_func in log10l
31528 do :
31529 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31530 if test "x$ac_cv_func_log10l" = x""yes; then :
31531 cat >>confdefs.h <<_ACEOF
31532 #define HAVE_LOG10L 1
31533 _ACEOF
31536 done
31538 else
31540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31541 $as_echo_n "checking for _log10l declaration... " >&6; }
31542 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31543 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31544 $as_echo_n "(cached) " >&6
31545 else
31548 ac_ext=cpp
31549 ac_cpp='$CXXCPP $CPPFLAGS'
31550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31555 /* end confdefs.h. */
31556 #include <math.h>
31557 #ifdef HAVE_IEEEFP_H
31558 #include <ieeefp.h>
31559 #endif
31562 main ()
31564 _log10l(0);
31566 return 0;
31568 _ACEOF
31569 if ac_fn_cxx_try_compile "$LINENO"; then :
31570 glibcxx_cv_func__log10l_use=yes
31571 else
31572 glibcxx_cv_func__log10l_use=no
31574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31575 ac_ext=c
31576 ac_cpp='$CPP $CPPFLAGS'
31577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31586 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31588 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31589 for ac_func in _log10l
31590 do :
31591 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31592 if test "x$ac_cv_func__log10l" = x""yes; then :
31593 cat >>confdefs.h <<_ACEOF
31594 #define HAVE__LOG10L 1
31595 _ACEOF
31598 done
31607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31608 $as_echo_n "checking for modfl declaration... " >&6; }
31609 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31610 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31611 $as_echo_n "(cached) " >&6
31612 else
31615 ac_ext=cpp
31616 ac_cpp='$CXXCPP $CPPFLAGS'
31617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31622 /* end confdefs.h. */
31623 #include <math.h>
31625 main ()
31627 modfl(0, 0);
31629 return 0;
31631 _ACEOF
31632 if ac_fn_cxx_try_compile "$LINENO"; then :
31633 glibcxx_cv_func_modfl_use=yes
31634 else
31635 glibcxx_cv_func_modfl_use=no
31637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31638 ac_ext=c
31639 ac_cpp='$CPP $CPPFLAGS'
31640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31649 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31651 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31652 for ac_func in modfl
31653 do :
31654 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31655 if test "x$ac_cv_func_modfl" = x""yes; then :
31656 cat >>confdefs.h <<_ACEOF
31657 #define HAVE_MODFL 1
31658 _ACEOF
31661 done
31663 else
31665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31666 $as_echo_n "checking for _modfl declaration... " >&6; }
31667 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31668 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31669 $as_echo_n "(cached) " >&6
31670 else
31673 ac_ext=cpp
31674 ac_cpp='$CXXCPP $CPPFLAGS'
31675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31680 /* end confdefs.h. */
31681 #include <math.h>
31683 main ()
31685 _modfl(0, 0);
31687 return 0;
31689 _ACEOF
31690 if ac_fn_cxx_try_compile "$LINENO"; then :
31691 glibcxx_cv_func__modfl_use=yes
31692 else
31693 glibcxx_cv_func__modfl_use=no
31695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31696 ac_ext=c
31697 ac_cpp='$CPP $CPPFLAGS'
31698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31707 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31709 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31710 for ac_func in _modfl
31711 do :
31712 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31713 if test "x$ac_cv_func__modfl" = x""yes; then :
31714 cat >>confdefs.h <<_ACEOF
31715 #define HAVE__MODFL 1
31716 _ACEOF
31719 done
31728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31729 $as_echo_n "checking for powl declaration... " >&6; }
31730 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31731 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31732 $as_echo_n "(cached) " >&6
31733 else
31736 ac_ext=cpp
31737 ac_cpp='$CXXCPP $CPPFLAGS'
31738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31743 /* end confdefs.h. */
31744 #include <math.h>
31746 main ()
31748 powl(0, 0);
31750 return 0;
31752 _ACEOF
31753 if ac_fn_cxx_try_compile "$LINENO"; then :
31754 glibcxx_cv_func_powl_use=yes
31755 else
31756 glibcxx_cv_func_powl_use=no
31758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31759 ac_ext=c
31760 ac_cpp='$CPP $CPPFLAGS'
31761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31770 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31772 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31773 for ac_func in powl
31774 do :
31775 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31776 if test "x$ac_cv_func_powl" = x""yes; then :
31777 cat >>confdefs.h <<_ACEOF
31778 #define HAVE_POWL 1
31779 _ACEOF
31782 done
31784 else
31786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31787 $as_echo_n "checking for _powl declaration... " >&6; }
31788 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31789 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31790 $as_echo_n "(cached) " >&6
31791 else
31794 ac_ext=cpp
31795 ac_cpp='$CXXCPP $CPPFLAGS'
31796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31801 /* end confdefs.h. */
31802 #include <math.h>
31804 main ()
31806 _powl(0, 0);
31808 return 0;
31810 _ACEOF
31811 if ac_fn_cxx_try_compile "$LINENO"; then :
31812 glibcxx_cv_func__powl_use=yes
31813 else
31814 glibcxx_cv_func__powl_use=no
31816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31817 ac_ext=c
31818 ac_cpp='$CPP $CPPFLAGS'
31819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31828 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31830 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31831 for ac_func in _powl
31832 do :
31833 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31834 if test "x$ac_cv_func__powl" = x""yes; then :
31835 cat >>confdefs.h <<_ACEOF
31836 #define HAVE__POWL 1
31837 _ACEOF
31840 done
31849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31850 $as_echo_n "checking for sqrtl declaration... " >&6; }
31851 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31852 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31853 $as_echo_n "(cached) " >&6
31854 else
31857 ac_ext=cpp
31858 ac_cpp='$CXXCPP $CPPFLAGS'
31859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31864 /* end confdefs.h. */
31865 #include <math.h>
31866 #ifdef HAVE_IEEEFP_H
31867 #include <ieeefp.h>
31868 #endif
31871 main ()
31873 sqrtl(0);
31875 return 0;
31877 _ACEOF
31878 if ac_fn_cxx_try_compile "$LINENO"; then :
31879 glibcxx_cv_func_sqrtl_use=yes
31880 else
31881 glibcxx_cv_func_sqrtl_use=no
31883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31884 ac_ext=c
31885 ac_cpp='$CPP $CPPFLAGS'
31886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31895 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31897 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31898 for ac_func in sqrtl
31899 do :
31900 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31901 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31902 cat >>confdefs.h <<_ACEOF
31903 #define HAVE_SQRTL 1
31904 _ACEOF
31907 done
31909 else
31911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31912 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31913 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31914 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31915 $as_echo_n "(cached) " >&6
31916 else
31919 ac_ext=cpp
31920 ac_cpp='$CXXCPP $CPPFLAGS'
31921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31926 /* end confdefs.h. */
31927 #include <math.h>
31928 #ifdef HAVE_IEEEFP_H
31929 #include <ieeefp.h>
31930 #endif
31933 main ()
31935 _sqrtl(0);
31937 return 0;
31939 _ACEOF
31940 if ac_fn_cxx_try_compile "$LINENO"; then :
31941 glibcxx_cv_func__sqrtl_use=yes
31942 else
31943 glibcxx_cv_func__sqrtl_use=no
31945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31946 ac_ext=c
31947 ac_cpp='$CPP $CPPFLAGS'
31948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31957 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31959 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31960 for ac_func in _sqrtl
31961 do :
31962 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31963 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31964 cat >>confdefs.h <<_ACEOF
31965 #define HAVE__SQRTL 1
31966 _ACEOF
31969 done
31978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31979 $as_echo_n "checking for sincosl declaration... " >&6; }
31980 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31981 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31982 $as_echo_n "(cached) " >&6
31983 else
31986 ac_ext=cpp
31987 ac_cpp='$CXXCPP $CPPFLAGS'
31988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31993 /* end confdefs.h. */
31994 #include <math.h>
31996 main ()
31998 sincosl(0, 0, 0);
32000 return 0;
32002 _ACEOF
32003 if ac_fn_cxx_try_compile "$LINENO"; then :
32004 glibcxx_cv_func_sincosl_use=yes
32005 else
32006 glibcxx_cv_func_sincosl_use=no
32008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32009 ac_ext=c
32010 ac_cpp='$CPP $CPPFLAGS'
32011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32020 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32022 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32023 for ac_func in sincosl
32024 do :
32025 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32026 if test "x$ac_cv_func_sincosl" = x""yes; then :
32027 cat >>confdefs.h <<_ACEOF
32028 #define HAVE_SINCOSL 1
32029 _ACEOF
32032 done
32034 else
32036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32037 $as_echo_n "checking for _sincosl declaration... " >&6; }
32038 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32039 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32040 $as_echo_n "(cached) " >&6
32041 else
32044 ac_ext=cpp
32045 ac_cpp='$CXXCPP $CPPFLAGS'
32046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32051 /* end confdefs.h. */
32052 #include <math.h>
32054 main ()
32056 _sincosl(0, 0, 0);
32058 return 0;
32060 _ACEOF
32061 if ac_fn_cxx_try_compile "$LINENO"; then :
32062 glibcxx_cv_func__sincosl_use=yes
32063 else
32064 glibcxx_cv_func__sincosl_use=no
32066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32067 ac_ext=c
32068 ac_cpp='$CPP $CPPFLAGS'
32069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32078 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32080 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32081 for ac_func in _sincosl
32082 do :
32083 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32084 if test "x$ac_cv_func__sincosl" = x""yes; then :
32085 cat >>confdefs.h <<_ACEOF
32086 #define HAVE__SINCOSL 1
32087 _ACEOF
32090 done
32099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32100 $as_echo_n "checking for finitel declaration... " >&6; }
32101 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32102 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32103 $as_echo_n "(cached) " >&6
32104 else
32107 ac_ext=cpp
32108 ac_cpp='$CXXCPP $CPPFLAGS'
32109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32114 /* end confdefs.h. */
32115 #include <math.h>
32116 #ifdef HAVE_IEEEFP_H
32117 #include <ieeefp.h>
32118 #endif
32121 main ()
32123 finitel(0);
32125 return 0;
32127 _ACEOF
32128 if ac_fn_cxx_try_compile "$LINENO"; then :
32129 glibcxx_cv_func_finitel_use=yes
32130 else
32131 glibcxx_cv_func_finitel_use=no
32133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32134 ac_ext=c
32135 ac_cpp='$CPP $CPPFLAGS'
32136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32145 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32147 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32148 for ac_func in finitel
32149 do :
32150 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32151 if test "x$ac_cv_func_finitel" = x""yes; then :
32152 cat >>confdefs.h <<_ACEOF
32153 #define HAVE_FINITEL 1
32154 _ACEOF
32157 done
32159 else
32161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32162 $as_echo_n "checking for _finitel declaration... " >&6; }
32163 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32164 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32165 $as_echo_n "(cached) " >&6
32166 else
32169 ac_ext=cpp
32170 ac_cpp='$CXXCPP $CPPFLAGS'
32171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32176 /* end confdefs.h. */
32177 #include <math.h>
32178 #ifdef HAVE_IEEEFP_H
32179 #include <ieeefp.h>
32180 #endif
32183 main ()
32185 _finitel(0);
32187 return 0;
32189 _ACEOF
32190 if ac_fn_cxx_try_compile "$LINENO"; then :
32191 glibcxx_cv_func__finitel_use=yes
32192 else
32193 glibcxx_cv_func__finitel_use=no
32195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32196 ac_ext=c
32197 ac_cpp='$CPP $CPPFLAGS'
32198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32207 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32209 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32210 for ac_func in _finitel
32211 do :
32212 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32213 if test "x$ac_cv_func__finitel" = x""yes; then :
32214 cat >>confdefs.h <<_ACEOF
32215 #define HAVE__FINITEL 1
32216 _ACEOF
32219 done
32227 LIBS="$ac_save_LIBS"
32228 CXXFLAGS="$ac_save_CXXFLAGS"
32231 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32232 ac_save_CXXFLAGS="$CXXFLAGS"
32233 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32237 $as_echo_n "checking for strtold declaration... " >&6; }
32238 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32239 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32240 $as_echo_n "(cached) " >&6
32241 else
32244 ac_ext=cpp
32245 ac_cpp='$CXXCPP $CPPFLAGS'
32246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32251 /* end confdefs.h. */
32252 #include <stdlib.h>
32254 main ()
32256 strtold(0, 0);
32258 return 0;
32260 _ACEOF
32261 if ac_fn_cxx_try_compile "$LINENO"; then :
32262 glibcxx_cv_func_strtold_use=yes
32263 else
32264 glibcxx_cv_func_strtold_use=no
32266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32267 ac_ext=c
32268 ac_cpp='$CPP $CPPFLAGS'
32269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32278 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32279 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32280 for ac_func in strtold
32281 do :
32282 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32283 if test "x$ac_cv_func_strtold" = x""yes; then :
32284 cat >>confdefs.h <<_ACEOF
32285 #define HAVE_STRTOLD 1
32286 _ACEOF
32289 done
32296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32297 $as_echo_n "checking for strtof declaration... " >&6; }
32298 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32299 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32300 $as_echo_n "(cached) " >&6
32301 else
32304 ac_ext=cpp
32305 ac_cpp='$CXXCPP $CPPFLAGS'
32306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32311 /* end confdefs.h. */
32312 #include <stdlib.h>
32314 main ()
32316 strtof(0, 0);
32318 return 0;
32320 _ACEOF
32321 if ac_fn_cxx_try_compile "$LINENO"; then :
32322 glibcxx_cv_func_strtof_use=yes
32323 else
32324 glibcxx_cv_func_strtof_use=no
32326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32327 ac_ext=c
32328 ac_cpp='$CPP $CPPFLAGS'
32329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32338 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32339 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32340 for ac_func in strtof
32341 do :
32342 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32343 if test "x$ac_cv_func_strtof" = x""yes; then :
32344 cat >>confdefs.h <<_ACEOF
32345 #define HAVE_STRTOF 1
32346 _ACEOF
32349 done
32356 CXXFLAGS="$ac_save_CXXFLAGS"
32359 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32361 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32363 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32365 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32368 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32370 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32372 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32376 *-aix*)
32378 # If we're not using GNU ld, then there's no point in even trying these
32379 # tests. Check for that first. We should have already tested for gld
32380 # by now (in libtool), but require it now just to be safe...
32381 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32382 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32386 # The name set by libtool depends on the version of libtool. Shame on us
32387 # for depending on an impl detail, but c'est la vie. Older versions used
32388 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32389 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32390 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32391 # set (hence we're using an older libtool), then set it.
32392 if test x${with_gnu_ld+set} != xset; then
32393 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32394 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32395 with_gnu_ld=no
32396 else
32397 with_gnu_ld=$ac_cv_prog_gnu_ld
32401 # Start by getting the version number. I think the libtool test already
32402 # does some of this, but throws away the result.
32403 glibcxx_ld_is_gold=no
32404 if test x"$with_gnu_ld" = x"yes"; then
32405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32406 $as_echo_n "checking for ld version... " >&6; }
32408 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32409 glibcxx_ld_is_gold=yes
32411 ldver=`$LD --version 2>/dev/null |
32412 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'`
32414 glibcxx_gnu_ld_version=`echo $ldver | \
32415 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32417 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32420 # Set --gc-sections.
32421 glibcxx_have_gc_sections=no
32422 if test "$glibcxx_ld_is_gold" = "yes"; then
32423 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32424 glibcxx_have_gc_sections=yes
32426 else
32427 glibcxx_gcsections_min_ld=21602
32428 if test x"$with_gnu_ld" = x"yes" &&
32429 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32430 glibcxx_have_gc_sections=yes
32433 if test "$glibcxx_have_gc_sections" = "yes"; then
32434 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32435 # NB: This flag only works reliably after 2.16.1. Configure tests
32436 # for this are difficult, so hard wire a value that should work.
32438 ac_test_CFLAGS="${CFLAGS+set}"
32439 ac_save_CFLAGS="$CFLAGS"
32440 CFLAGS='-Wl,--gc-sections'
32442 # Check for -Wl,--gc-sections
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32444 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32445 if test x$gcc_no_link = xyes; then
32446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32449 /* end confdefs.h. */
32450 int one(void) { return 1; }
32451 int two(void) { return 2; }
32454 main ()
32456 two();
32458 return 0;
32460 _ACEOF
32461 if ac_fn_c_try_link "$LINENO"; then :
32462 ac_gcsections=yes
32463 else
32464 ac_gcsections=no
32466 rm -f core conftest.err conftest.$ac_objext \
32467 conftest$ac_exeext conftest.$ac_ext
32468 if test "$ac_gcsections" = "yes"; then
32469 rm -f conftest.c
32470 touch conftest.c
32471 if $CC -c conftest.c; then
32472 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32473 grep "Warning: gc-sections option ignored" > /dev/null; then
32474 ac_gcsections=no
32477 rm -f conftest.c conftest.o conftest
32479 if test "$ac_gcsections" = "yes"; then
32480 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32483 $as_echo "$ac_gcsections" >&6; }
32485 if test "$ac_test_CFLAGS" = set; then
32486 CFLAGS="$ac_save_CFLAGS"
32487 else
32488 # this is the suspicious part
32489 CFLAGS=''
32493 # Set -z,relro.
32494 # Note this is only for shared objects.
32495 ac_ld_relro=no
32496 if test x"$with_gnu_ld" = x"yes"; then
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32498 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32499 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32500 if test -n "$cxx_z_relo"; then
32501 OPT_LDFLAGS="-Wl,-z,relro"
32502 ac_ld_relro=yes
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32505 $as_echo "$ac_ld_relro" >&6; }
32508 # Set linker optimization flags.
32509 if test x"$with_gnu_ld" = x"yes"; then
32510 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32517 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32518 ac_save_CXXFLAGS="$CXXFLAGS"
32519 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32522 $as_echo_n "checking for sin in -lm... " >&6; }
32523 if test "${ac_cv_lib_m_sin+set}" = set; then :
32524 $as_echo_n "(cached) " >&6
32525 else
32526 ac_check_lib_save_LIBS=$LIBS
32527 LIBS="-lm $LIBS"
32528 if test x$gcc_no_link = xyes; then
32529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32532 /* end confdefs.h. */
32534 /* Override any GCC internal prototype to avoid an error.
32535 Use char because int might match the return type of a GCC
32536 builtin and then its argument prototype would still apply. */
32537 #ifdef __cplusplus
32538 extern "C"
32539 #endif
32540 char sin ();
32542 main ()
32544 return sin ();
32546 return 0;
32548 _ACEOF
32549 if ac_fn_c_try_link "$LINENO"; then :
32550 ac_cv_lib_m_sin=yes
32551 else
32552 ac_cv_lib_m_sin=no
32554 rm -f core conftest.err conftest.$ac_objext \
32555 conftest$ac_exeext conftest.$ac_ext
32556 LIBS=$ac_check_lib_save_LIBS
32558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32559 $as_echo "$ac_cv_lib_m_sin" >&6; }
32560 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32561 libm="-lm"
32564 ac_save_LIBS="$LIBS"
32565 LIBS="$LIBS $libm"
32569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32570 $as_echo_n "checking for isinf declaration... " >&6; }
32571 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32572 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32573 $as_echo_n "(cached) " >&6
32574 else
32577 ac_ext=cpp
32578 ac_cpp='$CXXCPP $CPPFLAGS'
32579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32584 /* end confdefs.h. */
32585 #include <math.h>
32586 #ifdef HAVE_IEEEFP_H
32587 #include <ieeefp.h>
32588 #endif
32591 main ()
32593 isinf(0);
32595 return 0;
32597 _ACEOF
32598 if ac_fn_cxx_try_compile "$LINENO"; then :
32599 glibcxx_cv_func_isinf_use=yes
32600 else
32601 glibcxx_cv_func_isinf_use=no
32603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32604 ac_ext=c
32605 ac_cpp='$CPP $CPPFLAGS'
32606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32615 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32617 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32618 for ac_func in isinf
32619 do :
32620 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32621 if test "x$ac_cv_func_isinf" = x""yes; then :
32622 cat >>confdefs.h <<_ACEOF
32623 #define HAVE_ISINF 1
32624 _ACEOF
32627 done
32629 else
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32632 $as_echo_n "checking for _isinf declaration... " >&6; }
32633 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32634 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32635 $as_echo_n "(cached) " >&6
32636 else
32639 ac_ext=cpp
32640 ac_cpp='$CXXCPP $CPPFLAGS'
32641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32646 /* end confdefs.h. */
32647 #include <math.h>
32648 #ifdef HAVE_IEEEFP_H
32649 #include <ieeefp.h>
32650 #endif
32653 main ()
32655 _isinf(0);
32657 return 0;
32659 _ACEOF
32660 if ac_fn_cxx_try_compile "$LINENO"; then :
32661 glibcxx_cv_func__isinf_use=yes
32662 else
32663 glibcxx_cv_func__isinf_use=no
32665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32666 ac_ext=c
32667 ac_cpp='$CPP $CPPFLAGS'
32668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32677 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32679 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32680 for ac_func in _isinf
32681 do :
32682 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32683 if test "x$ac_cv_func__isinf" = x""yes; then :
32684 cat >>confdefs.h <<_ACEOF
32685 #define HAVE__ISINF 1
32686 _ACEOF
32689 done
32698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32699 $as_echo_n "checking for isnan declaration... " >&6; }
32700 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32701 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32702 $as_echo_n "(cached) " >&6
32703 else
32706 ac_ext=cpp
32707 ac_cpp='$CXXCPP $CPPFLAGS'
32708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32713 /* end confdefs.h. */
32714 #include <math.h>
32715 #ifdef HAVE_IEEEFP_H
32716 #include <ieeefp.h>
32717 #endif
32720 main ()
32722 isnan(0);
32724 return 0;
32726 _ACEOF
32727 if ac_fn_cxx_try_compile "$LINENO"; then :
32728 glibcxx_cv_func_isnan_use=yes
32729 else
32730 glibcxx_cv_func_isnan_use=no
32732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32733 ac_ext=c
32734 ac_cpp='$CPP $CPPFLAGS'
32735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32744 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32746 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32747 for ac_func in isnan
32748 do :
32749 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32750 if test "x$ac_cv_func_isnan" = x""yes; then :
32751 cat >>confdefs.h <<_ACEOF
32752 #define HAVE_ISNAN 1
32753 _ACEOF
32756 done
32758 else
32760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32761 $as_echo_n "checking for _isnan declaration... " >&6; }
32762 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32763 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32764 $as_echo_n "(cached) " >&6
32765 else
32768 ac_ext=cpp
32769 ac_cpp='$CXXCPP $CPPFLAGS'
32770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32775 /* end confdefs.h. */
32776 #include <math.h>
32777 #ifdef HAVE_IEEEFP_H
32778 #include <ieeefp.h>
32779 #endif
32782 main ()
32784 _isnan(0);
32786 return 0;
32788 _ACEOF
32789 if ac_fn_cxx_try_compile "$LINENO"; then :
32790 glibcxx_cv_func__isnan_use=yes
32791 else
32792 glibcxx_cv_func__isnan_use=no
32794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32795 ac_ext=c
32796 ac_cpp='$CPP $CPPFLAGS'
32797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32806 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32808 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32809 for ac_func in _isnan
32810 do :
32811 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32812 if test "x$ac_cv_func__isnan" = x""yes; then :
32813 cat >>confdefs.h <<_ACEOF
32814 #define HAVE__ISNAN 1
32815 _ACEOF
32818 done
32827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32828 $as_echo_n "checking for finite declaration... " >&6; }
32829 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32830 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32831 $as_echo_n "(cached) " >&6
32832 else
32835 ac_ext=cpp
32836 ac_cpp='$CXXCPP $CPPFLAGS'
32837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32842 /* end confdefs.h. */
32843 #include <math.h>
32844 #ifdef HAVE_IEEEFP_H
32845 #include <ieeefp.h>
32846 #endif
32849 main ()
32851 finite(0);
32853 return 0;
32855 _ACEOF
32856 if ac_fn_cxx_try_compile "$LINENO"; then :
32857 glibcxx_cv_func_finite_use=yes
32858 else
32859 glibcxx_cv_func_finite_use=no
32861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32862 ac_ext=c
32863 ac_cpp='$CPP $CPPFLAGS'
32864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32873 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32875 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32876 for ac_func in finite
32877 do :
32878 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32879 if test "x$ac_cv_func_finite" = x""yes; then :
32880 cat >>confdefs.h <<_ACEOF
32881 #define HAVE_FINITE 1
32882 _ACEOF
32885 done
32887 else
32889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32890 $as_echo_n "checking for _finite declaration... " >&6; }
32891 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32892 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32893 $as_echo_n "(cached) " >&6
32894 else
32897 ac_ext=cpp
32898 ac_cpp='$CXXCPP $CPPFLAGS'
32899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32904 /* end confdefs.h. */
32905 #include <math.h>
32906 #ifdef HAVE_IEEEFP_H
32907 #include <ieeefp.h>
32908 #endif
32911 main ()
32913 _finite(0);
32915 return 0;
32917 _ACEOF
32918 if ac_fn_cxx_try_compile "$LINENO"; then :
32919 glibcxx_cv_func__finite_use=yes
32920 else
32921 glibcxx_cv_func__finite_use=no
32923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32924 ac_ext=c
32925 ac_cpp='$CPP $CPPFLAGS'
32926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32935 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32937 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32938 for ac_func in _finite
32939 do :
32940 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32941 if test "x$ac_cv_func__finite" = x""yes; then :
32942 cat >>confdefs.h <<_ACEOF
32943 #define HAVE__FINITE 1
32944 _ACEOF
32947 done
32956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32957 $as_echo_n "checking for sincos declaration... " >&6; }
32958 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32959 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32960 $as_echo_n "(cached) " >&6
32961 else
32964 ac_ext=cpp
32965 ac_cpp='$CXXCPP $CPPFLAGS'
32966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32971 /* end confdefs.h. */
32972 #include <math.h>
32974 main ()
32976 sincos(0, 0, 0);
32978 return 0;
32980 _ACEOF
32981 if ac_fn_cxx_try_compile "$LINENO"; then :
32982 glibcxx_cv_func_sincos_use=yes
32983 else
32984 glibcxx_cv_func_sincos_use=no
32986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32987 ac_ext=c
32988 ac_cpp='$CPP $CPPFLAGS'
32989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32998 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33000 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33001 for ac_func in sincos
33002 do :
33003 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33004 if test "x$ac_cv_func_sincos" = x""yes; then :
33005 cat >>confdefs.h <<_ACEOF
33006 #define HAVE_SINCOS 1
33007 _ACEOF
33010 done
33012 else
33014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33015 $as_echo_n "checking for _sincos declaration... " >&6; }
33016 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33017 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33018 $as_echo_n "(cached) " >&6
33019 else
33022 ac_ext=cpp
33023 ac_cpp='$CXXCPP $CPPFLAGS'
33024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029 /* end confdefs.h. */
33030 #include <math.h>
33032 main ()
33034 _sincos(0, 0, 0);
33036 return 0;
33038 _ACEOF
33039 if ac_fn_cxx_try_compile "$LINENO"; then :
33040 glibcxx_cv_func__sincos_use=yes
33041 else
33042 glibcxx_cv_func__sincos_use=no
33044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33045 ac_ext=c
33046 ac_cpp='$CPP $CPPFLAGS'
33047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33056 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33058 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33059 for ac_func in _sincos
33060 do :
33061 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33062 if test "x$ac_cv_func__sincos" = x""yes; then :
33063 cat >>confdefs.h <<_ACEOF
33064 #define HAVE__SINCOS 1
33065 _ACEOF
33068 done
33077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33078 $as_echo_n "checking for fpclass declaration... " >&6; }
33079 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33080 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33081 $as_echo_n "(cached) " >&6
33082 else
33085 ac_ext=cpp
33086 ac_cpp='$CXXCPP $CPPFLAGS'
33087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33092 /* end confdefs.h. */
33093 #include <math.h>
33094 #ifdef HAVE_IEEEFP_H
33095 #include <ieeefp.h>
33096 #endif
33099 main ()
33101 fpclass(0);
33103 return 0;
33105 _ACEOF
33106 if ac_fn_cxx_try_compile "$LINENO"; then :
33107 glibcxx_cv_func_fpclass_use=yes
33108 else
33109 glibcxx_cv_func_fpclass_use=no
33111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33112 ac_ext=c
33113 ac_cpp='$CPP $CPPFLAGS'
33114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33123 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33125 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33126 for ac_func in fpclass
33127 do :
33128 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33129 if test "x$ac_cv_func_fpclass" = x""yes; then :
33130 cat >>confdefs.h <<_ACEOF
33131 #define HAVE_FPCLASS 1
33132 _ACEOF
33135 done
33137 else
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33140 $as_echo_n "checking for _fpclass declaration... " >&6; }
33141 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33142 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33143 $as_echo_n "(cached) " >&6
33144 else
33147 ac_ext=cpp
33148 ac_cpp='$CXXCPP $CPPFLAGS'
33149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33154 /* end confdefs.h. */
33155 #include <math.h>
33156 #ifdef HAVE_IEEEFP_H
33157 #include <ieeefp.h>
33158 #endif
33161 main ()
33163 _fpclass(0);
33165 return 0;
33167 _ACEOF
33168 if ac_fn_cxx_try_compile "$LINENO"; then :
33169 glibcxx_cv_func__fpclass_use=yes
33170 else
33171 glibcxx_cv_func__fpclass_use=no
33173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33174 ac_ext=c
33175 ac_cpp='$CPP $CPPFLAGS'
33176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33185 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33187 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33188 for ac_func in _fpclass
33189 do :
33190 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33191 if test "x$ac_cv_func__fpclass" = x""yes; then :
33192 cat >>confdefs.h <<_ACEOF
33193 #define HAVE__FPCLASS 1
33194 _ACEOF
33197 done
33206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33207 $as_echo_n "checking for qfpclass declaration... " >&6; }
33208 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33209 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33210 $as_echo_n "(cached) " >&6
33211 else
33214 ac_ext=cpp
33215 ac_cpp='$CXXCPP $CPPFLAGS'
33216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33221 /* end confdefs.h. */
33222 #include <math.h>
33223 #ifdef HAVE_IEEEFP_H
33224 #include <ieeefp.h>
33225 #endif
33228 main ()
33230 qfpclass(0);
33232 return 0;
33234 _ACEOF
33235 if ac_fn_cxx_try_compile "$LINENO"; then :
33236 glibcxx_cv_func_qfpclass_use=yes
33237 else
33238 glibcxx_cv_func_qfpclass_use=no
33240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33241 ac_ext=c
33242 ac_cpp='$CPP $CPPFLAGS'
33243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33252 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33254 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33255 for ac_func in qfpclass
33256 do :
33257 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33258 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33259 cat >>confdefs.h <<_ACEOF
33260 #define HAVE_QFPCLASS 1
33261 _ACEOF
33264 done
33266 else
33268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33269 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33270 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33271 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33272 $as_echo_n "(cached) " >&6
33273 else
33276 ac_ext=cpp
33277 ac_cpp='$CXXCPP $CPPFLAGS'
33278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33283 /* end confdefs.h. */
33284 #include <math.h>
33285 #ifdef HAVE_IEEEFP_H
33286 #include <ieeefp.h>
33287 #endif
33290 main ()
33292 _qfpclass(0);
33294 return 0;
33296 _ACEOF
33297 if ac_fn_cxx_try_compile "$LINENO"; then :
33298 glibcxx_cv_func__qfpclass_use=yes
33299 else
33300 glibcxx_cv_func__qfpclass_use=no
33302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33303 ac_ext=c
33304 ac_cpp='$CPP $CPPFLAGS'
33305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33314 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33316 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33317 for ac_func in _qfpclass
33318 do :
33319 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33320 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33321 cat >>confdefs.h <<_ACEOF
33322 #define HAVE__QFPCLASS 1
33323 _ACEOF
33326 done
33335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33336 $as_echo_n "checking for hypot declaration... " >&6; }
33337 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33338 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33339 $as_echo_n "(cached) " >&6
33340 else
33343 ac_ext=cpp
33344 ac_cpp='$CXXCPP $CPPFLAGS'
33345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33350 /* end confdefs.h. */
33351 #include <math.h>
33353 main ()
33355 hypot(0, 0);
33357 return 0;
33359 _ACEOF
33360 if ac_fn_cxx_try_compile "$LINENO"; then :
33361 glibcxx_cv_func_hypot_use=yes
33362 else
33363 glibcxx_cv_func_hypot_use=no
33365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33366 ac_ext=c
33367 ac_cpp='$CPP $CPPFLAGS'
33368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33377 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33379 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33380 for ac_func in hypot
33381 do :
33382 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33383 if test "x$ac_cv_func_hypot" = x""yes; then :
33384 cat >>confdefs.h <<_ACEOF
33385 #define HAVE_HYPOT 1
33386 _ACEOF
33389 done
33391 else
33393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33394 $as_echo_n "checking for _hypot declaration... " >&6; }
33395 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33396 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33397 $as_echo_n "(cached) " >&6
33398 else
33401 ac_ext=cpp
33402 ac_cpp='$CXXCPP $CPPFLAGS'
33403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33408 /* end confdefs.h. */
33409 #include <math.h>
33411 main ()
33413 _hypot(0, 0);
33415 return 0;
33417 _ACEOF
33418 if ac_fn_cxx_try_compile "$LINENO"; then :
33419 glibcxx_cv_func__hypot_use=yes
33420 else
33421 glibcxx_cv_func__hypot_use=no
33423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33424 ac_ext=c
33425 ac_cpp='$CPP $CPPFLAGS'
33426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33435 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33437 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33438 for ac_func in _hypot
33439 do :
33440 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33441 if test "x$ac_cv_func__hypot" = x""yes; then :
33442 cat >>confdefs.h <<_ACEOF
33443 #define HAVE__HYPOT 1
33444 _ACEOF
33447 done
33456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33457 $as_echo_n "checking for float trig functions... " >&6; }
33458 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33459 $as_echo_n "(cached) " >&6
33460 else
33463 ac_ext=cpp
33464 ac_cpp='$CXXCPP $CPPFLAGS'
33465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33470 /* end confdefs.h. */
33471 #include <math.h>
33473 main ()
33475 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33477 return 0;
33479 _ACEOF
33480 if ac_fn_cxx_try_compile "$LINENO"; then :
33481 glibcxx_cv_func_float_trig_use=yes
33482 else
33483 glibcxx_cv_func_float_trig_use=no
33485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33486 ac_ext=c
33487 ac_cpp='$CPP $CPPFLAGS'
33488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33495 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33496 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33497 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33498 do :
33499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33501 eval as_val=\$$as_ac_var
33502 if test "x$as_val" = x""yes; then :
33503 cat >>confdefs.h <<_ACEOF
33504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33505 _ACEOF
33508 done
33510 else
33511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33512 $as_echo_n "checking for _float trig functions... " >&6; }
33513 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33514 $as_echo_n "(cached) " >&6
33515 else
33518 ac_ext=cpp
33519 ac_cpp='$CXXCPP $CPPFLAGS'
33520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33525 /* end confdefs.h. */
33526 #include <math.h>
33528 main ()
33530 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33532 return 0;
33534 _ACEOF
33535 if ac_fn_cxx_try_compile "$LINENO"; then :
33536 glibcxx_cv_func__float_trig_use=yes
33537 else
33538 glibcxx_cv_func__float_trig_use=no
33540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33541 ac_ext=c
33542 ac_cpp='$CPP $CPPFLAGS'
33543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33550 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33551 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33552 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33553 do :
33554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33556 eval as_val=\$$as_ac_var
33557 if test "x$as_val" = x""yes; then :
33558 cat >>confdefs.h <<_ACEOF
33559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33560 _ACEOF
33563 done
33572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33573 $as_echo_n "checking for float round functions... " >&6; }
33574 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33575 $as_echo_n "(cached) " >&6
33576 else
33579 ac_ext=cpp
33580 ac_cpp='$CXXCPP $CPPFLAGS'
33581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33586 /* end confdefs.h. */
33587 #include <math.h>
33589 main ()
33591 ceilf (0); floorf (0);
33593 return 0;
33595 _ACEOF
33596 if ac_fn_cxx_try_compile "$LINENO"; then :
33597 glibcxx_cv_func_float_round_use=yes
33598 else
33599 glibcxx_cv_func_float_round_use=no
33601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33602 ac_ext=c
33603 ac_cpp='$CPP $CPPFLAGS'
33604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33611 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33612 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33613 for ac_func in ceilf floorf
33614 do :
33615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33617 eval as_val=\$$as_ac_var
33618 if test "x$as_val" = x""yes; then :
33619 cat >>confdefs.h <<_ACEOF
33620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33621 _ACEOF
33624 done
33626 else
33627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33628 $as_echo_n "checking for _float round functions... " >&6; }
33629 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33630 $as_echo_n "(cached) " >&6
33631 else
33634 ac_ext=cpp
33635 ac_cpp='$CXXCPP $CPPFLAGS'
33636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33641 /* end confdefs.h. */
33642 #include <math.h>
33644 main ()
33646 _ceilf (0); _floorf (0);
33648 return 0;
33650 _ACEOF
33651 if ac_fn_cxx_try_compile "$LINENO"; then :
33652 glibcxx_cv_func__float_round_use=yes
33653 else
33654 glibcxx_cv_func__float_round_use=no
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33657 ac_ext=c
33658 ac_cpp='$CPP $CPPFLAGS'
33659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33666 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33667 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33668 for ac_func in _ceilf _floorf
33669 do :
33670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33672 eval as_val=\$$as_ac_var
33673 if test "x$as_val" = x""yes; then :
33674 cat >>confdefs.h <<_ACEOF
33675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33676 _ACEOF
33679 done
33689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33690 $as_echo_n "checking for expf declaration... " >&6; }
33691 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33692 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33693 $as_echo_n "(cached) " >&6
33694 else
33697 ac_ext=cpp
33698 ac_cpp='$CXXCPP $CPPFLAGS'
33699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33704 /* end confdefs.h. */
33705 #include <math.h>
33706 #ifdef HAVE_IEEEFP_H
33707 #include <ieeefp.h>
33708 #endif
33711 main ()
33713 expf(0);
33715 return 0;
33717 _ACEOF
33718 if ac_fn_cxx_try_compile "$LINENO"; then :
33719 glibcxx_cv_func_expf_use=yes
33720 else
33721 glibcxx_cv_func_expf_use=no
33723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33724 ac_ext=c
33725 ac_cpp='$CPP $CPPFLAGS'
33726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33735 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33737 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33738 for ac_func in expf
33739 do :
33740 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33741 if test "x$ac_cv_func_expf" = x""yes; then :
33742 cat >>confdefs.h <<_ACEOF
33743 #define HAVE_EXPF 1
33744 _ACEOF
33747 done
33749 else
33751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33752 $as_echo_n "checking for _expf declaration... " >&6; }
33753 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33754 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33755 $as_echo_n "(cached) " >&6
33756 else
33759 ac_ext=cpp
33760 ac_cpp='$CXXCPP $CPPFLAGS'
33761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33766 /* end confdefs.h. */
33767 #include <math.h>
33768 #ifdef HAVE_IEEEFP_H
33769 #include <ieeefp.h>
33770 #endif
33773 main ()
33775 _expf(0);
33777 return 0;
33779 _ACEOF
33780 if ac_fn_cxx_try_compile "$LINENO"; then :
33781 glibcxx_cv_func__expf_use=yes
33782 else
33783 glibcxx_cv_func__expf_use=no
33785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33786 ac_ext=c
33787 ac_cpp='$CPP $CPPFLAGS'
33788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33797 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33799 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33800 for ac_func in _expf
33801 do :
33802 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33803 if test "x$ac_cv_func__expf" = x""yes; then :
33804 cat >>confdefs.h <<_ACEOF
33805 #define HAVE__EXPF 1
33806 _ACEOF
33809 done
33818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33819 $as_echo_n "checking for isnanf declaration... " >&6; }
33820 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33821 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33822 $as_echo_n "(cached) " >&6
33823 else
33826 ac_ext=cpp
33827 ac_cpp='$CXXCPP $CPPFLAGS'
33828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33833 /* end confdefs.h. */
33834 #include <math.h>
33835 #ifdef HAVE_IEEEFP_H
33836 #include <ieeefp.h>
33837 #endif
33840 main ()
33842 isnanf(0);
33844 return 0;
33846 _ACEOF
33847 if ac_fn_cxx_try_compile "$LINENO"; then :
33848 glibcxx_cv_func_isnanf_use=yes
33849 else
33850 glibcxx_cv_func_isnanf_use=no
33852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33853 ac_ext=c
33854 ac_cpp='$CPP $CPPFLAGS'
33855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33864 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33866 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33867 for ac_func in isnanf
33868 do :
33869 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33870 if test "x$ac_cv_func_isnanf" = x""yes; then :
33871 cat >>confdefs.h <<_ACEOF
33872 #define HAVE_ISNANF 1
33873 _ACEOF
33876 done
33878 else
33880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33881 $as_echo_n "checking for _isnanf declaration... " >&6; }
33882 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33883 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33884 $as_echo_n "(cached) " >&6
33885 else
33888 ac_ext=cpp
33889 ac_cpp='$CXXCPP $CPPFLAGS'
33890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33895 /* end confdefs.h. */
33896 #include <math.h>
33897 #ifdef HAVE_IEEEFP_H
33898 #include <ieeefp.h>
33899 #endif
33902 main ()
33904 _isnanf(0);
33906 return 0;
33908 _ACEOF
33909 if ac_fn_cxx_try_compile "$LINENO"; then :
33910 glibcxx_cv_func__isnanf_use=yes
33911 else
33912 glibcxx_cv_func__isnanf_use=no
33914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33915 ac_ext=c
33916 ac_cpp='$CPP $CPPFLAGS'
33917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33926 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33928 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33929 for ac_func in _isnanf
33930 do :
33931 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33932 if test "x$ac_cv_func__isnanf" = x""yes; then :
33933 cat >>confdefs.h <<_ACEOF
33934 #define HAVE__ISNANF 1
33935 _ACEOF
33938 done
33947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33948 $as_echo_n "checking for isinff declaration... " >&6; }
33949 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33950 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33951 $as_echo_n "(cached) " >&6
33952 else
33955 ac_ext=cpp
33956 ac_cpp='$CXXCPP $CPPFLAGS'
33957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33962 /* end confdefs.h. */
33963 #include <math.h>
33964 #ifdef HAVE_IEEEFP_H
33965 #include <ieeefp.h>
33966 #endif
33969 main ()
33971 isinff(0);
33973 return 0;
33975 _ACEOF
33976 if ac_fn_cxx_try_compile "$LINENO"; then :
33977 glibcxx_cv_func_isinff_use=yes
33978 else
33979 glibcxx_cv_func_isinff_use=no
33981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33982 ac_ext=c
33983 ac_cpp='$CPP $CPPFLAGS'
33984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33993 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33995 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33996 for ac_func in isinff
33997 do :
33998 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33999 if test "x$ac_cv_func_isinff" = x""yes; then :
34000 cat >>confdefs.h <<_ACEOF
34001 #define HAVE_ISINFF 1
34002 _ACEOF
34005 done
34007 else
34009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34010 $as_echo_n "checking for _isinff declaration... " >&6; }
34011 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34012 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34013 $as_echo_n "(cached) " >&6
34014 else
34017 ac_ext=cpp
34018 ac_cpp='$CXXCPP $CPPFLAGS'
34019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34024 /* end confdefs.h. */
34025 #include <math.h>
34026 #ifdef HAVE_IEEEFP_H
34027 #include <ieeefp.h>
34028 #endif
34031 main ()
34033 _isinff(0);
34035 return 0;
34037 _ACEOF
34038 if ac_fn_cxx_try_compile "$LINENO"; then :
34039 glibcxx_cv_func__isinff_use=yes
34040 else
34041 glibcxx_cv_func__isinff_use=no
34043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34044 ac_ext=c
34045 ac_cpp='$CPP $CPPFLAGS'
34046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34055 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34057 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34058 for ac_func in _isinff
34059 do :
34060 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34061 if test "x$ac_cv_func__isinff" = x""yes; then :
34062 cat >>confdefs.h <<_ACEOF
34063 #define HAVE__ISINFF 1
34064 _ACEOF
34067 done
34076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34077 $as_echo_n "checking for atan2f declaration... " >&6; }
34078 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34079 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34080 $as_echo_n "(cached) " >&6
34081 else
34084 ac_ext=cpp
34085 ac_cpp='$CXXCPP $CPPFLAGS'
34086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34091 /* end confdefs.h. */
34092 #include <math.h>
34094 main ()
34096 atan2f(0, 0);
34098 return 0;
34100 _ACEOF
34101 if ac_fn_cxx_try_compile "$LINENO"; then :
34102 glibcxx_cv_func_atan2f_use=yes
34103 else
34104 glibcxx_cv_func_atan2f_use=no
34106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34107 ac_ext=c
34108 ac_cpp='$CPP $CPPFLAGS'
34109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34118 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34120 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34121 for ac_func in atan2f
34122 do :
34123 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34124 if test "x$ac_cv_func_atan2f" = x""yes; then :
34125 cat >>confdefs.h <<_ACEOF
34126 #define HAVE_ATAN2F 1
34127 _ACEOF
34130 done
34132 else
34134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34135 $as_echo_n "checking for _atan2f declaration... " >&6; }
34136 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34137 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34138 $as_echo_n "(cached) " >&6
34139 else
34142 ac_ext=cpp
34143 ac_cpp='$CXXCPP $CPPFLAGS'
34144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34149 /* end confdefs.h. */
34150 #include <math.h>
34152 main ()
34154 _atan2f(0, 0);
34156 return 0;
34158 _ACEOF
34159 if ac_fn_cxx_try_compile "$LINENO"; then :
34160 glibcxx_cv_func__atan2f_use=yes
34161 else
34162 glibcxx_cv_func__atan2f_use=no
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34165 ac_ext=c
34166 ac_cpp='$CPP $CPPFLAGS'
34167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34176 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34178 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34179 for ac_func in _atan2f
34180 do :
34181 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34182 if test "x$ac_cv_func__atan2f" = x""yes; then :
34183 cat >>confdefs.h <<_ACEOF
34184 #define HAVE__ATAN2F 1
34185 _ACEOF
34188 done
34197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34198 $as_echo_n "checking for fabsf declaration... " >&6; }
34199 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34200 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34201 $as_echo_n "(cached) " >&6
34202 else
34205 ac_ext=cpp
34206 ac_cpp='$CXXCPP $CPPFLAGS'
34207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34212 /* end confdefs.h. */
34213 #include <math.h>
34214 #ifdef HAVE_IEEEFP_H
34215 #include <ieeefp.h>
34216 #endif
34219 main ()
34221 fabsf(0);
34223 return 0;
34225 _ACEOF
34226 if ac_fn_cxx_try_compile "$LINENO"; then :
34227 glibcxx_cv_func_fabsf_use=yes
34228 else
34229 glibcxx_cv_func_fabsf_use=no
34231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34232 ac_ext=c
34233 ac_cpp='$CPP $CPPFLAGS'
34234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34243 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34245 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34246 for ac_func in fabsf
34247 do :
34248 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34249 if test "x$ac_cv_func_fabsf" = x""yes; then :
34250 cat >>confdefs.h <<_ACEOF
34251 #define HAVE_FABSF 1
34252 _ACEOF
34255 done
34257 else
34259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34260 $as_echo_n "checking for _fabsf declaration... " >&6; }
34261 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34262 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34263 $as_echo_n "(cached) " >&6
34264 else
34267 ac_ext=cpp
34268 ac_cpp='$CXXCPP $CPPFLAGS'
34269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34274 /* end confdefs.h. */
34275 #include <math.h>
34276 #ifdef HAVE_IEEEFP_H
34277 #include <ieeefp.h>
34278 #endif
34281 main ()
34283 _fabsf(0);
34285 return 0;
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289 glibcxx_cv_func__fabsf_use=yes
34290 else
34291 glibcxx_cv_func__fabsf_use=no
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294 ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34305 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34307 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34308 for ac_func in _fabsf
34309 do :
34310 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34311 if test "x$ac_cv_func__fabsf" = x""yes; then :
34312 cat >>confdefs.h <<_ACEOF
34313 #define HAVE__FABSF 1
34314 _ACEOF
34317 done
34326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34327 $as_echo_n "checking for fmodf declaration... " >&6; }
34328 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34329 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34330 $as_echo_n "(cached) " >&6
34331 else
34334 ac_ext=cpp
34335 ac_cpp='$CXXCPP $CPPFLAGS'
34336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34341 /* end confdefs.h. */
34342 #include <math.h>
34344 main ()
34346 fmodf(0, 0);
34348 return 0;
34350 _ACEOF
34351 if ac_fn_cxx_try_compile "$LINENO"; then :
34352 glibcxx_cv_func_fmodf_use=yes
34353 else
34354 glibcxx_cv_func_fmodf_use=no
34356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34357 ac_ext=c
34358 ac_cpp='$CPP $CPPFLAGS'
34359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34368 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34370 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34371 for ac_func in fmodf
34372 do :
34373 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34374 if test "x$ac_cv_func_fmodf" = x""yes; then :
34375 cat >>confdefs.h <<_ACEOF
34376 #define HAVE_FMODF 1
34377 _ACEOF
34380 done
34382 else
34384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34385 $as_echo_n "checking for _fmodf declaration... " >&6; }
34386 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34387 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34388 $as_echo_n "(cached) " >&6
34389 else
34392 ac_ext=cpp
34393 ac_cpp='$CXXCPP $CPPFLAGS'
34394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34399 /* end confdefs.h. */
34400 #include <math.h>
34402 main ()
34404 _fmodf(0, 0);
34406 return 0;
34408 _ACEOF
34409 if ac_fn_cxx_try_compile "$LINENO"; then :
34410 glibcxx_cv_func__fmodf_use=yes
34411 else
34412 glibcxx_cv_func__fmodf_use=no
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34415 ac_ext=c
34416 ac_cpp='$CPP $CPPFLAGS'
34417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34426 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34428 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34429 for ac_func in _fmodf
34430 do :
34431 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34432 if test "x$ac_cv_func__fmodf" = x""yes; then :
34433 cat >>confdefs.h <<_ACEOF
34434 #define HAVE__FMODF 1
34435 _ACEOF
34438 done
34447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34448 $as_echo_n "checking for frexpf declaration... " >&6; }
34449 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34450 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34451 $as_echo_n "(cached) " >&6
34452 else
34455 ac_ext=cpp
34456 ac_cpp='$CXXCPP $CPPFLAGS'
34457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34462 /* end confdefs.h. */
34463 #include <math.h>
34465 main ()
34467 frexpf(0, 0);
34469 return 0;
34471 _ACEOF
34472 if ac_fn_cxx_try_compile "$LINENO"; then :
34473 glibcxx_cv_func_frexpf_use=yes
34474 else
34475 glibcxx_cv_func_frexpf_use=no
34477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34478 ac_ext=c
34479 ac_cpp='$CPP $CPPFLAGS'
34480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34489 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34491 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34492 for ac_func in frexpf
34493 do :
34494 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34495 if test "x$ac_cv_func_frexpf" = x""yes; then :
34496 cat >>confdefs.h <<_ACEOF
34497 #define HAVE_FREXPF 1
34498 _ACEOF
34501 done
34503 else
34505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34506 $as_echo_n "checking for _frexpf declaration... " >&6; }
34507 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34508 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34509 $as_echo_n "(cached) " >&6
34510 else
34513 ac_ext=cpp
34514 ac_cpp='$CXXCPP $CPPFLAGS'
34515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34520 /* end confdefs.h. */
34521 #include <math.h>
34523 main ()
34525 _frexpf(0, 0);
34527 return 0;
34529 _ACEOF
34530 if ac_fn_cxx_try_compile "$LINENO"; then :
34531 glibcxx_cv_func__frexpf_use=yes
34532 else
34533 glibcxx_cv_func__frexpf_use=no
34535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34536 ac_ext=c
34537 ac_cpp='$CPP $CPPFLAGS'
34538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34547 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34549 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34550 for ac_func in _frexpf
34551 do :
34552 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34553 if test "x$ac_cv_func__frexpf" = x""yes; then :
34554 cat >>confdefs.h <<_ACEOF
34555 #define HAVE__FREXPF 1
34556 _ACEOF
34559 done
34568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34569 $as_echo_n "checking for hypotf declaration... " >&6; }
34570 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34571 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34572 $as_echo_n "(cached) " >&6
34573 else
34576 ac_ext=cpp
34577 ac_cpp='$CXXCPP $CPPFLAGS'
34578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34583 /* end confdefs.h. */
34584 #include <math.h>
34586 main ()
34588 hypotf(0, 0);
34590 return 0;
34592 _ACEOF
34593 if ac_fn_cxx_try_compile "$LINENO"; then :
34594 glibcxx_cv_func_hypotf_use=yes
34595 else
34596 glibcxx_cv_func_hypotf_use=no
34598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34599 ac_ext=c
34600 ac_cpp='$CPP $CPPFLAGS'
34601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34610 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34612 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34613 for ac_func in hypotf
34614 do :
34615 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34616 if test "x$ac_cv_func_hypotf" = x""yes; then :
34617 cat >>confdefs.h <<_ACEOF
34618 #define HAVE_HYPOTF 1
34619 _ACEOF
34622 done
34624 else
34626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34627 $as_echo_n "checking for _hypotf declaration... " >&6; }
34628 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34629 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34630 $as_echo_n "(cached) " >&6
34631 else
34634 ac_ext=cpp
34635 ac_cpp='$CXXCPP $CPPFLAGS'
34636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34641 /* end confdefs.h. */
34642 #include <math.h>
34644 main ()
34646 _hypotf(0, 0);
34648 return 0;
34650 _ACEOF
34651 if ac_fn_cxx_try_compile "$LINENO"; then :
34652 glibcxx_cv_func__hypotf_use=yes
34653 else
34654 glibcxx_cv_func__hypotf_use=no
34656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34657 ac_ext=c
34658 ac_cpp='$CPP $CPPFLAGS'
34659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34668 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34670 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34671 for ac_func in _hypotf
34672 do :
34673 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34674 if test "x$ac_cv_func__hypotf" = x""yes; then :
34675 cat >>confdefs.h <<_ACEOF
34676 #define HAVE__HYPOTF 1
34677 _ACEOF
34680 done
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34690 $as_echo_n "checking for ldexpf declaration... " >&6; }
34691 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34692 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34693 $as_echo_n "(cached) " >&6
34694 else
34697 ac_ext=cpp
34698 ac_cpp='$CXXCPP $CPPFLAGS'
34699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34704 /* end confdefs.h. */
34705 #include <math.h>
34707 main ()
34709 ldexpf(0, 0);
34711 return 0;
34713 _ACEOF
34714 if ac_fn_cxx_try_compile "$LINENO"; then :
34715 glibcxx_cv_func_ldexpf_use=yes
34716 else
34717 glibcxx_cv_func_ldexpf_use=no
34719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34720 ac_ext=c
34721 ac_cpp='$CPP $CPPFLAGS'
34722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34731 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34733 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34734 for ac_func in ldexpf
34735 do :
34736 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34737 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34738 cat >>confdefs.h <<_ACEOF
34739 #define HAVE_LDEXPF 1
34740 _ACEOF
34743 done
34745 else
34747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34748 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34749 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34750 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34751 $as_echo_n "(cached) " >&6
34752 else
34755 ac_ext=cpp
34756 ac_cpp='$CXXCPP $CPPFLAGS'
34757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34762 /* end confdefs.h. */
34763 #include <math.h>
34765 main ()
34767 _ldexpf(0, 0);
34769 return 0;
34771 _ACEOF
34772 if ac_fn_cxx_try_compile "$LINENO"; then :
34773 glibcxx_cv_func__ldexpf_use=yes
34774 else
34775 glibcxx_cv_func__ldexpf_use=no
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34778 ac_ext=c
34779 ac_cpp='$CPP $CPPFLAGS'
34780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34789 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34791 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34792 for ac_func in _ldexpf
34793 do :
34794 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34795 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34796 cat >>confdefs.h <<_ACEOF
34797 #define HAVE__LDEXPF 1
34798 _ACEOF
34801 done
34810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34811 $as_echo_n "checking for logf declaration... " >&6; }
34812 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34813 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34814 $as_echo_n "(cached) " >&6
34815 else
34818 ac_ext=cpp
34819 ac_cpp='$CXXCPP $CPPFLAGS'
34820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34825 /* end confdefs.h. */
34826 #include <math.h>
34827 #ifdef HAVE_IEEEFP_H
34828 #include <ieeefp.h>
34829 #endif
34832 main ()
34834 logf(0);
34836 return 0;
34838 _ACEOF
34839 if ac_fn_cxx_try_compile "$LINENO"; then :
34840 glibcxx_cv_func_logf_use=yes
34841 else
34842 glibcxx_cv_func_logf_use=no
34844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34845 ac_ext=c
34846 ac_cpp='$CPP $CPPFLAGS'
34847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34856 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34858 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34859 for ac_func in logf
34860 do :
34861 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34862 if test "x$ac_cv_func_logf" = x""yes; then :
34863 cat >>confdefs.h <<_ACEOF
34864 #define HAVE_LOGF 1
34865 _ACEOF
34868 done
34870 else
34872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34873 $as_echo_n "checking for _logf declaration... " >&6; }
34874 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34875 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34876 $as_echo_n "(cached) " >&6
34877 else
34880 ac_ext=cpp
34881 ac_cpp='$CXXCPP $CPPFLAGS'
34882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34887 /* end confdefs.h. */
34888 #include <math.h>
34889 #ifdef HAVE_IEEEFP_H
34890 #include <ieeefp.h>
34891 #endif
34894 main ()
34896 _logf(0);
34898 return 0;
34900 _ACEOF
34901 if ac_fn_cxx_try_compile "$LINENO"; then :
34902 glibcxx_cv_func__logf_use=yes
34903 else
34904 glibcxx_cv_func__logf_use=no
34906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34907 ac_ext=c
34908 ac_cpp='$CPP $CPPFLAGS'
34909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34918 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34920 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34921 for ac_func in _logf
34922 do :
34923 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34924 if test "x$ac_cv_func__logf" = x""yes; then :
34925 cat >>confdefs.h <<_ACEOF
34926 #define HAVE__LOGF 1
34927 _ACEOF
34930 done
34939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34940 $as_echo_n "checking for log10f declaration... " >&6; }
34941 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34942 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34943 $as_echo_n "(cached) " >&6
34944 else
34947 ac_ext=cpp
34948 ac_cpp='$CXXCPP $CPPFLAGS'
34949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34954 /* end confdefs.h. */
34955 #include <math.h>
34956 #ifdef HAVE_IEEEFP_H
34957 #include <ieeefp.h>
34958 #endif
34961 main ()
34963 log10f(0);
34965 return 0;
34967 _ACEOF
34968 if ac_fn_cxx_try_compile "$LINENO"; then :
34969 glibcxx_cv_func_log10f_use=yes
34970 else
34971 glibcxx_cv_func_log10f_use=no
34973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34974 ac_ext=c
34975 ac_cpp='$CPP $CPPFLAGS'
34976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34985 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34987 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34988 for ac_func in log10f
34989 do :
34990 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34991 if test "x$ac_cv_func_log10f" = x""yes; then :
34992 cat >>confdefs.h <<_ACEOF
34993 #define HAVE_LOG10F 1
34994 _ACEOF
34997 done
34999 else
35001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35002 $as_echo_n "checking for _log10f declaration... " >&6; }
35003 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35004 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35005 $as_echo_n "(cached) " >&6
35006 else
35009 ac_ext=cpp
35010 ac_cpp='$CXXCPP $CPPFLAGS'
35011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35016 /* end confdefs.h. */
35017 #include <math.h>
35018 #ifdef HAVE_IEEEFP_H
35019 #include <ieeefp.h>
35020 #endif
35023 main ()
35025 _log10f(0);
35027 return 0;
35029 _ACEOF
35030 if ac_fn_cxx_try_compile "$LINENO"; then :
35031 glibcxx_cv_func__log10f_use=yes
35032 else
35033 glibcxx_cv_func__log10f_use=no
35035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35036 ac_ext=c
35037 ac_cpp='$CPP $CPPFLAGS'
35038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35047 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35049 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35050 for ac_func in _log10f
35051 do :
35052 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35053 if test "x$ac_cv_func__log10f" = x""yes; then :
35054 cat >>confdefs.h <<_ACEOF
35055 #define HAVE__LOG10F 1
35056 _ACEOF
35059 done
35068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35069 $as_echo_n "checking for modff declaration... " >&6; }
35070 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35071 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35072 $as_echo_n "(cached) " >&6
35073 else
35076 ac_ext=cpp
35077 ac_cpp='$CXXCPP $CPPFLAGS'
35078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35083 /* end confdefs.h. */
35084 #include <math.h>
35086 main ()
35088 modff(0, 0);
35090 return 0;
35092 _ACEOF
35093 if ac_fn_cxx_try_compile "$LINENO"; then :
35094 glibcxx_cv_func_modff_use=yes
35095 else
35096 glibcxx_cv_func_modff_use=no
35098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35099 ac_ext=c
35100 ac_cpp='$CPP $CPPFLAGS'
35101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35110 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35112 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35113 for ac_func in modff
35114 do :
35115 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35116 if test "x$ac_cv_func_modff" = x""yes; then :
35117 cat >>confdefs.h <<_ACEOF
35118 #define HAVE_MODFF 1
35119 _ACEOF
35122 done
35124 else
35126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35127 $as_echo_n "checking for _modff declaration... " >&6; }
35128 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35129 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35130 $as_echo_n "(cached) " >&6
35131 else
35134 ac_ext=cpp
35135 ac_cpp='$CXXCPP $CPPFLAGS'
35136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35141 /* end confdefs.h. */
35142 #include <math.h>
35144 main ()
35146 _modff(0, 0);
35148 return 0;
35150 _ACEOF
35151 if ac_fn_cxx_try_compile "$LINENO"; then :
35152 glibcxx_cv_func__modff_use=yes
35153 else
35154 glibcxx_cv_func__modff_use=no
35156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35157 ac_ext=c
35158 ac_cpp='$CPP $CPPFLAGS'
35159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35168 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35170 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35171 for ac_func in _modff
35172 do :
35173 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35174 if test "x$ac_cv_func__modff" = x""yes; then :
35175 cat >>confdefs.h <<_ACEOF
35176 #define HAVE__MODFF 1
35177 _ACEOF
35180 done
35189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35190 $as_echo_n "checking for modf declaration... " >&6; }
35191 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35192 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35193 $as_echo_n "(cached) " >&6
35194 else
35197 ac_ext=cpp
35198 ac_cpp='$CXXCPP $CPPFLAGS'
35199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35204 /* end confdefs.h. */
35205 #include <math.h>
35207 main ()
35209 modf(0, 0);
35211 return 0;
35213 _ACEOF
35214 if ac_fn_cxx_try_compile "$LINENO"; then :
35215 glibcxx_cv_func_modf_use=yes
35216 else
35217 glibcxx_cv_func_modf_use=no
35219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35220 ac_ext=c
35221 ac_cpp='$CPP $CPPFLAGS'
35222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35231 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35233 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35234 for ac_func in modf
35235 do :
35236 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35237 if test "x$ac_cv_func_modf" = x""yes; then :
35238 cat >>confdefs.h <<_ACEOF
35239 #define HAVE_MODF 1
35240 _ACEOF
35243 done
35245 else
35247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35248 $as_echo_n "checking for _modf declaration... " >&6; }
35249 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35250 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35251 $as_echo_n "(cached) " >&6
35252 else
35255 ac_ext=cpp
35256 ac_cpp='$CXXCPP $CPPFLAGS'
35257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35262 /* end confdefs.h. */
35263 #include <math.h>
35265 main ()
35267 _modf(0, 0);
35269 return 0;
35271 _ACEOF
35272 if ac_fn_cxx_try_compile "$LINENO"; then :
35273 glibcxx_cv_func__modf_use=yes
35274 else
35275 glibcxx_cv_func__modf_use=no
35277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35278 ac_ext=c
35279 ac_cpp='$CPP $CPPFLAGS'
35280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35289 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35291 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35292 for ac_func in _modf
35293 do :
35294 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35295 if test "x$ac_cv_func__modf" = x""yes; then :
35296 cat >>confdefs.h <<_ACEOF
35297 #define HAVE__MODF 1
35298 _ACEOF
35301 done
35310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35311 $as_echo_n "checking for powf declaration... " >&6; }
35312 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35313 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35314 $as_echo_n "(cached) " >&6
35315 else
35318 ac_ext=cpp
35319 ac_cpp='$CXXCPP $CPPFLAGS'
35320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35325 /* end confdefs.h. */
35326 #include <math.h>
35328 main ()
35330 powf(0, 0);
35332 return 0;
35334 _ACEOF
35335 if ac_fn_cxx_try_compile "$LINENO"; then :
35336 glibcxx_cv_func_powf_use=yes
35337 else
35338 glibcxx_cv_func_powf_use=no
35340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35341 ac_ext=c
35342 ac_cpp='$CPP $CPPFLAGS'
35343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35352 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35354 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35355 for ac_func in powf
35356 do :
35357 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35358 if test "x$ac_cv_func_powf" = x""yes; then :
35359 cat >>confdefs.h <<_ACEOF
35360 #define HAVE_POWF 1
35361 _ACEOF
35364 done
35366 else
35368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35369 $as_echo_n "checking for _powf declaration... " >&6; }
35370 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35371 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35372 $as_echo_n "(cached) " >&6
35373 else
35376 ac_ext=cpp
35377 ac_cpp='$CXXCPP $CPPFLAGS'
35378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35383 /* end confdefs.h. */
35384 #include <math.h>
35386 main ()
35388 _powf(0, 0);
35390 return 0;
35392 _ACEOF
35393 if ac_fn_cxx_try_compile "$LINENO"; then :
35394 glibcxx_cv_func__powf_use=yes
35395 else
35396 glibcxx_cv_func__powf_use=no
35398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35399 ac_ext=c
35400 ac_cpp='$CPP $CPPFLAGS'
35401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35410 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35412 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35413 for ac_func in _powf
35414 do :
35415 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35416 if test "x$ac_cv_func__powf" = x""yes; then :
35417 cat >>confdefs.h <<_ACEOF
35418 #define HAVE__POWF 1
35419 _ACEOF
35422 done
35431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35432 $as_echo_n "checking for sqrtf declaration... " >&6; }
35433 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35434 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35435 $as_echo_n "(cached) " >&6
35436 else
35439 ac_ext=cpp
35440 ac_cpp='$CXXCPP $CPPFLAGS'
35441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35446 /* end confdefs.h. */
35447 #include <math.h>
35448 #ifdef HAVE_IEEEFP_H
35449 #include <ieeefp.h>
35450 #endif
35453 main ()
35455 sqrtf(0);
35457 return 0;
35459 _ACEOF
35460 if ac_fn_cxx_try_compile "$LINENO"; then :
35461 glibcxx_cv_func_sqrtf_use=yes
35462 else
35463 glibcxx_cv_func_sqrtf_use=no
35465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35466 ac_ext=c
35467 ac_cpp='$CPP $CPPFLAGS'
35468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35477 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35479 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35480 for ac_func in sqrtf
35481 do :
35482 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35483 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35484 cat >>confdefs.h <<_ACEOF
35485 #define HAVE_SQRTF 1
35486 _ACEOF
35489 done
35491 else
35493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35494 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35495 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35496 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35497 $as_echo_n "(cached) " >&6
35498 else
35501 ac_ext=cpp
35502 ac_cpp='$CXXCPP $CPPFLAGS'
35503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35508 /* end confdefs.h. */
35509 #include <math.h>
35510 #ifdef HAVE_IEEEFP_H
35511 #include <ieeefp.h>
35512 #endif
35515 main ()
35517 _sqrtf(0);
35519 return 0;
35521 _ACEOF
35522 if ac_fn_cxx_try_compile "$LINENO"; then :
35523 glibcxx_cv_func__sqrtf_use=yes
35524 else
35525 glibcxx_cv_func__sqrtf_use=no
35527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35528 ac_ext=c
35529 ac_cpp='$CPP $CPPFLAGS'
35530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35539 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35541 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35542 for ac_func in _sqrtf
35543 do :
35544 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35545 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35546 cat >>confdefs.h <<_ACEOF
35547 #define HAVE__SQRTF 1
35548 _ACEOF
35551 done
35560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35561 $as_echo_n "checking for sincosf declaration... " >&6; }
35562 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35563 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35564 $as_echo_n "(cached) " >&6
35565 else
35568 ac_ext=cpp
35569 ac_cpp='$CXXCPP $CPPFLAGS'
35570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35575 /* end confdefs.h. */
35576 #include <math.h>
35578 main ()
35580 sincosf(0, 0, 0);
35582 return 0;
35584 _ACEOF
35585 if ac_fn_cxx_try_compile "$LINENO"; then :
35586 glibcxx_cv_func_sincosf_use=yes
35587 else
35588 glibcxx_cv_func_sincosf_use=no
35590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35591 ac_ext=c
35592 ac_cpp='$CPP $CPPFLAGS'
35593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35602 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35604 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35605 for ac_func in sincosf
35606 do :
35607 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35608 if test "x$ac_cv_func_sincosf" = x""yes; then :
35609 cat >>confdefs.h <<_ACEOF
35610 #define HAVE_SINCOSF 1
35611 _ACEOF
35614 done
35616 else
35618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35619 $as_echo_n "checking for _sincosf declaration... " >&6; }
35620 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35621 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35622 $as_echo_n "(cached) " >&6
35623 else
35626 ac_ext=cpp
35627 ac_cpp='$CXXCPP $CPPFLAGS'
35628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35633 /* end confdefs.h. */
35634 #include <math.h>
35636 main ()
35638 _sincosf(0, 0, 0);
35640 return 0;
35642 _ACEOF
35643 if ac_fn_cxx_try_compile "$LINENO"; then :
35644 glibcxx_cv_func__sincosf_use=yes
35645 else
35646 glibcxx_cv_func__sincosf_use=no
35648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35649 ac_ext=c
35650 ac_cpp='$CPP $CPPFLAGS'
35651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35660 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35662 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35663 for ac_func in _sincosf
35664 do :
35665 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35666 if test "x$ac_cv_func__sincosf" = x""yes; then :
35667 cat >>confdefs.h <<_ACEOF
35668 #define HAVE__SINCOSF 1
35669 _ACEOF
35672 done
35681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35682 $as_echo_n "checking for finitef declaration... " >&6; }
35683 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35684 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35685 $as_echo_n "(cached) " >&6
35686 else
35689 ac_ext=cpp
35690 ac_cpp='$CXXCPP $CPPFLAGS'
35691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35696 /* end confdefs.h. */
35697 #include <math.h>
35698 #ifdef HAVE_IEEEFP_H
35699 #include <ieeefp.h>
35700 #endif
35703 main ()
35705 finitef(0);
35707 return 0;
35709 _ACEOF
35710 if ac_fn_cxx_try_compile "$LINENO"; then :
35711 glibcxx_cv_func_finitef_use=yes
35712 else
35713 glibcxx_cv_func_finitef_use=no
35715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35716 ac_ext=c
35717 ac_cpp='$CPP $CPPFLAGS'
35718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35727 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35729 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35730 for ac_func in finitef
35731 do :
35732 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35733 if test "x$ac_cv_func_finitef" = x""yes; then :
35734 cat >>confdefs.h <<_ACEOF
35735 #define HAVE_FINITEF 1
35736 _ACEOF
35739 done
35741 else
35743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35744 $as_echo_n "checking for _finitef declaration... " >&6; }
35745 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35746 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35747 $as_echo_n "(cached) " >&6
35748 else
35751 ac_ext=cpp
35752 ac_cpp='$CXXCPP $CPPFLAGS'
35753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35758 /* end confdefs.h. */
35759 #include <math.h>
35760 #ifdef HAVE_IEEEFP_H
35761 #include <ieeefp.h>
35762 #endif
35765 main ()
35767 _finitef(0);
35769 return 0;
35771 _ACEOF
35772 if ac_fn_cxx_try_compile "$LINENO"; then :
35773 glibcxx_cv_func__finitef_use=yes
35774 else
35775 glibcxx_cv_func__finitef_use=no
35777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35778 ac_ext=c
35779 ac_cpp='$CPP $CPPFLAGS'
35780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35789 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35791 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35792 for ac_func in _finitef
35793 do :
35794 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35795 if test "x$ac_cv_func__finitef" = x""yes; then :
35796 cat >>confdefs.h <<_ACEOF
35797 #define HAVE__FINITEF 1
35798 _ACEOF
35801 done
35810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35811 $as_echo_n "checking for long double trig functions... " >&6; }
35812 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35813 $as_echo_n "(cached) " >&6
35814 else
35817 ac_ext=cpp
35818 ac_cpp='$CXXCPP $CPPFLAGS'
35819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35824 /* end confdefs.h. */
35825 #include <math.h>
35827 main ()
35829 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35831 return 0;
35833 _ACEOF
35834 if ac_fn_cxx_try_compile "$LINENO"; then :
35835 glibcxx_cv_func_long_double_trig_use=yes
35836 else
35837 glibcxx_cv_func_long_double_trig_use=no
35839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35840 ac_ext=c
35841 ac_cpp='$CPP $CPPFLAGS'
35842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35849 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35850 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35851 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35852 do :
35853 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35855 eval as_val=\$$as_ac_var
35856 if test "x$as_val" = x""yes; then :
35857 cat >>confdefs.h <<_ACEOF
35858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35859 _ACEOF
35862 done
35864 else
35865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35866 $as_echo_n "checking for _long double trig functions... " >&6; }
35867 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35868 $as_echo_n "(cached) " >&6
35869 else
35872 ac_ext=cpp
35873 ac_cpp='$CXXCPP $CPPFLAGS'
35874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35879 /* end confdefs.h. */
35880 #include <math.h>
35882 main ()
35884 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35886 return 0;
35888 _ACEOF
35889 if ac_fn_cxx_try_compile "$LINENO"; then :
35890 glibcxx_cv_func__long_double_trig_use=yes
35891 else
35892 glibcxx_cv_func__long_double_trig_use=no
35894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35895 ac_ext=c
35896 ac_cpp='$CPP $CPPFLAGS'
35897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35904 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35905 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35906 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35907 do :
35908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35910 eval as_val=\$$as_ac_var
35911 if test "x$as_val" = x""yes; then :
35912 cat >>confdefs.h <<_ACEOF
35913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35914 _ACEOF
35917 done
35926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35927 $as_echo_n "checking for long double round functions... " >&6; }
35928 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35929 $as_echo_n "(cached) " >&6
35930 else
35933 ac_ext=cpp
35934 ac_cpp='$CXXCPP $CPPFLAGS'
35935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35940 /* end confdefs.h. */
35941 #include <math.h>
35943 main ()
35945 ceill (0); floorl (0);
35947 return 0;
35949 _ACEOF
35950 if ac_fn_cxx_try_compile "$LINENO"; then :
35951 glibcxx_cv_func_long_double_round_use=yes
35952 else
35953 glibcxx_cv_func_long_double_round_use=no
35955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35956 ac_ext=c
35957 ac_cpp='$CPP $CPPFLAGS'
35958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35965 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35966 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35967 for ac_func in ceill floorl
35968 do :
35969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35971 eval as_val=\$$as_ac_var
35972 if test "x$as_val" = x""yes; then :
35973 cat >>confdefs.h <<_ACEOF
35974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35975 _ACEOF
35978 done
35980 else
35981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35982 $as_echo_n "checking for _long double round functions... " >&6; }
35983 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35984 $as_echo_n "(cached) " >&6
35985 else
35988 ac_ext=cpp
35989 ac_cpp='$CXXCPP $CPPFLAGS'
35990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35995 /* end confdefs.h. */
35996 #include <math.h>
35998 main ()
36000 _ceill (0); _floorl (0);
36002 return 0;
36004 _ACEOF
36005 if ac_fn_cxx_try_compile "$LINENO"; then :
36006 glibcxx_cv_func__long_double_round_use=yes
36007 else
36008 glibcxx_cv_func__long_double_round_use=no
36010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36011 ac_ext=c
36012 ac_cpp='$CPP $CPPFLAGS'
36013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36020 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36021 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36022 for ac_func in _ceill _floorl
36023 do :
36024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36026 eval as_val=\$$as_ac_var
36027 if test "x$as_val" = x""yes; then :
36028 cat >>confdefs.h <<_ACEOF
36029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36030 _ACEOF
36033 done
36043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36044 $as_echo_n "checking for isnanl declaration... " >&6; }
36045 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36046 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36047 $as_echo_n "(cached) " >&6
36048 else
36051 ac_ext=cpp
36052 ac_cpp='$CXXCPP $CPPFLAGS'
36053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36058 /* end confdefs.h. */
36059 #include <math.h>
36060 #ifdef HAVE_IEEEFP_H
36061 #include <ieeefp.h>
36062 #endif
36065 main ()
36067 isnanl(0);
36069 return 0;
36071 _ACEOF
36072 if ac_fn_cxx_try_compile "$LINENO"; then :
36073 glibcxx_cv_func_isnanl_use=yes
36074 else
36075 glibcxx_cv_func_isnanl_use=no
36077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36078 ac_ext=c
36079 ac_cpp='$CPP $CPPFLAGS'
36080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36089 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36091 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36092 for ac_func in isnanl
36093 do :
36094 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36095 if test "x$ac_cv_func_isnanl" = x""yes; then :
36096 cat >>confdefs.h <<_ACEOF
36097 #define HAVE_ISNANL 1
36098 _ACEOF
36101 done
36103 else
36105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36106 $as_echo_n "checking for _isnanl declaration... " >&6; }
36107 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36108 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36109 $as_echo_n "(cached) " >&6
36110 else
36113 ac_ext=cpp
36114 ac_cpp='$CXXCPP $CPPFLAGS'
36115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36120 /* end confdefs.h. */
36121 #include <math.h>
36122 #ifdef HAVE_IEEEFP_H
36123 #include <ieeefp.h>
36124 #endif
36127 main ()
36129 _isnanl(0);
36131 return 0;
36133 _ACEOF
36134 if ac_fn_cxx_try_compile "$LINENO"; then :
36135 glibcxx_cv_func__isnanl_use=yes
36136 else
36137 glibcxx_cv_func__isnanl_use=no
36139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36140 ac_ext=c
36141 ac_cpp='$CPP $CPPFLAGS'
36142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36151 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36153 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36154 for ac_func in _isnanl
36155 do :
36156 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36157 if test "x$ac_cv_func__isnanl" = x""yes; then :
36158 cat >>confdefs.h <<_ACEOF
36159 #define HAVE__ISNANL 1
36160 _ACEOF
36163 done
36172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36173 $as_echo_n "checking for isinfl declaration... " >&6; }
36174 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36175 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36176 $as_echo_n "(cached) " >&6
36177 else
36180 ac_ext=cpp
36181 ac_cpp='$CXXCPP $CPPFLAGS'
36182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36187 /* end confdefs.h. */
36188 #include <math.h>
36189 #ifdef HAVE_IEEEFP_H
36190 #include <ieeefp.h>
36191 #endif
36194 main ()
36196 isinfl(0);
36198 return 0;
36200 _ACEOF
36201 if ac_fn_cxx_try_compile "$LINENO"; then :
36202 glibcxx_cv_func_isinfl_use=yes
36203 else
36204 glibcxx_cv_func_isinfl_use=no
36206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36207 ac_ext=c
36208 ac_cpp='$CPP $CPPFLAGS'
36209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36218 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36220 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36221 for ac_func in isinfl
36222 do :
36223 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36224 if test "x$ac_cv_func_isinfl" = x""yes; then :
36225 cat >>confdefs.h <<_ACEOF
36226 #define HAVE_ISINFL 1
36227 _ACEOF
36230 done
36232 else
36234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36235 $as_echo_n "checking for _isinfl declaration... " >&6; }
36236 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36237 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36238 $as_echo_n "(cached) " >&6
36239 else
36242 ac_ext=cpp
36243 ac_cpp='$CXXCPP $CPPFLAGS'
36244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36249 /* end confdefs.h. */
36250 #include <math.h>
36251 #ifdef HAVE_IEEEFP_H
36252 #include <ieeefp.h>
36253 #endif
36256 main ()
36258 _isinfl(0);
36260 return 0;
36262 _ACEOF
36263 if ac_fn_cxx_try_compile "$LINENO"; then :
36264 glibcxx_cv_func__isinfl_use=yes
36265 else
36266 glibcxx_cv_func__isinfl_use=no
36268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36269 ac_ext=c
36270 ac_cpp='$CPP $CPPFLAGS'
36271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36280 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36282 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36283 for ac_func in _isinfl
36284 do :
36285 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36286 if test "x$ac_cv_func__isinfl" = x""yes; then :
36287 cat >>confdefs.h <<_ACEOF
36288 #define HAVE__ISINFL 1
36289 _ACEOF
36292 done
36301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36302 $as_echo_n "checking for atan2l declaration... " >&6; }
36303 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36304 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36305 $as_echo_n "(cached) " >&6
36306 else
36309 ac_ext=cpp
36310 ac_cpp='$CXXCPP $CPPFLAGS'
36311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36316 /* end confdefs.h. */
36317 #include <math.h>
36319 main ()
36321 atan2l(0, 0);
36323 return 0;
36325 _ACEOF
36326 if ac_fn_cxx_try_compile "$LINENO"; then :
36327 glibcxx_cv_func_atan2l_use=yes
36328 else
36329 glibcxx_cv_func_atan2l_use=no
36331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36332 ac_ext=c
36333 ac_cpp='$CPP $CPPFLAGS'
36334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36343 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36345 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36346 for ac_func in atan2l
36347 do :
36348 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36349 if test "x$ac_cv_func_atan2l" = x""yes; then :
36350 cat >>confdefs.h <<_ACEOF
36351 #define HAVE_ATAN2L 1
36352 _ACEOF
36355 done
36357 else
36359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36360 $as_echo_n "checking for _atan2l declaration... " >&6; }
36361 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36362 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36363 $as_echo_n "(cached) " >&6
36364 else
36367 ac_ext=cpp
36368 ac_cpp='$CXXCPP $CPPFLAGS'
36369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36374 /* end confdefs.h. */
36375 #include <math.h>
36377 main ()
36379 _atan2l(0, 0);
36381 return 0;
36383 _ACEOF
36384 if ac_fn_cxx_try_compile "$LINENO"; then :
36385 glibcxx_cv_func__atan2l_use=yes
36386 else
36387 glibcxx_cv_func__atan2l_use=no
36389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36390 ac_ext=c
36391 ac_cpp='$CPP $CPPFLAGS'
36392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36401 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36403 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36404 for ac_func in _atan2l
36405 do :
36406 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36407 if test "x$ac_cv_func__atan2l" = x""yes; then :
36408 cat >>confdefs.h <<_ACEOF
36409 #define HAVE__ATAN2L 1
36410 _ACEOF
36413 done
36422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36423 $as_echo_n "checking for expl declaration... " >&6; }
36424 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36425 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36426 $as_echo_n "(cached) " >&6
36427 else
36430 ac_ext=cpp
36431 ac_cpp='$CXXCPP $CPPFLAGS'
36432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36437 /* end confdefs.h. */
36438 #include <math.h>
36439 #ifdef HAVE_IEEEFP_H
36440 #include <ieeefp.h>
36441 #endif
36444 main ()
36446 expl(0);
36448 return 0;
36450 _ACEOF
36451 if ac_fn_cxx_try_compile "$LINENO"; then :
36452 glibcxx_cv_func_expl_use=yes
36453 else
36454 glibcxx_cv_func_expl_use=no
36456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36457 ac_ext=c
36458 ac_cpp='$CPP $CPPFLAGS'
36459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36468 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36470 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36471 for ac_func in expl
36472 do :
36473 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36474 if test "x$ac_cv_func_expl" = x""yes; then :
36475 cat >>confdefs.h <<_ACEOF
36476 #define HAVE_EXPL 1
36477 _ACEOF
36480 done
36482 else
36484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36485 $as_echo_n "checking for _expl declaration... " >&6; }
36486 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36487 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36488 $as_echo_n "(cached) " >&6
36489 else
36492 ac_ext=cpp
36493 ac_cpp='$CXXCPP $CPPFLAGS'
36494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36499 /* end confdefs.h. */
36500 #include <math.h>
36501 #ifdef HAVE_IEEEFP_H
36502 #include <ieeefp.h>
36503 #endif
36506 main ()
36508 _expl(0);
36510 return 0;
36512 _ACEOF
36513 if ac_fn_cxx_try_compile "$LINENO"; then :
36514 glibcxx_cv_func__expl_use=yes
36515 else
36516 glibcxx_cv_func__expl_use=no
36518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36519 ac_ext=c
36520 ac_cpp='$CPP $CPPFLAGS'
36521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36530 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36532 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36533 for ac_func in _expl
36534 do :
36535 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36536 if test "x$ac_cv_func__expl" = x""yes; then :
36537 cat >>confdefs.h <<_ACEOF
36538 #define HAVE__EXPL 1
36539 _ACEOF
36542 done
36551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36552 $as_echo_n "checking for fabsl declaration... " >&6; }
36553 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36554 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36555 $as_echo_n "(cached) " >&6
36556 else
36559 ac_ext=cpp
36560 ac_cpp='$CXXCPP $CPPFLAGS'
36561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36566 /* end confdefs.h. */
36567 #include <math.h>
36568 #ifdef HAVE_IEEEFP_H
36569 #include <ieeefp.h>
36570 #endif
36573 main ()
36575 fabsl(0);
36577 return 0;
36579 _ACEOF
36580 if ac_fn_cxx_try_compile "$LINENO"; then :
36581 glibcxx_cv_func_fabsl_use=yes
36582 else
36583 glibcxx_cv_func_fabsl_use=no
36585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36586 ac_ext=c
36587 ac_cpp='$CPP $CPPFLAGS'
36588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36597 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36599 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36600 for ac_func in fabsl
36601 do :
36602 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36603 if test "x$ac_cv_func_fabsl" = x""yes; then :
36604 cat >>confdefs.h <<_ACEOF
36605 #define HAVE_FABSL 1
36606 _ACEOF
36609 done
36611 else
36613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36614 $as_echo_n "checking for _fabsl declaration... " >&6; }
36615 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36616 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36617 $as_echo_n "(cached) " >&6
36618 else
36621 ac_ext=cpp
36622 ac_cpp='$CXXCPP $CPPFLAGS'
36623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36628 /* end confdefs.h. */
36629 #include <math.h>
36630 #ifdef HAVE_IEEEFP_H
36631 #include <ieeefp.h>
36632 #endif
36635 main ()
36637 _fabsl(0);
36639 return 0;
36641 _ACEOF
36642 if ac_fn_cxx_try_compile "$LINENO"; then :
36643 glibcxx_cv_func__fabsl_use=yes
36644 else
36645 glibcxx_cv_func__fabsl_use=no
36647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36648 ac_ext=c
36649 ac_cpp='$CPP $CPPFLAGS'
36650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36659 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36661 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36662 for ac_func in _fabsl
36663 do :
36664 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36665 if test "x$ac_cv_func__fabsl" = x""yes; then :
36666 cat >>confdefs.h <<_ACEOF
36667 #define HAVE__FABSL 1
36668 _ACEOF
36671 done
36680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36681 $as_echo_n "checking for fmodl declaration... " >&6; }
36682 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36683 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36684 $as_echo_n "(cached) " >&6
36685 else
36688 ac_ext=cpp
36689 ac_cpp='$CXXCPP $CPPFLAGS'
36690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36695 /* end confdefs.h. */
36696 #include <math.h>
36698 main ()
36700 fmodl(0, 0);
36702 return 0;
36704 _ACEOF
36705 if ac_fn_cxx_try_compile "$LINENO"; then :
36706 glibcxx_cv_func_fmodl_use=yes
36707 else
36708 glibcxx_cv_func_fmodl_use=no
36710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36711 ac_ext=c
36712 ac_cpp='$CPP $CPPFLAGS'
36713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36722 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36724 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36725 for ac_func in fmodl
36726 do :
36727 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36728 if test "x$ac_cv_func_fmodl" = x""yes; then :
36729 cat >>confdefs.h <<_ACEOF
36730 #define HAVE_FMODL 1
36731 _ACEOF
36734 done
36736 else
36738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36739 $as_echo_n "checking for _fmodl declaration... " >&6; }
36740 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36741 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36742 $as_echo_n "(cached) " >&6
36743 else
36746 ac_ext=cpp
36747 ac_cpp='$CXXCPP $CPPFLAGS'
36748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36753 /* end confdefs.h. */
36754 #include <math.h>
36756 main ()
36758 _fmodl(0, 0);
36760 return 0;
36762 _ACEOF
36763 if ac_fn_cxx_try_compile "$LINENO"; then :
36764 glibcxx_cv_func__fmodl_use=yes
36765 else
36766 glibcxx_cv_func__fmodl_use=no
36768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36769 ac_ext=c
36770 ac_cpp='$CPP $CPPFLAGS'
36771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36780 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36782 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36783 for ac_func in _fmodl
36784 do :
36785 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36786 if test "x$ac_cv_func__fmodl" = x""yes; then :
36787 cat >>confdefs.h <<_ACEOF
36788 #define HAVE__FMODL 1
36789 _ACEOF
36792 done
36801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36802 $as_echo_n "checking for frexpl declaration... " >&6; }
36803 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36804 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36805 $as_echo_n "(cached) " >&6
36806 else
36809 ac_ext=cpp
36810 ac_cpp='$CXXCPP $CPPFLAGS'
36811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36816 /* end confdefs.h. */
36817 #include <math.h>
36819 main ()
36821 frexpl(0, 0);
36823 return 0;
36825 _ACEOF
36826 if ac_fn_cxx_try_compile "$LINENO"; then :
36827 glibcxx_cv_func_frexpl_use=yes
36828 else
36829 glibcxx_cv_func_frexpl_use=no
36831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36832 ac_ext=c
36833 ac_cpp='$CPP $CPPFLAGS'
36834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36843 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36845 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36846 for ac_func in frexpl
36847 do :
36848 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36849 if test "x$ac_cv_func_frexpl" = x""yes; then :
36850 cat >>confdefs.h <<_ACEOF
36851 #define HAVE_FREXPL 1
36852 _ACEOF
36855 done
36857 else
36859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36860 $as_echo_n "checking for _frexpl declaration... " >&6; }
36861 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36862 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36863 $as_echo_n "(cached) " >&6
36864 else
36867 ac_ext=cpp
36868 ac_cpp='$CXXCPP $CPPFLAGS'
36869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36874 /* end confdefs.h. */
36875 #include <math.h>
36877 main ()
36879 _frexpl(0, 0);
36881 return 0;
36883 _ACEOF
36884 if ac_fn_cxx_try_compile "$LINENO"; then :
36885 glibcxx_cv_func__frexpl_use=yes
36886 else
36887 glibcxx_cv_func__frexpl_use=no
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36890 ac_ext=c
36891 ac_cpp='$CPP $CPPFLAGS'
36892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36901 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36903 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36904 for ac_func in _frexpl
36905 do :
36906 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36907 if test "x$ac_cv_func__frexpl" = x""yes; then :
36908 cat >>confdefs.h <<_ACEOF
36909 #define HAVE__FREXPL 1
36910 _ACEOF
36913 done
36922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36923 $as_echo_n "checking for hypotl declaration... " >&6; }
36924 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36925 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36926 $as_echo_n "(cached) " >&6
36927 else
36930 ac_ext=cpp
36931 ac_cpp='$CXXCPP $CPPFLAGS'
36932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36937 /* end confdefs.h. */
36938 #include <math.h>
36940 main ()
36942 hypotl(0, 0);
36944 return 0;
36946 _ACEOF
36947 if ac_fn_cxx_try_compile "$LINENO"; then :
36948 glibcxx_cv_func_hypotl_use=yes
36949 else
36950 glibcxx_cv_func_hypotl_use=no
36952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36953 ac_ext=c
36954 ac_cpp='$CPP $CPPFLAGS'
36955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36964 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36966 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36967 for ac_func in hypotl
36968 do :
36969 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36970 if test "x$ac_cv_func_hypotl" = x""yes; then :
36971 cat >>confdefs.h <<_ACEOF
36972 #define HAVE_HYPOTL 1
36973 _ACEOF
36976 done
36978 else
36980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36981 $as_echo_n "checking for _hypotl declaration... " >&6; }
36982 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36983 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36984 $as_echo_n "(cached) " >&6
36985 else
36988 ac_ext=cpp
36989 ac_cpp='$CXXCPP $CPPFLAGS'
36990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36995 /* end confdefs.h. */
36996 #include <math.h>
36998 main ()
37000 _hypotl(0, 0);
37002 return 0;
37004 _ACEOF
37005 if ac_fn_cxx_try_compile "$LINENO"; then :
37006 glibcxx_cv_func__hypotl_use=yes
37007 else
37008 glibcxx_cv_func__hypotl_use=no
37010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37011 ac_ext=c
37012 ac_cpp='$CPP $CPPFLAGS'
37013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37022 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37024 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37025 for ac_func in _hypotl
37026 do :
37027 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37028 if test "x$ac_cv_func__hypotl" = x""yes; then :
37029 cat >>confdefs.h <<_ACEOF
37030 #define HAVE__HYPOTL 1
37031 _ACEOF
37034 done
37043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37044 $as_echo_n "checking for ldexpl declaration... " >&6; }
37045 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37046 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37047 $as_echo_n "(cached) " >&6
37048 else
37051 ac_ext=cpp
37052 ac_cpp='$CXXCPP $CPPFLAGS'
37053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37058 /* end confdefs.h. */
37059 #include <math.h>
37061 main ()
37063 ldexpl(0, 0);
37065 return 0;
37067 _ACEOF
37068 if ac_fn_cxx_try_compile "$LINENO"; then :
37069 glibcxx_cv_func_ldexpl_use=yes
37070 else
37071 glibcxx_cv_func_ldexpl_use=no
37073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37074 ac_ext=c
37075 ac_cpp='$CPP $CPPFLAGS'
37076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37085 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37087 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37088 for ac_func in ldexpl
37089 do :
37090 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37091 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37092 cat >>confdefs.h <<_ACEOF
37093 #define HAVE_LDEXPL 1
37094 _ACEOF
37097 done
37099 else
37101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37102 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37103 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37104 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37105 $as_echo_n "(cached) " >&6
37106 else
37109 ac_ext=cpp
37110 ac_cpp='$CXXCPP $CPPFLAGS'
37111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37116 /* end confdefs.h. */
37117 #include <math.h>
37119 main ()
37121 _ldexpl(0, 0);
37123 return 0;
37125 _ACEOF
37126 if ac_fn_cxx_try_compile "$LINENO"; then :
37127 glibcxx_cv_func__ldexpl_use=yes
37128 else
37129 glibcxx_cv_func__ldexpl_use=no
37131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37132 ac_ext=c
37133 ac_cpp='$CPP $CPPFLAGS'
37134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37143 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37145 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37146 for ac_func in _ldexpl
37147 do :
37148 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37149 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37150 cat >>confdefs.h <<_ACEOF
37151 #define HAVE__LDEXPL 1
37152 _ACEOF
37155 done
37164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37165 $as_echo_n "checking for logl declaration... " >&6; }
37166 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37167 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37168 $as_echo_n "(cached) " >&6
37169 else
37172 ac_ext=cpp
37173 ac_cpp='$CXXCPP $CPPFLAGS'
37174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37179 /* end confdefs.h. */
37180 #include <math.h>
37181 #ifdef HAVE_IEEEFP_H
37182 #include <ieeefp.h>
37183 #endif
37186 main ()
37188 logl(0);
37190 return 0;
37192 _ACEOF
37193 if ac_fn_cxx_try_compile "$LINENO"; then :
37194 glibcxx_cv_func_logl_use=yes
37195 else
37196 glibcxx_cv_func_logl_use=no
37198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37199 ac_ext=c
37200 ac_cpp='$CPP $CPPFLAGS'
37201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37210 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37212 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37213 for ac_func in logl
37214 do :
37215 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37216 if test "x$ac_cv_func_logl" = x""yes; then :
37217 cat >>confdefs.h <<_ACEOF
37218 #define HAVE_LOGL 1
37219 _ACEOF
37222 done
37224 else
37226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37227 $as_echo_n "checking for _logl declaration... " >&6; }
37228 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37229 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37230 $as_echo_n "(cached) " >&6
37231 else
37234 ac_ext=cpp
37235 ac_cpp='$CXXCPP $CPPFLAGS'
37236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37241 /* end confdefs.h. */
37242 #include <math.h>
37243 #ifdef HAVE_IEEEFP_H
37244 #include <ieeefp.h>
37245 #endif
37248 main ()
37250 _logl(0);
37252 return 0;
37254 _ACEOF
37255 if ac_fn_cxx_try_compile "$LINENO"; then :
37256 glibcxx_cv_func__logl_use=yes
37257 else
37258 glibcxx_cv_func__logl_use=no
37260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37261 ac_ext=c
37262 ac_cpp='$CPP $CPPFLAGS'
37263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37272 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37274 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37275 for ac_func in _logl
37276 do :
37277 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37278 if test "x$ac_cv_func__logl" = x""yes; then :
37279 cat >>confdefs.h <<_ACEOF
37280 #define HAVE__LOGL 1
37281 _ACEOF
37284 done
37293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37294 $as_echo_n "checking for log10l declaration... " >&6; }
37295 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37296 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37297 $as_echo_n "(cached) " >&6
37298 else
37301 ac_ext=cpp
37302 ac_cpp='$CXXCPP $CPPFLAGS'
37303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37308 /* end confdefs.h. */
37309 #include <math.h>
37310 #ifdef HAVE_IEEEFP_H
37311 #include <ieeefp.h>
37312 #endif
37315 main ()
37317 log10l(0);
37319 return 0;
37321 _ACEOF
37322 if ac_fn_cxx_try_compile "$LINENO"; then :
37323 glibcxx_cv_func_log10l_use=yes
37324 else
37325 glibcxx_cv_func_log10l_use=no
37327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37328 ac_ext=c
37329 ac_cpp='$CPP $CPPFLAGS'
37330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37339 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37341 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37342 for ac_func in log10l
37343 do :
37344 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37345 if test "x$ac_cv_func_log10l" = x""yes; then :
37346 cat >>confdefs.h <<_ACEOF
37347 #define HAVE_LOG10L 1
37348 _ACEOF
37351 done
37353 else
37355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37356 $as_echo_n "checking for _log10l declaration... " >&6; }
37357 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37358 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37359 $as_echo_n "(cached) " >&6
37360 else
37363 ac_ext=cpp
37364 ac_cpp='$CXXCPP $CPPFLAGS'
37365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37370 /* end confdefs.h. */
37371 #include <math.h>
37372 #ifdef HAVE_IEEEFP_H
37373 #include <ieeefp.h>
37374 #endif
37377 main ()
37379 _log10l(0);
37381 return 0;
37383 _ACEOF
37384 if ac_fn_cxx_try_compile "$LINENO"; then :
37385 glibcxx_cv_func__log10l_use=yes
37386 else
37387 glibcxx_cv_func__log10l_use=no
37389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37390 ac_ext=c
37391 ac_cpp='$CPP $CPPFLAGS'
37392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37401 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37403 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37404 for ac_func in _log10l
37405 do :
37406 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37407 if test "x$ac_cv_func__log10l" = x""yes; then :
37408 cat >>confdefs.h <<_ACEOF
37409 #define HAVE__LOG10L 1
37410 _ACEOF
37413 done
37422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37423 $as_echo_n "checking for modfl declaration... " >&6; }
37424 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37425 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37426 $as_echo_n "(cached) " >&6
37427 else
37430 ac_ext=cpp
37431 ac_cpp='$CXXCPP $CPPFLAGS'
37432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37437 /* end confdefs.h. */
37438 #include <math.h>
37440 main ()
37442 modfl(0, 0);
37444 return 0;
37446 _ACEOF
37447 if ac_fn_cxx_try_compile "$LINENO"; then :
37448 glibcxx_cv_func_modfl_use=yes
37449 else
37450 glibcxx_cv_func_modfl_use=no
37452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37453 ac_ext=c
37454 ac_cpp='$CPP $CPPFLAGS'
37455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37464 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37466 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37467 for ac_func in modfl
37468 do :
37469 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37470 if test "x$ac_cv_func_modfl" = x""yes; then :
37471 cat >>confdefs.h <<_ACEOF
37472 #define HAVE_MODFL 1
37473 _ACEOF
37476 done
37478 else
37480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37481 $as_echo_n "checking for _modfl declaration... " >&6; }
37482 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37483 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37484 $as_echo_n "(cached) " >&6
37485 else
37488 ac_ext=cpp
37489 ac_cpp='$CXXCPP $CPPFLAGS'
37490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37495 /* end confdefs.h. */
37496 #include <math.h>
37498 main ()
37500 _modfl(0, 0);
37502 return 0;
37504 _ACEOF
37505 if ac_fn_cxx_try_compile "$LINENO"; then :
37506 glibcxx_cv_func__modfl_use=yes
37507 else
37508 glibcxx_cv_func__modfl_use=no
37510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37511 ac_ext=c
37512 ac_cpp='$CPP $CPPFLAGS'
37513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37522 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37524 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37525 for ac_func in _modfl
37526 do :
37527 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37528 if test "x$ac_cv_func__modfl" = x""yes; then :
37529 cat >>confdefs.h <<_ACEOF
37530 #define HAVE__MODFL 1
37531 _ACEOF
37534 done
37543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37544 $as_echo_n "checking for powl declaration... " >&6; }
37545 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37546 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37547 $as_echo_n "(cached) " >&6
37548 else
37551 ac_ext=cpp
37552 ac_cpp='$CXXCPP $CPPFLAGS'
37553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37558 /* end confdefs.h. */
37559 #include <math.h>
37561 main ()
37563 powl(0, 0);
37565 return 0;
37567 _ACEOF
37568 if ac_fn_cxx_try_compile "$LINENO"; then :
37569 glibcxx_cv_func_powl_use=yes
37570 else
37571 glibcxx_cv_func_powl_use=no
37573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37574 ac_ext=c
37575 ac_cpp='$CPP $CPPFLAGS'
37576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37585 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37587 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37588 for ac_func in powl
37589 do :
37590 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37591 if test "x$ac_cv_func_powl" = x""yes; then :
37592 cat >>confdefs.h <<_ACEOF
37593 #define HAVE_POWL 1
37594 _ACEOF
37597 done
37599 else
37601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37602 $as_echo_n "checking for _powl declaration... " >&6; }
37603 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37604 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37605 $as_echo_n "(cached) " >&6
37606 else
37609 ac_ext=cpp
37610 ac_cpp='$CXXCPP $CPPFLAGS'
37611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37616 /* end confdefs.h. */
37617 #include <math.h>
37619 main ()
37621 _powl(0, 0);
37623 return 0;
37625 _ACEOF
37626 if ac_fn_cxx_try_compile "$LINENO"; then :
37627 glibcxx_cv_func__powl_use=yes
37628 else
37629 glibcxx_cv_func__powl_use=no
37631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37632 ac_ext=c
37633 ac_cpp='$CPP $CPPFLAGS'
37634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37643 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37645 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37646 for ac_func in _powl
37647 do :
37648 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37649 if test "x$ac_cv_func__powl" = x""yes; then :
37650 cat >>confdefs.h <<_ACEOF
37651 #define HAVE__POWL 1
37652 _ACEOF
37655 done
37664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37665 $as_echo_n "checking for sqrtl declaration... " >&6; }
37666 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37667 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37668 $as_echo_n "(cached) " >&6
37669 else
37672 ac_ext=cpp
37673 ac_cpp='$CXXCPP $CPPFLAGS'
37674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37679 /* end confdefs.h. */
37680 #include <math.h>
37681 #ifdef HAVE_IEEEFP_H
37682 #include <ieeefp.h>
37683 #endif
37686 main ()
37688 sqrtl(0);
37690 return 0;
37692 _ACEOF
37693 if ac_fn_cxx_try_compile "$LINENO"; then :
37694 glibcxx_cv_func_sqrtl_use=yes
37695 else
37696 glibcxx_cv_func_sqrtl_use=no
37698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37699 ac_ext=c
37700 ac_cpp='$CPP $CPPFLAGS'
37701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37710 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37712 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37713 for ac_func in sqrtl
37714 do :
37715 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37716 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37717 cat >>confdefs.h <<_ACEOF
37718 #define HAVE_SQRTL 1
37719 _ACEOF
37722 done
37724 else
37726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37727 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37728 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37729 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37730 $as_echo_n "(cached) " >&6
37731 else
37734 ac_ext=cpp
37735 ac_cpp='$CXXCPP $CPPFLAGS'
37736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37741 /* end confdefs.h. */
37742 #include <math.h>
37743 #ifdef HAVE_IEEEFP_H
37744 #include <ieeefp.h>
37745 #endif
37748 main ()
37750 _sqrtl(0);
37752 return 0;
37754 _ACEOF
37755 if ac_fn_cxx_try_compile "$LINENO"; then :
37756 glibcxx_cv_func__sqrtl_use=yes
37757 else
37758 glibcxx_cv_func__sqrtl_use=no
37760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37761 ac_ext=c
37762 ac_cpp='$CPP $CPPFLAGS'
37763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37772 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37774 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37775 for ac_func in _sqrtl
37776 do :
37777 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37778 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37779 cat >>confdefs.h <<_ACEOF
37780 #define HAVE__SQRTL 1
37781 _ACEOF
37784 done
37793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37794 $as_echo_n "checking for sincosl declaration... " >&6; }
37795 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37796 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37797 $as_echo_n "(cached) " >&6
37798 else
37801 ac_ext=cpp
37802 ac_cpp='$CXXCPP $CPPFLAGS'
37803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37808 /* end confdefs.h. */
37809 #include <math.h>
37811 main ()
37813 sincosl(0, 0, 0);
37815 return 0;
37817 _ACEOF
37818 if ac_fn_cxx_try_compile "$LINENO"; then :
37819 glibcxx_cv_func_sincosl_use=yes
37820 else
37821 glibcxx_cv_func_sincosl_use=no
37823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37824 ac_ext=c
37825 ac_cpp='$CPP $CPPFLAGS'
37826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37835 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37837 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37838 for ac_func in sincosl
37839 do :
37840 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37841 if test "x$ac_cv_func_sincosl" = x""yes; then :
37842 cat >>confdefs.h <<_ACEOF
37843 #define HAVE_SINCOSL 1
37844 _ACEOF
37847 done
37849 else
37851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37852 $as_echo_n "checking for _sincosl declaration... " >&6; }
37853 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37854 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37855 $as_echo_n "(cached) " >&6
37856 else
37859 ac_ext=cpp
37860 ac_cpp='$CXXCPP $CPPFLAGS'
37861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37866 /* end confdefs.h. */
37867 #include <math.h>
37869 main ()
37871 _sincosl(0, 0, 0);
37873 return 0;
37875 _ACEOF
37876 if ac_fn_cxx_try_compile "$LINENO"; then :
37877 glibcxx_cv_func__sincosl_use=yes
37878 else
37879 glibcxx_cv_func__sincosl_use=no
37881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37882 ac_ext=c
37883 ac_cpp='$CPP $CPPFLAGS'
37884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37893 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37895 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37896 for ac_func in _sincosl
37897 do :
37898 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37899 if test "x$ac_cv_func__sincosl" = x""yes; then :
37900 cat >>confdefs.h <<_ACEOF
37901 #define HAVE__SINCOSL 1
37902 _ACEOF
37905 done
37914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37915 $as_echo_n "checking for finitel declaration... " >&6; }
37916 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37917 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37918 $as_echo_n "(cached) " >&6
37919 else
37922 ac_ext=cpp
37923 ac_cpp='$CXXCPP $CPPFLAGS'
37924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37929 /* end confdefs.h. */
37930 #include <math.h>
37931 #ifdef HAVE_IEEEFP_H
37932 #include <ieeefp.h>
37933 #endif
37936 main ()
37938 finitel(0);
37940 return 0;
37942 _ACEOF
37943 if ac_fn_cxx_try_compile "$LINENO"; then :
37944 glibcxx_cv_func_finitel_use=yes
37945 else
37946 glibcxx_cv_func_finitel_use=no
37948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37949 ac_ext=c
37950 ac_cpp='$CPP $CPPFLAGS'
37951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37960 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37962 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37963 for ac_func in finitel
37964 do :
37965 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37966 if test "x$ac_cv_func_finitel" = x""yes; then :
37967 cat >>confdefs.h <<_ACEOF
37968 #define HAVE_FINITEL 1
37969 _ACEOF
37972 done
37974 else
37976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37977 $as_echo_n "checking for _finitel declaration... " >&6; }
37978 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37979 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37980 $as_echo_n "(cached) " >&6
37981 else
37984 ac_ext=cpp
37985 ac_cpp='$CXXCPP $CPPFLAGS'
37986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37991 /* end confdefs.h. */
37992 #include <math.h>
37993 #ifdef HAVE_IEEEFP_H
37994 #include <ieeefp.h>
37995 #endif
37998 main ()
38000 _finitel(0);
38002 return 0;
38004 _ACEOF
38005 if ac_fn_cxx_try_compile "$LINENO"; then :
38006 glibcxx_cv_func__finitel_use=yes
38007 else
38008 glibcxx_cv_func__finitel_use=no
38010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38011 ac_ext=c
38012 ac_cpp='$CPP $CPPFLAGS'
38013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38022 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38024 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38025 for ac_func in _finitel
38026 do :
38027 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38028 if test "x$ac_cv_func__finitel" = x""yes; then :
38029 cat >>confdefs.h <<_ACEOF
38030 #define HAVE__FINITEL 1
38031 _ACEOF
38034 done
38042 LIBS="$ac_save_LIBS"
38043 CXXFLAGS="$ac_save_CXXFLAGS"
38046 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38047 ac_save_CXXFLAGS="$CXXFLAGS"
38048 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38052 $as_echo_n "checking for strtold declaration... " >&6; }
38053 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38054 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38055 $as_echo_n "(cached) " >&6
38056 else
38059 ac_ext=cpp
38060 ac_cpp='$CXXCPP $CPPFLAGS'
38061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38066 /* end confdefs.h. */
38067 #include <stdlib.h>
38069 main ()
38071 strtold(0, 0);
38073 return 0;
38075 _ACEOF
38076 if ac_fn_cxx_try_compile "$LINENO"; then :
38077 glibcxx_cv_func_strtold_use=yes
38078 else
38079 glibcxx_cv_func_strtold_use=no
38081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38082 ac_ext=c
38083 ac_cpp='$CPP $CPPFLAGS'
38084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38093 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38094 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38095 for ac_func in strtold
38096 do :
38097 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38098 if test "x$ac_cv_func_strtold" = x""yes; then :
38099 cat >>confdefs.h <<_ACEOF
38100 #define HAVE_STRTOLD 1
38101 _ACEOF
38104 done
38111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38112 $as_echo_n "checking for strtof declaration... " >&6; }
38113 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38114 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38115 $as_echo_n "(cached) " >&6
38116 else
38119 ac_ext=cpp
38120 ac_cpp='$CXXCPP $CPPFLAGS'
38121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38126 /* end confdefs.h. */
38127 #include <stdlib.h>
38129 main ()
38131 strtof(0, 0);
38133 return 0;
38135 _ACEOF
38136 if ac_fn_cxx_try_compile "$LINENO"; then :
38137 glibcxx_cv_func_strtof_use=yes
38138 else
38139 glibcxx_cv_func_strtof_use=no
38141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38142 ac_ext=c
38143 ac_cpp='$CPP $CPPFLAGS'
38144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38153 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38154 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38155 for ac_func in strtof
38156 do :
38157 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38158 if test "x$ac_cv_func_strtof" = x""yes; then :
38159 cat >>confdefs.h <<_ACEOF
38160 #define HAVE_STRTOF 1
38161 _ACEOF
38164 done
38171 CXXFLAGS="$ac_save_CXXFLAGS"
38173 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38175 # We don't yet support AIX's TLS ABI.
38176 #GCC_CHECK_TLS
38182 am_save_CPPFLAGS="$CPPFLAGS"
38184 for element in $INCICONV; do
38185 haveit=
38186 for x in $CPPFLAGS; do
38188 acl_save_prefix="$prefix"
38189 prefix="$acl_final_prefix"
38190 acl_save_exec_prefix="$exec_prefix"
38191 exec_prefix="$acl_final_exec_prefix"
38192 eval x=\"$x\"
38193 exec_prefix="$acl_save_exec_prefix"
38194 prefix="$acl_save_prefix"
38196 if test "X$x" = "X$element"; then
38197 haveit=yes
38198 break
38200 done
38201 if test -z "$haveit"; then
38202 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38204 done
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38208 $as_echo_n "checking for iconv... " >&6; }
38209 if test "${am_cv_func_iconv+set}" = set; then :
38210 $as_echo_n "(cached) " >&6
38211 else
38213 am_cv_func_iconv="no, consider installing GNU libiconv"
38214 am_cv_lib_iconv=no
38215 if test x$gcc_no_link = xyes; then
38216 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38219 /* end confdefs.h. */
38220 #include <stdlib.h>
38221 #include <iconv.h>
38223 main ()
38225 iconv_t cd = iconv_open("","");
38226 iconv(cd,NULL,NULL,NULL,NULL);
38227 iconv_close(cd);
38229 return 0;
38231 _ACEOF
38232 if ac_fn_c_try_link "$LINENO"; then :
38233 am_cv_func_iconv=yes
38235 rm -f core conftest.err conftest.$ac_objext \
38236 conftest$ac_exeext conftest.$ac_ext
38237 if test "$am_cv_func_iconv" != yes; then
38238 am_save_LIBS="$LIBS"
38239 LIBS="$LIBS $LIBICONV"
38240 if test x$gcc_no_link = xyes; then
38241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38244 /* end confdefs.h. */
38245 #include <stdlib.h>
38246 #include <iconv.h>
38248 main ()
38250 iconv_t cd = iconv_open("","");
38251 iconv(cd,NULL,NULL,NULL,NULL);
38252 iconv_close(cd);
38254 return 0;
38256 _ACEOF
38257 if ac_fn_c_try_link "$LINENO"; then :
38258 am_cv_lib_iconv=yes
38259 am_cv_func_iconv=yes
38261 rm -f core conftest.err conftest.$ac_objext \
38262 conftest$ac_exeext conftest.$ac_ext
38263 LIBS="$am_save_LIBS"
38267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38268 $as_echo "$am_cv_func_iconv" >&6; }
38269 if test "$am_cv_func_iconv" = yes; then
38271 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38274 if test "$am_cv_lib_iconv" = yes; then
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38276 $as_echo_n "checking how to link with libiconv... " >&6; }
38277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38278 $as_echo "$LIBICONV" >&6; }
38279 else
38280 CPPFLAGS="$am_save_CPPFLAGS"
38281 LIBICONV=
38282 LTLIBICONV=
38287 if test "$am_cv_func_iconv" = yes; then
38288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38289 $as_echo_n "checking for iconv declaration... " >&6; }
38290 if test "${am_cv_proto_iconv+set}" = set; then :
38291 $as_echo_n "(cached) " >&6
38292 else
38294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38295 /* end confdefs.h. */
38297 #include <stdlib.h>
38298 #include <iconv.h>
38299 extern
38300 #ifdef __cplusplus
38302 #endif
38303 #if defined(__STDC__) || defined(__cplusplus)
38304 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38305 #else
38306 size_t iconv();
38307 #endif
38310 main ()
38314 return 0;
38316 _ACEOF
38317 if ac_fn_c_try_compile "$LINENO"; then :
38318 am_cv_proto_iconv_arg1=""
38319 else
38320 am_cv_proto_iconv_arg1="const"
38322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38323 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);"
38326 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38328 }$am_cv_proto_iconv" >&5
38329 $as_echo "${ac_t:-
38330 }$am_cv_proto_iconv" >&6; }
38332 cat >>confdefs.h <<_ACEOF
38333 #define ICONV_CONST $am_cv_proto_iconv_arg1
38334 _ACEOF
38340 *-darwin*)
38341 # Darwin versions vary, but the linker should work in a cross environment,
38342 # so we just check for all the features here.
38343 # Check for available headers.
38345 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38347 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38348 ac_save_CXXFLAGS="$CXXFLAGS"
38349 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38352 $as_echo_n "checking for sin in -lm... " >&6; }
38353 if test "${ac_cv_lib_m_sin+set}" = set; then :
38354 $as_echo_n "(cached) " >&6
38355 else
38356 ac_check_lib_save_LIBS=$LIBS
38357 LIBS="-lm $LIBS"
38358 if test x$gcc_no_link = xyes; then
38359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38362 /* end confdefs.h. */
38364 /* Override any GCC internal prototype to avoid an error.
38365 Use char because int might match the return type of a GCC
38366 builtin and then its argument prototype would still apply. */
38367 #ifdef __cplusplus
38368 extern "C"
38369 #endif
38370 char sin ();
38372 main ()
38374 return sin ();
38376 return 0;
38378 _ACEOF
38379 if ac_fn_c_try_link "$LINENO"; then :
38380 ac_cv_lib_m_sin=yes
38381 else
38382 ac_cv_lib_m_sin=no
38384 rm -f core conftest.err conftest.$ac_objext \
38385 conftest$ac_exeext conftest.$ac_ext
38386 LIBS=$ac_check_lib_save_LIBS
38388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38389 $as_echo "$ac_cv_lib_m_sin" >&6; }
38390 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38391 libm="-lm"
38394 ac_save_LIBS="$LIBS"
38395 LIBS="$LIBS $libm"
38399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38400 $as_echo_n "checking for isinf declaration... " >&6; }
38401 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38402 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38403 $as_echo_n "(cached) " >&6
38404 else
38407 ac_ext=cpp
38408 ac_cpp='$CXXCPP $CPPFLAGS'
38409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38414 /* end confdefs.h. */
38415 #include <math.h>
38416 #ifdef HAVE_IEEEFP_H
38417 #include <ieeefp.h>
38418 #endif
38421 main ()
38423 isinf(0);
38425 return 0;
38427 _ACEOF
38428 if ac_fn_cxx_try_compile "$LINENO"; then :
38429 glibcxx_cv_func_isinf_use=yes
38430 else
38431 glibcxx_cv_func_isinf_use=no
38433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38434 ac_ext=c
38435 ac_cpp='$CPP $CPPFLAGS'
38436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38445 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38447 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38448 for ac_func in isinf
38449 do :
38450 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38451 if test "x$ac_cv_func_isinf" = x""yes; then :
38452 cat >>confdefs.h <<_ACEOF
38453 #define HAVE_ISINF 1
38454 _ACEOF
38457 done
38459 else
38461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38462 $as_echo_n "checking for _isinf declaration... " >&6; }
38463 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38464 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38465 $as_echo_n "(cached) " >&6
38466 else
38469 ac_ext=cpp
38470 ac_cpp='$CXXCPP $CPPFLAGS'
38471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38476 /* end confdefs.h. */
38477 #include <math.h>
38478 #ifdef HAVE_IEEEFP_H
38479 #include <ieeefp.h>
38480 #endif
38483 main ()
38485 _isinf(0);
38487 return 0;
38489 _ACEOF
38490 if ac_fn_cxx_try_compile "$LINENO"; then :
38491 glibcxx_cv_func__isinf_use=yes
38492 else
38493 glibcxx_cv_func__isinf_use=no
38495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38496 ac_ext=c
38497 ac_cpp='$CPP $CPPFLAGS'
38498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38507 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38509 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38510 for ac_func in _isinf
38511 do :
38512 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38513 if test "x$ac_cv_func__isinf" = x""yes; then :
38514 cat >>confdefs.h <<_ACEOF
38515 #define HAVE__ISINF 1
38516 _ACEOF
38519 done
38528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38529 $as_echo_n "checking for isnan declaration... " >&6; }
38530 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38531 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38532 $as_echo_n "(cached) " >&6
38533 else
38536 ac_ext=cpp
38537 ac_cpp='$CXXCPP $CPPFLAGS'
38538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38543 /* end confdefs.h. */
38544 #include <math.h>
38545 #ifdef HAVE_IEEEFP_H
38546 #include <ieeefp.h>
38547 #endif
38550 main ()
38552 isnan(0);
38554 return 0;
38556 _ACEOF
38557 if ac_fn_cxx_try_compile "$LINENO"; then :
38558 glibcxx_cv_func_isnan_use=yes
38559 else
38560 glibcxx_cv_func_isnan_use=no
38562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38563 ac_ext=c
38564 ac_cpp='$CPP $CPPFLAGS'
38565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38574 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38576 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38577 for ac_func in isnan
38578 do :
38579 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38580 if test "x$ac_cv_func_isnan" = x""yes; then :
38581 cat >>confdefs.h <<_ACEOF
38582 #define HAVE_ISNAN 1
38583 _ACEOF
38586 done
38588 else
38590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38591 $as_echo_n "checking for _isnan declaration... " >&6; }
38592 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38593 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38594 $as_echo_n "(cached) " >&6
38595 else
38598 ac_ext=cpp
38599 ac_cpp='$CXXCPP $CPPFLAGS'
38600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38605 /* end confdefs.h. */
38606 #include <math.h>
38607 #ifdef HAVE_IEEEFP_H
38608 #include <ieeefp.h>
38609 #endif
38612 main ()
38614 _isnan(0);
38616 return 0;
38618 _ACEOF
38619 if ac_fn_cxx_try_compile "$LINENO"; then :
38620 glibcxx_cv_func__isnan_use=yes
38621 else
38622 glibcxx_cv_func__isnan_use=no
38624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38625 ac_ext=c
38626 ac_cpp='$CPP $CPPFLAGS'
38627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38636 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38638 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38639 for ac_func in _isnan
38640 do :
38641 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38642 if test "x$ac_cv_func__isnan" = x""yes; then :
38643 cat >>confdefs.h <<_ACEOF
38644 #define HAVE__ISNAN 1
38645 _ACEOF
38648 done
38657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38658 $as_echo_n "checking for finite declaration... " >&6; }
38659 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38660 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38661 $as_echo_n "(cached) " >&6
38662 else
38665 ac_ext=cpp
38666 ac_cpp='$CXXCPP $CPPFLAGS'
38667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38672 /* end confdefs.h. */
38673 #include <math.h>
38674 #ifdef HAVE_IEEEFP_H
38675 #include <ieeefp.h>
38676 #endif
38679 main ()
38681 finite(0);
38683 return 0;
38685 _ACEOF
38686 if ac_fn_cxx_try_compile "$LINENO"; then :
38687 glibcxx_cv_func_finite_use=yes
38688 else
38689 glibcxx_cv_func_finite_use=no
38691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38692 ac_ext=c
38693 ac_cpp='$CPP $CPPFLAGS'
38694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38703 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38705 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38706 for ac_func in finite
38707 do :
38708 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38709 if test "x$ac_cv_func_finite" = x""yes; then :
38710 cat >>confdefs.h <<_ACEOF
38711 #define HAVE_FINITE 1
38712 _ACEOF
38715 done
38717 else
38719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38720 $as_echo_n "checking for _finite declaration... " >&6; }
38721 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38722 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38723 $as_echo_n "(cached) " >&6
38724 else
38727 ac_ext=cpp
38728 ac_cpp='$CXXCPP $CPPFLAGS'
38729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38734 /* end confdefs.h. */
38735 #include <math.h>
38736 #ifdef HAVE_IEEEFP_H
38737 #include <ieeefp.h>
38738 #endif
38741 main ()
38743 _finite(0);
38745 return 0;
38747 _ACEOF
38748 if ac_fn_cxx_try_compile "$LINENO"; then :
38749 glibcxx_cv_func__finite_use=yes
38750 else
38751 glibcxx_cv_func__finite_use=no
38753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38754 ac_ext=c
38755 ac_cpp='$CPP $CPPFLAGS'
38756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38765 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38767 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38768 for ac_func in _finite
38769 do :
38770 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38771 if test "x$ac_cv_func__finite" = x""yes; then :
38772 cat >>confdefs.h <<_ACEOF
38773 #define HAVE__FINITE 1
38774 _ACEOF
38777 done
38786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38787 $as_echo_n "checking for sincos declaration... " >&6; }
38788 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38789 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38790 $as_echo_n "(cached) " >&6
38791 else
38794 ac_ext=cpp
38795 ac_cpp='$CXXCPP $CPPFLAGS'
38796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38801 /* end confdefs.h. */
38802 #include <math.h>
38804 main ()
38806 sincos(0, 0, 0);
38808 return 0;
38810 _ACEOF
38811 if ac_fn_cxx_try_compile "$LINENO"; then :
38812 glibcxx_cv_func_sincos_use=yes
38813 else
38814 glibcxx_cv_func_sincos_use=no
38816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38817 ac_ext=c
38818 ac_cpp='$CPP $CPPFLAGS'
38819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38828 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38830 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38831 for ac_func in sincos
38832 do :
38833 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38834 if test "x$ac_cv_func_sincos" = x""yes; then :
38835 cat >>confdefs.h <<_ACEOF
38836 #define HAVE_SINCOS 1
38837 _ACEOF
38840 done
38842 else
38844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38845 $as_echo_n "checking for _sincos declaration... " >&6; }
38846 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38847 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38848 $as_echo_n "(cached) " >&6
38849 else
38852 ac_ext=cpp
38853 ac_cpp='$CXXCPP $CPPFLAGS'
38854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38859 /* end confdefs.h. */
38860 #include <math.h>
38862 main ()
38864 _sincos(0, 0, 0);
38866 return 0;
38868 _ACEOF
38869 if ac_fn_cxx_try_compile "$LINENO"; then :
38870 glibcxx_cv_func__sincos_use=yes
38871 else
38872 glibcxx_cv_func__sincos_use=no
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38875 ac_ext=c
38876 ac_cpp='$CPP $CPPFLAGS'
38877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38886 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38888 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38889 for ac_func in _sincos
38890 do :
38891 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38892 if test "x$ac_cv_func__sincos" = x""yes; then :
38893 cat >>confdefs.h <<_ACEOF
38894 #define HAVE__SINCOS 1
38895 _ACEOF
38898 done
38907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38908 $as_echo_n "checking for fpclass declaration... " >&6; }
38909 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38910 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38911 $as_echo_n "(cached) " >&6
38912 else
38915 ac_ext=cpp
38916 ac_cpp='$CXXCPP $CPPFLAGS'
38917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38922 /* end confdefs.h. */
38923 #include <math.h>
38924 #ifdef HAVE_IEEEFP_H
38925 #include <ieeefp.h>
38926 #endif
38929 main ()
38931 fpclass(0);
38933 return 0;
38935 _ACEOF
38936 if ac_fn_cxx_try_compile "$LINENO"; then :
38937 glibcxx_cv_func_fpclass_use=yes
38938 else
38939 glibcxx_cv_func_fpclass_use=no
38941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38942 ac_ext=c
38943 ac_cpp='$CPP $CPPFLAGS'
38944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38953 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38955 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38956 for ac_func in fpclass
38957 do :
38958 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38959 if test "x$ac_cv_func_fpclass" = x""yes; then :
38960 cat >>confdefs.h <<_ACEOF
38961 #define HAVE_FPCLASS 1
38962 _ACEOF
38965 done
38967 else
38969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38970 $as_echo_n "checking for _fpclass declaration... " >&6; }
38971 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38972 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38973 $as_echo_n "(cached) " >&6
38974 else
38977 ac_ext=cpp
38978 ac_cpp='$CXXCPP $CPPFLAGS'
38979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38984 /* end confdefs.h. */
38985 #include <math.h>
38986 #ifdef HAVE_IEEEFP_H
38987 #include <ieeefp.h>
38988 #endif
38991 main ()
38993 _fpclass(0);
38995 return 0;
38997 _ACEOF
38998 if ac_fn_cxx_try_compile "$LINENO"; then :
38999 glibcxx_cv_func__fpclass_use=yes
39000 else
39001 glibcxx_cv_func__fpclass_use=no
39003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39004 ac_ext=c
39005 ac_cpp='$CPP $CPPFLAGS'
39006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39015 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39017 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39018 for ac_func in _fpclass
39019 do :
39020 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39021 if test "x$ac_cv_func__fpclass" = x""yes; then :
39022 cat >>confdefs.h <<_ACEOF
39023 #define HAVE__FPCLASS 1
39024 _ACEOF
39027 done
39036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39037 $as_echo_n "checking for qfpclass declaration... " >&6; }
39038 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39039 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39040 $as_echo_n "(cached) " >&6
39041 else
39044 ac_ext=cpp
39045 ac_cpp='$CXXCPP $CPPFLAGS'
39046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39051 /* end confdefs.h. */
39052 #include <math.h>
39053 #ifdef HAVE_IEEEFP_H
39054 #include <ieeefp.h>
39055 #endif
39058 main ()
39060 qfpclass(0);
39062 return 0;
39064 _ACEOF
39065 if ac_fn_cxx_try_compile "$LINENO"; then :
39066 glibcxx_cv_func_qfpclass_use=yes
39067 else
39068 glibcxx_cv_func_qfpclass_use=no
39070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39071 ac_ext=c
39072 ac_cpp='$CPP $CPPFLAGS'
39073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39082 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39084 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39085 for ac_func in qfpclass
39086 do :
39087 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39088 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39089 cat >>confdefs.h <<_ACEOF
39090 #define HAVE_QFPCLASS 1
39091 _ACEOF
39094 done
39096 else
39098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39099 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39100 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39101 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39102 $as_echo_n "(cached) " >&6
39103 else
39106 ac_ext=cpp
39107 ac_cpp='$CXXCPP $CPPFLAGS'
39108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39113 /* end confdefs.h. */
39114 #include <math.h>
39115 #ifdef HAVE_IEEEFP_H
39116 #include <ieeefp.h>
39117 #endif
39120 main ()
39122 _qfpclass(0);
39124 return 0;
39126 _ACEOF
39127 if ac_fn_cxx_try_compile "$LINENO"; then :
39128 glibcxx_cv_func__qfpclass_use=yes
39129 else
39130 glibcxx_cv_func__qfpclass_use=no
39132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39133 ac_ext=c
39134 ac_cpp='$CPP $CPPFLAGS'
39135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39144 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39146 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39147 for ac_func in _qfpclass
39148 do :
39149 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39150 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39151 cat >>confdefs.h <<_ACEOF
39152 #define HAVE__QFPCLASS 1
39153 _ACEOF
39156 done
39165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39166 $as_echo_n "checking for hypot declaration... " >&6; }
39167 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39168 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39169 $as_echo_n "(cached) " >&6
39170 else
39173 ac_ext=cpp
39174 ac_cpp='$CXXCPP $CPPFLAGS'
39175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39180 /* end confdefs.h. */
39181 #include <math.h>
39183 main ()
39185 hypot(0, 0);
39187 return 0;
39189 _ACEOF
39190 if ac_fn_cxx_try_compile "$LINENO"; then :
39191 glibcxx_cv_func_hypot_use=yes
39192 else
39193 glibcxx_cv_func_hypot_use=no
39195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39196 ac_ext=c
39197 ac_cpp='$CPP $CPPFLAGS'
39198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39207 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39209 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39210 for ac_func in hypot
39211 do :
39212 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39213 if test "x$ac_cv_func_hypot" = x""yes; then :
39214 cat >>confdefs.h <<_ACEOF
39215 #define HAVE_HYPOT 1
39216 _ACEOF
39219 done
39221 else
39223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39224 $as_echo_n "checking for _hypot declaration... " >&6; }
39225 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39226 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39227 $as_echo_n "(cached) " >&6
39228 else
39231 ac_ext=cpp
39232 ac_cpp='$CXXCPP $CPPFLAGS'
39233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39238 /* end confdefs.h. */
39239 #include <math.h>
39241 main ()
39243 _hypot(0, 0);
39245 return 0;
39247 _ACEOF
39248 if ac_fn_cxx_try_compile "$LINENO"; then :
39249 glibcxx_cv_func__hypot_use=yes
39250 else
39251 glibcxx_cv_func__hypot_use=no
39253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39254 ac_ext=c
39255 ac_cpp='$CPP $CPPFLAGS'
39256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39265 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39267 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39268 for ac_func in _hypot
39269 do :
39270 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39271 if test "x$ac_cv_func__hypot" = x""yes; then :
39272 cat >>confdefs.h <<_ACEOF
39273 #define HAVE__HYPOT 1
39274 _ACEOF
39277 done
39286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39287 $as_echo_n "checking for float trig functions... " >&6; }
39288 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39289 $as_echo_n "(cached) " >&6
39290 else
39293 ac_ext=cpp
39294 ac_cpp='$CXXCPP $CPPFLAGS'
39295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39300 /* end confdefs.h. */
39301 #include <math.h>
39303 main ()
39305 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39307 return 0;
39309 _ACEOF
39310 if ac_fn_cxx_try_compile "$LINENO"; then :
39311 glibcxx_cv_func_float_trig_use=yes
39312 else
39313 glibcxx_cv_func_float_trig_use=no
39315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39316 ac_ext=c
39317 ac_cpp='$CPP $CPPFLAGS'
39318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39325 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39326 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39327 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39328 do :
39329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39331 eval as_val=\$$as_ac_var
39332 if test "x$as_val" = x""yes; then :
39333 cat >>confdefs.h <<_ACEOF
39334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39335 _ACEOF
39338 done
39340 else
39341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39342 $as_echo_n "checking for _float trig functions... " >&6; }
39343 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39344 $as_echo_n "(cached) " >&6
39345 else
39348 ac_ext=cpp
39349 ac_cpp='$CXXCPP $CPPFLAGS'
39350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39355 /* end confdefs.h. */
39356 #include <math.h>
39358 main ()
39360 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39362 return 0;
39364 _ACEOF
39365 if ac_fn_cxx_try_compile "$LINENO"; then :
39366 glibcxx_cv_func__float_trig_use=yes
39367 else
39368 glibcxx_cv_func__float_trig_use=no
39370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39371 ac_ext=c
39372 ac_cpp='$CPP $CPPFLAGS'
39373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39380 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39381 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39382 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39383 do :
39384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39386 eval as_val=\$$as_ac_var
39387 if test "x$as_val" = x""yes; then :
39388 cat >>confdefs.h <<_ACEOF
39389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39390 _ACEOF
39393 done
39402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39403 $as_echo_n "checking for float round functions... " >&6; }
39404 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39405 $as_echo_n "(cached) " >&6
39406 else
39409 ac_ext=cpp
39410 ac_cpp='$CXXCPP $CPPFLAGS'
39411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39416 /* end confdefs.h. */
39417 #include <math.h>
39419 main ()
39421 ceilf (0); floorf (0);
39423 return 0;
39425 _ACEOF
39426 if ac_fn_cxx_try_compile "$LINENO"; then :
39427 glibcxx_cv_func_float_round_use=yes
39428 else
39429 glibcxx_cv_func_float_round_use=no
39431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39432 ac_ext=c
39433 ac_cpp='$CPP $CPPFLAGS'
39434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39441 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39442 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39443 for ac_func in ceilf floorf
39444 do :
39445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39447 eval as_val=\$$as_ac_var
39448 if test "x$as_val" = x""yes; then :
39449 cat >>confdefs.h <<_ACEOF
39450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39451 _ACEOF
39454 done
39456 else
39457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39458 $as_echo_n "checking for _float round functions... " >&6; }
39459 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39460 $as_echo_n "(cached) " >&6
39461 else
39464 ac_ext=cpp
39465 ac_cpp='$CXXCPP $CPPFLAGS'
39466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39471 /* end confdefs.h. */
39472 #include <math.h>
39474 main ()
39476 _ceilf (0); _floorf (0);
39478 return 0;
39480 _ACEOF
39481 if ac_fn_cxx_try_compile "$LINENO"; then :
39482 glibcxx_cv_func__float_round_use=yes
39483 else
39484 glibcxx_cv_func__float_round_use=no
39486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39487 ac_ext=c
39488 ac_cpp='$CPP $CPPFLAGS'
39489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39496 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39497 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39498 for ac_func in _ceilf _floorf
39499 do :
39500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39502 eval as_val=\$$as_ac_var
39503 if test "x$as_val" = x""yes; then :
39504 cat >>confdefs.h <<_ACEOF
39505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39506 _ACEOF
39509 done
39519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39520 $as_echo_n "checking for expf declaration... " >&6; }
39521 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39522 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39523 $as_echo_n "(cached) " >&6
39524 else
39527 ac_ext=cpp
39528 ac_cpp='$CXXCPP $CPPFLAGS'
39529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39534 /* end confdefs.h. */
39535 #include <math.h>
39536 #ifdef HAVE_IEEEFP_H
39537 #include <ieeefp.h>
39538 #endif
39541 main ()
39543 expf(0);
39545 return 0;
39547 _ACEOF
39548 if ac_fn_cxx_try_compile "$LINENO"; then :
39549 glibcxx_cv_func_expf_use=yes
39550 else
39551 glibcxx_cv_func_expf_use=no
39553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39554 ac_ext=c
39555 ac_cpp='$CPP $CPPFLAGS'
39556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39565 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39567 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39568 for ac_func in expf
39569 do :
39570 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39571 if test "x$ac_cv_func_expf" = x""yes; then :
39572 cat >>confdefs.h <<_ACEOF
39573 #define HAVE_EXPF 1
39574 _ACEOF
39577 done
39579 else
39581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39582 $as_echo_n "checking for _expf declaration... " >&6; }
39583 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39584 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39585 $as_echo_n "(cached) " >&6
39586 else
39589 ac_ext=cpp
39590 ac_cpp='$CXXCPP $CPPFLAGS'
39591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39596 /* end confdefs.h. */
39597 #include <math.h>
39598 #ifdef HAVE_IEEEFP_H
39599 #include <ieeefp.h>
39600 #endif
39603 main ()
39605 _expf(0);
39607 return 0;
39609 _ACEOF
39610 if ac_fn_cxx_try_compile "$LINENO"; then :
39611 glibcxx_cv_func__expf_use=yes
39612 else
39613 glibcxx_cv_func__expf_use=no
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39616 ac_ext=c
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39627 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39629 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39630 for ac_func in _expf
39631 do :
39632 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39633 if test "x$ac_cv_func__expf" = x""yes; then :
39634 cat >>confdefs.h <<_ACEOF
39635 #define HAVE__EXPF 1
39636 _ACEOF
39639 done
39648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39649 $as_echo_n "checking for isnanf declaration... " >&6; }
39650 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39651 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39652 $as_echo_n "(cached) " >&6
39653 else
39656 ac_ext=cpp
39657 ac_cpp='$CXXCPP $CPPFLAGS'
39658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39663 /* end confdefs.h. */
39664 #include <math.h>
39665 #ifdef HAVE_IEEEFP_H
39666 #include <ieeefp.h>
39667 #endif
39670 main ()
39672 isnanf(0);
39674 return 0;
39676 _ACEOF
39677 if ac_fn_cxx_try_compile "$LINENO"; then :
39678 glibcxx_cv_func_isnanf_use=yes
39679 else
39680 glibcxx_cv_func_isnanf_use=no
39682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39683 ac_ext=c
39684 ac_cpp='$CPP $CPPFLAGS'
39685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39694 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39696 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39697 for ac_func in isnanf
39698 do :
39699 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39700 if test "x$ac_cv_func_isnanf" = x""yes; then :
39701 cat >>confdefs.h <<_ACEOF
39702 #define HAVE_ISNANF 1
39703 _ACEOF
39706 done
39708 else
39710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39711 $as_echo_n "checking for _isnanf declaration... " >&6; }
39712 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39713 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39714 $as_echo_n "(cached) " >&6
39715 else
39718 ac_ext=cpp
39719 ac_cpp='$CXXCPP $CPPFLAGS'
39720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39725 /* end confdefs.h. */
39726 #include <math.h>
39727 #ifdef HAVE_IEEEFP_H
39728 #include <ieeefp.h>
39729 #endif
39732 main ()
39734 _isnanf(0);
39736 return 0;
39738 _ACEOF
39739 if ac_fn_cxx_try_compile "$LINENO"; then :
39740 glibcxx_cv_func__isnanf_use=yes
39741 else
39742 glibcxx_cv_func__isnanf_use=no
39744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39745 ac_ext=c
39746 ac_cpp='$CPP $CPPFLAGS'
39747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39756 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39758 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39759 for ac_func in _isnanf
39760 do :
39761 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39762 if test "x$ac_cv_func__isnanf" = x""yes; then :
39763 cat >>confdefs.h <<_ACEOF
39764 #define HAVE__ISNANF 1
39765 _ACEOF
39768 done
39777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39778 $as_echo_n "checking for isinff declaration... " >&6; }
39779 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39780 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39781 $as_echo_n "(cached) " >&6
39782 else
39785 ac_ext=cpp
39786 ac_cpp='$CXXCPP $CPPFLAGS'
39787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39792 /* end confdefs.h. */
39793 #include <math.h>
39794 #ifdef HAVE_IEEEFP_H
39795 #include <ieeefp.h>
39796 #endif
39799 main ()
39801 isinff(0);
39803 return 0;
39805 _ACEOF
39806 if ac_fn_cxx_try_compile "$LINENO"; then :
39807 glibcxx_cv_func_isinff_use=yes
39808 else
39809 glibcxx_cv_func_isinff_use=no
39811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39812 ac_ext=c
39813 ac_cpp='$CPP $CPPFLAGS'
39814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39823 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39825 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39826 for ac_func in isinff
39827 do :
39828 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39829 if test "x$ac_cv_func_isinff" = x""yes; then :
39830 cat >>confdefs.h <<_ACEOF
39831 #define HAVE_ISINFF 1
39832 _ACEOF
39835 done
39837 else
39839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39840 $as_echo_n "checking for _isinff declaration... " >&6; }
39841 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39842 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39843 $as_echo_n "(cached) " >&6
39844 else
39847 ac_ext=cpp
39848 ac_cpp='$CXXCPP $CPPFLAGS'
39849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39854 /* end confdefs.h. */
39855 #include <math.h>
39856 #ifdef HAVE_IEEEFP_H
39857 #include <ieeefp.h>
39858 #endif
39861 main ()
39863 _isinff(0);
39865 return 0;
39867 _ACEOF
39868 if ac_fn_cxx_try_compile "$LINENO"; then :
39869 glibcxx_cv_func__isinff_use=yes
39870 else
39871 glibcxx_cv_func__isinff_use=no
39873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39874 ac_ext=c
39875 ac_cpp='$CPP $CPPFLAGS'
39876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39885 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39887 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39888 for ac_func in _isinff
39889 do :
39890 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39891 if test "x$ac_cv_func__isinff" = x""yes; then :
39892 cat >>confdefs.h <<_ACEOF
39893 #define HAVE__ISINFF 1
39894 _ACEOF
39897 done
39906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39907 $as_echo_n "checking for atan2f declaration... " >&6; }
39908 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39909 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39910 $as_echo_n "(cached) " >&6
39911 else
39914 ac_ext=cpp
39915 ac_cpp='$CXXCPP $CPPFLAGS'
39916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39921 /* end confdefs.h. */
39922 #include <math.h>
39924 main ()
39926 atan2f(0, 0);
39928 return 0;
39930 _ACEOF
39931 if ac_fn_cxx_try_compile "$LINENO"; then :
39932 glibcxx_cv_func_atan2f_use=yes
39933 else
39934 glibcxx_cv_func_atan2f_use=no
39936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39937 ac_ext=c
39938 ac_cpp='$CPP $CPPFLAGS'
39939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39948 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39950 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39951 for ac_func in atan2f
39952 do :
39953 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39954 if test "x$ac_cv_func_atan2f" = x""yes; then :
39955 cat >>confdefs.h <<_ACEOF
39956 #define HAVE_ATAN2F 1
39957 _ACEOF
39960 done
39962 else
39964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39965 $as_echo_n "checking for _atan2f declaration... " >&6; }
39966 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39967 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39968 $as_echo_n "(cached) " >&6
39969 else
39972 ac_ext=cpp
39973 ac_cpp='$CXXCPP $CPPFLAGS'
39974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39979 /* end confdefs.h. */
39980 #include <math.h>
39982 main ()
39984 _atan2f(0, 0);
39986 return 0;
39988 _ACEOF
39989 if ac_fn_cxx_try_compile "$LINENO"; then :
39990 glibcxx_cv_func__atan2f_use=yes
39991 else
39992 glibcxx_cv_func__atan2f_use=no
39994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39995 ac_ext=c
39996 ac_cpp='$CPP $CPPFLAGS'
39997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40006 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40008 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40009 for ac_func in _atan2f
40010 do :
40011 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40012 if test "x$ac_cv_func__atan2f" = x""yes; then :
40013 cat >>confdefs.h <<_ACEOF
40014 #define HAVE__ATAN2F 1
40015 _ACEOF
40018 done
40027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40028 $as_echo_n "checking for fabsf declaration... " >&6; }
40029 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40030 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40031 $as_echo_n "(cached) " >&6
40032 else
40035 ac_ext=cpp
40036 ac_cpp='$CXXCPP $CPPFLAGS'
40037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40042 /* end confdefs.h. */
40043 #include <math.h>
40044 #ifdef HAVE_IEEEFP_H
40045 #include <ieeefp.h>
40046 #endif
40049 main ()
40051 fabsf(0);
40053 return 0;
40055 _ACEOF
40056 if ac_fn_cxx_try_compile "$LINENO"; then :
40057 glibcxx_cv_func_fabsf_use=yes
40058 else
40059 glibcxx_cv_func_fabsf_use=no
40061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40062 ac_ext=c
40063 ac_cpp='$CPP $CPPFLAGS'
40064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40073 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40075 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40076 for ac_func in fabsf
40077 do :
40078 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40079 if test "x$ac_cv_func_fabsf" = x""yes; then :
40080 cat >>confdefs.h <<_ACEOF
40081 #define HAVE_FABSF 1
40082 _ACEOF
40085 done
40087 else
40089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40090 $as_echo_n "checking for _fabsf declaration... " >&6; }
40091 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40092 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40093 $as_echo_n "(cached) " >&6
40094 else
40097 ac_ext=cpp
40098 ac_cpp='$CXXCPP $CPPFLAGS'
40099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40104 /* end confdefs.h. */
40105 #include <math.h>
40106 #ifdef HAVE_IEEEFP_H
40107 #include <ieeefp.h>
40108 #endif
40111 main ()
40113 _fabsf(0);
40115 return 0;
40117 _ACEOF
40118 if ac_fn_cxx_try_compile "$LINENO"; then :
40119 glibcxx_cv_func__fabsf_use=yes
40120 else
40121 glibcxx_cv_func__fabsf_use=no
40123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40124 ac_ext=c
40125 ac_cpp='$CPP $CPPFLAGS'
40126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40135 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40137 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40138 for ac_func in _fabsf
40139 do :
40140 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40141 if test "x$ac_cv_func__fabsf" = x""yes; then :
40142 cat >>confdefs.h <<_ACEOF
40143 #define HAVE__FABSF 1
40144 _ACEOF
40147 done
40156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40157 $as_echo_n "checking for fmodf declaration... " >&6; }
40158 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40159 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40160 $as_echo_n "(cached) " >&6
40161 else
40164 ac_ext=cpp
40165 ac_cpp='$CXXCPP $CPPFLAGS'
40166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40171 /* end confdefs.h. */
40172 #include <math.h>
40174 main ()
40176 fmodf(0, 0);
40178 return 0;
40180 _ACEOF
40181 if ac_fn_cxx_try_compile "$LINENO"; then :
40182 glibcxx_cv_func_fmodf_use=yes
40183 else
40184 glibcxx_cv_func_fmodf_use=no
40186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40187 ac_ext=c
40188 ac_cpp='$CPP $CPPFLAGS'
40189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40198 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40200 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40201 for ac_func in fmodf
40202 do :
40203 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40204 if test "x$ac_cv_func_fmodf" = x""yes; then :
40205 cat >>confdefs.h <<_ACEOF
40206 #define HAVE_FMODF 1
40207 _ACEOF
40210 done
40212 else
40214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40215 $as_echo_n "checking for _fmodf declaration... " >&6; }
40216 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40217 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40218 $as_echo_n "(cached) " >&6
40219 else
40222 ac_ext=cpp
40223 ac_cpp='$CXXCPP $CPPFLAGS'
40224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40229 /* end confdefs.h. */
40230 #include <math.h>
40232 main ()
40234 _fmodf(0, 0);
40236 return 0;
40238 _ACEOF
40239 if ac_fn_cxx_try_compile "$LINENO"; then :
40240 glibcxx_cv_func__fmodf_use=yes
40241 else
40242 glibcxx_cv_func__fmodf_use=no
40244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40245 ac_ext=c
40246 ac_cpp='$CPP $CPPFLAGS'
40247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40256 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40258 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40259 for ac_func in _fmodf
40260 do :
40261 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40262 if test "x$ac_cv_func__fmodf" = x""yes; then :
40263 cat >>confdefs.h <<_ACEOF
40264 #define HAVE__FMODF 1
40265 _ACEOF
40268 done
40277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40278 $as_echo_n "checking for frexpf declaration... " >&6; }
40279 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40280 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40281 $as_echo_n "(cached) " >&6
40282 else
40285 ac_ext=cpp
40286 ac_cpp='$CXXCPP $CPPFLAGS'
40287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40292 /* end confdefs.h. */
40293 #include <math.h>
40295 main ()
40297 frexpf(0, 0);
40299 return 0;
40301 _ACEOF
40302 if ac_fn_cxx_try_compile "$LINENO"; then :
40303 glibcxx_cv_func_frexpf_use=yes
40304 else
40305 glibcxx_cv_func_frexpf_use=no
40307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40308 ac_ext=c
40309 ac_cpp='$CPP $CPPFLAGS'
40310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40319 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40321 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40322 for ac_func in frexpf
40323 do :
40324 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40325 if test "x$ac_cv_func_frexpf" = x""yes; then :
40326 cat >>confdefs.h <<_ACEOF
40327 #define HAVE_FREXPF 1
40328 _ACEOF
40331 done
40333 else
40335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40336 $as_echo_n "checking for _frexpf declaration... " >&6; }
40337 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40338 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40339 $as_echo_n "(cached) " >&6
40340 else
40343 ac_ext=cpp
40344 ac_cpp='$CXXCPP $CPPFLAGS'
40345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40350 /* end confdefs.h. */
40351 #include <math.h>
40353 main ()
40355 _frexpf(0, 0);
40357 return 0;
40359 _ACEOF
40360 if ac_fn_cxx_try_compile "$LINENO"; then :
40361 glibcxx_cv_func__frexpf_use=yes
40362 else
40363 glibcxx_cv_func__frexpf_use=no
40365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40366 ac_ext=c
40367 ac_cpp='$CPP $CPPFLAGS'
40368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40377 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40379 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40380 for ac_func in _frexpf
40381 do :
40382 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40383 if test "x$ac_cv_func__frexpf" = x""yes; then :
40384 cat >>confdefs.h <<_ACEOF
40385 #define HAVE__FREXPF 1
40386 _ACEOF
40389 done
40398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40399 $as_echo_n "checking for hypotf declaration... " >&6; }
40400 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40401 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40402 $as_echo_n "(cached) " >&6
40403 else
40406 ac_ext=cpp
40407 ac_cpp='$CXXCPP $CPPFLAGS'
40408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40413 /* end confdefs.h. */
40414 #include <math.h>
40416 main ()
40418 hypotf(0, 0);
40420 return 0;
40422 _ACEOF
40423 if ac_fn_cxx_try_compile "$LINENO"; then :
40424 glibcxx_cv_func_hypotf_use=yes
40425 else
40426 glibcxx_cv_func_hypotf_use=no
40428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40429 ac_ext=c
40430 ac_cpp='$CPP $CPPFLAGS'
40431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40440 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40442 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40443 for ac_func in hypotf
40444 do :
40445 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40446 if test "x$ac_cv_func_hypotf" = x""yes; then :
40447 cat >>confdefs.h <<_ACEOF
40448 #define HAVE_HYPOTF 1
40449 _ACEOF
40452 done
40454 else
40456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40457 $as_echo_n "checking for _hypotf declaration... " >&6; }
40458 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40459 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40460 $as_echo_n "(cached) " >&6
40461 else
40464 ac_ext=cpp
40465 ac_cpp='$CXXCPP $CPPFLAGS'
40466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40471 /* end confdefs.h. */
40472 #include <math.h>
40474 main ()
40476 _hypotf(0, 0);
40478 return 0;
40480 _ACEOF
40481 if ac_fn_cxx_try_compile "$LINENO"; then :
40482 glibcxx_cv_func__hypotf_use=yes
40483 else
40484 glibcxx_cv_func__hypotf_use=no
40486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40487 ac_ext=c
40488 ac_cpp='$CPP $CPPFLAGS'
40489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40498 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40500 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40501 for ac_func in _hypotf
40502 do :
40503 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40504 if test "x$ac_cv_func__hypotf" = x""yes; then :
40505 cat >>confdefs.h <<_ACEOF
40506 #define HAVE__HYPOTF 1
40507 _ACEOF
40510 done
40519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40520 $as_echo_n "checking for ldexpf declaration... " >&6; }
40521 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40522 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40523 $as_echo_n "(cached) " >&6
40524 else
40527 ac_ext=cpp
40528 ac_cpp='$CXXCPP $CPPFLAGS'
40529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40534 /* end confdefs.h. */
40535 #include <math.h>
40537 main ()
40539 ldexpf(0, 0);
40541 return 0;
40543 _ACEOF
40544 if ac_fn_cxx_try_compile "$LINENO"; then :
40545 glibcxx_cv_func_ldexpf_use=yes
40546 else
40547 glibcxx_cv_func_ldexpf_use=no
40549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40550 ac_ext=c
40551 ac_cpp='$CPP $CPPFLAGS'
40552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40561 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40563 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40564 for ac_func in ldexpf
40565 do :
40566 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40567 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40568 cat >>confdefs.h <<_ACEOF
40569 #define HAVE_LDEXPF 1
40570 _ACEOF
40573 done
40575 else
40577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40578 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40579 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40580 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40581 $as_echo_n "(cached) " >&6
40582 else
40585 ac_ext=cpp
40586 ac_cpp='$CXXCPP $CPPFLAGS'
40587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40592 /* end confdefs.h. */
40593 #include <math.h>
40595 main ()
40597 _ldexpf(0, 0);
40599 return 0;
40601 _ACEOF
40602 if ac_fn_cxx_try_compile "$LINENO"; then :
40603 glibcxx_cv_func__ldexpf_use=yes
40604 else
40605 glibcxx_cv_func__ldexpf_use=no
40607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40608 ac_ext=c
40609 ac_cpp='$CPP $CPPFLAGS'
40610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40619 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40621 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40622 for ac_func in _ldexpf
40623 do :
40624 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40625 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40626 cat >>confdefs.h <<_ACEOF
40627 #define HAVE__LDEXPF 1
40628 _ACEOF
40631 done
40640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40641 $as_echo_n "checking for logf declaration... " >&6; }
40642 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40643 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40644 $as_echo_n "(cached) " >&6
40645 else
40648 ac_ext=cpp
40649 ac_cpp='$CXXCPP $CPPFLAGS'
40650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40655 /* end confdefs.h. */
40656 #include <math.h>
40657 #ifdef HAVE_IEEEFP_H
40658 #include <ieeefp.h>
40659 #endif
40662 main ()
40664 logf(0);
40666 return 0;
40668 _ACEOF
40669 if ac_fn_cxx_try_compile "$LINENO"; then :
40670 glibcxx_cv_func_logf_use=yes
40671 else
40672 glibcxx_cv_func_logf_use=no
40674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40675 ac_ext=c
40676 ac_cpp='$CPP $CPPFLAGS'
40677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40686 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40688 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40689 for ac_func in logf
40690 do :
40691 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40692 if test "x$ac_cv_func_logf" = x""yes; then :
40693 cat >>confdefs.h <<_ACEOF
40694 #define HAVE_LOGF 1
40695 _ACEOF
40698 done
40700 else
40702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40703 $as_echo_n "checking for _logf declaration... " >&6; }
40704 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40705 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40706 $as_echo_n "(cached) " >&6
40707 else
40710 ac_ext=cpp
40711 ac_cpp='$CXXCPP $CPPFLAGS'
40712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40717 /* end confdefs.h. */
40718 #include <math.h>
40719 #ifdef HAVE_IEEEFP_H
40720 #include <ieeefp.h>
40721 #endif
40724 main ()
40726 _logf(0);
40728 return 0;
40730 _ACEOF
40731 if ac_fn_cxx_try_compile "$LINENO"; then :
40732 glibcxx_cv_func__logf_use=yes
40733 else
40734 glibcxx_cv_func__logf_use=no
40736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40737 ac_ext=c
40738 ac_cpp='$CPP $CPPFLAGS'
40739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40748 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40750 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40751 for ac_func in _logf
40752 do :
40753 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40754 if test "x$ac_cv_func__logf" = x""yes; then :
40755 cat >>confdefs.h <<_ACEOF
40756 #define HAVE__LOGF 1
40757 _ACEOF
40760 done
40769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40770 $as_echo_n "checking for log10f declaration... " >&6; }
40771 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40772 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40773 $as_echo_n "(cached) " >&6
40774 else
40777 ac_ext=cpp
40778 ac_cpp='$CXXCPP $CPPFLAGS'
40779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40784 /* end confdefs.h. */
40785 #include <math.h>
40786 #ifdef HAVE_IEEEFP_H
40787 #include <ieeefp.h>
40788 #endif
40791 main ()
40793 log10f(0);
40795 return 0;
40797 _ACEOF
40798 if ac_fn_cxx_try_compile "$LINENO"; then :
40799 glibcxx_cv_func_log10f_use=yes
40800 else
40801 glibcxx_cv_func_log10f_use=no
40803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40804 ac_ext=c
40805 ac_cpp='$CPP $CPPFLAGS'
40806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40815 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40817 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40818 for ac_func in log10f
40819 do :
40820 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40821 if test "x$ac_cv_func_log10f" = x""yes; then :
40822 cat >>confdefs.h <<_ACEOF
40823 #define HAVE_LOG10F 1
40824 _ACEOF
40827 done
40829 else
40831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40832 $as_echo_n "checking for _log10f declaration... " >&6; }
40833 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40834 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40835 $as_echo_n "(cached) " >&6
40836 else
40839 ac_ext=cpp
40840 ac_cpp='$CXXCPP $CPPFLAGS'
40841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40846 /* end confdefs.h. */
40847 #include <math.h>
40848 #ifdef HAVE_IEEEFP_H
40849 #include <ieeefp.h>
40850 #endif
40853 main ()
40855 _log10f(0);
40857 return 0;
40859 _ACEOF
40860 if ac_fn_cxx_try_compile "$LINENO"; then :
40861 glibcxx_cv_func__log10f_use=yes
40862 else
40863 glibcxx_cv_func__log10f_use=no
40865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40866 ac_ext=c
40867 ac_cpp='$CPP $CPPFLAGS'
40868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40877 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40879 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40880 for ac_func in _log10f
40881 do :
40882 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40883 if test "x$ac_cv_func__log10f" = x""yes; then :
40884 cat >>confdefs.h <<_ACEOF
40885 #define HAVE__LOG10F 1
40886 _ACEOF
40889 done
40898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40899 $as_echo_n "checking for modff declaration... " >&6; }
40900 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40901 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40902 $as_echo_n "(cached) " >&6
40903 else
40906 ac_ext=cpp
40907 ac_cpp='$CXXCPP $CPPFLAGS'
40908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40913 /* end confdefs.h. */
40914 #include <math.h>
40916 main ()
40918 modff(0, 0);
40920 return 0;
40922 _ACEOF
40923 if ac_fn_cxx_try_compile "$LINENO"; then :
40924 glibcxx_cv_func_modff_use=yes
40925 else
40926 glibcxx_cv_func_modff_use=no
40928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40929 ac_ext=c
40930 ac_cpp='$CPP $CPPFLAGS'
40931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40940 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40942 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40943 for ac_func in modff
40944 do :
40945 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40946 if test "x$ac_cv_func_modff" = x""yes; then :
40947 cat >>confdefs.h <<_ACEOF
40948 #define HAVE_MODFF 1
40949 _ACEOF
40952 done
40954 else
40956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40957 $as_echo_n "checking for _modff declaration... " >&6; }
40958 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40959 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40960 $as_echo_n "(cached) " >&6
40961 else
40964 ac_ext=cpp
40965 ac_cpp='$CXXCPP $CPPFLAGS'
40966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40971 /* end confdefs.h. */
40972 #include <math.h>
40974 main ()
40976 _modff(0, 0);
40978 return 0;
40980 _ACEOF
40981 if ac_fn_cxx_try_compile "$LINENO"; then :
40982 glibcxx_cv_func__modff_use=yes
40983 else
40984 glibcxx_cv_func__modff_use=no
40986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40987 ac_ext=c
40988 ac_cpp='$CPP $CPPFLAGS'
40989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40998 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41000 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41001 for ac_func in _modff
41002 do :
41003 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41004 if test "x$ac_cv_func__modff" = x""yes; then :
41005 cat >>confdefs.h <<_ACEOF
41006 #define HAVE__MODFF 1
41007 _ACEOF
41010 done
41019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41020 $as_echo_n "checking for modf declaration... " >&6; }
41021 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41022 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41023 $as_echo_n "(cached) " >&6
41024 else
41027 ac_ext=cpp
41028 ac_cpp='$CXXCPP $CPPFLAGS'
41029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41034 /* end confdefs.h. */
41035 #include <math.h>
41037 main ()
41039 modf(0, 0);
41041 return 0;
41043 _ACEOF
41044 if ac_fn_cxx_try_compile "$LINENO"; then :
41045 glibcxx_cv_func_modf_use=yes
41046 else
41047 glibcxx_cv_func_modf_use=no
41049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41050 ac_ext=c
41051 ac_cpp='$CPP $CPPFLAGS'
41052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41061 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41063 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41064 for ac_func in modf
41065 do :
41066 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41067 if test "x$ac_cv_func_modf" = x""yes; then :
41068 cat >>confdefs.h <<_ACEOF
41069 #define HAVE_MODF 1
41070 _ACEOF
41073 done
41075 else
41077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41078 $as_echo_n "checking for _modf declaration... " >&6; }
41079 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41080 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41081 $as_echo_n "(cached) " >&6
41082 else
41085 ac_ext=cpp
41086 ac_cpp='$CXXCPP $CPPFLAGS'
41087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41092 /* end confdefs.h. */
41093 #include <math.h>
41095 main ()
41097 _modf(0, 0);
41099 return 0;
41101 _ACEOF
41102 if ac_fn_cxx_try_compile "$LINENO"; then :
41103 glibcxx_cv_func__modf_use=yes
41104 else
41105 glibcxx_cv_func__modf_use=no
41107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41108 ac_ext=c
41109 ac_cpp='$CPP $CPPFLAGS'
41110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41119 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41121 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41122 for ac_func in _modf
41123 do :
41124 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41125 if test "x$ac_cv_func__modf" = x""yes; then :
41126 cat >>confdefs.h <<_ACEOF
41127 #define HAVE__MODF 1
41128 _ACEOF
41131 done
41140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41141 $as_echo_n "checking for powf declaration... " >&6; }
41142 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41143 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41144 $as_echo_n "(cached) " >&6
41145 else
41148 ac_ext=cpp
41149 ac_cpp='$CXXCPP $CPPFLAGS'
41150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41155 /* end confdefs.h. */
41156 #include <math.h>
41158 main ()
41160 powf(0, 0);
41162 return 0;
41164 _ACEOF
41165 if ac_fn_cxx_try_compile "$LINENO"; then :
41166 glibcxx_cv_func_powf_use=yes
41167 else
41168 glibcxx_cv_func_powf_use=no
41170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41171 ac_ext=c
41172 ac_cpp='$CPP $CPPFLAGS'
41173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41182 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41184 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41185 for ac_func in powf
41186 do :
41187 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41188 if test "x$ac_cv_func_powf" = x""yes; then :
41189 cat >>confdefs.h <<_ACEOF
41190 #define HAVE_POWF 1
41191 _ACEOF
41194 done
41196 else
41198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41199 $as_echo_n "checking for _powf declaration... " >&6; }
41200 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41201 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41202 $as_echo_n "(cached) " >&6
41203 else
41206 ac_ext=cpp
41207 ac_cpp='$CXXCPP $CPPFLAGS'
41208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41213 /* end confdefs.h. */
41214 #include <math.h>
41216 main ()
41218 _powf(0, 0);
41220 return 0;
41222 _ACEOF
41223 if ac_fn_cxx_try_compile "$LINENO"; then :
41224 glibcxx_cv_func__powf_use=yes
41225 else
41226 glibcxx_cv_func__powf_use=no
41228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41229 ac_ext=c
41230 ac_cpp='$CPP $CPPFLAGS'
41231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41240 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41242 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41243 for ac_func in _powf
41244 do :
41245 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41246 if test "x$ac_cv_func__powf" = x""yes; then :
41247 cat >>confdefs.h <<_ACEOF
41248 #define HAVE__POWF 1
41249 _ACEOF
41252 done
41261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41262 $as_echo_n "checking for sqrtf declaration... " >&6; }
41263 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41264 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41265 $as_echo_n "(cached) " >&6
41266 else
41269 ac_ext=cpp
41270 ac_cpp='$CXXCPP $CPPFLAGS'
41271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41276 /* end confdefs.h. */
41277 #include <math.h>
41278 #ifdef HAVE_IEEEFP_H
41279 #include <ieeefp.h>
41280 #endif
41283 main ()
41285 sqrtf(0);
41287 return 0;
41289 _ACEOF
41290 if ac_fn_cxx_try_compile "$LINENO"; then :
41291 glibcxx_cv_func_sqrtf_use=yes
41292 else
41293 glibcxx_cv_func_sqrtf_use=no
41295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41296 ac_ext=c
41297 ac_cpp='$CPP $CPPFLAGS'
41298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41307 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41309 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41310 for ac_func in sqrtf
41311 do :
41312 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41313 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41314 cat >>confdefs.h <<_ACEOF
41315 #define HAVE_SQRTF 1
41316 _ACEOF
41319 done
41321 else
41323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41324 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41325 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41326 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41327 $as_echo_n "(cached) " >&6
41328 else
41331 ac_ext=cpp
41332 ac_cpp='$CXXCPP $CPPFLAGS'
41333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41338 /* end confdefs.h. */
41339 #include <math.h>
41340 #ifdef HAVE_IEEEFP_H
41341 #include <ieeefp.h>
41342 #endif
41345 main ()
41347 _sqrtf(0);
41349 return 0;
41351 _ACEOF
41352 if ac_fn_cxx_try_compile "$LINENO"; then :
41353 glibcxx_cv_func__sqrtf_use=yes
41354 else
41355 glibcxx_cv_func__sqrtf_use=no
41357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41358 ac_ext=c
41359 ac_cpp='$CPP $CPPFLAGS'
41360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41369 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41371 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41372 for ac_func in _sqrtf
41373 do :
41374 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41375 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41376 cat >>confdefs.h <<_ACEOF
41377 #define HAVE__SQRTF 1
41378 _ACEOF
41381 done
41390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41391 $as_echo_n "checking for sincosf declaration... " >&6; }
41392 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41393 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41394 $as_echo_n "(cached) " >&6
41395 else
41398 ac_ext=cpp
41399 ac_cpp='$CXXCPP $CPPFLAGS'
41400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41405 /* end confdefs.h. */
41406 #include <math.h>
41408 main ()
41410 sincosf(0, 0, 0);
41412 return 0;
41414 _ACEOF
41415 if ac_fn_cxx_try_compile "$LINENO"; then :
41416 glibcxx_cv_func_sincosf_use=yes
41417 else
41418 glibcxx_cv_func_sincosf_use=no
41420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41421 ac_ext=c
41422 ac_cpp='$CPP $CPPFLAGS'
41423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41432 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41434 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41435 for ac_func in sincosf
41436 do :
41437 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41438 if test "x$ac_cv_func_sincosf" = x""yes; then :
41439 cat >>confdefs.h <<_ACEOF
41440 #define HAVE_SINCOSF 1
41441 _ACEOF
41444 done
41446 else
41448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41449 $as_echo_n "checking for _sincosf declaration... " >&6; }
41450 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41451 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41452 $as_echo_n "(cached) " >&6
41453 else
41456 ac_ext=cpp
41457 ac_cpp='$CXXCPP $CPPFLAGS'
41458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41463 /* end confdefs.h. */
41464 #include <math.h>
41466 main ()
41468 _sincosf(0, 0, 0);
41470 return 0;
41472 _ACEOF
41473 if ac_fn_cxx_try_compile "$LINENO"; then :
41474 glibcxx_cv_func__sincosf_use=yes
41475 else
41476 glibcxx_cv_func__sincosf_use=no
41478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41479 ac_ext=c
41480 ac_cpp='$CPP $CPPFLAGS'
41481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41490 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41492 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41493 for ac_func in _sincosf
41494 do :
41495 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41496 if test "x$ac_cv_func__sincosf" = x""yes; then :
41497 cat >>confdefs.h <<_ACEOF
41498 #define HAVE__SINCOSF 1
41499 _ACEOF
41502 done
41511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41512 $as_echo_n "checking for finitef declaration... " >&6; }
41513 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41514 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41515 $as_echo_n "(cached) " >&6
41516 else
41519 ac_ext=cpp
41520 ac_cpp='$CXXCPP $CPPFLAGS'
41521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41526 /* end confdefs.h. */
41527 #include <math.h>
41528 #ifdef HAVE_IEEEFP_H
41529 #include <ieeefp.h>
41530 #endif
41533 main ()
41535 finitef(0);
41537 return 0;
41539 _ACEOF
41540 if ac_fn_cxx_try_compile "$LINENO"; then :
41541 glibcxx_cv_func_finitef_use=yes
41542 else
41543 glibcxx_cv_func_finitef_use=no
41545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41546 ac_ext=c
41547 ac_cpp='$CPP $CPPFLAGS'
41548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41557 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41559 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41560 for ac_func in finitef
41561 do :
41562 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41563 if test "x$ac_cv_func_finitef" = x""yes; then :
41564 cat >>confdefs.h <<_ACEOF
41565 #define HAVE_FINITEF 1
41566 _ACEOF
41569 done
41571 else
41573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41574 $as_echo_n "checking for _finitef declaration... " >&6; }
41575 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41576 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41577 $as_echo_n "(cached) " >&6
41578 else
41581 ac_ext=cpp
41582 ac_cpp='$CXXCPP $CPPFLAGS'
41583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41588 /* end confdefs.h. */
41589 #include <math.h>
41590 #ifdef HAVE_IEEEFP_H
41591 #include <ieeefp.h>
41592 #endif
41595 main ()
41597 _finitef(0);
41599 return 0;
41601 _ACEOF
41602 if ac_fn_cxx_try_compile "$LINENO"; then :
41603 glibcxx_cv_func__finitef_use=yes
41604 else
41605 glibcxx_cv_func__finitef_use=no
41607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41608 ac_ext=c
41609 ac_cpp='$CPP $CPPFLAGS'
41610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41619 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41621 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41622 for ac_func in _finitef
41623 do :
41624 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41625 if test "x$ac_cv_func__finitef" = x""yes; then :
41626 cat >>confdefs.h <<_ACEOF
41627 #define HAVE__FINITEF 1
41628 _ACEOF
41631 done
41640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41641 $as_echo_n "checking for long double trig functions... " >&6; }
41642 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41643 $as_echo_n "(cached) " >&6
41644 else
41647 ac_ext=cpp
41648 ac_cpp='$CXXCPP $CPPFLAGS'
41649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41654 /* end confdefs.h. */
41655 #include <math.h>
41657 main ()
41659 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41661 return 0;
41663 _ACEOF
41664 if ac_fn_cxx_try_compile "$LINENO"; then :
41665 glibcxx_cv_func_long_double_trig_use=yes
41666 else
41667 glibcxx_cv_func_long_double_trig_use=no
41669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41670 ac_ext=c
41671 ac_cpp='$CPP $CPPFLAGS'
41672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41679 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41680 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41681 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41682 do :
41683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41685 eval as_val=\$$as_ac_var
41686 if test "x$as_val" = x""yes; then :
41687 cat >>confdefs.h <<_ACEOF
41688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41689 _ACEOF
41692 done
41694 else
41695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41696 $as_echo_n "checking for _long double trig functions... " >&6; }
41697 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41698 $as_echo_n "(cached) " >&6
41699 else
41702 ac_ext=cpp
41703 ac_cpp='$CXXCPP $CPPFLAGS'
41704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41709 /* end confdefs.h. */
41710 #include <math.h>
41712 main ()
41714 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41716 return 0;
41718 _ACEOF
41719 if ac_fn_cxx_try_compile "$LINENO"; then :
41720 glibcxx_cv_func__long_double_trig_use=yes
41721 else
41722 glibcxx_cv_func__long_double_trig_use=no
41724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41725 ac_ext=c
41726 ac_cpp='$CPP $CPPFLAGS'
41727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41734 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41735 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41736 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41737 do :
41738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41740 eval as_val=\$$as_ac_var
41741 if test "x$as_val" = x""yes; then :
41742 cat >>confdefs.h <<_ACEOF
41743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41744 _ACEOF
41747 done
41756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41757 $as_echo_n "checking for long double round functions... " >&6; }
41758 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41759 $as_echo_n "(cached) " >&6
41760 else
41763 ac_ext=cpp
41764 ac_cpp='$CXXCPP $CPPFLAGS'
41765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41770 /* end confdefs.h. */
41771 #include <math.h>
41773 main ()
41775 ceill (0); floorl (0);
41777 return 0;
41779 _ACEOF
41780 if ac_fn_cxx_try_compile "$LINENO"; then :
41781 glibcxx_cv_func_long_double_round_use=yes
41782 else
41783 glibcxx_cv_func_long_double_round_use=no
41785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41786 ac_ext=c
41787 ac_cpp='$CPP $CPPFLAGS'
41788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41795 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41796 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41797 for ac_func in ceill floorl
41798 do :
41799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41801 eval as_val=\$$as_ac_var
41802 if test "x$as_val" = x""yes; then :
41803 cat >>confdefs.h <<_ACEOF
41804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41805 _ACEOF
41808 done
41810 else
41811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41812 $as_echo_n "checking for _long double round functions... " >&6; }
41813 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41814 $as_echo_n "(cached) " >&6
41815 else
41818 ac_ext=cpp
41819 ac_cpp='$CXXCPP $CPPFLAGS'
41820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41825 /* end confdefs.h. */
41826 #include <math.h>
41828 main ()
41830 _ceill (0); _floorl (0);
41832 return 0;
41834 _ACEOF
41835 if ac_fn_cxx_try_compile "$LINENO"; then :
41836 glibcxx_cv_func__long_double_round_use=yes
41837 else
41838 glibcxx_cv_func__long_double_round_use=no
41840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41841 ac_ext=c
41842 ac_cpp='$CPP $CPPFLAGS'
41843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41850 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41851 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41852 for ac_func in _ceill _floorl
41853 do :
41854 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41856 eval as_val=\$$as_ac_var
41857 if test "x$as_val" = x""yes; then :
41858 cat >>confdefs.h <<_ACEOF
41859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41860 _ACEOF
41863 done
41873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41874 $as_echo_n "checking for isnanl declaration... " >&6; }
41875 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41876 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41877 $as_echo_n "(cached) " >&6
41878 else
41881 ac_ext=cpp
41882 ac_cpp='$CXXCPP $CPPFLAGS'
41883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41888 /* end confdefs.h. */
41889 #include <math.h>
41890 #ifdef HAVE_IEEEFP_H
41891 #include <ieeefp.h>
41892 #endif
41895 main ()
41897 isnanl(0);
41899 return 0;
41901 _ACEOF
41902 if ac_fn_cxx_try_compile "$LINENO"; then :
41903 glibcxx_cv_func_isnanl_use=yes
41904 else
41905 glibcxx_cv_func_isnanl_use=no
41907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41908 ac_ext=c
41909 ac_cpp='$CPP $CPPFLAGS'
41910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41919 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41921 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41922 for ac_func in isnanl
41923 do :
41924 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41925 if test "x$ac_cv_func_isnanl" = x""yes; then :
41926 cat >>confdefs.h <<_ACEOF
41927 #define HAVE_ISNANL 1
41928 _ACEOF
41931 done
41933 else
41935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41936 $as_echo_n "checking for _isnanl declaration... " >&6; }
41937 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41938 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41939 $as_echo_n "(cached) " >&6
41940 else
41943 ac_ext=cpp
41944 ac_cpp='$CXXCPP $CPPFLAGS'
41945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41950 /* end confdefs.h. */
41951 #include <math.h>
41952 #ifdef HAVE_IEEEFP_H
41953 #include <ieeefp.h>
41954 #endif
41957 main ()
41959 _isnanl(0);
41961 return 0;
41963 _ACEOF
41964 if ac_fn_cxx_try_compile "$LINENO"; then :
41965 glibcxx_cv_func__isnanl_use=yes
41966 else
41967 glibcxx_cv_func__isnanl_use=no
41969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41970 ac_ext=c
41971 ac_cpp='$CPP $CPPFLAGS'
41972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41981 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41983 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41984 for ac_func in _isnanl
41985 do :
41986 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41987 if test "x$ac_cv_func__isnanl" = x""yes; then :
41988 cat >>confdefs.h <<_ACEOF
41989 #define HAVE__ISNANL 1
41990 _ACEOF
41993 done
42002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42003 $as_echo_n "checking for isinfl declaration... " >&6; }
42004 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42005 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42006 $as_echo_n "(cached) " >&6
42007 else
42010 ac_ext=cpp
42011 ac_cpp='$CXXCPP $CPPFLAGS'
42012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42017 /* end confdefs.h. */
42018 #include <math.h>
42019 #ifdef HAVE_IEEEFP_H
42020 #include <ieeefp.h>
42021 #endif
42024 main ()
42026 isinfl(0);
42028 return 0;
42030 _ACEOF
42031 if ac_fn_cxx_try_compile "$LINENO"; then :
42032 glibcxx_cv_func_isinfl_use=yes
42033 else
42034 glibcxx_cv_func_isinfl_use=no
42036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42037 ac_ext=c
42038 ac_cpp='$CPP $CPPFLAGS'
42039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42048 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42050 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42051 for ac_func in isinfl
42052 do :
42053 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42054 if test "x$ac_cv_func_isinfl" = x""yes; then :
42055 cat >>confdefs.h <<_ACEOF
42056 #define HAVE_ISINFL 1
42057 _ACEOF
42060 done
42062 else
42064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42065 $as_echo_n "checking for _isinfl declaration... " >&6; }
42066 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42067 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42068 $as_echo_n "(cached) " >&6
42069 else
42072 ac_ext=cpp
42073 ac_cpp='$CXXCPP $CPPFLAGS'
42074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42079 /* end confdefs.h. */
42080 #include <math.h>
42081 #ifdef HAVE_IEEEFP_H
42082 #include <ieeefp.h>
42083 #endif
42086 main ()
42088 _isinfl(0);
42090 return 0;
42092 _ACEOF
42093 if ac_fn_cxx_try_compile "$LINENO"; then :
42094 glibcxx_cv_func__isinfl_use=yes
42095 else
42096 glibcxx_cv_func__isinfl_use=no
42098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42099 ac_ext=c
42100 ac_cpp='$CPP $CPPFLAGS'
42101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42110 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42112 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42113 for ac_func in _isinfl
42114 do :
42115 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42116 if test "x$ac_cv_func__isinfl" = x""yes; then :
42117 cat >>confdefs.h <<_ACEOF
42118 #define HAVE__ISINFL 1
42119 _ACEOF
42122 done
42131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42132 $as_echo_n "checking for atan2l declaration... " >&6; }
42133 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42134 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42135 $as_echo_n "(cached) " >&6
42136 else
42139 ac_ext=cpp
42140 ac_cpp='$CXXCPP $CPPFLAGS'
42141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42146 /* end confdefs.h. */
42147 #include <math.h>
42149 main ()
42151 atan2l(0, 0);
42153 return 0;
42155 _ACEOF
42156 if ac_fn_cxx_try_compile "$LINENO"; then :
42157 glibcxx_cv_func_atan2l_use=yes
42158 else
42159 glibcxx_cv_func_atan2l_use=no
42161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42162 ac_ext=c
42163 ac_cpp='$CPP $CPPFLAGS'
42164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42173 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42175 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42176 for ac_func in atan2l
42177 do :
42178 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42179 if test "x$ac_cv_func_atan2l" = x""yes; then :
42180 cat >>confdefs.h <<_ACEOF
42181 #define HAVE_ATAN2L 1
42182 _ACEOF
42185 done
42187 else
42189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42190 $as_echo_n "checking for _atan2l declaration... " >&6; }
42191 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42192 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42193 $as_echo_n "(cached) " >&6
42194 else
42197 ac_ext=cpp
42198 ac_cpp='$CXXCPP $CPPFLAGS'
42199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42204 /* end confdefs.h. */
42205 #include <math.h>
42207 main ()
42209 _atan2l(0, 0);
42211 return 0;
42213 _ACEOF
42214 if ac_fn_cxx_try_compile "$LINENO"; then :
42215 glibcxx_cv_func__atan2l_use=yes
42216 else
42217 glibcxx_cv_func__atan2l_use=no
42219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42220 ac_ext=c
42221 ac_cpp='$CPP $CPPFLAGS'
42222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42231 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42233 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42234 for ac_func in _atan2l
42235 do :
42236 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42237 if test "x$ac_cv_func__atan2l" = x""yes; then :
42238 cat >>confdefs.h <<_ACEOF
42239 #define HAVE__ATAN2L 1
42240 _ACEOF
42243 done
42252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42253 $as_echo_n "checking for expl declaration... " >&6; }
42254 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42255 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42256 $as_echo_n "(cached) " >&6
42257 else
42260 ac_ext=cpp
42261 ac_cpp='$CXXCPP $CPPFLAGS'
42262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42267 /* end confdefs.h. */
42268 #include <math.h>
42269 #ifdef HAVE_IEEEFP_H
42270 #include <ieeefp.h>
42271 #endif
42274 main ()
42276 expl(0);
42278 return 0;
42280 _ACEOF
42281 if ac_fn_cxx_try_compile "$LINENO"; then :
42282 glibcxx_cv_func_expl_use=yes
42283 else
42284 glibcxx_cv_func_expl_use=no
42286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42287 ac_ext=c
42288 ac_cpp='$CPP $CPPFLAGS'
42289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42298 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42300 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42301 for ac_func in expl
42302 do :
42303 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42304 if test "x$ac_cv_func_expl" = x""yes; then :
42305 cat >>confdefs.h <<_ACEOF
42306 #define HAVE_EXPL 1
42307 _ACEOF
42310 done
42312 else
42314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42315 $as_echo_n "checking for _expl declaration... " >&6; }
42316 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42317 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42318 $as_echo_n "(cached) " >&6
42319 else
42322 ac_ext=cpp
42323 ac_cpp='$CXXCPP $CPPFLAGS'
42324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42329 /* end confdefs.h. */
42330 #include <math.h>
42331 #ifdef HAVE_IEEEFP_H
42332 #include <ieeefp.h>
42333 #endif
42336 main ()
42338 _expl(0);
42340 return 0;
42342 _ACEOF
42343 if ac_fn_cxx_try_compile "$LINENO"; then :
42344 glibcxx_cv_func__expl_use=yes
42345 else
42346 glibcxx_cv_func__expl_use=no
42348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42349 ac_ext=c
42350 ac_cpp='$CPP $CPPFLAGS'
42351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42360 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42362 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42363 for ac_func in _expl
42364 do :
42365 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42366 if test "x$ac_cv_func__expl" = x""yes; then :
42367 cat >>confdefs.h <<_ACEOF
42368 #define HAVE__EXPL 1
42369 _ACEOF
42372 done
42381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42382 $as_echo_n "checking for fabsl declaration... " >&6; }
42383 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42384 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42385 $as_echo_n "(cached) " >&6
42386 else
42389 ac_ext=cpp
42390 ac_cpp='$CXXCPP $CPPFLAGS'
42391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42396 /* end confdefs.h. */
42397 #include <math.h>
42398 #ifdef HAVE_IEEEFP_H
42399 #include <ieeefp.h>
42400 #endif
42403 main ()
42405 fabsl(0);
42407 return 0;
42409 _ACEOF
42410 if ac_fn_cxx_try_compile "$LINENO"; then :
42411 glibcxx_cv_func_fabsl_use=yes
42412 else
42413 glibcxx_cv_func_fabsl_use=no
42415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42416 ac_ext=c
42417 ac_cpp='$CPP $CPPFLAGS'
42418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42427 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42429 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42430 for ac_func in fabsl
42431 do :
42432 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42433 if test "x$ac_cv_func_fabsl" = x""yes; then :
42434 cat >>confdefs.h <<_ACEOF
42435 #define HAVE_FABSL 1
42436 _ACEOF
42439 done
42441 else
42443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42444 $as_echo_n "checking for _fabsl declaration... " >&6; }
42445 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42446 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42447 $as_echo_n "(cached) " >&6
42448 else
42451 ac_ext=cpp
42452 ac_cpp='$CXXCPP $CPPFLAGS'
42453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42458 /* end confdefs.h. */
42459 #include <math.h>
42460 #ifdef HAVE_IEEEFP_H
42461 #include <ieeefp.h>
42462 #endif
42465 main ()
42467 _fabsl(0);
42469 return 0;
42471 _ACEOF
42472 if ac_fn_cxx_try_compile "$LINENO"; then :
42473 glibcxx_cv_func__fabsl_use=yes
42474 else
42475 glibcxx_cv_func__fabsl_use=no
42477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42478 ac_ext=c
42479 ac_cpp='$CPP $CPPFLAGS'
42480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42489 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42491 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42492 for ac_func in _fabsl
42493 do :
42494 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42495 if test "x$ac_cv_func__fabsl" = x""yes; then :
42496 cat >>confdefs.h <<_ACEOF
42497 #define HAVE__FABSL 1
42498 _ACEOF
42501 done
42510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42511 $as_echo_n "checking for fmodl declaration... " >&6; }
42512 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42513 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42514 $as_echo_n "(cached) " >&6
42515 else
42518 ac_ext=cpp
42519 ac_cpp='$CXXCPP $CPPFLAGS'
42520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42525 /* end confdefs.h. */
42526 #include <math.h>
42528 main ()
42530 fmodl(0, 0);
42532 return 0;
42534 _ACEOF
42535 if ac_fn_cxx_try_compile "$LINENO"; then :
42536 glibcxx_cv_func_fmodl_use=yes
42537 else
42538 glibcxx_cv_func_fmodl_use=no
42540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42541 ac_ext=c
42542 ac_cpp='$CPP $CPPFLAGS'
42543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42552 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42554 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42555 for ac_func in fmodl
42556 do :
42557 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42558 if test "x$ac_cv_func_fmodl" = x""yes; then :
42559 cat >>confdefs.h <<_ACEOF
42560 #define HAVE_FMODL 1
42561 _ACEOF
42564 done
42566 else
42568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42569 $as_echo_n "checking for _fmodl declaration... " >&6; }
42570 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42571 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42572 $as_echo_n "(cached) " >&6
42573 else
42576 ac_ext=cpp
42577 ac_cpp='$CXXCPP $CPPFLAGS'
42578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42583 /* end confdefs.h. */
42584 #include <math.h>
42586 main ()
42588 _fmodl(0, 0);
42590 return 0;
42592 _ACEOF
42593 if ac_fn_cxx_try_compile "$LINENO"; then :
42594 glibcxx_cv_func__fmodl_use=yes
42595 else
42596 glibcxx_cv_func__fmodl_use=no
42598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42599 ac_ext=c
42600 ac_cpp='$CPP $CPPFLAGS'
42601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42610 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42612 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42613 for ac_func in _fmodl
42614 do :
42615 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42616 if test "x$ac_cv_func__fmodl" = x""yes; then :
42617 cat >>confdefs.h <<_ACEOF
42618 #define HAVE__FMODL 1
42619 _ACEOF
42622 done
42631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42632 $as_echo_n "checking for frexpl declaration... " >&6; }
42633 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42634 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42635 $as_echo_n "(cached) " >&6
42636 else
42639 ac_ext=cpp
42640 ac_cpp='$CXXCPP $CPPFLAGS'
42641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42646 /* end confdefs.h. */
42647 #include <math.h>
42649 main ()
42651 frexpl(0, 0);
42653 return 0;
42655 _ACEOF
42656 if ac_fn_cxx_try_compile "$LINENO"; then :
42657 glibcxx_cv_func_frexpl_use=yes
42658 else
42659 glibcxx_cv_func_frexpl_use=no
42661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42662 ac_ext=c
42663 ac_cpp='$CPP $CPPFLAGS'
42664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42673 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42675 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42676 for ac_func in frexpl
42677 do :
42678 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42679 if test "x$ac_cv_func_frexpl" = x""yes; then :
42680 cat >>confdefs.h <<_ACEOF
42681 #define HAVE_FREXPL 1
42682 _ACEOF
42685 done
42687 else
42689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42690 $as_echo_n "checking for _frexpl declaration... " >&6; }
42691 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42692 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42693 $as_echo_n "(cached) " >&6
42694 else
42697 ac_ext=cpp
42698 ac_cpp='$CXXCPP $CPPFLAGS'
42699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42704 /* end confdefs.h. */
42705 #include <math.h>
42707 main ()
42709 _frexpl(0, 0);
42711 return 0;
42713 _ACEOF
42714 if ac_fn_cxx_try_compile "$LINENO"; then :
42715 glibcxx_cv_func__frexpl_use=yes
42716 else
42717 glibcxx_cv_func__frexpl_use=no
42719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42720 ac_ext=c
42721 ac_cpp='$CPP $CPPFLAGS'
42722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42731 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42733 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42734 for ac_func in _frexpl
42735 do :
42736 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42737 if test "x$ac_cv_func__frexpl" = x""yes; then :
42738 cat >>confdefs.h <<_ACEOF
42739 #define HAVE__FREXPL 1
42740 _ACEOF
42743 done
42752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42753 $as_echo_n "checking for hypotl declaration... " >&6; }
42754 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42755 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42756 $as_echo_n "(cached) " >&6
42757 else
42760 ac_ext=cpp
42761 ac_cpp='$CXXCPP $CPPFLAGS'
42762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42767 /* end confdefs.h. */
42768 #include <math.h>
42770 main ()
42772 hypotl(0, 0);
42774 return 0;
42776 _ACEOF
42777 if ac_fn_cxx_try_compile "$LINENO"; then :
42778 glibcxx_cv_func_hypotl_use=yes
42779 else
42780 glibcxx_cv_func_hypotl_use=no
42782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42783 ac_ext=c
42784 ac_cpp='$CPP $CPPFLAGS'
42785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42794 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42796 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42797 for ac_func in hypotl
42798 do :
42799 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42800 if test "x$ac_cv_func_hypotl" = x""yes; then :
42801 cat >>confdefs.h <<_ACEOF
42802 #define HAVE_HYPOTL 1
42803 _ACEOF
42806 done
42808 else
42810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42811 $as_echo_n "checking for _hypotl declaration... " >&6; }
42812 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42813 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42814 $as_echo_n "(cached) " >&6
42815 else
42818 ac_ext=cpp
42819 ac_cpp='$CXXCPP $CPPFLAGS'
42820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42825 /* end confdefs.h. */
42826 #include <math.h>
42828 main ()
42830 _hypotl(0, 0);
42832 return 0;
42834 _ACEOF
42835 if ac_fn_cxx_try_compile "$LINENO"; then :
42836 glibcxx_cv_func__hypotl_use=yes
42837 else
42838 glibcxx_cv_func__hypotl_use=no
42840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42841 ac_ext=c
42842 ac_cpp='$CPP $CPPFLAGS'
42843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42852 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42854 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42855 for ac_func in _hypotl
42856 do :
42857 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42858 if test "x$ac_cv_func__hypotl" = x""yes; then :
42859 cat >>confdefs.h <<_ACEOF
42860 #define HAVE__HYPOTL 1
42861 _ACEOF
42864 done
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42874 $as_echo_n "checking for ldexpl declaration... " >&6; }
42875 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42876 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42877 $as_echo_n "(cached) " >&6
42878 else
42881 ac_ext=cpp
42882 ac_cpp='$CXXCPP $CPPFLAGS'
42883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42888 /* end confdefs.h. */
42889 #include <math.h>
42891 main ()
42893 ldexpl(0, 0);
42895 return 0;
42897 _ACEOF
42898 if ac_fn_cxx_try_compile "$LINENO"; then :
42899 glibcxx_cv_func_ldexpl_use=yes
42900 else
42901 glibcxx_cv_func_ldexpl_use=no
42903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42904 ac_ext=c
42905 ac_cpp='$CPP $CPPFLAGS'
42906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42915 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42917 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42918 for ac_func in ldexpl
42919 do :
42920 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42921 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42922 cat >>confdefs.h <<_ACEOF
42923 #define HAVE_LDEXPL 1
42924 _ACEOF
42927 done
42929 else
42931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42932 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42933 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42934 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42935 $as_echo_n "(cached) " >&6
42936 else
42939 ac_ext=cpp
42940 ac_cpp='$CXXCPP $CPPFLAGS'
42941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42946 /* end confdefs.h. */
42947 #include <math.h>
42949 main ()
42951 _ldexpl(0, 0);
42953 return 0;
42955 _ACEOF
42956 if ac_fn_cxx_try_compile "$LINENO"; then :
42957 glibcxx_cv_func__ldexpl_use=yes
42958 else
42959 glibcxx_cv_func__ldexpl_use=no
42961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42962 ac_ext=c
42963 ac_cpp='$CPP $CPPFLAGS'
42964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42973 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42975 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42976 for ac_func in _ldexpl
42977 do :
42978 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42979 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42980 cat >>confdefs.h <<_ACEOF
42981 #define HAVE__LDEXPL 1
42982 _ACEOF
42985 done
42994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42995 $as_echo_n "checking for logl declaration... " >&6; }
42996 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42997 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42998 $as_echo_n "(cached) " >&6
42999 else
43002 ac_ext=cpp
43003 ac_cpp='$CXXCPP $CPPFLAGS'
43004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43009 /* end confdefs.h. */
43010 #include <math.h>
43011 #ifdef HAVE_IEEEFP_H
43012 #include <ieeefp.h>
43013 #endif
43016 main ()
43018 logl(0);
43020 return 0;
43022 _ACEOF
43023 if ac_fn_cxx_try_compile "$LINENO"; then :
43024 glibcxx_cv_func_logl_use=yes
43025 else
43026 glibcxx_cv_func_logl_use=no
43028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43029 ac_ext=c
43030 ac_cpp='$CPP $CPPFLAGS'
43031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43040 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43042 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43043 for ac_func in logl
43044 do :
43045 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43046 if test "x$ac_cv_func_logl" = x""yes; then :
43047 cat >>confdefs.h <<_ACEOF
43048 #define HAVE_LOGL 1
43049 _ACEOF
43052 done
43054 else
43056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43057 $as_echo_n "checking for _logl declaration... " >&6; }
43058 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43059 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43060 $as_echo_n "(cached) " >&6
43061 else
43064 ac_ext=cpp
43065 ac_cpp='$CXXCPP $CPPFLAGS'
43066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43071 /* end confdefs.h. */
43072 #include <math.h>
43073 #ifdef HAVE_IEEEFP_H
43074 #include <ieeefp.h>
43075 #endif
43078 main ()
43080 _logl(0);
43082 return 0;
43084 _ACEOF
43085 if ac_fn_cxx_try_compile "$LINENO"; then :
43086 glibcxx_cv_func__logl_use=yes
43087 else
43088 glibcxx_cv_func__logl_use=no
43090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43091 ac_ext=c
43092 ac_cpp='$CPP $CPPFLAGS'
43093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43102 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43104 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43105 for ac_func in _logl
43106 do :
43107 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43108 if test "x$ac_cv_func__logl" = x""yes; then :
43109 cat >>confdefs.h <<_ACEOF
43110 #define HAVE__LOGL 1
43111 _ACEOF
43114 done
43123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43124 $as_echo_n "checking for log10l declaration... " >&6; }
43125 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43126 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43127 $as_echo_n "(cached) " >&6
43128 else
43131 ac_ext=cpp
43132 ac_cpp='$CXXCPP $CPPFLAGS'
43133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43138 /* end confdefs.h. */
43139 #include <math.h>
43140 #ifdef HAVE_IEEEFP_H
43141 #include <ieeefp.h>
43142 #endif
43145 main ()
43147 log10l(0);
43149 return 0;
43151 _ACEOF
43152 if ac_fn_cxx_try_compile "$LINENO"; then :
43153 glibcxx_cv_func_log10l_use=yes
43154 else
43155 glibcxx_cv_func_log10l_use=no
43157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43158 ac_ext=c
43159 ac_cpp='$CPP $CPPFLAGS'
43160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43169 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43171 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43172 for ac_func in log10l
43173 do :
43174 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43175 if test "x$ac_cv_func_log10l" = x""yes; then :
43176 cat >>confdefs.h <<_ACEOF
43177 #define HAVE_LOG10L 1
43178 _ACEOF
43181 done
43183 else
43185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43186 $as_echo_n "checking for _log10l declaration... " >&6; }
43187 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43188 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43189 $as_echo_n "(cached) " >&6
43190 else
43193 ac_ext=cpp
43194 ac_cpp='$CXXCPP $CPPFLAGS'
43195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43200 /* end confdefs.h. */
43201 #include <math.h>
43202 #ifdef HAVE_IEEEFP_H
43203 #include <ieeefp.h>
43204 #endif
43207 main ()
43209 _log10l(0);
43211 return 0;
43213 _ACEOF
43214 if ac_fn_cxx_try_compile "$LINENO"; then :
43215 glibcxx_cv_func__log10l_use=yes
43216 else
43217 glibcxx_cv_func__log10l_use=no
43219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43220 ac_ext=c
43221 ac_cpp='$CPP $CPPFLAGS'
43222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43231 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43233 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43234 for ac_func in _log10l
43235 do :
43236 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43237 if test "x$ac_cv_func__log10l" = x""yes; then :
43238 cat >>confdefs.h <<_ACEOF
43239 #define HAVE__LOG10L 1
43240 _ACEOF
43243 done
43252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43253 $as_echo_n "checking for modfl declaration... " >&6; }
43254 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43255 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43256 $as_echo_n "(cached) " >&6
43257 else
43260 ac_ext=cpp
43261 ac_cpp='$CXXCPP $CPPFLAGS'
43262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43267 /* end confdefs.h. */
43268 #include <math.h>
43270 main ()
43272 modfl(0, 0);
43274 return 0;
43276 _ACEOF
43277 if ac_fn_cxx_try_compile "$LINENO"; then :
43278 glibcxx_cv_func_modfl_use=yes
43279 else
43280 glibcxx_cv_func_modfl_use=no
43282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43283 ac_ext=c
43284 ac_cpp='$CPP $CPPFLAGS'
43285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43294 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43296 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43297 for ac_func in modfl
43298 do :
43299 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43300 if test "x$ac_cv_func_modfl" = x""yes; then :
43301 cat >>confdefs.h <<_ACEOF
43302 #define HAVE_MODFL 1
43303 _ACEOF
43306 done
43308 else
43310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43311 $as_echo_n "checking for _modfl declaration... " >&6; }
43312 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43313 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43314 $as_echo_n "(cached) " >&6
43315 else
43318 ac_ext=cpp
43319 ac_cpp='$CXXCPP $CPPFLAGS'
43320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43325 /* end confdefs.h. */
43326 #include <math.h>
43328 main ()
43330 _modfl(0, 0);
43332 return 0;
43334 _ACEOF
43335 if ac_fn_cxx_try_compile "$LINENO"; then :
43336 glibcxx_cv_func__modfl_use=yes
43337 else
43338 glibcxx_cv_func__modfl_use=no
43340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43341 ac_ext=c
43342 ac_cpp='$CPP $CPPFLAGS'
43343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43352 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43354 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43355 for ac_func in _modfl
43356 do :
43357 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43358 if test "x$ac_cv_func__modfl" = x""yes; then :
43359 cat >>confdefs.h <<_ACEOF
43360 #define HAVE__MODFL 1
43361 _ACEOF
43364 done
43373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43374 $as_echo_n "checking for powl declaration... " >&6; }
43375 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43376 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43377 $as_echo_n "(cached) " >&6
43378 else
43381 ac_ext=cpp
43382 ac_cpp='$CXXCPP $CPPFLAGS'
43383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43388 /* end confdefs.h. */
43389 #include <math.h>
43391 main ()
43393 powl(0, 0);
43395 return 0;
43397 _ACEOF
43398 if ac_fn_cxx_try_compile "$LINENO"; then :
43399 glibcxx_cv_func_powl_use=yes
43400 else
43401 glibcxx_cv_func_powl_use=no
43403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43404 ac_ext=c
43405 ac_cpp='$CPP $CPPFLAGS'
43406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43415 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43417 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43418 for ac_func in powl
43419 do :
43420 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43421 if test "x$ac_cv_func_powl" = x""yes; then :
43422 cat >>confdefs.h <<_ACEOF
43423 #define HAVE_POWL 1
43424 _ACEOF
43427 done
43429 else
43431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43432 $as_echo_n "checking for _powl declaration... " >&6; }
43433 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43434 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43435 $as_echo_n "(cached) " >&6
43436 else
43439 ac_ext=cpp
43440 ac_cpp='$CXXCPP $CPPFLAGS'
43441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43446 /* end confdefs.h. */
43447 #include <math.h>
43449 main ()
43451 _powl(0, 0);
43453 return 0;
43455 _ACEOF
43456 if ac_fn_cxx_try_compile "$LINENO"; then :
43457 glibcxx_cv_func__powl_use=yes
43458 else
43459 glibcxx_cv_func__powl_use=no
43461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43462 ac_ext=c
43463 ac_cpp='$CPP $CPPFLAGS'
43464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43473 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43475 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43476 for ac_func in _powl
43477 do :
43478 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43479 if test "x$ac_cv_func__powl" = x""yes; then :
43480 cat >>confdefs.h <<_ACEOF
43481 #define HAVE__POWL 1
43482 _ACEOF
43485 done
43494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43495 $as_echo_n "checking for sqrtl declaration... " >&6; }
43496 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43497 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43498 $as_echo_n "(cached) " >&6
43499 else
43502 ac_ext=cpp
43503 ac_cpp='$CXXCPP $CPPFLAGS'
43504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43509 /* end confdefs.h. */
43510 #include <math.h>
43511 #ifdef HAVE_IEEEFP_H
43512 #include <ieeefp.h>
43513 #endif
43516 main ()
43518 sqrtl(0);
43520 return 0;
43522 _ACEOF
43523 if ac_fn_cxx_try_compile "$LINENO"; then :
43524 glibcxx_cv_func_sqrtl_use=yes
43525 else
43526 glibcxx_cv_func_sqrtl_use=no
43528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43529 ac_ext=c
43530 ac_cpp='$CPP $CPPFLAGS'
43531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43540 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43542 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43543 for ac_func in sqrtl
43544 do :
43545 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43546 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43547 cat >>confdefs.h <<_ACEOF
43548 #define HAVE_SQRTL 1
43549 _ACEOF
43552 done
43554 else
43556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43557 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43558 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43559 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43560 $as_echo_n "(cached) " >&6
43561 else
43564 ac_ext=cpp
43565 ac_cpp='$CXXCPP $CPPFLAGS'
43566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43571 /* end confdefs.h. */
43572 #include <math.h>
43573 #ifdef HAVE_IEEEFP_H
43574 #include <ieeefp.h>
43575 #endif
43578 main ()
43580 _sqrtl(0);
43582 return 0;
43584 _ACEOF
43585 if ac_fn_cxx_try_compile "$LINENO"; then :
43586 glibcxx_cv_func__sqrtl_use=yes
43587 else
43588 glibcxx_cv_func__sqrtl_use=no
43590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43591 ac_ext=c
43592 ac_cpp='$CPP $CPPFLAGS'
43593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43602 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43604 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43605 for ac_func in _sqrtl
43606 do :
43607 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43608 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43609 cat >>confdefs.h <<_ACEOF
43610 #define HAVE__SQRTL 1
43611 _ACEOF
43614 done
43623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43624 $as_echo_n "checking for sincosl declaration... " >&6; }
43625 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43626 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43627 $as_echo_n "(cached) " >&6
43628 else
43631 ac_ext=cpp
43632 ac_cpp='$CXXCPP $CPPFLAGS'
43633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43638 /* end confdefs.h. */
43639 #include <math.h>
43641 main ()
43643 sincosl(0, 0, 0);
43645 return 0;
43647 _ACEOF
43648 if ac_fn_cxx_try_compile "$LINENO"; then :
43649 glibcxx_cv_func_sincosl_use=yes
43650 else
43651 glibcxx_cv_func_sincosl_use=no
43653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43654 ac_ext=c
43655 ac_cpp='$CPP $CPPFLAGS'
43656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43665 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43667 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43668 for ac_func in sincosl
43669 do :
43670 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43671 if test "x$ac_cv_func_sincosl" = x""yes; then :
43672 cat >>confdefs.h <<_ACEOF
43673 #define HAVE_SINCOSL 1
43674 _ACEOF
43677 done
43679 else
43681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43682 $as_echo_n "checking for _sincosl declaration... " >&6; }
43683 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43684 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43685 $as_echo_n "(cached) " >&6
43686 else
43689 ac_ext=cpp
43690 ac_cpp='$CXXCPP $CPPFLAGS'
43691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43696 /* end confdefs.h. */
43697 #include <math.h>
43699 main ()
43701 _sincosl(0, 0, 0);
43703 return 0;
43705 _ACEOF
43706 if ac_fn_cxx_try_compile "$LINENO"; then :
43707 glibcxx_cv_func__sincosl_use=yes
43708 else
43709 glibcxx_cv_func__sincosl_use=no
43711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43712 ac_ext=c
43713 ac_cpp='$CPP $CPPFLAGS'
43714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43723 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43725 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43726 for ac_func in _sincosl
43727 do :
43728 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43729 if test "x$ac_cv_func__sincosl" = x""yes; then :
43730 cat >>confdefs.h <<_ACEOF
43731 #define HAVE__SINCOSL 1
43732 _ACEOF
43735 done
43744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43745 $as_echo_n "checking for finitel declaration... " >&6; }
43746 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43747 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43748 $as_echo_n "(cached) " >&6
43749 else
43752 ac_ext=cpp
43753 ac_cpp='$CXXCPP $CPPFLAGS'
43754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43759 /* end confdefs.h. */
43760 #include <math.h>
43761 #ifdef HAVE_IEEEFP_H
43762 #include <ieeefp.h>
43763 #endif
43766 main ()
43768 finitel(0);
43770 return 0;
43772 _ACEOF
43773 if ac_fn_cxx_try_compile "$LINENO"; then :
43774 glibcxx_cv_func_finitel_use=yes
43775 else
43776 glibcxx_cv_func_finitel_use=no
43778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43779 ac_ext=c
43780 ac_cpp='$CPP $CPPFLAGS'
43781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43790 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43792 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43793 for ac_func in finitel
43794 do :
43795 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43796 if test "x$ac_cv_func_finitel" = x""yes; then :
43797 cat >>confdefs.h <<_ACEOF
43798 #define HAVE_FINITEL 1
43799 _ACEOF
43802 done
43804 else
43806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43807 $as_echo_n "checking for _finitel declaration... " >&6; }
43808 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43809 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43810 $as_echo_n "(cached) " >&6
43811 else
43814 ac_ext=cpp
43815 ac_cpp='$CXXCPP $CPPFLAGS'
43816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43821 /* end confdefs.h. */
43822 #include <math.h>
43823 #ifdef HAVE_IEEEFP_H
43824 #include <ieeefp.h>
43825 #endif
43828 main ()
43830 _finitel(0);
43832 return 0;
43834 _ACEOF
43835 if ac_fn_cxx_try_compile "$LINENO"; then :
43836 glibcxx_cv_func__finitel_use=yes
43837 else
43838 glibcxx_cv_func__finitel_use=no
43840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43841 ac_ext=c
43842 ac_cpp='$CPP $CPPFLAGS'
43843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43852 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43854 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43855 for ac_func in _finitel
43856 do :
43857 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43858 if test "x$ac_cv_func__finitel" = x""yes; then :
43859 cat >>confdefs.h <<_ACEOF
43860 #define HAVE__FINITEL 1
43861 _ACEOF
43864 done
43872 LIBS="$ac_save_LIBS"
43873 CXXFLAGS="$ac_save_CXXFLAGS"
43876 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43877 ac_save_CXXFLAGS="$CXXFLAGS"
43878 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43882 $as_echo_n "checking for strtold declaration... " >&6; }
43883 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43884 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43885 $as_echo_n "(cached) " >&6
43886 else
43889 ac_ext=cpp
43890 ac_cpp='$CXXCPP $CPPFLAGS'
43891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43896 /* end confdefs.h. */
43897 #include <stdlib.h>
43899 main ()
43901 strtold(0, 0);
43903 return 0;
43905 _ACEOF
43906 if ac_fn_cxx_try_compile "$LINENO"; then :
43907 glibcxx_cv_func_strtold_use=yes
43908 else
43909 glibcxx_cv_func_strtold_use=no
43911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43912 ac_ext=c
43913 ac_cpp='$CPP $CPPFLAGS'
43914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43923 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43924 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43925 for ac_func in strtold
43926 do :
43927 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43928 if test "x$ac_cv_func_strtold" = x""yes; then :
43929 cat >>confdefs.h <<_ACEOF
43930 #define HAVE_STRTOLD 1
43931 _ACEOF
43934 done
43941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43942 $as_echo_n "checking for strtof declaration... " >&6; }
43943 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43944 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43945 $as_echo_n "(cached) " >&6
43946 else
43949 ac_ext=cpp
43950 ac_cpp='$CXXCPP $CPPFLAGS'
43951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43956 /* end confdefs.h. */
43957 #include <stdlib.h>
43959 main ()
43961 strtof(0, 0);
43963 return 0;
43965 _ACEOF
43966 if ac_fn_cxx_try_compile "$LINENO"; then :
43967 glibcxx_cv_func_strtof_use=yes
43968 else
43969 glibcxx_cv_func_strtof_use=no
43971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43972 ac_ext=c
43973 ac_cpp='$CPP $CPPFLAGS'
43974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43983 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43984 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43985 for ac_func in strtof
43986 do :
43987 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43988 if test "x$ac_cv_func_strtof" = x""yes; then :
43989 cat >>confdefs.h <<_ACEOF
43990 #define HAVE_STRTOF 1
43991 _ACEOF
43994 done
44001 CXXFLAGS="$ac_save_CXXFLAGS"
44005 *djgpp)
44006 # GLIBCXX_CHECK_MATH_SUPPORT
44007 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44009 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44011 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44013 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44015 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44019 *-freebsd*)
44020 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44023 # If we're not using GNU ld, then there's no point in even trying these
44024 # tests. Check for that first. We should have already tested for gld
44025 # by now (in libtool), but require it now just to be safe...
44026 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44027 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44031 # The name set by libtool depends on the version of libtool. Shame on us
44032 # for depending on an impl detail, but c'est la vie. Older versions used
44033 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44034 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44035 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44036 # set (hence we're using an older libtool), then set it.
44037 if test x${with_gnu_ld+set} != xset; then
44038 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44039 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44040 with_gnu_ld=no
44041 else
44042 with_gnu_ld=$ac_cv_prog_gnu_ld
44046 # Start by getting the version number. I think the libtool test already
44047 # does some of this, but throws away the result.
44048 glibcxx_ld_is_gold=no
44049 if test x"$with_gnu_ld" = x"yes"; then
44050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44051 $as_echo_n "checking for ld version... " >&6; }
44053 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44054 glibcxx_ld_is_gold=yes
44056 ldver=`$LD --version 2>/dev/null |
44057 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'`
44059 glibcxx_gnu_ld_version=`echo $ldver | \
44060 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44062 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44065 # Set --gc-sections.
44066 glibcxx_have_gc_sections=no
44067 if test "$glibcxx_ld_is_gold" = "yes"; then
44068 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44069 glibcxx_have_gc_sections=yes
44071 else
44072 glibcxx_gcsections_min_ld=21602
44073 if test x"$with_gnu_ld" = x"yes" &&
44074 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44075 glibcxx_have_gc_sections=yes
44078 if test "$glibcxx_have_gc_sections" = "yes"; then
44079 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44080 # NB: This flag only works reliably after 2.16.1. Configure tests
44081 # for this are difficult, so hard wire a value that should work.
44083 ac_test_CFLAGS="${CFLAGS+set}"
44084 ac_save_CFLAGS="$CFLAGS"
44085 CFLAGS='-Wl,--gc-sections'
44087 # Check for -Wl,--gc-sections
44088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44089 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44090 if test x$gcc_no_link = xyes; then
44091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44094 /* end confdefs.h. */
44095 int one(void) { return 1; }
44096 int two(void) { return 2; }
44099 main ()
44101 two();
44103 return 0;
44105 _ACEOF
44106 if ac_fn_c_try_link "$LINENO"; then :
44107 ac_gcsections=yes
44108 else
44109 ac_gcsections=no
44111 rm -f core conftest.err conftest.$ac_objext \
44112 conftest$ac_exeext conftest.$ac_ext
44113 if test "$ac_gcsections" = "yes"; then
44114 rm -f conftest.c
44115 touch conftest.c
44116 if $CC -c conftest.c; then
44117 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44118 grep "Warning: gc-sections option ignored" > /dev/null; then
44119 ac_gcsections=no
44122 rm -f conftest.c conftest.o conftest
44124 if test "$ac_gcsections" = "yes"; then
44125 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44128 $as_echo "$ac_gcsections" >&6; }
44130 if test "$ac_test_CFLAGS" = set; then
44131 CFLAGS="$ac_save_CFLAGS"
44132 else
44133 # this is the suspicious part
44134 CFLAGS=''
44138 # Set -z,relro.
44139 # Note this is only for shared objects.
44140 ac_ld_relro=no
44141 if test x"$with_gnu_ld" = x"yes"; then
44142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44143 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44144 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44145 if test -n "$cxx_z_relo"; then
44146 OPT_LDFLAGS="-Wl,-z,relro"
44147 ac_ld_relro=yes
44149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44150 $as_echo "$ac_ld_relro" >&6; }
44153 # Set linker optimization flags.
44154 if test x"$with_gnu_ld" = x"yes"; then
44155 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44161 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44163 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44165 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44167 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44169 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44171 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44173 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44175 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44177 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44180 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44182 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44184 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44186 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44188 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44190 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44192 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44194 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44196 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44198 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44200 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44202 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44204 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44206 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44208 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44210 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44212 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44214 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44216 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44218 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44220 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44222 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44224 if test x"long_double_math_on_this_cpu" = x"yes"; then
44225 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44227 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44229 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44233 *-hpux*)
44234 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44237 # If we're not using GNU ld, then there's no point in even trying these
44238 # tests. Check for that first. We should have already tested for gld
44239 # by now (in libtool), but require it now just to be safe...
44240 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44241 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44245 # The name set by libtool depends on the version of libtool. Shame on us
44246 # for depending on an impl detail, but c'est la vie. Older versions used
44247 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44248 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44249 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44250 # set (hence we're using an older libtool), then set it.
44251 if test x${with_gnu_ld+set} != xset; then
44252 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44253 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44254 with_gnu_ld=no
44255 else
44256 with_gnu_ld=$ac_cv_prog_gnu_ld
44260 # Start by getting the version number. I think the libtool test already
44261 # does some of this, but throws away the result.
44262 glibcxx_ld_is_gold=no
44263 if test x"$with_gnu_ld" = x"yes"; then
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44265 $as_echo_n "checking for ld version... " >&6; }
44267 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44268 glibcxx_ld_is_gold=yes
44270 ldver=`$LD --version 2>/dev/null |
44271 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'`
44273 glibcxx_gnu_ld_version=`echo $ldver | \
44274 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44276 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44279 # Set --gc-sections.
44280 glibcxx_have_gc_sections=no
44281 if test "$glibcxx_ld_is_gold" = "yes"; then
44282 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44283 glibcxx_have_gc_sections=yes
44285 else
44286 glibcxx_gcsections_min_ld=21602
44287 if test x"$with_gnu_ld" = x"yes" &&
44288 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44289 glibcxx_have_gc_sections=yes
44292 if test "$glibcxx_have_gc_sections" = "yes"; then
44293 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44294 # NB: This flag only works reliably after 2.16.1. Configure tests
44295 # for this are difficult, so hard wire a value that should work.
44297 ac_test_CFLAGS="${CFLAGS+set}"
44298 ac_save_CFLAGS="$CFLAGS"
44299 CFLAGS='-Wl,--gc-sections'
44301 # Check for -Wl,--gc-sections
44302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44303 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44304 if test x$gcc_no_link = xyes; then
44305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44308 /* end confdefs.h. */
44309 int one(void) { return 1; }
44310 int two(void) { return 2; }
44313 main ()
44315 two();
44317 return 0;
44319 _ACEOF
44320 if ac_fn_c_try_link "$LINENO"; then :
44321 ac_gcsections=yes
44322 else
44323 ac_gcsections=no
44325 rm -f core conftest.err conftest.$ac_objext \
44326 conftest$ac_exeext conftest.$ac_ext
44327 if test "$ac_gcsections" = "yes"; then
44328 rm -f conftest.c
44329 touch conftest.c
44330 if $CC -c conftest.c; then
44331 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44332 grep "Warning: gc-sections option ignored" > /dev/null; then
44333 ac_gcsections=no
44336 rm -f conftest.c conftest.o conftest
44338 if test "$ac_gcsections" = "yes"; then
44339 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44342 $as_echo "$ac_gcsections" >&6; }
44344 if test "$ac_test_CFLAGS" = set; then
44345 CFLAGS="$ac_save_CFLAGS"
44346 else
44347 # this is the suspicious part
44348 CFLAGS=''
44352 # Set -z,relro.
44353 # Note this is only for shared objects.
44354 ac_ld_relro=no
44355 if test x"$with_gnu_ld" = x"yes"; then
44356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44357 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44358 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44359 if test -n "$cxx_z_relo"; then
44360 OPT_LDFLAGS="-Wl,-z,relro"
44361 ac_ld_relro=yes
44363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44364 $as_echo "$ac_ld_relro" >&6; }
44367 # Set linker optimization flags.
44368 if test x"$with_gnu_ld" = x"yes"; then
44369 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44376 # GLIBCXX_CHECK_MATH_SUPPORT
44377 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44379 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44381 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44383 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44385 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44387 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44389 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44391 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44393 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44395 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44397 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44399 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44401 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44403 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44405 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44407 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44409 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44411 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44413 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44415 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44417 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44420 # GLIBCXX_CHECK_STDLIB_SUPPORT
44421 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44426 # Check whether --enable-tls was given.
44427 if test "${enable_tls+set}" = set; then :
44428 enableval=$enable_tls;
44429 case "$enableval" in
44430 yes|no) ;;
44431 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44432 esac
44434 else
44435 enable_tls=yes
44439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44440 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44441 if test "${gcc_cv_have_tls+set}" = set; then :
44442 $as_echo_n "(cached) " >&6
44443 else
44445 if test "$cross_compiling" = yes; then :
44446 if test x$gcc_no_link = xyes; then
44447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44450 /* end confdefs.h. */
44451 __thread int a; int b; int main() { return a = b; }
44452 _ACEOF
44453 if ac_fn_c_try_link "$LINENO"; then :
44454 chktls_save_LDFLAGS="$LDFLAGS"
44455 case $host in
44456 *-*-linux*)
44457 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44459 esac
44460 chktls_save_CFLAGS="$CFLAGS"
44461 CFLAGS="-fPIC $CFLAGS"
44462 if test x$gcc_no_link = xyes; then
44463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44466 /* end confdefs.h. */
44467 int f() { return 0; }
44468 _ACEOF
44469 if ac_fn_c_try_link "$LINENO"; then :
44470 if test x$gcc_no_link = xyes; then
44471 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44474 /* end confdefs.h. */
44475 __thread int a; int b; int f() { return a = b; }
44476 _ACEOF
44477 if ac_fn_c_try_link "$LINENO"; then :
44478 gcc_cv_have_tls=yes
44479 else
44480 gcc_cv_have_tls=no
44482 rm -f core conftest.err conftest.$ac_objext \
44483 conftest$ac_exeext conftest.$ac_ext
44484 else
44485 gcc_cv_have_tls=yes
44487 rm -f core conftest.err conftest.$ac_objext \
44488 conftest$ac_exeext conftest.$ac_ext
44489 CFLAGS="$chktls_save_CFLAGS"
44490 LDFLAGS="$chktls_save_LDFLAGS"
44491 else
44492 gcc_cv_have_tls=no
44494 rm -f core conftest.err conftest.$ac_objext \
44495 conftest$ac_exeext conftest.$ac_ext
44498 else
44499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44500 /* end confdefs.h. */
44501 __thread int a; int b; int main() { return a = b; }
44502 _ACEOF
44503 if ac_fn_c_try_run "$LINENO"; then :
44504 chktls_save_LDFLAGS="$LDFLAGS"
44505 LDFLAGS="-static $LDFLAGS"
44506 if test x$gcc_no_link = xyes; then
44507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44510 /* end confdefs.h. */
44511 int main() { return 0; }
44512 _ACEOF
44513 if ac_fn_c_try_link "$LINENO"; then :
44514 if test "$cross_compiling" = yes; then :
44515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44517 as_fn_error "cannot run test program while cross compiling
44518 See \`config.log' for more details." "$LINENO" 5; }
44519 else
44520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44521 /* end confdefs.h. */
44522 __thread int a; int b; int main() { return a = b; }
44523 _ACEOF
44524 if ac_fn_c_try_run "$LINENO"; then :
44525 gcc_cv_have_tls=yes
44526 else
44527 gcc_cv_have_tls=no
44529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44530 conftest.$ac_objext conftest.beam conftest.$ac_ext
44533 else
44534 gcc_cv_have_tls=yes
44536 rm -f core conftest.err conftest.$ac_objext \
44537 conftest$ac_exeext conftest.$ac_ext
44538 LDFLAGS="$chktls_save_LDFLAGS"
44539 if test $gcc_cv_have_tls = yes; then
44540 chktls_save_CFLAGS="$CFLAGS"
44541 thread_CFLAGS=failed
44542 for flag in '' '-pthread' '-lpthread'; do
44543 CFLAGS="$flag $chktls_save_CFLAGS"
44544 if test x$gcc_no_link = xyes; then
44545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44548 /* end confdefs.h. */
44549 #include <pthread.h>
44550 void *g(void *d) { return NULL; }
44552 main ()
44554 pthread_t t; pthread_create(&t,NULL,g,NULL);
44556 return 0;
44558 _ACEOF
44559 if ac_fn_c_try_link "$LINENO"; then :
44560 thread_CFLAGS="$flag"
44562 rm -f core conftest.err conftest.$ac_objext \
44563 conftest$ac_exeext conftest.$ac_ext
44564 if test "X$thread_CFLAGS" != Xfailed; then
44565 break
44567 done
44568 CFLAGS="$chktls_save_CFLAGS"
44569 if test "X$thread_CFLAGS" != Xfailed; then
44570 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44571 if test "$cross_compiling" = yes; then :
44572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44574 as_fn_error "cannot run test program while cross compiling
44575 See \`config.log' for more details." "$LINENO" 5; }
44576 else
44577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44578 /* end confdefs.h. */
44579 #include <pthread.h>
44580 __thread int a;
44581 static int *volatile a_in_other_thread;
44582 static void *
44583 thread_func (void *arg)
44585 a_in_other_thread = &a;
44586 return (void *)0;
44589 main ()
44591 pthread_t thread;
44592 void *thread_retval;
44593 int *volatile a_in_main_thread;
44594 a_in_main_thread = &a;
44595 if (pthread_create (&thread, (pthread_attr_t *)0,
44596 thread_func, (void *)0))
44597 return 0;
44598 if (pthread_join (thread, &thread_retval))
44599 return 0;
44600 return (a_in_other_thread == a_in_main_thread);
44602 return 0;
44604 _ACEOF
44605 if ac_fn_c_try_run "$LINENO"; then :
44606 gcc_cv_have_tls=yes
44607 else
44608 gcc_cv_have_tls=no
44610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44611 conftest.$ac_objext conftest.beam conftest.$ac_ext
44614 CFLAGS="$chktls_save_CFLAGS"
44617 else
44618 gcc_cv_have_tls=no
44620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44621 conftest.$ac_objext conftest.beam conftest.$ac_ext
44625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44626 $as_echo "$gcc_cv_have_tls" >&6; }
44627 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44629 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44632 case "$target" in
44633 *-hpux10*)
44634 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44636 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44638 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44640 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44642 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44645 esac
44647 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44649 # All these tests are for C++; save the language and the compiler flags.
44650 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44651 # found in GLIBCXX_CONFIGURE.
44653 ac_ext=cpp
44654 ac_cpp='$CXXCPP $CPPFLAGS'
44655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44659 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44660 ac_save_CXXFLAGS="$CXXFLAGS"
44662 # Check for maintainer-mode bits.
44663 if test x"$USE_MAINTAINER_MODE" = xno; then
44664 WERROR=''
44665 else
44666 WERROR='-Werror'
44669 # Check for -ffunction-sections -fdata-sections
44670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44671 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44672 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44674 /* end confdefs.h. */
44675 int foo; void bar() { };
44677 main ()
44681 return 0;
44683 _ACEOF
44684 if ac_fn_cxx_try_compile "$LINENO"; then :
44685 ac_fdsections=yes
44686 else
44687 ac_fdsections=no
44689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44690 if test "$ac_test_CXXFLAGS" = set; then
44691 CXXFLAGS="$ac_save_CXXFLAGS"
44692 else
44693 # this is the suspicious part
44694 CXXFLAGS=''
44696 if test x"$ac_fdsections" = x"yes"; then
44697 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44700 $as_echo "$ac_fdsections" >&6; }
44702 ac_ext=c
44703 ac_cpp='$CPP $CPPFLAGS'
44704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44712 # If we're not using GNU ld, then there's no point in even trying these
44713 # tests. Check for that first. We should have already tested for gld
44714 # by now (in libtool), but require it now just to be safe...
44715 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44716 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44720 # The name set by libtool depends on the version of libtool. Shame on us
44721 # for depending on an impl detail, but c'est la vie. Older versions used
44722 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44723 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44724 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44725 # set (hence we're using an older libtool), then set it.
44726 if test x${with_gnu_ld+set} != xset; then
44727 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44728 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44729 with_gnu_ld=no
44730 else
44731 with_gnu_ld=$ac_cv_prog_gnu_ld
44735 # Start by getting the version number. I think the libtool test already
44736 # does some of this, but throws away the result.
44737 glibcxx_ld_is_gold=no
44738 if test x"$with_gnu_ld" = x"yes"; then
44739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44740 $as_echo_n "checking for ld version... " >&6; }
44742 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44743 glibcxx_ld_is_gold=yes
44745 ldver=`$LD --version 2>/dev/null |
44746 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'`
44748 glibcxx_gnu_ld_version=`echo $ldver | \
44749 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44751 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44754 # Set --gc-sections.
44755 glibcxx_have_gc_sections=no
44756 if test "$glibcxx_ld_is_gold" = "yes"; then
44757 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44758 glibcxx_have_gc_sections=yes
44760 else
44761 glibcxx_gcsections_min_ld=21602
44762 if test x"$with_gnu_ld" = x"yes" &&
44763 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44764 glibcxx_have_gc_sections=yes
44767 if test "$glibcxx_have_gc_sections" = "yes"; then
44768 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44769 # NB: This flag only works reliably after 2.16.1. Configure tests
44770 # for this are difficult, so hard wire a value that should work.
44772 ac_test_CFLAGS="${CFLAGS+set}"
44773 ac_save_CFLAGS="$CFLAGS"
44774 CFLAGS='-Wl,--gc-sections'
44776 # Check for -Wl,--gc-sections
44777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44778 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44779 if test x$gcc_no_link = xyes; then
44780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44783 /* end confdefs.h. */
44784 int one(void) { return 1; }
44785 int two(void) { return 2; }
44788 main ()
44790 two();
44792 return 0;
44794 _ACEOF
44795 if ac_fn_c_try_link "$LINENO"; then :
44796 ac_gcsections=yes
44797 else
44798 ac_gcsections=no
44800 rm -f core conftest.err conftest.$ac_objext \
44801 conftest$ac_exeext conftest.$ac_ext
44802 if test "$ac_gcsections" = "yes"; then
44803 rm -f conftest.c
44804 touch conftest.c
44805 if $CC -c conftest.c; then
44806 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44807 grep "Warning: gc-sections option ignored" > /dev/null; then
44808 ac_gcsections=no
44811 rm -f conftest.c conftest.o conftest
44813 if test "$ac_gcsections" = "yes"; then
44814 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44817 $as_echo "$ac_gcsections" >&6; }
44819 if test "$ac_test_CFLAGS" = set; then
44820 CFLAGS="$ac_save_CFLAGS"
44821 else
44822 # this is the suspicious part
44823 CFLAGS=''
44827 # Set -z,relro.
44828 # Note this is only for shared objects.
44829 ac_ld_relro=no
44830 if test x"$with_gnu_ld" = x"yes"; then
44831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44832 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44833 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44834 if test -n "$cxx_z_relo"; then
44835 OPT_LDFLAGS="-Wl,-z,relro"
44836 ac_ld_relro=yes
44838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44839 $as_echo "$ac_ld_relro" >&6; }
44842 # Set linker optimization flags.
44843 if test x"$with_gnu_ld" = x"yes"; then
44844 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44851 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44852 ac_save_CXXFLAGS="$CXXFLAGS"
44853 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44856 $as_echo_n "checking for sin in -lm... " >&6; }
44857 if test "${ac_cv_lib_m_sin+set}" = set; then :
44858 $as_echo_n "(cached) " >&6
44859 else
44860 ac_check_lib_save_LIBS=$LIBS
44861 LIBS="-lm $LIBS"
44862 if test x$gcc_no_link = xyes; then
44863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44866 /* end confdefs.h. */
44868 /* Override any GCC internal prototype to avoid an error.
44869 Use char because int might match the return type of a GCC
44870 builtin and then its argument prototype would still apply. */
44871 #ifdef __cplusplus
44872 extern "C"
44873 #endif
44874 char sin ();
44876 main ()
44878 return sin ();
44880 return 0;
44882 _ACEOF
44883 if ac_fn_c_try_link "$LINENO"; then :
44884 ac_cv_lib_m_sin=yes
44885 else
44886 ac_cv_lib_m_sin=no
44888 rm -f core conftest.err conftest.$ac_objext \
44889 conftest$ac_exeext conftest.$ac_ext
44890 LIBS=$ac_check_lib_save_LIBS
44892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44893 $as_echo "$ac_cv_lib_m_sin" >&6; }
44894 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44895 libm="-lm"
44898 ac_save_LIBS="$LIBS"
44899 LIBS="$LIBS $libm"
44903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44904 $as_echo_n "checking for isinf declaration... " >&6; }
44905 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44906 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44907 $as_echo_n "(cached) " >&6
44908 else
44911 ac_ext=cpp
44912 ac_cpp='$CXXCPP $CPPFLAGS'
44913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44918 /* end confdefs.h. */
44919 #include <math.h>
44920 #ifdef HAVE_IEEEFP_H
44921 #include <ieeefp.h>
44922 #endif
44925 main ()
44927 isinf(0);
44929 return 0;
44931 _ACEOF
44932 if ac_fn_cxx_try_compile "$LINENO"; then :
44933 glibcxx_cv_func_isinf_use=yes
44934 else
44935 glibcxx_cv_func_isinf_use=no
44937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44938 ac_ext=c
44939 ac_cpp='$CPP $CPPFLAGS'
44940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44949 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44951 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44952 for ac_func in isinf
44953 do :
44954 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44955 if test "x$ac_cv_func_isinf" = x""yes; then :
44956 cat >>confdefs.h <<_ACEOF
44957 #define HAVE_ISINF 1
44958 _ACEOF
44961 done
44963 else
44965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44966 $as_echo_n "checking for _isinf declaration... " >&6; }
44967 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44968 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44969 $as_echo_n "(cached) " >&6
44970 else
44973 ac_ext=cpp
44974 ac_cpp='$CXXCPP $CPPFLAGS'
44975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44980 /* end confdefs.h. */
44981 #include <math.h>
44982 #ifdef HAVE_IEEEFP_H
44983 #include <ieeefp.h>
44984 #endif
44987 main ()
44989 _isinf(0);
44991 return 0;
44993 _ACEOF
44994 if ac_fn_cxx_try_compile "$LINENO"; then :
44995 glibcxx_cv_func__isinf_use=yes
44996 else
44997 glibcxx_cv_func__isinf_use=no
44999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45000 ac_ext=c
45001 ac_cpp='$CPP $CPPFLAGS'
45002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45011 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45013 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45014 for ac_func in _isinf
45015 do :
45016 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45017 if test "x$ac_cv_func__isinf" = x""yes; then :
45018 cat >>confdefs.h <<_ACEOF
45019 #define HAVE__ISINF 1
45020 _ACEOF
45023 done
45032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45033 $as_echo_n "checking for isnan declaration... " >&6; }
45034 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45035 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45036 $as_echo_n "(cached) " >&6
45037 else
45040 ac_ext=cpp
45041 ac_cpp='$CXXCPP $CPPFLAGS'
45042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45047 /* end confdefs.h. */
45048 #include <math.h>
45049 #ifdef HAVE_IEEEFP_H
45050 #include <ieeefp.h>
45051 #endif
45054 main ()
45056 isnan(0);
45058 return 0;
45060 _ACEOF
45061 if ac_fn_cxx_try_compile "$LINENO"; then :
45062 glibcxx_cv_func_isnan_use=yes
45063 else
45064 glibcxx_cv_func_isnan_use=no
45066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45067 ac_ext=c
45068 ac_cpp='$CPP $CPPFLAGS'
45069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45078 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45080 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45081 for ac_func in isnan
45082 do :
45083 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45084 if test "x$ac_cv_func_isnan" = x""yes; then :
45085 cat >>confdefs.h <<_ACEOF
45086 #define HAVE_ISNAN 1
45087 _ACEOF
45090 done
45092 else
45094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45095 $as_echo_n "checking for _isnan declaration... " >&6; }
45096 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45097 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45098 $as_echo_n "(cached) " >&6
45099 else
45102 ac_ext=cpp
45103 ac_cpp='$CXXCPP $CPPFLAGS'
45104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45109 /* end confdefs.h. */
45110 #include <math.h>
45111 #ifdef HAVE_IEEEFP_H
45112 #include <ieeefp.h>
45113 #endif
45116 main ()
45118 _isnan(0);
45120 return 0;
45122 _ACEOF
45123 if ac_fn_cxx_try_compile "$LINENO"; then :
45124 glibcxx_cv_func__isnan_use=yes
45125 else
45126 glibcxx_cv_func__isnan_use=no
45128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45129 ac_ext=c
45130 ac_cpp='$CPP $CPPFLAGS'
45131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45140 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45142 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45143 for ac_func in _isnan
45144 do :
45145 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45146 if test "x$ac_cv_func__isnan" = x""yes; then :
45147 cat >>confdefs.h <<_ACEOF
45148 #define HAVE__ISNAN 1
45149 _ACEOF
45152 done
45161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45162 $as_echo_n "checking for finite declaration... " >&6; }
45163 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45164 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45165 $as_echo_n "(cached) " >&6
45166 else
45169 ac_ext=cpp
45170 ac_cpp='$CXXCPP $CPPFLAGS'
45171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45176 /* end confdefs.h. */
45177 #include <math.h>
45178 #ifdef HAVE_IEEEFP_H
45179 #include <ieeefp.h>
45180 #endif
45183 main ()
45185 finite(0);
45187 return 0;
45189 _ACEOF
45190 if ac_fn_cxx_try_compile "$LINENO"; then :
45191 glibcxx_cv_func_finite_use=yes
45192 else
45193 glibcxx_cv_func_finite_use=no
45195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45196 ac_ext=c
45197 ac_cpp='$CPP $CPPFLAGS'
45198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45207 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45209 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45210 for ac_func in finite
45211 do :
45212 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45213 if test "x$ac_cv_func_finite" = x""yes; then :
45214 cat >>confdefs.h <<_ACEOF
45215 #define HAVE_FINITE 1
45216 _ACEOF
45219 done
45221 else
45223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45224 $as_echo_n "checking for _finite declaration... " >&6; }
45225 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45226 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45227 $as_echo_n "(cached) " >&6
45228 else
45231 ac_ext=cpp
45232 ac_cpp='$CXXCPP $CPPFLAGS'
45233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45238 /* end confdefs.h. */
45239 #include <math.h>
45240 #ifdef HAVE_IEEEFP_H
45241 #include <ieeefp.h>
45242 #endif
45245 main ()
45247 _finite(0);
45249 return 0;
45251 _ACEOF
45252 if ac_fn_cxx_try_compile "$LINENO"; then :
45253 glibcxx_cv_func__finite_use=yes
45254 else
45255 glibcxx_cv_func__finite_use=no
45257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45258 ac_ext=c
45259 ac_cpp='$CPP $CPPFLAGS'
45260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45269 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45271 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45272 for ac_func in _finite
45273 do :
45274 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45275 if test "x$ac_cv_func__finite" = x""yes; then :
45276 cat >>confdefs.h <<_ACEOF
45277 #define HAVE__FINITE 1
45278 _ACEOF
45281 done
45290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45291 $as_echo_n "checking for sincos declaration... " >&6; }
45292 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45293 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45294 $as_echo_n "(cached) " >&6
45295 else
45298 ac_ext=cpp
45299 ac_cpp='$CXXCPP $CPPFLAGS'
45300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45305 /* end confdefs.h. */
45306 #include <math.h>
45308 main ()
45310 sincos(0, 0, 0);
45312 return 0;
45314 _ACEOF
45315 if ac_fn_cxx_try_compile "$LINENO"; then :
45316 glibcxx_cv_func_sincos_use=yes
45317 else
45318 glibcxx_cv_func_sincos_use=no
45320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45321 ac_ext=c
45322 ac_cpp='$CPP $CPPFLAGS'
45323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45332 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45334 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45335 for ac_func in sincos
45336 do :
45337 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45338 if test "x$ac_cv_func_sincos" = x""yes; then :
45339 cat >>confdefs.h <<_ACEOF
45340 #define HAVE_SINCOS 1
45341 _ACEOF
45344 done
45346 else
45348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45349 $as_echo_n "checking for _sincos declaration... " >&6; }
45350 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45351 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45352 $as_echo_n "(cached) " >&6
45353 else
45356 ac_ext=cpp
45357 ac_cpp='$CXXCPP $CPPFLAGS'
45358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45363 /* end confdefs.h. */
45364 #include <math.h>
45366 main ()
45368 _sincos(0, 0, 0);
45370 return 0;
45372 _ACEOF
45373 if ac_fn_cxx_try_compile "$LINENO"; then :
45374 glibcxx_cv_func__sincos_use=yes
45375 else
45376 glibcxx_cv_func__sincos_use=no
45378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45379 ac_ext=c
45380 ac_cpp='$CPP $CPPFLAGS'
45381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45390 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45392 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45393 for ac_func in _sincos
45394 do :
45395 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45396 if test "x$ac_cv_func__sincos" = x""yes; then :
45397 cat >>confdefs.h <<_ACEOF
45398 #define HAVE__SINCOS 1
45399 _ACEOF
45402 done
45411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45412 $as_echo_n "checking for fpclass declaration... " >&6; }
45413 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45414 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45415 $as_echo_n "(cached) " >&6
45416 else
45419 ac_ext=cpp
45420 ac_cpp='$CXXCPP $CPPFLAGS'
45421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45426 /* end confdefs.h. */
45427 #include <math.h>
45428 #ifdef HAVE_IEEEFP_H
45429 #include <ieeefp.h>
45430 #endif
45433 main ()
45435 fpclass(0);
45437 return 0;
45439 _ACEOF
45440 if ac_fn_cxx_try_compile "$LINENO"; then :
45441 glibcxx_cv_func_fpclass_use=yes
45442 else
45443 glibcxx_cv_func_fpclass_use=no
45445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45446 ac_ext=c
45447 ac_cpp='$CPP $CPPFLAGS'
45448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45457 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45459 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45460 for ac_func in fpclass
45461 do :
45462 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45463 if test "x$ac_cv_func_fpclass" = x""yes; then :
45464 cat >>confdefs.h <<_ACEOF
45465 #define HAVE_FPCLASS 1
45466 _ACEOF
45469 done
45471 else
45473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45474 $as_echo_n "checking for _fpclass declaration... " >&6; }
45475 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45476 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45477 $as_echo_n "(cached) " >&6
45478 else
45481 ac_ext=cpp
45482 ac_cpp='$CXXCPP $CPPFLAGS'
45483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45488 /* end confdefs.h. */
45489 #include <math.h>
45490 #ifdef HAVE_IEEEFP_H
45491 #include <ieeefp.h>
45492 #endif
45495 main ()
45497 _fpclass(0);
45499 return 0;
45501 _ACEOF
45502 if ac_fn_cxx_try_compile "$LINENO"; then :
45503 glibcxx_cv_func__fpclass_use=yes
45504 else
45505 glibcxx_cv_func__fpclass_use=no
45507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45508 ac_ext=c
45509 ac_cpp='$CPP $CPPFLAGS'
45510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45519 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45521 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45522 for ac_func in _fpclass
45523 do :
45524 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45525 if test "x$ac_cv_func__fpclass" = x""yes; then :
45526 cat >>confdefs.h <<_ACEOF
45527 #define HAVE__FPCLASS 1
45528 _ACEOF
45531 done
45540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45541 $as_echo_n "checking for qfpclass declaration... " >&6; }
45542 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45543 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45544 $as_echo_n "(cached) " >&6
45545 else
45548 ac_ext=cpp
45549 ac_cpp='$CXXCPP $CPPFLAGS'
45550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45555 /* end confdefs.h. */
45556 #include <math.h>
45557 #ifdef HAVE_IEEEFP_H
45558 #include <ieeefp.h>
45559 #endif
45562 main ()
45564 qfpclass(0);
45566 return 0;
45568 _ACEOF
45569 if ac_fn_cxx_try_compile "$LINENO"; then :
45570 glibcxx_cv_func_qfpclass_use=yes
45571 else
45572 glibcxx_cv_func_qfpclass_use=no
45574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45575 ac_ext=c
45576 ac_cpp='$CPP $CPPFLAGS'
45577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45586 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45588 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45589 for ac_func in qfpclass
45590 do :
45591 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45592 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45593 cat >>confdefs.h <<_ACEOF
45594 #define HAVE_QFPCLASS 1
45595 _ACEOF
45598 done
45600 else
45602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45603 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45604 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45605 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45606 $as_echo_n "(cached) " >&6
45607 else
45610 ac_ext=cpp
45611 ac_cpp='$CXXCPP $CPPFLAGS'
45612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45617 /* end confdefs.h. */
45618 #include <math.h>
45619 #ifdef HAVE_IEEEFP_H
45620 #include <ieeefp.h>
45621 #endif
45624 main ()
45626 _qfpclass(0);
45628 return 0;
45630 _ACEOF
45631 if ac_fn_cxx_try_compile "$LINENO"; then :
45632 glibcxx_cv_func__qfpclass_use=yes
45633 else
45634 glibcxx_cv_func__qfpclass_use=no
45636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45637 ac_ext=c
45638 ac_cpp='$CPP $CPPFLAGS'
45639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45648 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45650 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45651 for ac_func in _qfpclass
45652 do :
45653 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45654 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45655 cat >>confdefs.h <<_ACEOF
45656 #define HAVE__QFPCLASS 1
45657 _ACEOF
45660 done
45669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45670 $as_echo_n "checking for hypot declaration... " >&6; }
45671 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45672 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45673 $as_echo_n "(cached) " >&6
45674 else
45677 ac_ext=cpp
45678 ac_cpp='$CXXCPP $CPPFLAGS'
45679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45684 /* end confdefs.h. */
45685 #include <math.h>
45687 main ()
45689 hypot(0, 0);
45691 return 0;
45693 _ACEOF
45694 if ac_fn_cxx_try_compile "$LINENO"; then :
45695 glibcxx_cv_func_hypot_use=yes
45696 else
45697 glibcxx_cv_func_hypot_use=no
45699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45700 ac_ext=c
45701 ac_cpp='$CPP $CPPFLAGS'
45702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45711 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45713 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45714 for ac_func in hypot
45715 do :
45716 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45717 if test "x$ac_cv_func_hypot" = x""yes; then :
45718 cat >>confdefs.h <<_ACEOF
45719 #define HAVE_HYPOT 1
45720 _ACEOF
45723 done
45725 else
45727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45728 $as_echo_n "checking for _hypot declaration... " >&6; }
45729 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45730 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45731 $as_echo_n "(cached) " >&6
45732 else
45735 ac_ext=cpp
45736 ac_cpp='$CXXCPP $CPPFLAGS'
45737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45742 /* end confdefs.h. */
45743 #include <math.h>
45745 main ()
45747 _hypot(0, 0);
45749 return 0;
45751 _ACEOF
45752 if ac_fn_cxx_try_compile "$LINENO"; then :
45753 glibcxx_cv_func__hypot_use=yes
45754 else
45755 glibcxx_cv_func__hypot_use=no
45757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45758 ac_ext=c
45759 ac_cpp='$CPP $CPPFLAGS'
45760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45769 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45771 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45772 for ac_func in _hypot
45773 do :
45774 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45775 if test "x$ac_cv_func__hypot" = x""yes; then :
45776 cat >>confdefs.h <<_ACEOF
45777 #define HAVE__HYPOT 1
45778 _ACEOF
45781 done
45790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45791 $as_echo_n "checking for float trig functions... " >&6; }
45792 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45793 $as_echo_n "(cached) " >&6
45794 else
45797 ac_ext=cpp
45798 ac_cpp='$CXXCPP $CPPFLAGS'
45799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45804 /* end confdefs.h. */
45805 #include <math.h>
45807 main ()
45809 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45811 return 0;
45813 _ACEOF
45814 if ac_fn_cxx_try_compile "$LINENO"; then :
45815 glibcxx_cv_func_float_trig_use=yes
45816 else
45817 glibcxx_cv_func_float_trig_use=no
45819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45820 ac_ext=c
45821 ac_cpp='$CPP $CPPFLAGS'
45822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45829 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45830 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45831 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45832 do :
45833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45835 eval as_val=\$$as_ac_var
45836 if test "x$as_val" = x""yes; then :
45837 cat >>confdefs.h <<_ACEOF
45838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45839 _ACEOF
45842 done
45844 else
45845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45846 $as_echo_n "checking for _float trig functions... " >&6; }
45847 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45848 $as_echo_n "(cached) " >&6
45849 else
45852 ac_ext=cpp
45853 ac_cpp='$CXXCPP $CPPFLAGS'
45854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45859 /* end confdefs.h. */
45860 #include <math.h>
45862 main ()
45864 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45866 return 0;
45868 _ACEOF
45869 if ac_fn_cxx_try_compile "$LINENO"; then :
45870 glibcxx_cv_func__float_trig_use=yes
45871 else
45872 glibcxx_cv_func__float_trig_use=no
45874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45875 ac_ext=c
45876 ac_cpp='$CPP $CPPFLAGS'
45877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45884 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45885 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45886 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45887 do :
45888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45890 eval as_val=\$$as_ac_var
45891 if test "x$as_val" = x""yes; then :
45892 cat >>confdefs.h <<_ACEOF
45893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45894 _ACEOF
45897 done
45906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45907 $as_echo_n "checking for float round functions... " >&6; }
45908 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45909 $as_echo_n "(cached) " >&6
45910 else
45913 ac_ext=cpp
45914 ac_cpp='$CXXCPP $CPPFLAGS'
45915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45920 /* end confdefs.h. */
45921 #include <math.h>
45923 main ()
45925 ceilf (0); floorf (0);
45927 return 0;
45929 _ACEOF
45930 if ac_fn_cxx_try_compile "$LINENO"; then :
45931 glibcxx_cv_func_float_round_use=yes
45932 else
45933 glibcxx_cv_func_float_round_use=no
45935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45936 ac_ext=c
45937 ac_cpp='$CPP $CPPFLAGS'
45938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45945 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45946 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45947 for ac_func in ceilf floorf
45948 do :
45949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45951 eval as_val=\$$as_ac_var
45952 if test "x$as_val" = x""yes; then :
45953 cat >>confdefs.h <<_ACEOF
45954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45955 _ACEOF
45958 done
45960 else
45961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45962 $as_echo_n "checking for _float round functions... " >&6; }
45963 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45964 $as_echo_n "(cached) " >&6
45965 else
45968 ac_ext=cpp
45969 ac_cpp='$CXXCPP $CPPFLAGS'
45970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45975 /* end confdefs.h. */
45976 #include <math.h>
45978 main ()
45980 _ceilf (0); _floorf (0);
45982 return 0;
45984 _ACEOF
45985 if ac_fn_cxx_try_compile "$LINENO"; then :
45986 glibcxx_cv_func__float_round_use=yes
45987 else
45988 glibcxx_cv_func__float_round_use=no
45990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45991 ac_ext=c
45992 ac_cpp='$CPP $CPPFLAGS'
45993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46000 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46001 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46002 for ac_func in _ceilf _floorf
46003 do :
46004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46006 eval as_val=\$$as_ac_var
46007 if test "x$as_val" = x""yes; then :
46008 cat >>confdefs.h <<_ACEOF
46009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46010 _ACEOF
46013 done
46023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46024 $as_echo_n "checking for expf declaration... " >&6; }
46025 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46026 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46027 $as_echo_n "(cached) " >&6
46028 else
46031 ac_ext=cpp
46032 ac_cpp='$CXXCPP $CPPFLAGS'
46033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46038 /* end confdefs.h. */
46039 #include <math.h>
46040 #ifdef HAVE_IEEEFP_H
46041 #include <ieeefp.h>
46042 #endif
46045 main ()
46047 expf(0);
46049 return 0;
46051 _ACEOF
46052 if ac_fn_cxx_try_compile "$LINENO"; then :
46053 glibcxx_cv_func_expf_use=yes
46054 else
46055 glibcxx_cv_func_expf_use=no
46057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46058 ac_ext=c
46059 ac_cpp='$CPP $CPPFLAGS'
46060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46069 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46071 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46072 for ac_func in expf
46073 do :
46074 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46075 if test "x$ac_cv_func_expf" = x""yes; then :
46076 cat >>confdefs.h <<_ACEOF
46077 #define HAVE_EXPF 1
46078 _ACEOF
46081 done
46083 else
46085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46086 $as_echo_n "checking for _expf declaration... " >&6; }
46087 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46088 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46089 $as_echo_n "(cached) " >&6
46090 else
46093 ac_ext=cpp
46094 ac_cpp='$CXXCPP $CPPFLAGS'
46095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46100 /* end confdefs.h. */
46101 #include <math.h>
46102 #ifdef HAVE_IEEEFP_H
46103 #include <ieeefp.h>
46104 #endif
46107 main ()
46109 _expf(0);
46111 return 0;
46113 _ACEOF
46114 if ac_fn_cxx_try_compile "$LINENO"; then :
46115 glibcxx_cv_func__expf_use=yes
46116 else
46117 glibcxx_cv_func__expf_use=no
46119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46120 ac_ext=c
46121 ac_cpp='$CPP $CPPFLAGS'
46122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46131 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46133 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46134 for ac_func in _expf
46135 do :
46136 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46137 if test "x$ac_cv_func__expf" = x""yes; then :
46138 cat >>confdefs.h <<_ACEOF
46139 #define HAVE__EXPF 1
46140 _ACEOF
46143 done
46152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46153 $as_echo_n "checking for isnanf declaration... " >&6; }
46154 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46155 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46156 $as_echo_n "(cached) " >&6
46157 else
46160 ac_ext=cpp
46161 ac_cpp='$CXXCPP $CPPFLAGS'
46162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46167 /* end confdefs.h. */
46168 #include <math.h>
46169 #ifdef HAVE_IEEEFP_H
46170 #include <ieeefp.h>
46171 #endif
46174 main ()
46176 isnanf(0);
46178 return 0;
46180 _ACEOF
46181 if ac_fn_cxx_try_compile "$LINENO"; then :
46182 glibcxx_cv_func_isnanf_use=yes
46183 else
46184 glibcxx_cv_func_isnanf_use=no
46186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46187 ac_ext=c
46188 ac_cpp='$CPP $CPPFLAGS'
46189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46198 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46200 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46201 for ac_func in isnanf
46202 do :
46203 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46204 if test "x$ac_cv_func_isnanf" = x""yes; then :
46205 cat >>confdefs.h <<_ACEOF
46206 #define HAVE_ISNANF 1
46207 _ACEOF
46210 done
46212 else
46214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46215 $as_echo_n "checking for _isnanf declaration... " >&6; }
46216 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46217 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46218 $as_echo_n "(cached) " >&6
46219 else
46222 ac_ext=cpp
46223 ac_cpp='$CXXCPP $CPPFLAGS'
46224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46229 /* end confdefs.h. */
46230 #include <math.h>
46231 #ifdef HAVE_IEEEFP_H
46232 #include <ieeefp.h>
46233 #endif
46236 main ()
46238 _isnanf(0);
46240 return 0;
46242 _ACEOF
46243 if ac_fn_cxx_try_compile "$LINENO"; then :
46244 glibcxx_cv_func__isnanf_use=yes
46245 else
46246 glibcxx_cv_func__isnanf_use=no
46248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46249 ac_ext=c
46250 ac_cpp='$CPP $CPPFLAGS'
46251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46260 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46262 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46263 for ac_func in _isnanf
46264 do :
46265 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46266 if test "x$ac_cv_func__isnanf" = x""yes; then :
46267 cat >>confdefs.h <<_ACEOF
46268 #define HAVE__ISNANF 1
46269 _ACEOF
46272 done
46281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46282 $as_echo_n "checking for isinff declaration... " >&6; }
46283 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46284 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46285 $as_echo_n "(cached) " >&6
46286 else
46289 ac_ext=cpp
46290 ac_cpp='$CXXCPP $CPPFLAGS'
46291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46296 /* end confdefs.h. */
46297 #include <math.h>
46298 #ifdef HAVE_IEEEFP_H
46299 #include <ieeefp.h>
46300 #endif
46303 main ()
46305 isinff(0);
46307 return 0;
46309 _ACEOF
46310 if ac_fn_cxx_try_compile "$LINENO"; then :
46311 glibcxx_cv_func_isinff_use=yes
46312 else
46313 glibcxx_cv_func_isinff_use=no
46315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46316 ac_ext=c
46317 ac_cpp='$CPP $CPPFLAGS'
46318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46327 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46329 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46330 for ac_func in isinff
46331 do :
46332 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46333 if test "x$ac_cv_func_isinff" = x""yes; then :
46334 cat >>confdefs.h <<_ACEOF
46335 #define HAVE_ISINFF 1
46336 _ACEOF
46339 done
46341 else
46343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46344 $as_echo_n "checking for _isinff declaration... " >&6; }
46345 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46346 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46347 $as_echo_n "(cached) " >&6
46348 else
46351 ac_ext=cpp
46352 ac_cpp='$CXXCPP $CPPFLAGS'
46353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46358 /* end confdefs.h. */
46359 #include <math.h>
46360 #ifdef HAVE_IEEEFP_H
46361 #include <ieeefp.h>
46362 #endif
46365 main ()
46367 _isinff(0);
46369 return 0;
46371 _ACEOF
46372 if ac_fn_cxx_try_compile "$LINENO"; then :
46373 glibcxx_cv_func__isinff_use=yes
46374 else
46375 glibcxx_cv_func__isinff_use=no
46377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46378 ac_ext=c
46379 ac_cpp='$CPP $CPPFLAGS'
46380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46389 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46391 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46392 for ac_func in _isinff
46393 do :
46394 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46395 if test "x$ac_cv_func__isinff" = x""yes; then :
46396 cat >>confdefs.h <<_ACEOF
46397 #define HAVE__ISINFF 1
46398 _ACEOF
46401 done
46410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46411 $as_echo_n "checking for atan2f declaration... " >&6; }
46412 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46413 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46414 $as_echo_n "(cached) " >&6
46415 else
46418 ac_ext=cpp
46419 ac_cpp='$CXXCPP $CPPFLAGS'
46420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46425 /* end confdefs.h. */
46426 #include <math.h>
46428 main ()
46430 atan2f(0, 0);
46432 return 0;
46434 _ACEOF
46435 if ac_fn_cxx_try_compile "$LINENO"; then :
46436 glibcxx_cv_func_atan2f_use=yes
46437 else
46438 glibcxx_cv_func_atan2f_use=no
46440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46441 ac_ext=c
46442 ac_cpp='$CPP $CPPFLAGS'
46443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46452 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46454 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46455 for ac_func in atan2f
46456 do :
46457 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46458 if test "x$ac_cv_func_atan2f" = x""yes; then :
46459 cat >>confdefs.h <<_ACEOF
46460 #define HAVE_ATAN2F 1
46461 _ACEOF
46464 done
46466 else
46468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46469 $as_echo_n "checking for _atan2f declaration... " >&6; }
46470 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46471 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46472 $as_echo_n "(cached) " >&6
46473 else
46476 ac_ext=cpp
46477 ac_cpp='$CXXCPP $CPPFLAGS'
46478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46483 /* end confdefs.h. */
46484 #include <math.h>
46486 main ()
46488 _atan2f(0, 0);
46490 return 0;
46492 _ACEOF
46493 if ac_fn_cxx_try_compile "$LINENO"; then :
46494 glibcxx_cv_func__atan2f_use=yes
46495 else
46496 glibcxx_cv_func__atan2f_use=no
46498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46499 ac_ext=c
46500 ac_cpp='$CPP $CPPFLAGS'
46501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46510 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46512 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46513 for ac_func in _atan2f
46514 do :
46515 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46516 if test "x$ac_cv_func__atan2f" = x""yes; then :
46517 cat >>confdefs.h <<_ACEOF
46518 #define HAVE__ATAN2F 1
46519 _ACEOF
46522 done
46531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46532 $as_echo_n "checking for fabsf declaration... " >&6; }
46533 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46534 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46535 $as_echo_n "(cached) " >&6
46536 else
46539 ac_ext=cpp
46540 ac_cpp='$CXXCPP $CPPFLAGS'
46541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46546 /* end confdefs.h. */
46547 #include <math.h>
46548 #ifdef HAVE_IEEEFP_H
46549 #include <ieeefp.h>
46550 #endif
46553 main ()
46555 fabsf(0);
46557 return 0;
46559 _ACEOF
46560 if ac_fn_cxx_try_compile "$LINENO"; then :
46561 glibcxx_cv_func_fabsf_use=yes
46562 else
46563 glibcxx_cv_func_fabsf_use=no
46565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46566 ac_ext=c
46567 ac_cpp='$CPP $CPPFLAGS'
46568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46577 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46579 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46580 for ac_func in fabsf
46581 do :
46582 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46583 if test "x$ac_cv_func_fabsf" = x""yes; then :
46584 cat >>confdefs.h <<_ACEOF
46585 #define HAVE_FABSF 1
46586 _ACEOF
46589 done
46591 else
46593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46594 $as_echo_n "checking for _fabsf declaration... " >&6; }
46595 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46596 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46597 $as_echo_n "(cached) " >&6
46598 else
46601 ac_ext=cpp
46602 ac_cpp='$CXXCPP $CPPFLAGS'
46603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46608 /* end confdefs.h. */
46609 #include <math.h>
46610 #ifdef HAVE_IEEEFP_H
46611 #include <ieeefp.h>
46612 #endif
46615 main ()
46617 _fabsf(0);
46619 return 0;
46621 _ACEOF
46622 if ac_fn_cxx_try_compile "$LINENO"; then :
46623 glibcxx_cv_func__fabsf_use=yes
46624 else
46625 glibcxx_cv_func__fabsf_use=no
46627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46628 ac_ext=c
46629 ac_cpp='$CPP $CPPFLAGS'
46630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46639 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46641 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46642 for ac_func in _fabsf
46643 do :
46644 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46645 if test "x$ac_cv_func__fabsf" = x""yes; then :
46646 cat >>confdefs.h <<_ACEOF
46647 #define HAVE__FABSF 1
46648 _ACEOF
46651 done
46660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46661 $as_echo_n "checking for fmodf declaration... " >&6; }
46662 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46663 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46664 $as_echo_n "(cached) " >&6
46665 else
46668 ac_ext=cpp
46669 ac_cpp='$CXXCPP $CPPFLAGS'
46670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46675 /* end confdefs.h. */
46676 #include <math.h>
46678 main ()
46680 fmodf(0, 0);
46682 return 0;
46684 _ACEOF
46685 if ac_fn_cxx_try_compile "$LINENO"; then :
46686 glibcxx_cv_func_fmodf_use=yes
46687 else
46688 glibcxx_cv_func_fmodf_use=no
46690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46691 ac_ext=c
46692 ac_cpp='$CPP $CPPFLAGS'
46693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46702 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46704 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46705 for ac_func in fmodf
46706 do :
46707 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46708 if test "x$ac_cv_func_fmodf" = x""yes; then :
46709 cat >>confdefs.h <<_ACEOF
46710 #define HAVE_FMODF 1
46711 _ACEOF
46714 done
46716 else
46718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46719 $as_echo_n "checking for _fmodf declaration... " >&6; }
46720 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46721 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46722 $as_echo_n "(cached) " >&6
46723 else
46726 ac_ext=cpp
46727 ac_cpp='$CXXCPP $CPPFLAGS'
46728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46733 /* end confdefs.h. */
46734 #include <math.h>
46736 main ()
46738 _fmodf(0, 0);
46740 return 0;
46742 _ACEOF
46743 if ac_fn_cxx_try_compile "$LINENO"; then :
46744 glibcxx_cv_func__fmodf_use=yes
46745 else
46746 glibcxx_cv_func__fmodf_use=no
46748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46749 ac_ext=c
46750 ac_cpp='$CPP $CPPFLAGS'
46751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46760 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46762 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46763 for ac_func in _fmodf
46764 do :
46765 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46766 if test "x$ac_cv_func__fmodf" = x""yes; then :
46767 cat >>confdefs.h <<_ACEOF
46768 #define HAVE__FMODF 1
46769 _ACEOF
46772 done
46781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46782 $as_echo_n "checking for frexpf declaration... " >&6; }
46783 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46784 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46785 $as_echo_n "(cached) " >&6
46786 else
46789 ac_ext=cpp
46790 ac_cpp='$CXXCPP $CPPFLAGS'
46791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46796 /* end confdefs.h. */
46797 #include <math.h>
46799 main ()
46801 frexpf(0, 0);
46803 return 0;
46805 _ACEOF
46806 if ac_fn_cxx_try_compile "$LINENO"; then :
46807 glibcxx_cv_func_frexpf_use=yes
46808 else
46809 glibcxx_cv_func_frexpf_use=no
46811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46812 ac_ext=c
46813 ac_cpp='$CPP $CPPFLAGS'
46814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46823 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46825 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46826 for ac_func in frexpf
46827 do :
46828 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46829 if test "x$ac_cv_func_frexpf" = x""yes; then :
46830 cat >>confdefs.h <<_ACEOF
46831 #define HAVE_FREXPF 1
46832 _ACEOF
46835 done
46837 else
46839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46840 $as_echo_n "checking for _frexpf declaration... " >&6; }
46841 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46842 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46843 $as_echo_n "(cached) " >&6
46844 else
46847 ac_ext=cpp
46848 ac_cpp='$CXXCPP $CPPFLAGS'
46849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46854 /* end confdefs.h. */
46855 #include <math.h>
46857 main ()
46859 _frexpf(0, 0);
46861 return 0;
46863 _ACEOF
46864 if ac_fn_cxx_try_compile "$LINENO"; then :
46865 glibcxx_cv_func__frexpf_use=yes
46866 else
46867 glibcxx_cv_func__frexpf_use=no
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46870 ac_ext=c
46871 ac_cpp='$CPP $CPPFLAGS'
46872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46881 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46883 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46884 for ac_func in _frexpf
46885 do :
46886 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46887 if test "x$ac_cv_func__frexpf" = x""yes; then :
46888 cat >>confdefs.h <<_ACEOF
46889 #define HAVE__FREXPF 1
46890 _ACEOF
46893 done
46902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46903 $as_echo_n "checking for hypotf declaration... " >&6; }
46904 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46905 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46906 $as_echo_n "(cached) " >&6
46907 else
46910 ac_ext=cpp
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46917 /* end confdefs.h. */
46918 #include <math.h>
46920 main ()
46922 hypotf(0, 0);
46924 return 0;
46926 _ACEOF
46927 if ac_fn_cxx_try_compile "$LINENO"; then :
46928 glibcxx_cv_func_hypotf_use=yes
46929 else
46930 glibcxx_cv_func_hypotf_use=no
46932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46933 ac_ext=c
46934 ac_cpp='$CPP $CPPFLAGS'
46935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46944 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46946 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46947 for ac_func in hypotf
46948 do :
46949 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46950 if test "x$ac_cv_func_hypotf" = x""yes; then :
46951 cat >>confdefs.h <<_ACEOF
46952 #define HAVE_HYPOTF 1
46953 _ACEOF
46956 done
46958 else
46960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46961 $as_echo_n "checking for _hypotf declaration... " >&6; }
46962 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46963 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46964 $as_echo_n "(cached) " >&6
46965 else
46968 ac_ext=cpp
46969 ac_cpp='$CXXCPP $CPPFLAGS'
46970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46975 /* end confdefs.h. */
46976 #include <math.h>
46978 main ()
46980 _hypotf(0, 0);
46982 return 0;
46984 _ACEOF
46985 if ac_fn_cxx_try_compile "$LINENO"; then :
46986 glibcxx_cv_func__hypotf_use=yes
46987 else
46988 glibcxx_cv_func__hypotf_use=no
46990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46991 ac_ext=c
46992 ac_cpp='$CPP $CPPFLAGS'
46993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47002 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47004 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47005 for ac_func in _hypotf
47006 do :
47007 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47008 if test "x$ac_cv_func__hypotf" = x""yes; then :
47009 cat >>confdefs.h <<_ACEOF
47010 #define HAVE__HYPOTF 1
47011 _ACEOF
47014 done
47023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47024 $as_echo_n "checking for ldexpf declaration... " >&6; }
47025 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47026 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47027 $as_echo_n "(cached) " >&6
47028 else
47031 ac_ext=cpp
47032 ac_cpp='$CXXCPP $CPPFLAGS'
47033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47038 /* end confdefs.h. */
47039 #include <math.h>
47041 main ()
47043 ldexpf(0, 0);
47045 return 0;
47047 _ACEOF
47048 if ac_fn_cxx_try_compile "$LINENO"; then :
47049 glibcxx_cv_func_ldexpf_use=yes
47050 else
47051 glibcxx_cv_func_ldexpf_use=no
47053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47054 ac_ext=c
47055 ac_cpp='$CPP $CPPFLAGS'
47056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47065 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47067 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47068 for ac_func in ldexpf
47069 do :
47070 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47071 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47072 cat >>confdefs.h <<_ACEOF
47073 #define HAVE_LDEXPF 1
47074 _ACEOF
47077 done
47079 else
47081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47082 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47083 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47084 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47085 $as_echo_n "(cached) " >&6
47086 else
47089 ac_ext=cpp
47090 ac_cpp='$CXXCPP $CPPFLAGS'
47091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47096 /* end confdefs.h. */
47097 #include <math.h>
47099 main ()
47101 _ldexpf(0, 0);
47103 return 0;
47105 _ACEOF
47106 if ac_fn_cxx_try_compile "$LINENO"; then :
47107 glibcxx_cv_func__ldexpf_use=yes
47108 else
47109 glibcxx_cv_func__ldexpf_use=no
47111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47112 ac_ext=c
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47123 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47125 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47126 for ac_func in _ldexpf
47127 do :
47128 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47129 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47130 cat >>confdefs.h <<_ACEOF
47131 #define HAVE__LDEXPF 1
47132 _ACEOF
47135 done
47144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47145 $as_echo_n "checking for logf declaration... " >&6; }
47146 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47147 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47148 $as_echo_n "(cached) " >&6
47149 else
47152 ac_ext=cpp
47153 ac_cpp='$CXXCPP $CPPFLAGS'
47154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47159 /* end confdefs.h. */
47160 #include <math.h>
47161 #ifdef HAVE_IEEEFP_H
47162 #include <ieeefp.h>
47163 #endif
47166 main ()
47168 logf(0);
47170 return 0;
47172 _ACEOF
47173 if ac_fn_cxx_try_compile "$LINENO"; then :
47174 glibcxx_cv_func_logf_use=yes
47175 else
47176 glibcxx_cv_func_logf_use=no
47178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47179 ac_ext=c
47180 ac_cpp='$CPP $CPPFLAGS'
47181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47190 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47192 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47193 for ac_func in logf
47194 do :
47195 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47196 if test "x$ac_cv_func_logf" = x""yes; then :
47197 cat >>confdefs.h <<_ACEOF
47198 #define HAVE_LOGF 1
47199 _ACEOF
47202 done
47204 else
47206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47207 $as_echo_n "checking for _logf declaration... " >&6; }
47208 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47209 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47210 $as_echo_n "(cached) " >&6
47211 else
47214 ac_ext=cpp
47215 ac_cpp='$CXXCPP $CPPFLAGS'
47216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47221 /* end confdefs.h. */
47222 #include <math.h>
47223 #ifdef HAVE_IEEEFP_H
47224 #include <ieeefp.h>
47225 #endif
47228 main ()
47230 _logf(0);
47232 return 0;
47234 _ACEOF
47235 if ac_fn_cxx_try_compile "$LINENO"; then :
47236 glibcxx_cv_func__logf_use=yes
47237 else
47238 glibcxx_cv_func__logf_use=no
47240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47241 ac_ext=c
47242 ac_cpp='$CPP $CPPFLAGS'
47243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47252 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47254 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47255 for ac_func in _logf
47256 do :
47257 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47258 if test "x$ac_cv_func__logf" = x""yes; then :
47259 cat >>confdefs.h <<_ACEOF
47260 #define HAVE__LOGF 1
47261 _ACEOF
47264 done
47273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47274 $as_echo_n "checking for log10f declaration... " >&6; }
47275 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47276 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47277 $as_echo_n "(cached) " >&6
47278 else
47281 ac_ext=cpp
47282 ac_cpp='$CXXCPP $CPPFLAGS'
47283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47288 /* end confdefs.h. */
47289 #include <math.h>
47290 #ifdef HAVE_IEEEFP_H
47291 #include <ieeefp.h>
47292 #endif
47295 main ()
47297 log10f(0);
47299 return 0;
47301 _ACEOF
47302 if ac_fn_cxx_try_compile "$LINENO"; then :
47303 glibcxx_cv_func_log10f_use=yes
47304 else
47305 glibcxx_cv_func_log10f_use=no
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47308 ac_ext=c
47309 ac_cpp='$CPP $CPPFLAGS'
47310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47319 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47321 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47322 for ac_func in log10f
47323 do :
47324 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47325 if test "x$ac_cv_func_log10f" = x""yes; then :
47326 cat >>confdefs.h <<_ACEOF
47327 #define HAVE_LOG10F 1
47328 _ACEOF
47331 done
47333 else
47335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47336 $as_echo_n "checking for _log10f declaration... " >&6; }
47337 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47338 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47339 $as_echo_n "(cached) " >&6
47340 else
47343 ac_ext=cpp
47344 ac_cpp='$CXXCPP $CPPFLAGS'
47345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47350 /* end confdefs.h. */
47351 #include <math.h>
47352 #ifdef HAVE_IEEEFP_H
47353 #include <ieeefp.h>
47354 #endif
47357 main ()
47359 _log10f(0);
47361 return 0;
47363 _ACEOF
47364 if ac_fn_cxx_try_compile "$LINENO"; then :
47365 glibcxx_cv_func__log10f_use=yes
47366 else
47367 glibcxx_cv_func__log10f_use=no
47369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47370 ac_ext=c
47371 ac_cpp='$CPP $CPPFLAGS'
47372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47381 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47383 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47384 for ac_func in _log10f
47385 do :
47386 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47387 if test "x$ac_cv_func__log10f" = x""yes; then :
47388 cat >>confdefs.h <<_ACEOF
47389 #define HAVE__LOG10F 1
47390 _ACEOF
47393 done
47402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47403 $as_echo_n "checking for modff declaration... " >&6; }
47404 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47405 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47406 $as_echo_n "(cached) " >&6
47407 else
47410 ac_ext=cpp
47411 ac_cpp='$CXXCPP $CPPFLAGS'
47412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47417 /* end confdefs.h. */
47418 #include <math.h>
47420 main ()
47422 modff(0, 0);
47424 return 0;
47426 _ACEOF
47427 if ac_fn_cxx_try_compile "$LINENO"; then :
47428 glibcxx_cv_func_modff_use=yes
47429 else
47430 glibcxx_cv_func_modff_use=no
47432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47433 ac_ext=c
47434 ac_cpp='$CPP $CPPFLAGS'
47435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47444 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47446 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47447 for ac_func in modff
47448 do :
47449 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47450 if test "x$ac_cv_func_modff" = x""yes; then :
47451 cat >>confdefs.h <<_ACEOF
47452 #define HAVE_MODFF 1
47453 _ACEOF
47456 done
47458 else
47460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47461 $as_echo_n "checking for _modff declaration... " >&6; }
47462 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47463 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47464 $as_echo_n "(cached) " >&6
47465 else
47468 ac_ext=cpp
47469 ac_cpp='$CXXCPP $CPPFLAGS'
47470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47475 /* end confdefs.h. */
47476 #include <math.h>
47478 main ()
47480 _modff(0, 0);
47482 return 0;
47484 _ACEOF
47485 if ac_fn_cxx_try_compile "$LINENO"; then :
47486 glibcxx_cv_func__modff_use=yes
47487 else
47488 glibcxx_cv_func__modff_use=no
47490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47491 ac_ext=c
47492 ac_cpp='$CPP $CPPFLAGS'
47493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47502 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47504 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47505 for ac_func in _modff
47506 do :
47507 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47508 if test "x$ac_cv_func__modff" = x""yes; then :
47509 cat >>confdefs.h <<_ACEOF
47510 #define HAVE__MODFF 1
47511 _ACEOF
47514 done
47523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47524 $as_echo_n "checking for modf declaration... " >&6; }
47525 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47526 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47527 $as_echo_n "(cached) " >&6
47528 else
47531 ac_ext=cpp
47532 ac_cpp='$CXXCPP $CPPFLAGS'
47533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47538 /* end confdefs.h. */
47539 #include <math.h>
47541 main ()
47543 modf(0, 0);
47545 return 0;
47547 _ACEOF
47548 if ac_fn_cxx_try_compile "$LINENO"; then :
47549 glibcxx_cv_func_modf_use=yes
47550 else
47551 glibcxx_cv_func_modf_use=no
47553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47554 ac_ext=c
47555 ac_cpp='$CPP $CPPFLAGS'
47556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47565 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47567 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47568 for ac_func in modf
47569 do :
47570 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47571 if test "x$ac_cv_func_modf" = x""yes; then :
47572 cat >>confdefs.h <<_ACEOF
47573 #define HAVE_MODF 1
47574 _ACEOF
47577 done
47579 else
47581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47582 $as_echo_n "checking for _modf declaration... " >&6; }
47583 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47584 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47585 $as_echo_n "(cached) " >&6
47586 else
47589 ac_ext=cpp
47590 ac_cpp='$CXXCPP $CPPFLAGS'
47591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47596 /* end confdefs.h. */
47597 #include <math.h>
47599 main ()
47601 _modf(0, 0);
47603 return 0;
47605 _ACEOF
47606 if ac_fn_cxx_try_compile "$LINENO"; then :
47607 glibcxx_cv_func__modf_use=yes
47608 else
47609 glibcxx_cv_func__modf_use=no
47611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47612 ac_ext=c
47613 ac_cpp='$CPP $CPPFLAGS'
47614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47623 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47625 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47626 for ac_func in _modf
47627 do :
47628 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47629 if test "x$ac_cv_func__modf" = x""yes; then :
47630 cat >>confdefs.h <<_ACEOF
47631 #define HAVE__MODF 1
47632 _ACEOF
47635 done
47644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47645 $as_echo_n "checking for powf declaration... " >&6; }
47646 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47647 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47648 $as_echo_n "(cached) " >&6
47649 else
47652 ac_ext=cpp
47653 ac_cpp='$CXXCPP $CPPFLAGS'
47654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47659 /* end confdefs.h. */
47660 #include <math.h>
47662 main ()
47664 powf(0, 0);
47666 return 0;
47668 _ACEOF
47669 if ac_fn_cxx_try_compile "$LINENO"; then :
47670 glibcxx_cv_func_powf_use=yes
47671 else
47672 glibcxx_cv_func_powf_use=no
47674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47675 ac_ext=c
47676 ac_cpp='$CPP $CPPFLAGS'
47677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47686 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47688 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47689 for ac_func in powf
47690 do :
47691 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47692 if test "x$ac_cv_func_powf" = x""yes; then :
47693 cat >>confdefs.h <<_ACEOF
47694 #define HAVE_POWF 1
47695 _ACEOF
47698 done
47700 else
47702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47703 $as_echo_n "checking for _powf declaration... " >&6; }
47704 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47705 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47706 $as_echo_n "(cached) " >&6
47707 else
47710 ac_ext=cpp
47711 ac_cpp='$CXXCPP $CPPFLAGS'
47712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47717 /* end confdefs.h. */
47718 #include <math.h>
47720 main ()
47722 _powf(0, 0);
47724 return 0;
47726 _ACEOF
47727 if ac_fn_cxx_try_compile "$LINENO"; then :
47728 glibcxx_cv_func__powf_use=yes
47729 else
47730 glibcxx_cv_func__powf_use=no
47732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47733 ac_ext=c
47734 ac_cpp='$CPP $CPPFLAGS'
47735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47744 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47746 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47747 for ac_func in _powf
47748 do :
47749 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47750 if test "x$ac_cv_func__powf" = x""yes; then :
47751 cat >>confdefs.h <<_ACEOF
47752 #define HAVE__POWF 1
47753 _ACEOF
47756 done
47765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47766 $as_echo_n "checking for sqrtf declaration... " >&6; }
47767 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47768 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47769 $as_echo_n "(cached) " >&6
47770 else
47773 ac_ext=cpp
47774 ac_cpp='$CXXCPP $CPPFLAGS'
47775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47780 /* end confdefs.h. */
47781 #include <math.h>
47782 #ifdef HAVE_IEEEFP_H
47783 #include <ieeefp.h>
47784 #endif
47787 main ()
47789 sqrtf(0);
47791 return 0;
47793 _ACEOF
47794 if ac_fn_cxx_try_compile "$LINENO"; then :
47795 glibcxx_cv_func_sqrtf_use=yes
47796 else
47797 glibcxx_cv_func_sqrtf_use=no
47799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47800 ac_ext=c
47801 ac_cpp='$CPP $CPPFLAGS'
47802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47811 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47813 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47814 for ac_func in sqrtf
47815 do :
47816 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47817 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47818 cat >>confdefs.h <<_ACEOF
47819 #define HAVE_SQRTF 1
47820 _ACEOF
47823 done
47825 else
47827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47828 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47829 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47830 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47831 $as_echo_n "(cached) " >&6
47832 else
47835 ac_ext=cpp
47836 ac_cpp='$CXXCPP $CPPFLAGS'
47837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47842 /* end confdefs.h. */
47843 #include <math.h>
47844 #ifdef HAVE_IEEEFP_H
47845 #include <ieeefp.h>
47846 #endif
47849 main ()
47851 _sqrtf(0);
47853 return 0;
47855 _ACEOF
47856 if ac_fn_cxx_try_compile "$LINENO"; then :
47857 glibcxx_cv_func__sqrtf_use=yes
47858 else
47859 glibcxx_cv_func__sqrtf_use=no
47861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47862 ac_ext=c
47863 ac_cpp='$CPP $CPPFLAGS'
47864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47873 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47875 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47876 for ac_func in _sqrtf
47877 do :
47878 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47879 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47880 cat >>confdefs.h <<_ACEOF
47881 #define HAVE__SQRTF 1
47882 _ACEOF
47885 done
47894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47895 $as_echo_n "checking for sincosf declaration... " >&6; }
47896 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47897 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47898 $as_echo_n "(cached) " >&6
47899 else
47902 ac_ext=cpp
47903 ac_cpp='$CXXCPP $CPPFLAGS'
47904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47909 /* end confdefs.h. */
47910 #include <math.h>
47912 main ()
47914 sincosf(0, 0, 0);
47916 return 0;
47918 _ACEOF
47919 if ac_fn_cxx_try_compile "$LINENO"; then :
47920 glibcxx_cv_func_sincosf_use=yes
47921 else
47922 glibcxx_cv_func_sincosf_use=no
47924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47925 ac_ext=c
47926 ac_cpp='$CPP $CPPFLAGS'
47927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47936 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47938 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47939 for ac_func in sincosf
47940 do :
47941 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47942 if test "x$ac_cv_func_sincosf" = x""yes; then :
47943 cat >>confdefs.h <<_ACEOF
47944 #define HAVE_SINCOSF 1
47945 _ACEOF
47948 done
47950 else
47952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47953 $as_echo_n "checking for _sincosf declaration... " >&6; }
47954 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47955 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47956 $as_echo_n "(cached) " >&6
47957 else
47960 ac_ext=cpp
47961 ac_cpp='$CXXCPP $CPPFLAGS'
47962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47967 /* end confdefs.h. */
47968 #include <math.h>
47970 main ()
47972 _sincosf(0, 0, 0);
47974 return 0;
47976 _ACEOF
47977 if ac_fn_cxx_try_compile "$LINENO"; then :
47978 glibcxx_cv_func__sincosf_use=yes
47979 else
47980 glibcxx_cv_func__sincosf_use=no
47982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47983 ac_ext=c
47984 ac_cpp='$CPP $CPPFLAGS'
47985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47994 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47996 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47997 for ac_func in _sincosf
47998 do :
47999 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48000 if test "x$ac_cv_func__sincosf" = x""yes; then :
48001 cat >>confdefs.h <<_ACEOF
48002 #define HAVE__SINCOSF 1
48003 _ACEOF
48006 done
48015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48016 $as_echo_n "checking for finitef declaration... " >&6; }
48017 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48018 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48019 $as_echo_n "(cached) " >&6
48020 else
48023 ac_ext=cpp
48024 ac_cpp='$CXXCPP $CPPFLAGS'
48025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48030 /* end confdefs.h. */
48031 #include <math.h>
48032 #ifdef HAVE_IEEEFP_H
48033 #include <ieeefp.h>
48034 #endif
48037 main ()
48039 finitef(0);
48041 return 0;
48043 _ACEOF
48044 if ac_fn_cxx_try_compile "$LINENO"; then :
48045 glibcxx_cv_func_finitef_use=yes
48046 else
48047 glibcxx_cv_func_finitef_use=no
48049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48050 ac_ext=c
48051 ac_cpp='$CPP $CPPFLAGS'
48052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48061 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48063 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48064 for ac_func in finitef
48065 do :
48066 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48067 if test "x$ac_cv_func_finitef" = x""yes; then :
48068 cat >>confdefs.h <<_ACEOF
48069 #define HAVE_FINITEF 1
48070 _ACEOF
48073 done
48075 else
48077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48078 $as_echo_n "checking for _finitef declaration... " >&6; }
48079 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48080 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48081 $as_echo_n "(cached) " >&6
48082 else
48085 ac_ext=cpp
48086 ac_cpp='$CXXCPP $CPPFLAGS'
48087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48092 /* end confdefs.h. */
48093 #include <math.h>
48094 #ifdef HAVE_IEEEFP_H
48095 #include <ieeefp.h>
48096 #endif
48099 main ()
48101 _finitef(0);
48103 return 0;
48105 _ACEOF
48106 if ac_fn_cxx_try_compile "$LINENO"; then :
48107 glibcxx_cv_func__finitef_use=yes
48108 else
48109 glibcxx_cv_func__finitef_use=no
48111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48112 ac_ext=c
48113 ac_cpp='$CPP $CPPFLAGS'
48114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48123 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48125 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48126 for ac_func in _finitef
48127 do :
48128 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48129 if test "x$ac_cv_func__finitef" = x""yes; then :
48130 cat >>confdefs.h <<_ACEOF
48131 #define HAVE__FINITEF 1
48132 _ACEOF
48135 done
48144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48145 $as_echo_n "checking for long double trig functions... " >&6; }
48146 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48147 $as_echo_n "(cached) " >&6
48148 else
48151 ac_ext=cpp
48152 ac_cpp='$CXXCPP $CPPFLAGS'
48153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48158 /* end confdefs.h. */
48159 #include <math.h>
48161 main ()
48163 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48165 return 0;
48167 _ACEOF
48168 if ac_fn_cxx_try_compile "$LINENO"; then :
48169 glibcxx_cv_func_long_double_trig_use=yes
48170 else
48171 glibcxx_cv_func_long_double_trig_use=no
48173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48174 ac_ext=c
48175 ac_cpp='$CPP $CPPFLAGS'
48176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48183 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48184 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48185 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48186 do :
48187 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48188 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48189 eval as_val=\$$as_ac_var
48190 if test "x$as_val" = x""yes; then :
48191 cat >>confdefs.h <<_ACEOF
48192 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48193 _ACEOF
48196 done
48198 else
48199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48200 $as_echo_n "checking for _long double trig functions... " >&6; }
48201 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48202 $as_echo_n "(cached) " >&6
48203 else
48206 ac_ext=cpp
48207 ac_cpp='$CXXCPP $CPPFLAGS'
48208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48213 /* end confdefs.h. */
48214 #include <math.h>
48216 main ()
48218 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48220 return 0;
48222 _ACEOF
48223 if ac_fn_cxx_try_compile "$LINENO"; then :
48224 glibcxx_cv_func__long_double_trig_use=yes
48225 else
48226 glibcxx_cv_func__long_double_trig_use=no
48228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48229 ac_ext=c
48230 ac_cpp='$CPP $CPPFLAGS'
48231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48238 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48239 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48240 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48241 do :
48242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48244 eval as_val=\$$as_ac_var
48245 if test "x$as_val" = x""yes; then :
48246 cat >>confdefs.h <<_ACEOF
48247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48248 _ACEOF
48251 done
48260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48261 $as_echo_n "checking for long double round functions... " >&6; }
48262 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48263 $as_echo_n "(cached) " >&6
48264 else
48267 ac_ext=cpp
48268 ac_cpp='$CXXCPP $CPPFLAGS'
48269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48274 /* end confdefs.h. */
48275 #include <math.h>
48277 main ()
48279 ceill (0); floorl (0);
48281 return 0;
48283 _ACEOF
48284 if ac_fn_cxx_try_compile "$LINENO"; then :
48285 glibcxx_cv_func_long_double_round_use=yes
48286 else
48287 glibcxx_cv_func_long_double_round_use=no
48289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48290 ac_ext=c
48291 ac_cpp='$CPP $CPPFLAGS'
48292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48299 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48300 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48301 for ac_func in ceill floorl
48302 do :
48303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48305 eval as_val=\$$as_ac_var
48306 if test "x$as_val" = x""yes; then :
48307 cat >>confdefs.h <<_ACEOF
48308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48309 _ACEOF
48312 done
48314 else
48315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48316 $as_echo_n "checking for _long double round functions... " >&6; }
48317 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48318 $as_echo_n "(cached) " >&6
48319 else
48322 ac_ext=cpp
48323 ac_cpp='$CXXCPP $CPPFLAGS'
48324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48329 /* end confdefs.h. */
48330 #include <math.h>
48332 main ()
48334 _ceill (0); _floorl (0);
48336 return 0;
48338 _ACEOF
48339 if ac_fn_cxx_try_compile "$LINENO"; then :
48340 glibcxx_cv_func__long_double_round_use=yes
48341 else
48342 glibcxx_cv_func__long_double_round_use=no
48344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48345 ac_ext=c
48346 ac_cpp='$CPP $CPPFLAGS'
48347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48354 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48355 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48356 for ac_func in _ceill _floorl
48357 do :
48358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48360 eval as_val=\$$as_ac_var
48361 if test "x$as_val" = x""yes; then :
48362 cat >>confdefs.h <<_ACEOF
48363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48364 _ACEOF
48367 done
48377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48378 $as_echo_n "checking for isnanl declaration... " >&6; }
48379 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48380 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48381 $as_echo_n "(cached) " >&6
48382 else
48385 ac_ext=cpp
48386 ac_cpp='$CXXCPP $CPPFLAGS'
48387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48392 /* end confdefs.h. */
48393 #include <math.h>
48394 #ifdef HAVE_IEEEFP_H
48395 #include <ieeefp.h>
48396 #endif
48399 main ()
48401 isnanl(0);
48403 return 0;
48405 _ACEOF
48406 if ac_fn_cxx_try_compile "$LINENO"; then :
48407 glibcxx_cv_func_isnanl_use=yes
48408 else
48409 glibcxx_cv_func_isnanl_use=no
48411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48412 ac_ext=c
48413 ac_cpp='$CPP $CPPFLAGS'
48414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48423 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48425 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48426 for ac_func in isnanl
48427 do :
48428 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48429 if test "x$ac_cv_func_isnanl" = x""yes; then :
48430 cat >>confdefs.h <<_ACEOF
48431 #define HAVE_ISNANL 1
48432 _ACEOF
48435 done
48437 else
48439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48440 $as_echo_n "checking for _isnanl declaration... " >&6; }
48441 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48442 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48443 $as_echo_n "(cached) " >&6
48444 else
48447 ac_ext=cpp
48448 ac_cpp='$CXXCPP $CPPFLAGS'
48449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48454 /* end confdefs.h. */
48455 #include <math.h>
48456 #ifdef HAVE_IEEEFP_H
48457 #include <ieeefp.h>
48458 #endif
48461 main ()
48463 _isnanl(0);
48465 return 0;
48467 _ACEOF
48468 if ac_fn_cxx_try_compile "$LINENO"; then :
48469 glibcxx_cv_func__isnanl_use=yes
48470 else
48471 glibcxx_cv_func__isnanl_use=no
48473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48474 ac_ext=c
48475 ac_cpp='$CPP $CPPFLAGS'
48476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48485 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48487 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48488 for ac_func in _isnanl
48489 do :
48490 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48491 if test "x$ac_cv_func__isnanl" = x""yes; then :
48492 cat >>confdefs.h <<_ACEOF
48493 #define HAVE__ISNANL 1
48494 _ACEOF
48497 done
48506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48507 $as_echo_n "checking for isinfl declaration... " >&6; }
48508 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48509 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48510 $as_echo_n "(cached) " >&6
48511 else
48514 ac_ext=cpp
48515 ac_cpp='$CXXCPP $CPPFLAGS'
48516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48521 /* end confdefs.h. */
48522 #include <math.h>
48523 #ifdef HAVE_IEEEFP_H
48524 #include <ieeefp.h>
48525 #endif
48528 main ()
48530 isinfl(0);
48532 return 0;
48534 _ACEOF
48535 if ac_fn_cxx_try_compile "$LINENO"; then :
48536 glibcxx_cv_func_isinfl_use=yes
48537 else
48538 glibcxx_cv_func_isinfl_use=no
48540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48541 ac_ext=c
48542 ac_cpp='$CPP $CPPFLAGS'
48543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48552 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48554 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48555 for ac_func in isinfl
48556 do :
48557 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48558 if test "x$ac_cv_func_isinfl" = x""yes; then :
48559 cat >>confdefs.h <<_ACEOF
48560 #define HAVE_ISINFL 1
48561 _ACEOF
48564 done
48566 else
48568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48569 $as_echo_n "checking for _isinfl declaration... " >&6; }
48570 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48571 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48572 $as_echo_n "(cached) " >&6
48573 else
48576 ac_ext=cpp
48577 ac_cpp='$CXXCPP $CPPFLAGS'
48578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48583 /* end confdefs.h. */
48584 #include <math.h>
48585 #ifdef HAVE_IEEEFP_H
48586 #include <ieeefp.h>
48587 #endif
48590 main ()
48592 _isinfl(0);
48594 return 0;
48596 _ACEOF
48597 if ac_fn_cxx_try_compile "$LINENO"; then :
48598 glibcxx_cv_func__isinfl_use=yes
48599 else
48600 glibcxx_cv_func__isinfl_use=no
48602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48603 ac_ext=c
48604 ac_cpp='$CPP $CPPFLAGS'
48605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48614 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48616 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48617 for ac_func in _isinfl
48618 do :
48619 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48620 if test "x$ac_cv_func__isinfl" = x""yes; then :
48621 cat >>confdefs.h <<_ACEOF
48622 #define HAVE__ISINFL 1
48623 _ACEOF
48626 done
48635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48636 $as_echo_n "checking for atan2l declaration... " >&6; }
48637 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48638 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48639 $as_echo_n "(cached) " >&6
48640 else
48643 ac_ext=cpp
48644 ac_cpp='$CXXCPP $CPPFLAGS'
48645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48650 /* end confdefs.h. */
48651 #include <math.h>
48653 main ()
48655 atan2l(0, 0);
48657 return 0;
48659 _ACEOF
48660 if ac_fn_cxx_try_compile "$LINENO"; then :
48661 glibcxx_cv_func_atan2l_use=yes
48662 else
48663 glibcxx_cv_func_atan2l_use=no
48665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48666 ac_ext=c
48667 ac_cpp='$CPP $CPPFLAGS'
48668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48677 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48679 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48680 for ac_func in atan2l
48681 do :
48682 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48683 if test "x$ac_cv_func_atan2l" = x""yes; then :
48684 cat >>confdefs.h <<_ACEOF
48685 #define HAVE_ATAN2L 1
48686 _ACEOF
48689 done
48691 else
48693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48694 $as_echo_n "checking for _atan2l declaration... " >&6; }
48695 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48696 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48697 $as_echo_n "(cached) " >&6
48698 else
48701 ac_ext=cpp
48702 ac_cpp='$CXXCPP $CPPFLAGS'
48703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48708 /* end confdefs.h. */
48709 #include <math.h>
48711 main ()
48713 _atan2l(0, 0);
48715 return 0;
48717 _ACEOF
48718 if ac_fn_cxx_try_compile "$LINENO"; then :
48719 glibcxx_cv_func__atan2l_use=yes
48720 else
48721 glibcxx_cv_func__atan2l_use=no
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48724 ac_ext=c
48725 ac_cpp='$CPP $CPPFLAGS'
48726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48735 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48737 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48738 for ac_func in _atan2l
48739 do :
48740 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48741 if test "x$ac_cv_func__atan2l" = x""yes; then :
48742 cat >>confdefs.h <<_ACEOF
48743 #define HAVE__ATAN2L 1
48744 _ACEOF
48747 done
48756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48757 $as_echo_n "checking for expl declaration... " >&6; }
48758 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48759 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48760 $as_echo_n "(cached) " >&6
48761 else
48764 ac_ext=cpp
48765 ac_cpp='$CXXCPP $CPPFLAGS'
48766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48771 /* end confdefs.h. */
48772 #include <math.h>
48773 #ifdef HAVE_IEEEFP_H
48774 #include <ieeefp.h>
48775 #endif
48778 main ()
48780 expl(0);
48782 return 0;
48784 _ACEOF
48785 if ac_fn_cxx_try_compile "$LINENO"; then :
48786 glibcxx_cv_func_expl_use=yes
48787 else
48788 glibcxx_cv_func_expl_use=no
48790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48791 ac_ext=c
48792 ac_cpp='$CPP $CPPFLAGS'
48793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48802 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48804 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48805 for ac_func in expl
48806 do :
48807 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48808 if test "x$ac_cv_func_expl" = x""yes; then :
48809 cat >>confdefs.h <<_ACEOF
48810 #define HAVE_EXPL 1
48811 _ACEOF
48814 done
48816 else
48818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48819 $as_echo_n "checking for _expl declaration... " >&6; }
48820 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48821 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48822 $as_echo_n "(cached) " >&6
48823 else
48826 ac_ext=cpp
48827 ac_cpp='$CXXCPP $CPPFLAGS'
48828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48833 /* end confdefs.h. */
48834 #include <math.h>
48835 #ifdef HAVE_IEEEFP_H
48836 #include <ieeefp.h>
48837 #endif
48840 main ()
48842 _expl(0);
48844 return 0;
48846 _ACEOF
48847 if ac_fn_cxx_try_compile "$LINENO"; then :
48848 glibcxx_cv_func__expl_use=yes
48849 else
48850 glibcxx_cv_func__expl_use=no
48852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48853 ac_ext=c
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48864 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48866 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48867 for ac_func in _expl
48868 do :
48869 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48870 if test "x$ac_cv_func__expl" = x""yes; then :
48871 cat >>confdefs.h <<_ACEOF
48872 #define HAVE__EXPL 1
48873 _ACEOF
48876 done
48885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48886 $as_echo_n "checking for fabsl declaration... " >&6; }
48887 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48888 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48889 $as_echo_n "(cached) " >&6
48890 else
48893 ac_ext=cpp
48894 ac_cpp='$CXXCPP $CPPFLAGS'
48895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48900 /* end confdefs.h. */
48901 #include <math.h>
48902 #ifdef HAVE_IEEEFP_H
48903 #include <ieeefp.h>
48904 #endif
48907 main ()
48909 fabsl(0);
48911 return 0;
48913 _ACEOF
48914 if ac_fn_cxx_try_compile "$LINENO"; then :
48915 glibcxx_cv_func_fabsl_use=yes
48916 else
48917 glibcxx_cv_func_fabsl_use=no
48919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48920 ac_ext=c
48921 ac_cpp='$CPP $CPPFLAGS'
48922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48931 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48933 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48934 for ac_func in fabsl
48935 do :
48936 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48937 if test "x$ac_cv_func_fabsl" = x""yes; then :
48938 cat >>confdefs.h <<_ACEOF
48939 #define HAVE_FABSL 1
48940 _ACEOF
48943 done
48945 else
48947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48948 $as_echo_n "checking for _fabsl declaration... " >&6; }
48949 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48950 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48951 $as_echo_n "(cached) " >&6
48952 else
48955 ac_ext=cpp
48956 ac_cpp='$CXXCPP $CPPFLAGS'
48957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48962 /* end confdefs.h. */
48963 #include <math.h>
48964 #ifdef HAVE_IEEEFP_H
48965 #include <ieeefp.h>
48966 #endif
48969 main ()
48971 _fabsl(0);
48973 return 0;
48975 _ACEOF
48976 if ac_fn_cxx_try_compile "$LINENO"; then :
48977 glibcxx_cv_func__fabsl_use=yes
48978 else
48979 glibcxx_cv_func__fabsl_use=no
48981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48982 ac_ext=c
48983 ac_cpp='$CPP $CPPFLAGS'
48984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48993 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48995 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48996 for ac_func in _fabsl
48997 do :
48998 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48999 if test "x$ac_cv_func__fabsl" = x""yes; then :
49000 cat >>confdefs.h <<_ACEOF
49001 #define HAVE__FABSL 1
49002 _ACEOF
49005 done
49014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49015 $as_echo_n "checking for fmodl declaration... " >&6; }
49016 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49017 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49018 $as_echo_n "(cached) " >&6
49019 else
49022 ac_ext=cpp
49023 ac_cpp='$CXXCPP $CPPFLAGS'
49024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49029 /* end confdefs.h. */
49030 #include <math.h>
49032 main ()
49034 fmodl(0, 0);
49036 return 0;
49038 _ACEOF
49039 if ac_fn_cxx_try_compile "$LINENO"; then :
49040 glibcxx_cv_func_fmodl_use=yes
49041 else
49042 glibcxx_cv_func_fmodl_use=no
49044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49045 ac_ext=c
49046 ac_cpp='$CPP $CPPFLAGS'
49047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49056 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49058 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49059 for ac_func in fmodl
49060 do :
49061 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49062 if test "x$ac_cv_func_fmodl" = x""yes; then :
49063 cat >>confdefs.h <<_ACEOF
49064 #define HAVE_FMODL 1
49065 _ACEOF
49068 done
49070 else
49072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49073 $as_echo_n "checking for _fmodl declaration... " >&6; }
49074 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49075 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49076 $as_echo_n "(cached) " >&6
49077 else
49080 ac_ext=cpp
49081 ac_cpp='$CXXCPP $CPPFLAGS'
49082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49087 /* end confdefs.h. */
49088 #include <math.h>
49090 main ()
49092 _fmodl(0, 0);
49094 return 0;
49096 _ACEOF
49097 if ac_fn_cxx_try_compile "$LINENO"; then :
49098 glibcxx_cv_func__fmodl_use=yes
49099 else
49100 glibcxx_cv_func__fmodl_use=no
49102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49103 ac_ext=c
49104 ac_cpp='$CPP $CPPFLAGS'
49105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49114 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49116 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49117 for ac_func in _fmodl
49118 do :
49119 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49120 if test "x$ac_cv_func__fmodl" = x""yes; then :
49121 cat >>confdefs.h <<_ACEOF
49122 #define HAVE__FMODL 1
49123 _ACEOF
49126 done
49135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49136 $as_echo_n "checking for frexpl declaration... " >&6; }
49137 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49138 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49139 $as_echo_n "(cached) " >&6
49140 else
49143 ac_ext=cpp
49144 ac_cpp='$CXXCPP $CPPFLAGS'
49145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49150 /* end confdefs.h. */
49151 #include <math.h>
49153 main ()
49155 frexpl(0, 0);
49157 return 0;
49159 _ACEOF
49160 if ac_fn_cxx_try_compile "$LINENO"; then :
49161 glibcxx_cv_func_frexpl_use=yes
49162 else
49163 glibcxx_cv_func_frexpl_use=no
49165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49166 ac_ext=c
49167 ac_cpp='$CPP $CPPFLAGS'
49168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49177 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49179 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49180 for ac_func in frexpl
49181 do :
49182 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49183 if test "x$ac_cv_func_frexpl" = x""yes; then :
49184 cat >>confdefs.h <<_ACEOF
49185 #define HAVE_FREXPL 1
49186 _ACEOF
49189 done
49191 else
49193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49194 $as_echo_n "checking for _frexpl declaration... " >&6; }
49195 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49196 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49197 $as_echo_n "(cached) " >&6
49198 else
49201 ac_ext=cpp
49202 ac_cpp='$CXXCPP $CPPFLAGS'
49203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49208 /* end confdefs.h. */
49209 #include <math.h>
49211 main ()
49213 _frexpl(0, 0);
49215 return 0;
49217 _ACEOF
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219 glibcxx_cv_func__frexpl_use=yes
49220 else
49221 glibcxx_cv_func__frexpl_use=no
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224 ac_ext=c
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49235 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49237 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49238 for ac_func in _frexpl
49239 do :
49240 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49241 if test "x$ac_cv_func__frexpl" = x""yes; then :
49242 cat >>confdefs.h <<_ACEOF
49243 #define HAVE__FREXPL 1
49244 _ACEOF
49247 done
49256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49257 $as_echo_n "checking for hypotl declaration... " >&6; }
49258 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49259 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49260 $as_echo_n "(cached) " >&6
49261 else
49264 ac_ext=cpp
49265 ac_cpp='$CXXCPP $CPPFLAGS'
49266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49271 /* end confdefs.h. */
49272 #include <math.h>
49274 main ()
49276 hypotl(0, 0);
49278 return 0;
49280 _ACEOF
49281 if ac_fn_cxx_try_compile "$LINENO"; then :
49282 glibcxx_cv_func_hypotl_use=yes
49283 else
49284 glibcxx_cv_func_hypotl_use=no
49286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49287 ac_ext=c
49288 ac_cpp='$CPP $CPPFLAGS'
49289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49298 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49300 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49301 for ac_func in hypotl
49302 do :
49303 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49304 if test "x$ac_cv_func_hypotl" = x""yes; then :
49305 cat >>confdefs.h <<_ACEOF
49306 #define HAVE_HYPOTL 1
49307 _ACEOF
49310 done
49312 else
49314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49315 $as_echo_n "checking for _hypotl declaration... " >&6; }
49316 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49317 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49318 $as_echo_n "(cached) " >&6
49319 else
49322 ac_ext=cpp
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h. */
49330 #include <math.h>
49332 main ()
49334 _hypotl(0, 0);
49336 return 0;
49338 _ACEOF
49339 if ac_fn_cxx_try_compile "$LINENO"; then :
49340 glibcxx_cv_func__hypotl_use=yes
49341 else
49342 glibcxx_cv_func__hypotl_use=no
49344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49345 ac_ext=c
49346 ac_cpp='$CPP $CPPFLAGS'
49347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49356 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49358 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49359 for ac_func in _hypotl
49360 do :
49361 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49362 if test "x$ac_cv_func__hypotl" = x""yes; then :
49363 cat >>confdefs.h <<_ACEOF
49364 #define HAVE__HYPOTL 1
49365 _ACEOF
49368 done
49377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49378 $as_echo_n "checking for ldexpl declaration... " >&6; }
49379 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49380 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49381 $as_echo_n "(cached) " >&6
49382 else
49385 ac_ext=cpp
49386 ac_cpp='$CXXCPP $CPPFLAGS'
49387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49392 /* end confdefs.h. */
49393 #include <math.h>
49395 main ()
49397 ldexpl(0, 0);
49399 return 0;
49401 _ACEOF
49402 if ac_fn_cxx_try_compile "$LINENO"; then :
49403 glibcxx_cv_func_ldexpl_use=yes
49404 else
49405 glibcxx_cv_func_ldexpl_use=no
49407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49408 ac_ext=c
49409 ac_cpp='$CPP $CPPFLAGS'
49410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49419 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49421 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49422 for ac_func in ldexpl
49423 do :
49424 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49425 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49426 cat >>confdefs.h <<_ACEOF
49427 #define HAVE_LDEXPL 1
49428 _ACEOF
49431 done
49433 else
49435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49436 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49437 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49438 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49439 $as_echo_n "(cached) " >&6
49440 else
49443 ac_ext=cpp
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49450 /* end confdefs.h. */
49451 #include <math.h>
49453 main ()
49455 _ldexpl(0, 0);
49457 return 0;
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func__ldexpl_use=yes
49462 else
49463 glibcxx_cv_func__ldexpl_use=no
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466 ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49477 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49479 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49480 for ac_func in _ldexpl
49481 do :
49482 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49483 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49484 cat >>confdefs.h <<_ACEOF
49485 #define HAVE__LDEXPL 1
49486 _ACEOF
49489 done
49498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49499 $as_echo_n "checking for logl declaration... " >&6; }
49500 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49501 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49502 $as_echo_n "(cached) " >&6
49503 else
49506 ac_ext=cpp
49507 ac_cpp='$CXXCPP $CPPFLAGS'
49508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49513 /* end confdefs.h. */
49514 #include <math.h>
49515 #ifdef HAVE_IEEEFP_H
49516 #include <ieeefp.h>
49517 #endif
49520 main ()
49522 logl(0);
49524 return 0;
49526 _ACEOF
49527 if ac_fn_cxx_try_compile "$LINENO"; then :
49528 glibcxx_cv_func_logl_use=yes
49529 else
49530 glibcxx_cv_func_logl_use=no
49532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49533 ac_ext=c
49534 ac_cpp='$CPP $CPPFLAGS'
49535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49544 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49546 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49547 for ac_func in logl
49548 do :
49549 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49550 if test "x$ac_cv_func_logl" = x""yes; then :
49551 cat >>confdefs.h <<_ACEOF
49552 #define HAVE_LOGL 1
49553 _ACEOF
49556 done
49558 else
49560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49561 $as_echo_n "checking for _logl declaration... " >&6; }
49562 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49563 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49564 $as_echo_n "(cached) " >&6
49565 else
49568 ac_ext=cpp
49569 ac_cpp='$CXXCPP $CPPFLAGS'
49570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49575 /* end confdefs.h. */
49576 #include <math.h>
49577 #ifdef HAVE_IEEEFP_H
49578 #include <ieeefp.h>
49579 #endif
49582 main ()
49584 _logl(0);
49586 return 0;
49588 _ACEOF
49589 if ac_fn_cxx_try_compile "$LINENO"; then :
49590 glibcxx_cv_func__logl_use=yes
49591 else
49592 glibcxx_cv_func__logl_use=no
49594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49595 ac_ext=c
49596 ac_cpp='$CPP $CPPFLAGS'
49597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49606 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49608 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49609 for ac_func in _logl
49610 do :
49611 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49612 if test "x$ac_cv_func__logl" = x""yes; then :
49613 cat >>confdefs.h <<_ACEOF
49614 #define HAVE__LOGL 1
49615 _ACEOF
49618 done
49627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49628 $as_echo_n "checking for log10l declaration... " >&6; }
49629 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49630 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49631 $as_echo_n "(cached) " >&6
49632 else
49635 ac_ext=cpp
49636 ac_cpp='$CXXCPP $CPPFLAGS'
49637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49642 /* end confdefs.h. */
49643 #include <math.h>
49644 #ifdef HAVE_IEEEFP_H
49645 #include <ieeefp.h>
49646 #endif
49649 main ()
49651 log10l(0);
49653 return 0;
49655 _ACEOF
49656 if ac_fn_cxx_try_compile "$LINENO"; then :
49657 glibcxx_cv_func_log10l_use=yes
49658 else
49659 glibcxx_cv_func_log10l_use=no
49661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49662 ac_ext=c
49663 ac_cpp='$CPP $CPPFLAGS'
49664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49673 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49675 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49676 for ac_func in log10l
49677 do :
49678 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49679 if test "x$ac_cv_func_log10l" = x""yes; then :
49680 cat >>confdefs.h <<_ACEOF
49681 #define HAVE_LOG10L 1
49682 _ACEOF
49685 done
49687 else
49689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49690 $as_echo_n "checking for _log10l declaration... " >&6; }
49691 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49692 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49693 $as_echo_n "(cached) " >&6
49694 else
49697 ac_ext=cpp
49698 ac_cpp='$CXXCPP $CPPFLAGS'
49699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49704 /* end confdefs.h. */
49705 #include <math.h>
49706 #ifdef HAVE_IEEEFP_H
49707 #include <ieeefp.h>
49708 #endif
49711 main ()
49713 _log10l(0);
49715 return 0;
49717 _ACEOF
49718 if ac_fn_cxx_try_compile "$LINENO"; then :
49719 glibcxx_cv_func__log10l_use=yes
49720 else
49721 glibcxx_cv_func__log10l_use=no
49723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49724 ac_ext=c
49725 ac_cpp='$CPP $CPPFLAGS'
49726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49735 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49737 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49738 for ac_func in _log10l
49739 do :
49740 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49741 if test "x$ac_cv_func__log10l" = x""yes; then :
49742 cat >>confdefs.h <<_ACEOF
49743 #define HAVE__LOG10L 1
49744 _ACEOF
49747 done
49756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49757 $as_echo_n "checking for modfl declaration... " >&6; }
49758 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49759 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49760 $as_echo_n "(cached) " >&6
49761 else
49764 ac_ext=cpp
49765 ac_cpp='$CXXCPP $CPPFLAGS'
49766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49771 /* end confdefs.h. */
49772 #include <math.h>
49774 main ()
49776 modfl(0, 0);
49778 return 0;
49780 _ACEOF
49781 if ac_fn_cxx_try_compile "$LINENO"; then :
49782 glibcxx_cv_func_modfl_use=yes
49783 else
49784 glibcxx_cv_func_modfl_use=no
49786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49787 ac_ext=c
49788 ac_cpp='$CPP $CPPFLAGS'
49789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49798 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49800 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49801 for ac_func in modfl
49802 do :
49803 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49804 if test "x$ac_cv_func_modfl" = x""yes; then :
49805 cat >>confdefs.h <<_ACEOF
49806 #define HAVE_MODFL 1
49807 _ACEOF
49810 done
49812 else
49814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49815 $as_echo_n "checking for _modfl declaration... " >&6; }
49816 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49817 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49818 $as_echo_n "(cached) " >&6
49819 else
49822 ac_ext=cpp
49823 ac_cpp='$CXXCPP $CPPFLAGS'
49824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49829 /* end confdefs.h. */
49830 #include <math.h>
49832 main ()
49834 _modfl(0, 0);
49836 return 0;
49838 _ACEOF
49839 if ac_fn_cxx_try_compile "$LINENO"; then :
49840 glibcxx_cv_func__modfl_use=yes
49841 else
49842 glibcxx_cv_func__modfl_use=no
49844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49845 ac_ext=c
49846 ac_cpp='$CPP $CPPFLAGS'
49847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49856 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49858 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49859 for ac_func in _modfl
49860 do :
49861 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49862 if test "x$ac_cv_func__modfl" = x""yes; then :
49863 cat >>confdefs.h <<_ACEOF
49864 #define HAVE__MODFL 1
49865 _ACEOF
49868 done
49877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49878 $as_echo_n "checking for powl declaration... " >&6; }
49879 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49880 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49881 $as_echo_n "(cached) " >&6
49882 else
49885 ac_ext=cpp
49886 ac_cpp='$CXXCPP $CPPFLAGS'
49887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49892 /* end confdefs.h. */
49893 #include <math.h>
49895 main ()
49897 powl(0, 0);
49899 return 0;
49901 _ACEOF
49902 if ac_fn_cxx_try_compile "$LINENO"; then :
49903 glibcxx_cv_func_powl_use=yes
49904 else
49905 glibcxx_cv_func_powl_use=no
49907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49908 ac_ext=c
49909 ac_cpp='$CPP $CPPFLAGS'
49910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49919 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49921 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49922 for ac_func in powl
49923 do :
49924 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49925 if test "x$ac_cv_func_powl" = x""yes; then :
49926 cat >>confdefs.h <<_ACEOF
49927 #define HAVE_POWL 1
49928 _ACEOF
49931 done
49933 else
49935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49936 $as_echo_n "checking for _powl declaration... " >&6; }
49937 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49938 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49939 $as_echo_n "(cached) " >&6
49940 else
49943 ac_ext=cpp
49944 ac_cpp='$CXXCPP $CPPFLAGS'
49945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49950 /* end confdefs.h. */
49951 #include <math.h>
49953 main ()
49955 _powl(0, 0);
49957 return 0;
49959 _ACEOF
49960 if ac_fn_cxx_try_compile "$LINENO"; then :
49961 glibcxx_cv_func__powl_use=yes
49962 else
49963 glibcxx_cv_func__powl_use=no
49965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49966 ac_ext=c
49967 ac_cpp='$CPP $CPPFLAGS'
49968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49977 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49979 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49980 for ac_func in _powl
49981 do :
49982 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49983 if test "x$ac_cv_func__powl" = x""yes; then :
49984 cat >>confdefs.h <<_ACEOF
49985 #define HAVE__POWL 1
49986 _ACEOF
49989 done
49998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49999 $as_echo_n "checking for sqrtl declaration... " >&6; }
50000 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50001 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50002 $as_echo_n "(cached) " >&6
50003 else
50006 ac_ext=cpp
50007 ac_cpp='$CXXCPP $CPPFLAGS'
50008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50013 /* end confdefs.h. */
50014 #include <math.h>
50015 #ifdef HAVE_IEEEFP_H
50016 #include <ieeefp.h>
50017 #endif
50020 main ()
50022 sqrtl(0);
50024 return 0;
50026 _ACEOF
50027 if ac_fn_cxx_try_compile "$LINENO"; then :
50028 glibcxx_cv_func_sqrtl_use=yes
50029 else
50030 glibcxx_cv_func_sqrtl_use=no
50032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50033 ac_ext=c
50034 ac_cpp='$CPP $CPPFLAGS'
50035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50044 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50046 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50047 for ac_func in sqrtl
50048 do :
50049 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50050 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50051 cat >>confdefs.h <<_ACEOF
50052 #define HAVE_SQRTL 1
50053 _ACEOF
50056 done
50058 else
50060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50061 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50062 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50063 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50064 $as_echo_n "(cached) " >&6
50065 else
50068 ac_ext=cpp
50069 ac_cpp='$CXXCPP $CPPFLAGS'
50070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50075 /* end confdefs.h. */
50076 #include <math.h>
50077 #ifdef HAVE_IEEEFP_H
50078 #include <ieeefp.h>
50079 #endif
50082 main ()
50084 _sqrtl(0);
50086 return 0;
50088 _ACEOF
50089 if ac_fn_cxx_try_compile "$LINENO"; then :
50090 glibcxx_cv_func__sqrtl_use=yes
50091 else
50092 glibcxx_cv_func__sqrtl_use=no
50094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50095 ac_ext=c
50096 ac_cpp='$CPP $CPPFLAGS'
50097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50106 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50108 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50109 for ac_func in _sqrtl
50110 do :
50111 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50112 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50113 cat >>confdefs.h <<_ACEOF
50114 #define HAVE__SQRTL 1
50115 _ACEOF
50118 done
50127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50128 $as_echo_n "checking for sincosl declaration... " >&6; }
50129 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50130 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50131 $as_echo_n "(cached) " >&6
50132 else
50135 ac_ext=cpp
50136 ac_cpp='$CXXCPP $CPPFLAGS'
50137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50142 /* end confdefs.h. */
50143 #include <math.h>
50145 main ()
50147 sincosl(0, 0, 0);
50149 return 0;
50151 _ACEOF
50152 if ac_fn_cxx_try_compile "$LINENO"; then :
50153 glibcxx_cv_func_sincosl_use=yes
50154 else
50155 glibcxx_cv_func_sincosl_use=no
50157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50158 ac_ext=c
50159 ac_cpp='$CPP $CPPFLAGS'
50160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50169 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50171 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50172 for ac_func in sincosl
50173 do :
50174 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50175 if test "x$ac_cv_func_sincosl" = x""yes; then :
50176 cat >>confdefs.h <<_ACEOF
50177 #define HAVE_SINCOSL 1
50178 _ACEOF
50181 done
50183 else
50185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50186 $as_echo_n "checking for _sincosl declaration... " >&6; }
50187 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50188 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50189 $as_echo_n "(cached) " >&6
50190 else
50193 ac_ext=cpp
50194 ac_cpp='$CXXCPP $CPPFLAGS'
50195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50200 /* end confdefs.h. */
50201 #include <math.h>
50203 main ()
50205 _sincosl(0, 0, 0);
50207 return 0;
50209 _ACEOF
50210 if ac_fn_cxx_try_compile "$LINENO"; then :
50211 glibcxx_cv_func__sincosl_use=yes
50212 else
50213 glibcxx_cv_func__sincosl_use=no
50215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50216 ac_ext=c
50217 ac_cpp='$CPP $CPPFLAGS'
50218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50227 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50229 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50230 for ac_func in _sincosl
50231 do :
50232 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50233 if test "x$ac_cv_func__sincosl" = x""yes; then :
50234 cat >>confdefs.h <<_ACEOF
50235 #define HAVE__SINCOSL 1
50236 _ACEOF
50239 done
50248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50249 $as_echo_n "checking for finitel declaration... " >&6; }
50250 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50251 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50252 $as_echo_n "(cached) " >&6
50253 else
50256 ac_ext=cpp
50257 ac_cpp='$CXXCPP $CPPFLAGS'
50258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50263 /* end confdefs.h. */
50264 #include <math.h>
50265 #ifdef HAVE_IEEEFP_H
50266 #include <ieeefp.h>
50267 #endif
50270 main ()
50272 finitel(0);
50274 return 0;
50276 _ACEOF
50277 if ac_fn_cxx_try_compile "$LINENO"; then :
50278 glibcxx_cv_func_finitel_use=yes
50279 else
50280 glibcxx_cv_func_finitel_use=no
50282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50283 ac_ext=c
50284 ac_cpp='$CPP $CPPFLAGS'
50285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50294 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50296 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50297 for ac_func in finitel
50298 do :
50299 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50300 if test "x$ac_cv_func_finitel" = x""yes; then :
50301 cat >>confdefs.h <<_ACEOF
50302 #define HAVE_FINITEL 1
50303 _ACEOF
50306 done
50308 else
50310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50311 $as_echo_n "checking for _finitel declaration... " >&6; }
50312 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50313 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50314 $as_echo_n "(cached) " >&6
50315 else
50318 ac_ext=cpp
50319 ac_cpp='$CXXCPP $CPPFLAGS'
50320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50325 /* end confdefs.h. */
50326 #include <math.h>
50327 #ifdef HAVE_IEEEFP_H
50328 #include <ieeefp.h>
50329 #endif
50332 main ()
50334 _finitel(0);
50336 return 0;
50338 _ACEOF
50339 if ac_fn_cxx_try_compile "$LINENO"; then :
50340 glibcxx_cv_func__finitel_use=yes
50341 else
50342 glibcxx_cv_func__finitel_use=no
50344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50345 ac_ext=c
50346 ac_cpp='$CPP $CPPFLAGS'
50347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50356 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50358 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50359 for ac_func in _finitel
50360 do :
50361 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50362 if test "x$ac_cv_func__finitel" = x""yes; then :
50363 cat >>confdefs.h <<_ACEOF
50364 #define HAVE__FINITEL 1
50365 _ACEOF
50368 done
50376 LIBS="$ac_save_LIBS"
50377 CXXFLAGS="$ac_save_CXXFLAGS"
50380 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50381 ac_save_CXXFLAGS="$CXXFLAGS"
50382 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50386 $as_echo_n "checking for strtold declaration... " >&6; }
50387 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50388 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50389 $as_echo_n "(cached) " >&6
50390 else
50393 ac_ext=cpp
50394 ac_cpp='$CXXCPP $CPPFLAGS'
50395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50400 /* end confdefs.h. */
50401 #include <stdlib.h>
50403 main ()
50405 strtold(0, 0);
50407 return 0;
50409 _ACEOF
50410 if ac_fn_cxx_try_compile "$LINENO"; then :
50411 glibcxx_cv_func_strtold_use=yes
50412 else
50413 glibcxx_cv_func_strtold_use=no
50415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50416 ac_ext=c
50417 ac_cpp='$CPP $CPPFLAGS'
50418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50427 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50428 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50429 for ac_func in strtold
50430 do :
50431 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50432 if test "x$ac_cv_func_strtold" = x""yes; then :
50433 cat >>confdefs.h <<_ACEOF
50434 #define HAVE_STRTOLD 1
50435 _ACEOF
50438 done
50445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50446 $as_echo_n "checking for strtof declaration... " >&6; }
50447 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50448 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50449 $as_echo_n "(cached) " >&6
50450 else
50453 ac_ext=cpp
50454 ac_cpp='$CXXCPP $CPPFLAGS'
50455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50460 /* end confdefs.h. */
50461 #include <stdlib.h>
50463 main ()
50465 strtof(0, 0);
50467 return 0;
50469 _ACEOF
50470 if ac_fn_cxx_try_compile "$LINENO"; then :
50471 glibcxx_cv_func_strtof_use=yes
50472 else
50473 glibcxx_cv_func_strtof_use=no
50475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50476 ac_ext=c
50477 ac_cpp='$CPP $CPPFLAGS'
50478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50487 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50488 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50489 for ac_func in strtof
50490 do :
50491 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50492 if test "x$ac_cv_func_strtof" = x""yes; then :
50493 cat >>confdefs.h <<_ACEOF
50494 #define HAVE_STRTOF 1
50495 _ACEOF
50498 done
50505 CXXFLAGS="$ac_save_CXXFLAGS"
50507 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50511 # Check whether --enable-tls was given.
50512 if test "${enable_tls+set}" = set; then :
50513 enableval=$enable_tls;
50514 case "$enableval" in
50515 yes|no) ;;
50516 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50517 esac
50519 else
50520 enable_tls=yes
50524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50525 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50526 if test "${gcc_cv_have_tls+set}" = set; then :
50527 $as_echo_n "(cached) " >&6
50528 else
50530 if test "$cross_compiling" = yes; then :
50531 if test x$gcc_no_link = xyes; then
50532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50535 /* end confdefs.h. */
50536 __thread int a; int b; int main() { return a = b; }
50537 _ACEOF
50538 if ac_fn_c_try_link "$LINENO"; then :
50539 chktls_save_LDFLAGS="$LDFLAGS"
50540 case $host in
50541 *-*-linux*)
50542 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50544 esac
50545 chktls_save_CFLAGS="$CFLAGS"
50546 CFLAGS="-fPIC $CFLAGS"
50547 if test x$gcc_no_link = xyes; then
50548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50551 /* end confdefs.h. */
50552 int f() { return 0; }
50553 _ACEOF
50554 if ac_fn_c_try_link "$LINENO"; then :
50555 if test x$gcc_no_link = xyes; then
50556 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50559 /* end confdefs.h. */
50560 __thread int a; int b; int f() { return a = b; }
50561 _ACEOF
50562 if ac_fn_c_try_link "$LINENO"; then :
50563 gcc_cv_have_tls=yes
50564 else
50565 gcc_cv_have_tls=no
50567 rm -f core conftest.err conftest.$ac_objext \
50568 conftest$ac_exeext conftest.$ac_ext
50569 else
50570 gcc_cv_have_tls=yes
50572 rm -f core conftest.err conftest.$ac_objext \
50573 conftest$ac_exeext conftest.$ac_ext
50574 CFLAGS="$chktls_save_CFLAGS"
50575 LDFLAGS="$chktls_save_LDFLAGS"
50576 else
50577 gcc_cv_have_tls=no
50579 rm -f core conftest.err conftest.$ac_objext \
50580 conftest$ac_exeext conftest.$ac_ext
50583 else
50584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50585 /* end confdefs.h. */
50586 __thread int a; int b; int main() { return a = b; }
50587 _ACEOF
50588 if ac_fn_c_try_run "$LINENO"; then :
50589 chktls_save_LDFLAGS="$LDFLAGS"
50590 LDFLAGS="-static $LDFLAGS"
50591 if test x$gcc_no_link = xyes; then
50592 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50595 /* end confdefs.h. */
50596 int main() { return 0; }
50597 _ACEOF
50598 if ac_fn_c_try_link "$LINENO"; then :
50599 if test "$cross_compiling" = yes; then :
50600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50602 as_fn_error "cannot run test program while cross compiling
50603 See \`config.log' for more details." "$LINENO" 5; }
50604 else
50605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50606 /* end confdefs.h. */
50607 __thread int a; int b; int main() { return a = b; }
50608 _ACEOF
50609 if ac_fn_c_try_run "$LINENO"; then :
50610 gcc_cv_have_tls=yes
50611 else
50612 gcc_cv_have_tls=no
50614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50615 conftest.$ac_objext conftest.beam conftest.$ac_ext
50618 else
50619 gcc_cv_have_tls=yes
50621 rm -f core conftest.err conftest.$ac_objext \
50622 conftest$ac_exeext conftest.$ac_ext
50623 LDFLAGS="$chktls_save_LDFLAGS"
50624 if test $gcc_cv_have_tls = yes; then
50625 chktls_save_CFLAGS="$CFLAGS"
50626 thread_CFLAGS=failed
50627 for flag in '' '-pthread' '-lpthread'; do
50628 CFLAGS="$flag $chktls_save_CFLAGS"
50629 if test x$gcc_no_link = xyes; then
50630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50633 /* end confdefs.h. */
50634 #include <pthread.h>
50635 void *g(void *d) { return NULL; }
50637 main ()
50639 pthread_t t; pthread_create(&t,NULL,g,NULL);
50641 return 0;
50643 _ACEOF
50644 if ac_fn_c_try_link "$LINENO"; then :
50645 thread_CFLAGS="$flag"
50647 rm -f core conftest.err conftest.$ac_objext \
50648 conftest$ac_exeext conftest.$ac_ext
50649 if test "X$thread_CFLAGS" != Xfailed; then
50650 break
50652 done
50653 CFLAGS="$chktls_save_CFLAGS"
50654 if test "X$thread_CFLAGS" != Xfailed; then
50655 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50656 if test "$cross_compiling" = yes; then :
50657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50659 as_fn_error "cannot run test program while cross compiling
50660 See \`config.log' for more details." "$LINENO" 5; }
50661 else
50662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50663 /* end confdefs.h. */
50664 #include <pthread.h>
50665 __thread int a;
50666 static int *volatile a_in_other_thread;
50667 static void *
50668 thread_func (void *arg)
50670 a_in_other_thread = &a;
50671 return (void *)0;
50674 main ()
50676 pthread_t thread;
50677 void *thread_retval;
50678 int *volatile a_in_main_thread;
50679 a_in_main_thread = &a;
50680 if (pthread_create (&thread, (pthread_attr_t *)0,
50681 thread_func, (void *)0))
50682 return 0;
50683 if (pthread_join (thread, &thread_retval))
50684 return 0;
50685 return (a_in_other_thread == a_in_main_thread);
50687 return 0;
50689 _ACEOF
50690 if ac_fn_c_try_run "$LINENO"; then :
50691 gcc_cv_have_tls=yes
50692 else
50693 gcc_cv_have_tls=no
50695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50696 conftest.$ac_objext conftest.beam conftest.$ac_ext
50699 CFLAGS="$chktls_save_CFLAGS"
50702 else
50703 gcc_cv_have_tls=no
50705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50706 conftest.$ac_objext conftest.beam conftest.$ac_ext
50710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50711 $as_echo "$gcc_cv_have_tls" >&6; }
50712 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50714 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50722 am_save_CPPFLAGS="$CPPFLAGS"
50724 for element in $INCICONV; do
50725 haveit=
50726 for x in $CPPFLAGS; do
50728 acl_save_prefix="$prefix"
50729 prefix="$acl_final_prefix"
50730 acl_save_exec_prefix="$exec_prefix"
50731 exec_prefix="$acl_final_exec_prefix"
50732 eval x=\"$x\"
50733 exec_prefix="$acl_save_exec_prefix"
50734 prefix="$acl_save_prefix"
50736 if test "X$x" = "X$element"; then
50737 haveit=yes
50738 break
50740 done
50741 if test -z "$haveit"; then
50742 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50744 done
50747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50748 $as_echo_n "checking for iconv... " >&6; }
50749 if test "${am_cv_func_iconv+set}" = set; then :
50750 $as_echo_n "(cached) " >&6
50751 else
50753 am_cv_func_iconv="no, consider installing GNU libiconv"
50754 am_cv_lib_iconv=no
50755 if test x$gcc_no_link = xyes; then
50756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50759 /* end confdefs.h. */
50760 #include <stdlib.h>
50761 #include <iconv.h>
50763 main ()
50765 iconv_t cd = iconv_open("","");
50766 iconv(cd,NULL,NULL,NULL,NULL);
50767 iconv_close(cd);
50769 return 0;
50771 _ACEOF
50772 if ac_fn_c_try_link "$LINENO"; then :
50773 am_cv_func_iconv=yes
50775 rm -f core conftest.err conftest.$ac_objext \
50776 conftest$ac_exeext conftest.$ac_ext
50777 if test "$am_cv_func_iconv" != yes; then
50778 am_save_LIBS="$LIBS"
50779 LIBS="$LIBS $LIBICONV"
50780 if test x$gcc_no_link = xyes; then
50781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50784 /* end confdefs.h. */
50785 #include <stdlib.h>
50786 #include <iconv.h>
50788 main ()
50790 iconv_t cd = iconv_open("","");
50791 iconv(cd,NULL,NULL,NULL,NULL);
50792 iconv_close(cd);
50794 return 0;
50796 _ACEOF
50797 if ac_fn_c_try_link "$LINENO"; then :
50798 am_cv_lib_iconv=yes
50799 am_cv_func_iconv=yes
50801 rm -f core conftest.err conftest.$ac_objext \
50802 conftest$ac_exeext conftest.$ac_ext
50803 LIBS="$am_save_LIBS"
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50808 $as_echo "$am_cv_func_iconv" >&6; }
50809 if test "$am_cv_func_iconv" = yes; then
50811 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50814 if test "$am_cv_lib_iconv" = yes; then
50815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50816 $as_echo_n "checking how to link with libiconv... " >&6; }
50817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50818 $as_echo "$LIBICONV" >&6; }
50819 else
50820 CPPFLAGS="$am_save_CPPFLAGS"
50821 LIBICONV=
50822 LTLIBICONV=
50827 if test "$am_cv_func_iconv" = yes; then
50828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50829 $as_echo_n "checking for iconv declaration... " >&6; }
50830 if test "${am_cv_proto_iconv+set}" = set; then :
50831 $as_echo_n "(cached) " >&6
50832 else
50834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50835 /* end confdefs.h. */
50837 #include <stdlib.h>
50838 #include <iconv.h>
50839 extern
50840 #ifdef __cplusplus
50842 #endif
50843 #if defined(__STDC__) || defined(__cplusplus)
50844 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50845 #else
50846 size_t iconv();
50847 #endif
50850 main ()
50854 return 0;
50856 _ACEOF
50857 if ac_fn_c_try_compile "$LINENO"; then :
50858 am_cv_proto_iconv_arg1=""
50859 else
50860 am_cv_proto_iconv_arg1="const"
50862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50863 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);"
50866 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50868 }$am_cv_proto_iconv" >&5
50869 $as_echo "${ac_t:-
50870 }$am_cv_proto_iconv" >&6; }
50872 cat >>confdefs.h <<_ACEOF
50873 #define ICONV_CONST $am_cv_proto_iconv_arg1
50874 _ACEOF
50879 *-mingw32*)
50881 # If we're not using GNU ld, then there's no point in even trying these
50882 # tests. Check for that first. We should have already tested for gld
50883 # by now (in libtool), but require it now just to be safe...
50884 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50885 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50889 # The name set by libtool depends on the version of libtool. Shame on us
50890 # for depending on an impl detail, but c'est la vie. Older versions used
50891 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50892 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50893 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50894 # set (hence we're using an older libtool), then set it.
50895 if test x${with_gnu_ld+set} != xset; then
50896 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50897 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50898 with_gnu_ld=no
50899 else
50900 with_gnu_ld=$ac_cv_prog_gnu_ld
50904 # Start by getting the version number. I think the libtool test already
50905 # does some of this, but throws away the result.
50906 glibcxx_ld_is_gold=no
50907 if test x"$with_gnu_ld" = x"yes"; then
50908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50909 $as_echo_n "checking for ld version... " >&6; }
50911 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50912 glibcxx_ld_is_gold=yes
50914 ldver=`$LD --version 2>/dev/null |
50915 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'`
50917 glibcxx_gnu_ld_version=`echo $ldver | \
50918 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50920 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50923 # Set --gc-sections.
50924 glibcxx_have_gc_sections=no
50925 if test "$glibcxx_ld_is_gold" = "yes"; then
50926 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50927 glibcxx_have_gc_sections=yes
50929 else
50930 glibcxx_gcsections_min_ld=21602
50931 if test x"$with_gnu_ld" = x"yes" &&
50932 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50933 glibcxx_have_gc_sections=yes
50936 if test "$glibcxx_have_gc_sections" = "yes"; then
50937 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50938 # NB: This flag only works reliably after 2.16.1. Configure tests
50939 # for this are difficult, so hard wire a value that should work.
50941 ac_test_CFLAGS="${CFLAGS+set}"
50942 ac_save_CFLAGS="$CFLAGS"
50943 CFLAGS='-Wl,--gc-sections'
50945 # Check for -Wl,--gc-sections
50946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50947 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50948 if test x$gcc_no_link = xyes; then
50949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50952 /* end confdefs.h. */
50953 int one(void) { return 1; }
50954 int two(void) { return 2; }
50957 main ()
50959 two();
50961 return 0;
50963 _ACEOF
50964 if ac_fn_c_try_link "$LINENO"; then :
50965 ac_gcsections=yes
50966 else
50967 ac_gcsections=no
50969 rm -f core conftest.err conftest.$ac_objext \
50970 conftest$ac_exeext conftest.$ac_ext
50971 if test "$ac_gcsections" = "yes"; then
50972 rm -f conftest.c
50973 touch conftest.c
50974 if $CC -c conftest.c; then
50975 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50976 grep "Warning: gc-sections option ignored" > /dev/null; then
50977 ac_gcsections=no
50980 rm -f conftest.c conftest.o conftest
50982 if test "$ac_gcsections" = "yes"; then
50983 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50986 $as_echo "$ac_gcsections" >&6; }
50988 if test "$ac_test_CFLAGS" = set; then
50989 CFLAGS="$ac_save_CFLAGS"
50990 else
50991 # this is the suspicious part
50992 CFLAGS=''
50996 # Set -z,relro.
50997 # Note this is only for shared objects.
50998 ac_ld_relro=no
50999 if test x"$with_gnu_ld" = x"yes"; then
51000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51001 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51002 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51003 if test -n "$cxx_z_relo"; then
51004 OPT_LDFLAGS="-Wl,-z,relro"
51005 ac_ld_relro=yes
51007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51008 $as_echo "$ac_ld_relro" >&6; }
51011 # Set linker optimization flags.
51012 if test x"$with_gnu_ld" = x"yes"; then
51013 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51020 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51021 ac_save_CXXFLAGS="$CXXFLAGS"
51022 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51025 $as_echo_n "checking for sin in -lm... " >&6; }
51026 if test "${ac_cv_lib_m_sin+set}" = set; then :
51027 $as_echo_n "(cached) " >&6
51028 else
51029 ac_check_lib_save_LIBS=$LIBS
51030 LIBS="-lm $LIBS"
51031 if test x$gcc_no_link = xyes; then
51032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51035 /* end confdefs.h. */
51037 /* Override any GCC internal prototype to avoid an error.
51038 Use char because int might match the return type of a GCC
51039 builtin and then its argument prototype would still apply. */
51040 #ifdef __cplusplus
51041 extern "C"
51042 #endif
51043 char sin ();
51045 main ()
51047 return sin ();
51049 return 0;
51051 _ACEOF
51052 if ac_fn_c_try_link "$LINENO"; then :
51053 ac_cv_lib_m_sin=yes
51054 else
51055 ac_cv_lib_m_sin=no
51057 rm -f core conftest.err conftest.$ac_objext \
51058 conftest$ac_exeext conftest.$ac_ext
51059 LIBS=$ac_check_lib_save_LIBS
51061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51062 $as_echo "$ac_cv_lib_m_sin" >&6; }
51063 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51064 libm="-lm"
51067 ac_save_LIBS="$LIBS"
51068 LIBS="$LIBS $libm"
51072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51073 $as_echo_n "checking for isinf declaration... " >&6; }
51074 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51075 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51076 $as_echo_n "(cached) " >&6
51077 else
51080 ac_ext=cpp
51081 ac_cpp='$CXXCPP $CPPFLAGS'
51082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51087 /* end confdefs.h. */
51088 #include <math.h>
51089 #ifdef HAVE_IEEEFP_H
51090 #include <ieeefp.h>
51091 #endif
51094 main ()
51096 isinf(0);
51098 return 0;
51100 _ACEOF
51101 if ac_fn_cxx_try_compile "$LINENO"; then :
51102 glibcxx_cv_func_isinf_use=yes
51103 else
51104 glibcxx_cv_func_isinf_use=no
51106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51107 ac_ext=c
51108 ac_cpp='$CPP $CPPFLAGS'
51109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51118 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51120 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51121 for ac_func in isinf
51122 do :
51123 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51124 if test "x$ac_cv_func_isinf" = x""yes; then :
51125 cat >>confdefs.h <<_ACEOF
51126 #define HAVE_ISINF 1
51127 _ACEOF
51130 done
51132 else
51134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51135 $as_echo_n "checking for _isinf declaration... " >&6; }
51136 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51137 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51138 $as_echo_n "(cached) " >&6
51139 else
51142 ac_ext=cpp
51143 ac_cpp='$CXXCPP $CPPFLAGS'
51144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51149 /* end confdefs.h. */
51150 #include <math.h>
51151 #ifdef HAVE_IEEEFP_H
51152 #include <ieeefp.h>
51153 #endif
51156 main ()
51158 _isinf(0);
51160 return 0;
51162 _ACEOF
51163 if ac_fn_cxx_try_compile "$LINENO"; then :
51164 glibcxx_cv_func__isinf_use=yes
51165 else
51166 glibcxx_cv_func__isinf_use=no
51168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51169 ac_ext=c
51170 ac_cpp='$CPP $CPPFLAGS'
51171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51180 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51182 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51183 for ac_func in _isinf
51184 do :
51185 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51186 if test "x$ac_cv_func__isinf" = x""yes; then :
51187 cat >>confdefs.h <<_ACEOF
51188 #define HAVE__ISINF 1
51189 _ACEOF
51192 done
51201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51202 $as_echo_n "checking for isnan declaration... " >&6; }
51203 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51204 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51205 $as_echo_n "(cached) " >&6
51206 else
51209 ac_ext=cpp
51210 ac_cpp='$CXXCPP $CPPFLAGS'
51211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51216 /* end confdefs.h. */
51217 #include <math.h>
51218 #ifdef HAVE_IEEEFP_H
51219 #include <ieeefp.h>
51220 #endif
51223 main ()
51225 isnan(0);
51227 return 0;
51229 _ACEOF
51230 if ac_fn_cxx_try_compile "$LINENO"; then :
51231 glibcxx_cv_func_isnan_use=yes
51232 else
51233 glibcxx_cv_func_isnan_use=no
51235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51236 ac_ext=c
51237 ac_cpp='$CPP $CPPFLAGS'
51238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51247 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51249 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51250 for ac_func in isnan
51251 do :
51252 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51253 if test "x$ac_cv_func_isnan" = x""yes; then :
51254 cat >>confdefs.h <<_ACEOF
51255 #define HAVE_ISNAN 1
51256 _ACEOF
51259 done
51261 else
51263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51264 $as_echo_n "checking for _isnan declaration... " >&6; }
51265 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51266 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51267 $as_echo_n "(cached) " >&6
51268 else
51271 ac_ext=cpp
51272 ac_cpp='$CXXCPP $CPPFLAGS'
51273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51278 /* end confdefs.h. */
51279 #include <math.h>
51280 #ifdef HAVE_IEEEFP_H
51281 #include <ieeefp.h>
51282 #endif
51285 main ()
51287 _isnan(0);
51289 return 0;
51291 _ACEOF
51292 if ac_fn_cxx_try_compile "$LINENO"; then :
51293 glibcxx_cv_func__isnan_use=yes
51294 else
51295 glibcxx_cv_func__isnan_use=no
51297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51298 ac_ext=c
51299 ac_cpp='$CPP $CPPFLAGS'
51300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51309 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51311 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51312 for ac_func in _isnan
51313 do :
51314 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51315 if test "x$ac_cv_func__isnan" = x""yes; then :
51316 cat >>confdefs.h <<_ACEOF
51317 #define HAVE__ISNAN 1
51318 _ACEOF
51321 done
51330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51331 $as_echo_n "checking for finite declaration... " >&6; }
51332 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51333 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51334 $as_echo_n "(cached) " >&6
51335 else
51338 ac_ext=cpp
51339 ac_cpp='$CXXCPP $CPPFLAGS'
51340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51345 /* end confdefs.h. */
51346 #include <math.h>
51347 #ifdef HAVE_IEEEFP_H
51348 #include <ieeefp.h>
51349 #endif
51352 main ()
51354 finite(0);
51356 return 0;
51358 _ACEOF
51359 if ac_fn_cxx_try_compile "$LINENO"; then :
51360 glibcxx_cv_func_finite_use=yes
51361 else
51362 glibcxx_cv_func_finite_use=no
51364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51365 ac_ext=c
51366 ac_cpp='$CPP $CPPFLAGS'
51367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51376 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51378 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51379 for ac_func in finite
51380 do :
51381 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51382 if test "x$ac_cv_func_finite" = x""yes; then :
51383 cat >>confdefs.h <<_ACEOF
51384 #define HAVE_FINITE 1
51385 _ACEOF
51388 done
51390 else
51392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51393 $as_echo_n "checking for _finite declaration... " >&6; }
51394 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51395 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51396 $as_echo_n "(cached) " >&6
51397 else
51400 ac_ext=cpp
51401 ac_cpp='$CXXCPP $CPPFLAGS'
51402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51407 /* end confdefs.h. */
51408 #include <math.h>
51409 #ifdef HAVE_IEEEFP_H
51410 #include <ieeefp.h>
51411 #endif
51414 main ()
51416 _finite(0);
51418 return 0;
51420 _ACEOF
51421 if ac_fn_cxx_try_compile "$LINENO"; then :
51422 glibcxx_cv_func__finite_use=yes
51423 else
51424 glibcxx_cv_func__finite_use=no
51426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51427 ac_ext=c
51428 ac_cpp='$CPP $CPPFLAGS'
51429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51438 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51440 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51441 for ac_func in _finite
51442 do :
51443 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51444 if test "x$ac_cv_func__finite" = x""yes; then :
51445 cat >>confdefs.h <<_ACEOF
51446 #define HAVE__FINITE 1
51447 _ACEOF
51450 done
51459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51460 $as_echo_n "checking for sincos declaration... " >&6; }
51461 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51462 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51463 $as_echo_n "(cached) " >&6
51464 else
51467 ac_ext=cpp
51468 ac_cpp='$CXXCPP $CPPFLAGS'
51469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51474 /* end confdefs.h. */
51475 #include <math.h>
51477 main ()
51479 sincos(0, 0, 0);
51481 return 0;
51483 _ACEOF
51484 if ac_fn_cxx_try_compile "$LINENO"; then :
51485 glibcxx_cv_func_sincos_use=yes
51486 else
51487 glibcxx_cv_func_sincos_use=no
51489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51490 ac_ext=c
51491 ac_cpp='$CPP $CPPFLAGS'
51492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51501 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51503 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51504 for ac_func in sincos
51505 do :
51506 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51507 if test "x$ac_cv_func_sincos" = x""yes; then :
51508 cat >>confdefs.h <<_ACEOF
51509 #define HAVE_SINCOS 1
51510 _ACEOF
51513 done
51515 else
51517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51518 $as_echo_n "checking for _sincos declaration... " >&6; }
51519 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51520 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51521 $as_echo_n "(cached) " >&6
51522 else
51525 ac_ext=cpp
51526 ac_cpp='$CXXCPP $CPPFLAGS'
51527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51532 /* end confdefs.h. */
51533 #include <math.h>
51535 main ()
51537 _sincos(0, 0, 0);
51539 return 0;
51541 _ACEOF
51542 if ac_fn_cxx_try_compile "$LINENO"; then :
51543 glibcxx_cv_func__sincos_use=yes
51544 else
51545 glibcxx_cv_func__sincos_use=no
51547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51548 ac_ext=c
51549 ac_cpp='$CPP $CPPFLAGS'
51550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51559 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51561 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51562 for ac_func in _sincos
51563 do :
51564 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51565 if test "x$ac_cv_func__sincos" = x""yes; then :
51566 cat >>confdefs.h <<_ACEOF
51567 #define HAVE__SINCOS 1
51568 _ACEOF
51571 done
51580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51581 $as_echo_n "checking for fpclass declaration... " >&6; }
51582 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51583 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51584 $as_echo_n "(cached) " >&6
51585 else
51588 ac_ext=cpp
51589 ac_cpp='$CXXCPP $CPPFLAGS'
51590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51595 /* end confdefs.h. */
51596 #include <math.h>
51597 #ifdef HAVE_IEEEFP_H
51598 #include <ieeefp.h>
51599 #endif
51602 main ()
51604 fpclass(0);
51606 return 0;
51608 _ACEOF
51609 if ac_fn_cxx_try_compile "$LINENO"; then :
51610 glibcxx_cv_func_fpclass_use=yes
51611 else
51612 glibcxx_cv_func_fpclass_use=no
51614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51615 ac_ext=c
51616 ac_cpp='$CPP $CPPFLAGS'
51617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51626 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51628 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51629 for ac_func in fpclass
51630 do :
51631 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51632 if test "x$ac_cv_func_fpclass" = x""yes; then :
51633 cat >>confdefs.h <<_ACEOF
51634 #define HAVE_FPCLASS 1
51635 _ACEOF
51638 done
51640 else
51642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51643 $as_echo_n "checking for _fpclass declaration... " >&6; }
51644 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51645 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51646 $as_echo_n "(cached) " >&6
51647 else
51650 ac_ext=cpp
51651 ac_cpp='$CXXCPP $CPPFLAGS'
51652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51657 /* end confdefs.h. */
51658 #include <math.h>
51659 #ifdef HAVE_IEEEFP_H
51660 #include <ieeefp.h>
51661 #endif
51664 main ()
51666 _fpclass(0);
51668 return 0;
51670 _ACEOF
51671 if ac_fn_cxx_try_compile "$LINENO"; then :
51672 glibcxx_cv_func__fpclass_use=yes
51673 else
51674 glibcxx_cv_func__fpclass_use=no
51676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51677 ac_ext=c
51678 ac_cpp='$CPP $CPPFLAGS'
51679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51688 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51690 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51691 for ac_func in _fpclass
51692 do :
51693 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51694 if test "x$ac_cv_func__fpclass" = x""yes; then :
51695 cat >>confdefs.h <<_ACEOF
51696 #define HAVE__FPCLASS 1
51697 _ACEOF
51700 done
51709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51710 $as_echo_n "checking for qfpclass declaration... " >&6; }
51711 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51712 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51713 $as_echo_n "(cached) " >&6
51714 else
51717 ac_ext=cpp
51718 ac_cpp='$CXXCPP $CPPFLAGS'
51719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51724 /* end confdefs.h. */
51725 #include <math.h>
51726 #ifdef HAVE_IEEEFP_H
51727 #include <ieeefp.h>
51728 #endif
51731 main ()
51733 qfpclass(0);
51735 return 0;
51737 _ACEOF
51738 if ac_fn_cxx_try_compile "$LINENO"; then :
51739 glibcxx_cv_func_qfpclass_use=yes
51740 else
51741 glibcxx_cv_func_qfpclass_use=no
51743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51744 ac_ext=c
51745 ac_cpp='$CPP $CPPFLAGS'
51746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51755 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51757 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51758 for ac_func in qfpclass
51759 do :
51760 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51761 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51762 cat >>confdefs.h <<_ACEOF
51763 #define HAVE_QFPCLASS 1
51764 _ACEOF
51767 done
51769 else
51771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51772 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51773 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51774 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51775 $as_echo_n "(cached) " >&6
51776 else
51779 ac_ext=cpp
51780 ac_cpp='$CXXCPP $CPPFLAGS'
51781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51786 /* end confdefs.h. */
51787 #include <math.h>
51788 #ifdef HAVE_IEEEFP_H
51789 #include <ieeefp.h>
51790 #endif
51793 main ()
51795 _qfpclass(0);
51797 return 0;
51799 _ACEOF
51800 if ac_fn_cxx_try_compile "$LINENO"; then :
51801 glibcxx_cv_func__qfpclass_use=yes
51802 else
51803 glibcxx_cv_func__qfpclass_use=no
51805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51806 ac_ext=c
51807 ac_cpp='$CPP $CPPFLAGS'
51808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51817 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51819 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51820 for ac_func in _qfpclass
51821 do :
51822 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51823 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51824 cat >>confdefs.h <<_ACEOF
51825 #define HAVE__QFPCLASS 1
51826 _ACEOF
51829 done
51838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51839 $as_echo_n "checking for hypot declaration... " >&6; }
51840 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51841 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51842 $as_echo_n "(cached) " >&6
51843 else
51846 ac_ext=cpp
51847 ac_cpp='$CXXCPP $CPPFLAGS'
51848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51853 /* end confdefs.h. */
51854 #include <math.h>
51856 main ()
51858 hypot(0, 0);
51860 return 0;
51862 _ACEOF
51863 if ac_fn_cxx_try_compile "$LINENO"; then :
51864 glibcxx_cv_func_hypot_use=yes
51865 else
51866 glibcxx_cv_func_hypot_use=no
51868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51869 ac_ext=c
51870 ac_cpp='$CPP $CPPFLAGS'
51871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51880 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51882 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51883 for ac_func in hypot
51884 do :
51885 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51886 if test "x$ac_cv_func_hypot" = x""yes; then :
51887 cat >>confdefs.h <<_ACEOF
51888 #define HAVE_HYPOT 1
51889 _ACEOF
51892 done
51894 else
51896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51897 $as_echo_n "checking for _hypot declaration... " >&6; }
51898 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51899 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51900 $as_echo_n "(cached) " >&6
51901 else
51904 ac_ext=cpp
51905 ac_cpp='$CXXCPP $CPPFLAGS'
51906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51911 /* end confdefs.h. */
51912 #include <math.h>
51914 main ()
51916 _hypot(0, 0);
51918 return 0;
51920 _ACEOF
51921 if ac_fn_cxx_try_compile "$LINENO"; then :
51922 glibcxx_cv_func__hypot_use=yes
51923 else
51924 glibcxx_cv_func__hypot_use=no
51926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51927 ac_ext=c
51928 ac_cpp='$CPP $CPPFLAGS'
51929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51938 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51940 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51941 for ac_func in _hypot
51942 do :
51943 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51944 if test "x$ac_cv_func__hypot" = x""yes; then :
51945 cat >>confdefs.h <<_ACEOF
51946 #define HAVE__HYPOT 1
51947 _ACEOF
51950 done
51959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51960 $as_echo_n "checking for float trig functions... " >&6; }
51961 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51962 $as_echo_n "(cached) " >&6
51963 else
51966 ac_ext=cpp
51967 ac_cpp='$CXXCPP $CPPFLAGS'
51968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51973 /* end confdefs.h. */
51974 #include <math.h>
51976 main ()
51978 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51980 return 0;
51982 _ACEOF
51983 if ac_fn_cxx_try_compile "$LINENO"; then :
51984 glibcxx_cv_func_float_trig_use=yes
51985 else
51986 glibcxx_cv_func_float_trig_use=no
51988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51989 ac_ext=c
51990 ac_cpp='$CPP $CPPFLAGS'
51991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51998 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51999 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52000 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52001 do :
52002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52004 eval as_val=\$$as_ac_var
52005 if test "x$as_val" = x""yes; then :
52006 cat >>confdefs.h <<_ACEOF
52007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52008 _ACEOF
52011 done
52013 else
52014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52015 $as_echo_n "checking for _float trig functions... " >&6; }
52016 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52017 $as_echo_n "(cached) " >&6
52018 else
52021 ac_ext=cpp
52022 ac_cpp='$CXXCPP $CPPFLAGS'
52023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52028 /* end confdefs.h. */
52029 #include <math.h>
52031 main ()
52033 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52035 return 0;
52037 _ACEOF
52038 if ac_fn_cxx_try_compile "$LINENO"; then :
52039 glibcxx_cv_func__float_trig_use=yes
52040 else
52041 glibcxx_cv_func__float_trig_use=no
52043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52044 ac_ext=c
52045 ac_cpp='$CPP $CPPFLAGS'
52046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52053 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52054 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52055 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52056 do :
52057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52059 eval as_val=\$$as_ac_var
52060 if test "x$as_val" = x""yes; then :
52061 cat >>confdefs.h <<_ACEOF
52062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52063 _ACEOF
52066 done
52075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52076 $as_echo_n "checking for float round functions... " >&6; }
52077 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52078 $as_echo_n "(cached) " >&6
52079 else
52082 ac_ext=cpp
52083 ac_cpp='$CXXCPP $CPPFLAGS'
52084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52089 /* end confdefs.h. */
52090 #include <math.h>
52092 main ()
52094 ceilf (0); floorf (0);
52096 return 0;
52098 _ACEOF
52099 if ac_fn_cxx_try_compile "$LINENO"; then :
52100 glibcxx_cv_func_float_round_use=yes
52101 else
52102 glibcxx_cv_func_float_round_use=no
52104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52105 ac_ext=c
52106 ac_cpp='$CPP $CPPFLAGS'
52107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52114 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52115 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52116 for ac_func in ceilf floorf
52117 do :
52118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52120 eval as_val=\$$as_ac_var
52121 if test "x$as_val" = x""yes; then :
52122 cat >>confdefs.h <<_ACEOF
52123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52124 _ACEOF
52127 done
52129 else
52130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52131 $as_echo_n "checking for _float round functions... " >&6; }
52132 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52133 $as_echo_n "(cached) " >&6
52134 else
52137 ac_ext=cpp
52138 ac_cpp='$CXXCPP $CPPFLAGS'
52139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52144 /* end confdefs.h. */
52145 #include <math.h>
52147 main ()
52149 _ceilf (0); _floorf (0);
52151 return 0;
52153 _ACEOF
52154 if ac_fn_cxx_try_compile "$LINENO"; then :
52155 glibcxx_cv_func__float_round_use=yes
52156 else
52157 glibcxx_cv_func__float_round_use=no
52159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52160 ac_ext=c
52161 ac_cpp='$CPP $CPPFLAGS'
52162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52169 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52170 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52171 for ac_func in _ceilf _floorf
52172 do :
52173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52175 eval as_val=\$$as_ac_var
52176 if test "x$as_val" = x""yes; then :
52177 cat >>confdefs.h <<_ACEOF
52178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52179 _ACEOF
52182 done
52192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52193 $as_echo_n "checking for expf declaration... " >&6; }
52194 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52195 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52196 $as_echo_n "(cached) " >&6
52197 else
52200 ac_ext=cpp
52201 ac_cpp='$CXXCPP $CPPFLAGS'
52202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52207 /* end confdefs.h. */
52208 #include <math.h>
52209 #ifdef HAVE_IEEEFP_H
52210 #include <ieeefp.h>
52211 #endif
52214 main ()
52216 expf(0);
52218 return 0;
52220 _ACEOF
52221 if ac_fn_cxx_try_compile "$LINENO"; then :
52222 glibcxx_cv_func_expf_use=yes
52223 else
52224 glibcxx_cv_func_expf_use=no
52226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52227 ac_ext=c
52228 ac_cpp='$CPP $CPPFLAGS'
52229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52238 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52240 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52241 for ac_func in expf
52242 do :
52243 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52244 if test "x$ac_cv_func_expf" = x""yes; then :
52245 cat >>confdefs.h <<_ACEOF
52246 #define HAVE_EXPF 1
52247 _ACEOF
52250 done
52252 else
52254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52255 $as_echo_n "checking for _expf declaration... " >&6; }
52256 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52257 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52258 $as_echo_n "(cached) " >&6
52259 else
52262 ac_ext=cpp
52263 ac_cpp='$CXXCPP $CPPFLAGS'
52264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52269 /* end confdefs.h. */
52270 #include <math.h>
52271 #ifdef HAVE_IEEEFP_H
52272 #include <ieeefp.h>
52273 #endif
52276 main ()
52278 _expf(0);
52280 return 0;
52282 _ACEOF
52283 if ac_fn_cxx_try_compile "$LINENO"; then :
52284 glibcxx_cv_func__expf_use=yes
52285 else
52286 glibcxx_cv_func__expf_use=no
52288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52289 ac_ext=c
52290 ac_cpp='$CPP $CPPFLAGS'
52291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52300 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52302 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52303 for ac_func in _expf
52304 do :
52305 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52306 if test "x$ac_cv_func__expf" = x""yes; then :
52307 cat >>confdefs.h <<_ACEOF
52308 #define HAVE__EXPF 1
52309 _ACEOF
52312 done
52321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52322 $as_echo_n "checking for isnanf declaration... " >&6; }
52323 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52324 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52325 $as_echo_n "(cached) " >&6
52326 else
52329 ac_ext=cpp
52330 ac_cpp='$CXXCPP $CPPFLAGS'
52331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52336 /* end confdefs.h. */
52337 #include <math.h>
52338 #ifdef HAVE_IEEEFP_H
52339 #include <ieeefp.h>
52340 #endif
52343 main ()
52345 isnanf(0);
52347 return 0;
52349 _ACEOF
52350 if ac_fn_cxx_try_compile "$LINENO"; then :
52351 glibcxx_cv_func_isnanf_use=yes
52352 else
52353 glibcxx_cv_func_isnanf_use=no
52355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52356 ac_ext=c
52357 ac_cpp='$CPP $CPPFLAGS'
52358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52367 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52369 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52370 for ac_func in isnanf
52371 do :
52372 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52373 if test "x$ac_cv_func_isnanf" = x""yes; then :
52374 cat >>confdefs.h <<_ACEOF
52375 #define HAVE_ISNANF 1
52376 _ACEOF
52379 done
52381 else
52383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52384 $as_echo_n "checking for _isnanf declaration... " >&6; }
52385 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52386 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52387 $as_echo_n "(cached) " >&6
52388 else
52391 ac_ext=cpp
52392 ac_cpp='$CXXCPP $CPPFLAGS'
52393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52398 /* end confdefs.h. */
52399 #include <math.h>
52400 #ifdef HAVE_IEEEFP_H
52401 #include <ieeefp.h>
52402 #endif
52405 main ()
52407 _isnanf(0);
52409 return 0;
52411 _ACEOF
52412 if ac_fn_cxx_try_compile "$LINENO"; then :
52413 glibcxx_cv_func__isnanf_use=yes
52414 else
52415 glibcxx_cv_func__isnanf_use=no
52417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52418 ac_ext=c
52419 ac_cpp='$CPP $CPPFLAGS'
52420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52429 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52431 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52432 for ac_func in _isnanf
52433 do :
52434 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52435 if test "x$ac_cv_func__isnanf" = x""yes; then :
52436 cat >>confdefs.h <<_ACEOF
52437 #define HAVE__ISNANF 1
52438 _ACEOF
52441 done
52450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52451 $as_echo_n "checking for isinff declaration... " >&6; }
52452 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52453 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52454 $as_echo_n "(cached) " >&6
52455 else
52458 ac_ext=cpp
52459 ac_cpp='$CXXCPP $CPPFLAGS'
52460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52465 /* end confdefs.h. */
52466 #include <math.h>
52467 #ifdef HAVE_IEEEFP_H
52468 #include <ieeefp.h>
52469 #endif
52472 main ()
52474 isinff(0);
52476 return 0;
52478 _ACEOF
52479 if ac_fn_cxx_try_compile "$LINENO"; then :
52480 glibcxx_cv_func_isinff_use=yes
52481 else
52482 glibcxx_cv_func_isinff_use=no
52484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52485 ac_ext=c
52486 ac_cpp='$CPP $CPPFLAGS'
52487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52496 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52498 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52499 for ac_func in isinff
52500 do :
52501 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52502 if test "x$ac_cv_func_isinff" = x""yes; then :
52503 cat >>confdefs.h <<_ACEOF
52504 #define HAVE_ISINFF 1
52505 _ACEOF
52508 done
52510 else
52512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52513 $as_echo_n "checking for _isinff declaration... " >&6; }
52514 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52515 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52516 $as_echo_n "(cached) " >&6
52517 else
52520 ac_ext=cpp
52521 ac_cpp='$CXXCPP $CPPFLAGS'
52522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52527 /* end confdefs.h. */
52528 #include <math.h>
52529 #ifdef HAVE_IEEEFP_H
52530 #include <ieeefp.h>
52531 #endif
52534 main ()
52536 _isinff(0);
52538 return 0;
52540 _ACEOF
52541 if ac_fn_cxx_try_compile "$LINENO"; then :
52542 glibcxx_cv_func__isinff_use=yes
52543 else
52544 glibcxx_cv_func__isinff_use=no
52546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52547 ac_ext=c
52548 ac_cpp='$CPP $CPPFLAGS'
52549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52558 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52560 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52561 for ac_func in _isinff
52562 do :
52563 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52564 if test "x$ac_cv_func__isinff" = x""yes; then :
52565 cat >>confdefs.h <<_ACEOF
52566 #define HAVE__ISINFF 1
52567 _ACEOF
52570 done
52579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52580 $as_echo_n "checking for atan2f declaration... " >&6; }
52581 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52582 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52583 $as_echo_n "(cached) " >&6
52584 else
52587 ac_ext=cpp
52588 ac_cpp='$CXXCPP $CPPFLAGS'
52589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52594 /* end confdefs.h. */
52595 #include <math.h>
52597 main ()
52599 atan2f(0, 0);
52601 return 0;
52603 _ACEOF
52604 if ac_fn_cxx_try_compile "$LINENO"; then :
52605 glibcxx_cv_func_atan2f_use=yes
52606 else
52607 glibcxx_cv_func_atan2f_use=no
52609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52610 ac_ext=c
52611 ac_cpp='$CPP $CPPFLAGS'
52612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52621 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52623 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52624 for ac_func in atan2f
52625 do :
52626 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52627 if test "x$ac_cv_func_atan2f" = x""yes; then :
52628 cat >>confdefs.h <<_ACEOF
52629 #define HAVE_ATAN2F 1
52630 _ACEOF
52633 done
52635 else
52637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52638 $as_echo_n "checking for _atan2f declaration... " >&6; }
52639 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52640 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52641 $as_echo_n "(cached) " >&6
52642 else
52645 ac_ext=cpp
52646 ac_cpp='$CXXCPP $CPPFLAGS'
52647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52652 /* end confdefs.h. */
52653 #include <math.h>
52655 main ()
52657 _atan2f(0, 0);
52659 return 0;
52661 _ACEOF
52662 if ac_fn_cxx_try_compile "$LINENO"; then :
52663 glibcxx_cv_func__atan2f_use=yes
52664 else
52665 glibcxx_cv_func__atan2f_use=no
52667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52668 ac_ext=c
52669 ac_cpp='$CPP $CPPFLAGS'
52670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52679 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52681 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52682 for ac_func in _atan2f
52683 do :
52684 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52685 if test "x$ac_cv_func__atan2f" = x""yes; then :
52686 cat >>confdefs.h <<_ACEOF
52687 #define HAVE__ATAN2F 1
52688 _ACEOF
52691 done
52700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52701 $as_echo_n "checking for fabsf declaration... " >&6; }
52702 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52703 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52704 $as_echo_n "(cached) " >&6
52705 else
52708 ac_ext=cpp
52709 ac_cpp='$CXXCPP $CPPFLAGS'
52710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52715 /* end confdefs.h. */
52716 #include <math.h>
52717 #ifdef HAVE_IEEEFP_H
52718 #include <ieeefp.h>
52719 #endif
52722 main ()
52724 fabsf(0);
52726 return 0;
52728 _ACEOF
52729 if ac_fn_cxx_try_compile "$LINENO"; then :
52730 glibcxx_cv_func_fabsf_use=yes
52731 else
52732 glibcxx_cv_func_fabsf_use=no
52734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52735 ac_ext=c
52736 ac_cpp='$CPP $CPPFLAGS'
52737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52746 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52748 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52749 for ac_func in fabsf
52750 do :
52751 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52752 if test "x$ac_cv_func_fabsf" = x""yes; then :
52753 cat >>confdefs.h <<_ACEOF
52754 #define HAVE_FABSF 1
52755 _ACEOF
52758 done
52760 else
52762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52763 $as_echo_n "checking for _fabsf declaration... " >&6; }
52764 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52765 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52766 $as_echo_n "(cached) " >&6
52767 else
52770 ac_ext=cpp
52771 ac_cpp='$CXXCPP $CPPFLAGS'
52772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52777 /* end confdefs.h. */
52778 #include <math.h>
52779 #ifdef HAVE_IEEEFP_H
52780 #include <ieeefp.h>
52781 #endif
52784 main ()
52786 _fabsf(0);
52788 return 0;
52790 _ACEOF
52791 if ac_fn_cxx_try_compile "$LINENO"; then :
52792 glibcxx_cv_func__fabsf_use=yes
52793 else
52794 glibcxx_cv_func__fabsf_use=no
52796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52797 ac_ext=c
52798 ac_cpp='$CPP $CPPFLAGS'
52799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52808 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52810 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52811 for ac_func in _fabsf
52812 do :
52813 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52814 if test "x$ac_cv_func__fabsf" = x""yes; then :
52815 cat >>confdefs.h <<_ACEOF
52816 #define HAVE__FABSF 1
52817 _ACEOF
52820 done
52829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52830 $as_echo_n "checking for fmodf declaration... " >&6; }
52831 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52832 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52833 $as_echo_n "(cached) " >&6
52834 else
52837 ac_ext=cpp
52838 ac_cpp='$CXXCPP $CPPFLAGS'
52839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52844 /* end confdefs.h. */
52845 #include <math.h>
52847 main ()
52849 fmodf(0, 0);
52851 return 0;
52853 _ACEOF
52854 if ac_fn_cxx_try_compile "$LINENO"; then :
52855 glibcxx_cv_func_fmodf_use=yes
52856 else
52857 glibcxx_cv_func_fmodf_use=no
52859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52860 ac_ext=c
52861 ac_cpp='$CPP $CPPFLAGS'
52862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52871 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52873 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52874 for ac_func in fmodf
52875 do :
52876 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52877 if test "x$ac_cv_func_fmodf" = x""yes; then :
52878 cat >>confdefs.h <<_ACEOF
52879 #define HAVE_FMODF 1
52880 _ACEOF
52883 done
52885 else
52887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52888 $as_echo_n "checking for _fmodf declaration... " >&6; }
52889 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52890 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52891 $as_echo_n "(cached) " >&6
52892 else
52895 ac_ext=cpp
52896 ac_cpp='$CXXCPP $CPPFLAGS'
52897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52902 /* end confdefs.h. */
52903 #include <math.h>
52905 main ()
52907 _fmodf(0, 0);
52909 return 0;
52911 _ACEOF
52912 if ac_fn_cxx_try_compile "$LINENO"; then :
52913 glibcxx_cv_func__fmodf_use=yes
52914 else
52915 glibcxx_cv_func__fmodf_use=no
52917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52918 ac_ext=c
52919 ac_cpp='$CPP $CPPFLAGS'
52920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52929 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52931 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52932 for ac_func in _fmodf
52933 do :
52934 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52935 if test "x$ac_cv_func__fmodf" = x""yes; then :
52936 cat >>confdefs.h <<_ACEOF
52937 #define HAVE__FMODF 1
52938 _ACEOF
52941 done
52950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52951 $as_echo_n "checking for frexpf declaration... " >&6; }
52952 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52953 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52954 $as_echo_n "(cached) " >&6
52955 else
52958 ac_ext=cpp
52959 ac_cpp='$CXXCPP $CPPFLAGS'
52960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52965 /* end confdefs.h. */
52966 #include <math.h>
52968 main ()
52970 frexpf(0, 0);
52972 return 0;
52974 _ACEOF
52975 if ac_fn_cxx_try_compile "$LINENO"; then :
52976 glibcxx_cv_func_frexpf_use=yes
52977 else
52978 glibcxx_cv_func_frexpf_use=no
52980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52981 ac_ext=c
52982 ac_cpp='$CPP $CPPFLAGS'
52983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52992 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52994 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52995 for ac_func in frexpf
52996 do :
52997 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52998 if test "x$ac_cv_func_frexpf" = x""yes; then :
52999 cat >>confdefs.h <<_ACEOF
53000 #define HAVE_FREXPF 1
53001 _ACEOF
53004 done
53006 else
53008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53009 $as_echo_n "checking for _frexpf declaration... " >&6; }
53010 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53011 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53012 $as_echo_n "(cached) " >&6
53013 else
53016 ac_ext=cpp
53017 ac_cpp='$CXXCPP $CPPFLAGS'
53018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53023 /* end confdefs.h. */
53024 #include <math.h>
53026 main ()
53028 _frexpf(0, 0);
53030 return 0;
53032 _ACEOF
53033 if ac_fn_cxx_try_compile "$LINENO"; then :
53034 glibcxx_cv_func__frexpf_use=yes
53035 else
53036 glibcxx_cv_func__frexpf_use=no
53038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53039 ac_ext=c
53040 ac_cpp='$CPP $CPPFLAGS'
53041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53050 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53052 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53053 for ac_func in _frexpf
53054 do :
53055 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53056 if test "x$ac_cv_func__frexpf" = x""yes; then :
53057 cat >>confdefs.h <<_ACEOF
53058 #define HAVE__FREXPF 1
53059 _ACEOF
53062 done
53071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53072 $as_echo_n "checking for hypotf declaration... " >&6; }
53073 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53074 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53075 $as_echo_n "(cached) " >&6
53076 else
53079 ac_ext=cpp
53080 ac_cpp='$CXXCPP $CPPFLAGS'
53081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53086 /* end confdefs.h. */
53087 #include <math.h>
53089 main ()
53091 hypotf(0, 0);
53093 return 0;
53095 _ACEOF
53096 if ac_fn_cxx_try_compile "$LINENO"; then :
53097 glibcxx_cv_func_hypotf_use=yes
53098 else
53099 glibcxx_cv_func_hypotf_use=no
53101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53102 ac_ext=c
53103 ac_cpp='$CPP $CPPFLAGS'
53104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53113 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53115 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53116 for ac_func in hypotf
53117 do :
53118 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53119 if test "x$ac_cv_func_hypotf" = x""yes; then :
53120 cat >>confdefs.h <<_ACEOF
53121 #define HAVE_HYPOTF 1
53122 _ACEOF
53125 done
53127 else
53129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53130 $as_echo_n "checking for _hypotf declaration... " >&6; }
53131 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53132 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53133 $as_echo_n "(cached) " >&6
53134 else
53137 ac_ext=cpp
53138 ac_cpp='$CXXCPP $CPPFLAGS'
53139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53144 /* end confdefs.h. */
53145 #include <math.h>
53147 main ()
53149 _hypotf(0, 0);
53151 return 0;
53153 _ACEOF
53154 if ac_fn_cxx_try_compile "$LINENO"; then :
53155 glibcxx_cv_func__hypotf_use=yes
53156 else
53157 glibcxx_cv_func__hypotf_use=no
53159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53160 ac_ext=c
53161 ac_cpp='$CPP $CPPFLAGS'
53162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53171 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53173 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53174 for ac_func in _hypotf
53175 do :
53176 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53177 if test "x$ac_cv_func__hypotf" = x""yes; then :
53178 cat >>confdefs.h <<_ACEOF
53179 #define HAVE__HYPOTF 1
53180 _ACEOF
53183 done
53192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53193 $as_echo_n "checking for ldexpf declaration... " >&6; }
53194 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53195 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53196 $as_echo_n "(cached) " >&6
53197 else
53200 ac_ext=cpp
53201 ac_cpp='$CXXCPP $CPPFLAGS'
53202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53207 /* end confdefs.h. */
53208 #include <math.h>
53210 main ()
53212 ldexpf(0, 0);
53214 return 0;
53216 _ACEOF
53217 if ac_fn_cxx_try_compile "$LINENO"; then :
53218 glibcxx_cv_func_ldexpf_use=yes
53219 else
53220 glibcxx_cv_func_ldexpf_use=no
53222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53223 ac_ext=c
53224 ac_cpp='$CPP $CPPFLAGS'
53225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53234 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53236 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53237 for ac_func in ldexpf
53238 do :
53239 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53240 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53241 cat >>confdefs.h <<_ACEOF
53242 #define HAVE_LDEXPF 1
53243 _ACEOF
53246 done
53248 else
53250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53251 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53252 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53253 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53254 $as_echo_n "(cached) " >&6
53255 else
53258 ac_ext=cpp
53259 ac_cpp='$CXXCPP $CPPFLAGS'
53260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53265 /* end confdefs.h. */
53266 #include <math.h>
53268 main ()
53270 _ldexpf(0, 0);
53272 return 0;
53274 _ACEOF
53275 if ac_fn_cxx_try_compile "$LINENO"; then :
53276 glibcxx_cv_func__ldexpf_use=yes
53277 else
53278 glibcxx_cv_func__ldexpf_use=no
53280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53281 ac_ext=c
53282 ac_cpp='$CPP $CPPFLAGS'
53283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53292 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53294 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53295 for ac_func in _ldexpf
53296 do :
53297 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53298 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53299 cat >>confdefs.h <<_ACEOF
53300 #define HAVE__LDEXPF 1
53301 _ACEOF
53304 done
53313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53314 $as_echo_n "checking for logf declaration... " >&6; }
53315 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53316 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53317 $as_echo_n "(cached) " >&6
53318 else
53321 ac_ext=cpp
53322 ac_cpp='$CXXCPP $CPPFLAGS'
53323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53328 /* end confdefs.h. */
53329 #include <math.h>
53330 #ifdef HAVE_IEEEFP_H
53331 #include <ieeefp.h>
53332 #endif
53335 main ()
53337 logf(0);
53339 return 0;
53341 _ACEOF
53342 if ac_fn_cxx_try_compile "$LINENO"; then :
53343 glibcxx_cv_func_logf_use=yes
53344 else
53345 glibcxx_cv_func_logf_use=no
53347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53348 ac_ext=c
53349 ac_cpp='$CPP $CPPFLAGS'
53350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53359 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53361 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53362 for ac_func in logf
53363 do :
53364 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53365 if test "x$ac_cv_func_logf" = x""yes; then :
53366 cat >>confdefs.h <<_ACEOF
53367 #define HAVE_LOGF 1
53368 _ACEOF
53371 done
53373 else
53375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53376 $as_echo_n "checking for _logf declaration... " >&6; }
53377 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53378 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53379 $as_echo_n "(cached) " >&6
53380 else
53383 ac_ext=cpp
53384 ac_cpp='$CXXCPP $CPPFLAGS'
53385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53390 /* end confdefs.h. */
53391 #include <math.h>
53392 #ifdef HAVE_IEEEFP_H
53393 #include <ieeefp.h>
53394 #endif
53397 main ()
53399 _logf(0);
53401 return 0;
53403 _ACEOF
53404 if ac_fn_cxx_try_compile "$LINENO"; then :
53405 glibcxx_cv_func__logf_use=yes
53406 else
53407 glibcxx_cv_func__logf_use=no
53409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53410 ac_ext=c
53411 ac_cpp='$CPP $CPPFLAGS'
53412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53421 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53423 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53424 for ac_func in _logf
53425 do :
53426 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53427 if test "x$ac_cv_func__logf" = x""yes; then :
53428 cat >>confdefs.h <<_ACEOF
53429 #define HAVE__LOGF 1
53430 _ACEOF
53433 done
53442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53443 $as_echo_n "checking for log10f declaration... " >&6; }
53444 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53445 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53446 $as_echo_n "(cached) " >&6
53447 else
53450 ac_ext=cpp
53451 ac_cpp='$CXXCPP $CPPFLAGS'
53452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53457 /* end confdefs.h. */
53458 #include <math.h>
53459 #ifdef HAVE_IEEEFP_H
53460 #include <ieeefp.h>
53461 #endif
53464 main ()
53466 log10f(0);
53468 return 0;
53470 _ACEOF
53471 if ac_fn_cxx_try_compile "$LINENO"; then :
53472 glibcxx_cv_func_log10f_use=yes
53473 else
53474 glibcxx_cv_func_log10f_use=no
53476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53477 ac_ext=c
53478 ac_cpp='$CPP $CPPFLAGS'
53479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53488 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53490 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53491 for ac_func in log10f
53492 do :
53493 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53494 if test "x$ac_cv_func_log10f" = x""yes; then :
53495 cat >>confdefs.h <<_ACEOF
53496 #define HAVE_LOG10F 1
53497 _ACEOF
53500 done
53502 else
53504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53505 $as_echo_n "checking for _log10f declaration... " >&6; }
53506 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53507 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53508 $as_echo_n "(cached) " >&6
53509 else
53512 ac_ext=cpp
53513 ac_cpp='$CXXCPP $CPPFLAGS'
53514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53519 /* end confdefs.h. */
53520 #include <math.h>
53521 #ifdef HAVE_IEEEFP_H
53522 #include <ieeefp.h>
53523 #endif
53526 main ()
53528 _log10f(0);
53530 return 0;
53532 _ACEOF
53533 if ac_fn_cxx_try_compile "$LINENO"; then :
53534 glibcxx_cv_func__log10f_use=yes
53535 else
53536 glibcxx_cv_func__log10f_use=no
53538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53539 ac_ext=c
53540 ac_cpp='$CPP $CPPFLAGS'
53541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53550 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53552 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53553 for ac_func in _log10f
53554 do :
53555 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53556 if test "x$ac_cv_func__log10f" = x""yes; then :
53557 cat >>confdefs.h <<_ACEOF
53558 #define HAVE__LOG10F 1
53559 _ACEOF
53562 done
53571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53572 $as_echo_n "checking for modff declaration... " >&6; }
53573 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53574 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53575 $as_echo_n "(cached) " >&6
53576 else
53579 ac_ext=cpp
53580 ac_cpp='$CXXCPP $CPPFLAGS'
53581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53586 /* end confdefs.h. */
53587 #include <math.h>
53589 main ()
53591 modff(0, 0);
53593 return 0;
53595 _ACEOF
53596 if ac_fn_cxx_try_compile "$LINENO"; then :
53597 glibcxx_cv_func_modff_use=yes
53598 else
53599 glibcxx_cv_func_modff_use=no
53601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53602 ac_ext=c
53603 ac_cpp='$CPP $CPPFLAGS'
53604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53613 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53615 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53616 for ac_func in modff
53617 do :
53618 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53619 if test "x$ac_cv_func_modff" = x""yes; then :
53620 cat >>confdefs.h <<_ACEOF
53621 #define HAVE_MODFF 1
53622 _ACEOF
53625 done
53627 else
53629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53630 $as_echo_n "checking for _modff declaration... " >&6; }
53631 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53632 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53633 $as_echo_n "(cached) " >&6
53634 else
53637 ac_ext=cpp
53638 ac_cpp='$CXXCPP $CPPFLAGS'
53639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53644 /* end confdefs.h. */
53645 #include <math.h>
53647 main ()
53649 _modff(0, 0);
53651 return 0;
53653 _ACEOF
53654 if ac_fn_cxx_try_compile "$LINENO"; then :
53655 glibcxx_cv_func__modff_use=yes
53656 else
53657 glibcxx_cv_func__modff_use=no
53659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53660 ac_ext=c
53661 ac_cpp='$CPP $CPPFLAGS'
53662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53671 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53673 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53674 for ac_func in _modff
53675 do :
53676 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53677 if test "x$ac_cv_func__modff" = x""yes; then :
53678 cat >>confdefs.h <<_ACEOF
53679 #define HAVE__MODFF 1
53680 _ACEOF
53683 done
53692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53693 $as_echo_n "checking for modf declaration... " >&6; }
53694 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53695 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53696 $as_echo_n "(cached) " >&6
53697 else
53700 ac_ext=cpp
53701 ac_cpp='$CXXCPP $CPPFLAGS'
53702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53707 /* end confdefs.h. */
53708 #include <math.h>
53710 main ()
53712 modf(0, 0);
53714 return 0;
53716 _ACEOF
53717 if ac_fn_cxx_try_compile "$LINENO"; then :
53718 glibcxx_cv_func_modf_use=yes
53719 else
53720 glibcxx_cv_func_modf_use=no
53722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53723 ac_ext=c
53724 ac_cpp='$CPP $CPPFLAGS'
53725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53734 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53736 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53737 for ac_func in modf
53738 do :
53739 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53740 if test "x$ac_cv_func_modf" = x""yes; then :
53741 cat >>confdefs.h <<_ACEOF
53742 #define HAVE_MODF 1
53743 _ACEOF
53746 done
53748 else
53750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53751 $as_echo_n "checking for _modf declaration... " >&6; }
53752 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53753 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53754 $as_echo_n "(cached) " >&6
53755 else
53758 ac_ext=cpp
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765 /* end confdefs.h. */
53766 #include <math.h>
53768 main ()
53770 _modf(0, 0);
53772 return 0;
53774 _ACEOF
53775 if ac_fn_cxx_try_compile "$LINENO"; then :
53776 glibcxx_cv_func__modf_use=yes
53777 else
53778 glibcxx_cv_func__modf_use=no
53780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53781 ac_ext=c
53782 ac_cpp='$CPP $CPPFLAGS'
53783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53792 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53794 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53795 for ac_func in _modf
53796 do :
53797 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53798 if test "x$ac_cv_func__modf" = x""yes; then :
53799 cat >>confdefs.h <<_ACEOF
53800 #define HAVE__MODF 1
53801 _ACEOF
53804 done
53813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53814 $as_echo_n "checking for powf declaration... " >&6; }
53815 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53816 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53817 $as_echo_n "(cached) " >&6
53818 else
53821 ac_ext=cpp
53822 ac_cpp='$CXXCPP $CPPFLAGS'
53823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53828 /* end confdefs.h. */
53829 #include <math.h>
53831 main ()
53833 powf(0, 0);
53835 return 0;
53837 _ACEOF
53838 if ac_fn_cxx_try_compile "$LINENO"; then :
53839 glibcxx_cv_func_powf_use=yes
53840 else
53841 glibcxx_cv_func_powf_use=no
53843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53844 ac_ext=c
53845 ac_cpp='$CPP $CPPFLAGS'
53846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53855 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53857 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53858 for ac_func in powf
53859 do :
53860 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53861 if test "x$ac_cv_func_powf" = x""yes; then :
53862 cat >>confdefs.h <<_ACEOF
53863 #define HAVE_POWF 1
53864 _ACEOF
53867 done
53869 else
53871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53872 $as_echo_n "checking for _powf declaration... " >&6; }
53873 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53874 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53875 $as_echo_n "(cached) " >&6
53876 else
53879 ac_ext=cpp
53880 ac_cpp='$CXXCPP $CPPFLAGS'
53881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h. */
53887 #include <math.h>
53889 main ()
53891 _powf(0, 0);
53893 return 0;
53895 _ACEOF
53896 if ac_fn_cxx_try_compile "$LINENO"; then :
53897 glibcxx_cv_func__powf_use=yes
53898 else
53899 glibcxx_cv_func__powf_use=no
53901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53902 ac_ext=c
53903 ac_cpp='$CPP $CPPFLAGS'
53904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53913 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53915 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53916 for ac_func in _powf
53917 do :
53918 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53919 if test "x$ac_cv_func__powf" = x""yes; then :
53920 cat >>confdefs.h <<_ACEOF
53921 #define HAVE__POWF 1
53922 _ACEOF
53925 done
53934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53935 $as_echo_n "checking for sqrtf declaration... " >&6; }
53936 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53937 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53938 $as_echo_n "(cached) " >&6
53939 else
53942 ac_ext=cpp
53943 ac_cpp='$CXXCPP $CPPFLAGS'
53944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53949 /* end confdefs.h. */
53950 #include <math.h>
53951 #ifdef HAVE_IEEEFP_H
53952 #include <ieeefp.h>
53953 #endif
53956 main ()
53958 sqrtf(0);
53960 return 0;
53962 _ACEOF
53963 if ac_fn_cxx_try_compile "$LINENO"; then :
53964 glibcxx_cv_func_sqrtf_use=yes
53965 else
53966 glibcxx_cv_func_sqrtf_use=no
53968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53969 ac_ext=c
53970 ac_cpp='$CPP $CPPFLAGS'
53971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53980 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53982 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53983 for ac_func in sqrtf
53984 do :
53985 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53986 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53987 cat >>confdefs.h <<_ACEOF
53988 #define HAVE_SQRTF 1
53989 _ACEOF
53992 done
53994 else
53996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53997 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53998 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53999 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54000 $as_echo_n "(cached) " >&6
54001 else
54004 ac_ext=cpp
54005 ac_cpp='$CXXCPP $CPPFLAGS'
54006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54011 /* end confdefs.h. */
54012 #include <math.h>
54013 #ifdef HAVE_IEEEFP_H
54014 #include <ieeefp.h>
54015 #endif
54018 main ()
54020 _sqrtf(0);
54022 return 0;
54024 _ACEOF
54025 if ac_fn_cxx_try_compile "$LINENO"; then :
54026 glibcxx_cv_func__sqrtf_use=yes
54027 else
54028 glibcxx_cv_func__sqrtf_use=no
54030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54031 ac_ext=c
54032 ac_cpp='$CPP $CPPFLAGS'
54033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54042 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54044 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54045 for ac_func in _sqrtf
54046 do :
54047 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54048 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54049 cat >>confdefs.h <<_ACEOF
54050 #define HAVE__SQRTF 1
54051 _ACEOF
54054 done
54063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54064 $as_echo_n "checking for sincosf declaration... " >&6; }
54065 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54066 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54067 $as_echo_n "(cached) " >&6
54068 else
54071 ac_ext=cpp
54072 ac_cpp='$CXXCPP $CPPFLAGS'
54073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54078 /* end confdefs.h. */
54079 #include <math.h>
54081 main ()
54083 sincosf(0, 0, 0);
54085 return 0;
54087 _ACEOF
54088 if ac_fn_cxx_try_compile "$LINENO"; then :
54089 glibcxx_cv_func_sincosf_use=yes
54090 else
54091 glibcxx_cv_func_sincosf_use=no
54093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54094 ac_ext=c
54095 ac_cpp='$CPP $CPPFLAGS'
54096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54105 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54107 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54108 for ac_func in sincosf
54109 do :
54110 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54111 if test "x$ac_cv_func_sincosf" = x""yes; then :
54112 cat >>confdefs.h <<_ACEOF
54113 #define HAVE_SINCOSF 1
54114 _ACEOF
54117 done
54119 else
54121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54122 $as_echo_n "checking for _sincosf declaration... " >&6; }
54123 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54124 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54125 $as_echo_n "(cached) " >&6
54126 else
54129 ac_ext=cpp
54130 ac_cpp='$CXXCPP $CPPFLAGS'
54131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54136 /* end confdefs.h. */
54137 #include <math.h>
54139 main ()
54141 _sincosf(0, 0, 0);
54143 return 0;
54145 _ACEOF
54146 if ac_fn_cxx_try_compile "$LINENO"; then :
54147 glibcxx_cv_func__sincosf_use=yes
54148 else
54149 glibcxx_cv_func__sincosf_use=no
54151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54152 ac_ext=c
54153 ac_cpp='$CPP $CPPFLAGS'
54154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54163 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54165 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54166 for ac_func in _sincosf
54167 do :
54168 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54169 if test "x$ac_cv_func__sincosf" = x""yes; then :
54170 cat >>confdefs.h <<_ACEOF
54171 #define HAVE__SINCOSF 1
54172 _ACEOF
54175 done
54184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54185 $as_echo_n "checking for finitef declaration... " >&6; }
54186 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54187 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54188 $as_echo_n "(cached) " >&6
54189 else
54192 ac_ext=cpp
54193 ac_cpp='$CXXCPP $CPPFLAGS'
54194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54199 /* end confdefs.h. */
54200 #include <math.h>
54201 #ifdef HAVE_IEEEFP_H
54202 #include <ieeefp.h>
54203 #endif
54206 main ()
54208 finitef(0);
54210 return 0;
54212 _ACEOF
54213 if ac_fn_cxx_try_compile "$LINENO"; then :
54214 glibcxx_cv_func_finitef_use=yes
54215 else
54216 glibcxx_cv_func_finitef_use=no
54218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54219 ac_ext=c
54220 ac_cpp='$CPP $CPPFLAGS'
54221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54230 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54232 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54233 for ac_func in finitef
54234 do :
54235 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54236 if test "x$ac_cv_func_finitef" = x""yes; then :
54237 cat >>confdefs.h <<_ACEOF
54238 #define HAVE_FINITEF 1
54239 _ACEOF
54242 done
54244 else
54246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54247 $as_echo_n "checking for _finitef declaration... " >&6; }
54248 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54249 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54250 $as_echo_n "(cached) " >&6
54251 else
54254 ac_ext=cpp
54255 ac_cpp='$CXXCPP $CPPFLAGS'
54256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54261 /* end confdefs.h. */
54262 #include <math.h>
54263 #ifdef HAVE_IEEEFP_H
54264 #include <ieeefp.h>
54265 #endif
54268 main ()
54270 _finitef(0);
54272 return 0;
54274 _ACEOF
54275 if ac_fn_cxx_try_compile "$LINENO"; then :
54276 glibcxx_cv_func__finitef_use=yes
54277 else
54278 glibcxx_cv_func__finitef_use=no
54280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54281 ac_ext=c
54282 ac_cpp='$CPP $CPPFLAGS'
54283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54292 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54294 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54295 for ac_func in _finitef
54296 do :
54297 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54298 if test "x$ac_cv_func__finitef" = x""yes; then :
54299 cat >>confdefs.h <<_ACEOF
54300 #define HAVE__FINITEF 1
54301 _ACEOF
54304 done
54313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54314 $as_echo_n "checking for long double trig functions... " >&6; }
54315 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54316 $as_echo_n "(cached) " >&6
54317 else
54320 ac_ext=cpp
54321 ac_cpp='$CXXCPP $CPPFLAGS'
54322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54327 /* end confdefs.h. */
54328 #include <math.h>
54330 main ()
54332 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54334 return 0;
54336 _ACEOF
54337 if ac_fn_cxx_try_compile "$LINENO"; then :
54338 glibcxx_cv_func_long_double_trig_use=yes
54339 else
54340 glibcxx_cv_func_long_double_trig_use=no
54342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54343 ac_ext=c
54344 ac_cpp='$CPP $CPPFLAGS'
54345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54352 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54353 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54354 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54355 do :
54356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54358 eval as_val=\$$as_ac_var
54359 if test "x$as_val" = x""yes; then :
54360 cat >>confdefs.h <<_ACEOF
54361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54362 _ACEOF
54365 done
54367 else
54368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54369 $as_echo_n "checking for _long double trig functions... " >&6; }
54370 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54371 $as_echo_n "(cached) " >&6
54372 else
54375 ac_ext=cpp
54376 ac_cpp='$CXXCPP $CPPFLAGS'
54377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54382 /* end confdefs.h. */
54383 #include <math.h>
54385 main ()
54387 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54389 return 0;
54391 _ACEOF
54392 if ac_fn_cxx_try_compile "$LINENO"; then :
54393 glibcxx_cv_func__long_double_trig_use=yes
54394 else
54395 glibcxx_cv_func__long_double_trig_use=no
54397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54398 ac_ext=c
54399 ac_cpp='$CPP $CPPFLAGS'
54400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54407 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54408 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54409 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54410 do :
54411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54413 eval as_val=\$$as_ac_var
54414 if test "x$as_val" = x""yes; then :
54415 cat >>confdefs.h <<_ACEOF
54416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54417 _ACEOF
54420 done
54429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54430 $as_echo_n "checking for long double round functions... " >&6; }
54431 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54432 $as_echo_n "(cached) " >&6
54433 else
54436 ac_ext=cpp
54437 ac_cpp='$CXXCPP $CPPFLAGS'
54438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54443 /* end confdefs.h. */
54444 #include <math.h>
54446 main ()
54448 ceill (0); floorl (0);
54450 return 0;
54452 _ACEOF
54453 if ac_fn_cxx_try_compile "$LINENO"; then :
54454 glibcxx_cv_func_long_double_round_use=yes
54455 else
54456 glibcxx_cv_func_long_double_round_use=no
54458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54459 ac_ext=c
54460 ac_cpp='$CPP $CPPFLAGS'
54461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54468 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54469 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54470 for ac_func in ceill floorl
54471 do :
54472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54474 eval as_val=\$$as_ac_var
54475 if test "x$as_val" = x""yes; then :
54476 cat >>confdefs.h <<_ACEOF
54477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54478 _ACEOF
54481 done
54483 else
54484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54485 $as_echo_n "checking for _long double round functions... " >&6; }
54486 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54487 $as_echo_n "(cached) " >&6
54488 else
54491 ac_ext=cpp
54492 ac_cpp='$CXXCPP $CPPFLAGS'
54493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54498 /* end confdefs.h. */
54499 #include <math.h>
54501 main ()
54503 _ceill (0); _floorl (0);
54505 return 0;
54507 _ACEOF
54508 if ac_fn_cxx_try_compile "$LINENO"; then :
54509 glibcxx_cv_func__long_double_round_use=yes
54510 else
54511 glibcxx_cv_func__long_double_round_use=no
54513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54514 ac_ext=c
54515 ac_cpp='$CPP $CPPFLAGS'
54516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54523 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54524 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54525 for ac_func in _ceill _floorl
54526 do :
54527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54529 eval as_val=\$$as_ac_var
54530 if test "x$as_val" = x""yes; then :
54531 cat >>confdefs.h <<_ACEOF
54532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54533 _ACEOF
54536 done
54546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54547 $as_echo_n "checking for isnanl declaration... " >&6; }
54548 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54549 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54550 $as_echo_n "(cached) " >&6
54551 else
54554 ac_ext=cpp
54555 ac_cpp='$CXXCPP $CPPFLAGS'
54556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54561 /* end confdefs.h. */
54562 #include <math.h>
54563 #ifdef HAVE_IEEEFP_H
54564 #include <ieeefp.h>
54565 #endif
54568 main ()
54570 isnanl(0);
54572 return 0;
54574 _ACEOF
54575 if ac_fn_cxx_try_compile "$LINENO"; then :
54576 glibcxx_cv_func_isnanl_use=yes
54577 else
54578 glibcxx_cv_func_isnanl_use=no
54580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54581 ac_ext=c
54582 ac_cpp='$CPP $CPPFLAGS'
54583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54592 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54594 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54595 for ac_func in isnanl
54596 do :
54597 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54598 if test "x$ac_cv_func_isnanl" = x""yes; then :
54599 cat >>confdefs.h <<_ACEOF
54600 #define HAVE_ISNANL 1
54601 _ACEOF
54604 done
54606 else
54608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54609 $as_echo_n "checking for _isnanl declaration... " >&6; }
54610 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54611 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54612 $as_echo_n "(cached) " >&6
54613 else
54616 ac_ext=cpp
54617 ac_cpp='$CXXCPP $CPPFLAGS'
54618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54623 /* end confdefs.h. */
54624 #include <math.h>
54625 #ifdef HAVE_IEEEFP_H
54626 #include <ieeefp.h>
54627 #endif
54630 main ()
54632 _isnanl(0);
54634 return 0;
54636 _ACEOF
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638 glibcxx_cv_func__isnanl_use=yes
54639 else
54640 glibcxx_cv_func__isnanl_use=no
54642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54643 ac_ext=c
54644 ac_cpp='$CPP $CPPFLAGS'
54645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54654 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54656 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54657 for ac_func in _isnanl
54658 do :
54659 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54660 if test "x$ac_cv_func__isnanl" = x""yes; then :
54661 cat >>confdefs.h <<_ACEOF
54662 #define HAVE__ISNANL 1
54663 _ACEOF
54666 done
54675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54676 $as_echo_n "checking for isinfl declaration... " >&6; }
54677 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54678 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54679 $as_echo_n "(cached) " >&6
54680 else
54683 ac_ext=cpp
54684 ac_cpp='$CXXCPP $CPPFLAGS'
54685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54690 /* end confdefs.h. */
54691 #include <math.h>
54692 #ifdef HAVE_IEEEFP_H
54693 #include <ieeefp.h>
54694 #endif
54697 main ()
54699 isinfl(0);
54701 return 0;
54703 _ACEOF
54704 if ac_fn_cxx_try_compile "$LINENO"; then :
54705 glibcxx_cv_func_isinfl_use=yes
54706 else
54707 glibcxx_cv_func_isinfl_use=no
54709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54710 ac_ext=c
54711 ac_cpp='$CPP $CPPFLAGS'
54712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54721 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54723 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54724 for ac_func in isinfl
54725 do :
54726 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54727 if test "x$ac_cv_func_isinfl" = x""yes; then :
54728 cat >>confdefs.h <<_ACEOF
54729 #define HAVE_ISINFL 1
54730 _ACEOF
54733 done
54735 else
54737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54738 $as_echo_n "checking for _isinfl declaration... " >&6; }
54739 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54740 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54741 $as_echo_n "(cached) " >&6
54742 else
54745 ac_ext=cpp
54746 ac_cpp='$CXXCPP $CPPFLAGS'
54747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54752 /* end confdefs.h. */
54753 #include <math.h>
54754 #ifdef HAVE_IEEEFP_H
54755 #include <ieeefp.h>
54756 #endif
54759 main ()
54761 _isinfl(0);
54763 return 0;
54765 _ACEOF
54766 if ac_fn_cxx_try_compile "$LINENO"; then :
54767 glibcxx_cv_func__isinfl_use=yes
54768 else
54769 glibcxx_cv_func__isinfl_use=no
54771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54772 ac_ext=c
54773 ac_cpp='$CPP $CPPFLAGS'
54774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54783 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54785 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54786 for ac_func in _isinfl
54787 do :
54788 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54789 if test "x$ac_cv_func__isinfl" = x""yes; then :
54790 cat >>confdefs.h <<_ACEOF
54791 #define HAVE__ISINFL 1
54792 _ACEOF
54795 done
54804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54805 $as_echo_n "checking for atan2l declaration... " >&6; }
54806 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54807 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54808 $as_echo_n "(cached) " >&6
54809 else
54812 ac_ext=cpp
54813 ac_cpp='$CXXCPP $CPPFLAGS'
54814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54819 /* end confdefs.h. */
54820 #include <math.h>
54822 main ()
54824 atan2l(0, 0);
54826 return 0;
54828 _ACEOF
54829 if ac_fn_cxx_try_compile "$LINENO"; then :
54830 glibcxx_cv_func_atan2l_use=yes
54831 else
54832 glibcxx_cv_func_atan2l_use=no
54834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54835 ac_ext=c
54836 ac_cpp='$CPP $CPPFLAGS'
54837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54846 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54848 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54849 for ac_func in atan2l
54850 do :
54851 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54852 if test "x$ac_cv_func_atan2l" = x""yes; then :
54853 cat >>confdefs.h <<_ACEOF
54854 #define HAVE_ATAN2L 1
54855 _ACEOF
54858 done
54860 else
54862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54863 $as_echo_n "checking for _atan2l declaration... " >&6; }
54864 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54865 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54866 $as_echo_n "(cached) " >&6
54867 else
54870 ac_ext=cpp
54871 ac_cpp='$CXXCPP $CPPFLAGS'
54872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54877 /* end confdefs.h. */
54878 #include <math.h>
54880 main ()
54882 _atan2l(0, 0);
54884 return 0;
54886 _ACEOF
54887 if ac_fn_cxx_try_compile "$LINENO"; then :
54888 glibcxx_cv_func__atan2l_use=yes
54889 else
54890 glibcxx_cv_func__atan2l_use=no
54892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54893 ac_ext=c
54894 ac_cpp='$CPP $CPPFLAGS'
54895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54904 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54906 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54907 for ac_func in _atan2l
54908 do :
54909 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54910 if test "x$ac_cv_func__atan2l" = x""yes; then :
54911 cat >>confdefs.h <<_ACEOF
54912 #define HAVE__ATAN2L 1
54913 _ACEOF
54916 done
54925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54926 $as_echo_n "checking for expl declaration... " >&6; }
54927 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54928 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54929 $as_echo_n "(cached) " >&6
54930 else
54933 ac_ext=cpp
54934 ac_cpp='$CXXCPP $CPPFLAGS'
54935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54940 /* end confdefs.h. */
54941 #include <math.h>
54942 #ifdef HAVE_IEEEFP_H
54943 #include <ieeefp.h>
54944 #endif
54947 main ()
54949 expl(0);
54951 return 0;
54953 _ACEOF
54954 if ac_fn_cxx_try_compile "$LINENO"; then :
54955 glibcxx_cv_func_expl_use=yes
54956 else
54957 glibcxx_cv_func_expl_use=no
54959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54960 ac_ext=c
54961 ac_cpp='$CPP $CPPFLAGS'
54962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54971 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54973 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54974 for ac_func in expl
54975 do :
54976 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54977 if test "x$ac_cv_func_expl" = x""yes; then :
54978 cat >>confdefs.h <<_ACEOF
54979 #define HAVE_EXPL 1
54980 _ACEOF
54983 done
54985 else
54987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54988 $as_echo_n "checking for _expl declaration... " >&6; }
54989 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54990 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54991 $as_echo_n "(cached) " >&6
54992 else
54995 ac_ext=cpp
54996 ac_cpp='$CXXCPP $CPPFLAGS'
54997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55002 /* end confdefs.h. */
55003 #include <math.h>
55004 #ifdef HAVE_IEEEFP_H
55005 #include <ieeefp.h>
55006 #endif
55009 main ()
55011 _expl(0);
55013 return 0;
55015 _ACEOF
55016 if ac_fn_cxx_try_compile "$LINENO"; then :
55017 glibcxx_cv_func__expl_use=yes
55018 else
55019 glibcxx_cv_func__expl_use=no
55021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55022 ac_ext=c
55023 ac_cpp='$CPP $CPPFLAGS'
55024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55033 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55035 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55036 for ac_func in _expl
55037 do :
55038 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55039 if test "x$ac_cv_func__expl" = x""yes; then :
55040 cat >>confdefs.h <<_ACEOF
55041 #define HAVE__EXPL 1
55042 _ACEOF
55045 done
55054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55055 $as_echo_n "checking for fabsl declaration... " >&6; }
55056 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55057 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55058 $as_echo_n "(cached) " >&6
55059 else
55062 ac_ext=cpp
55063 ac_cpp='$CXXCPP $CPPFLAGS'
55064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55069 /* end confdefs.h. */
55070 #include <math.h>
55071 #ifdef HAVE_IEEEFP_H
55072 #include <ieeefp.h>
55073 #endif
55076 main ()
55078 fabsl(0);
55080 return 0;
55082 _ACEOF
55083 if ac_fn_cxx_try_compile "$LINENO"; then :
55084 glibcxx_cv_func_fabsl_use=yes
55085 else
55086 glibcxx_cv_func_fabsl_use=no
55088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55089 ac_ext=c
55090 ac_cpp='$CPP $CPPFLAGS'
55091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55100 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55102 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55103 for ac_func in fabsl
55104 do :
55105 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55106 if test "x$ac_cv_func_fabsl" = x""yes; then :
55107 cat >>confdefs.h <<_ACEOF
55108 #define HAVE_FABSL 1
55109 _ACEOF
55112 done
55114 else
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55117 $as_echo_n "checking for _fabsl declaration... " >&6; }
55118 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55119 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55120 $as_echo_n "(cached) " >&6
55121 else
55124 ac_ext=cpp
55125 ac_cpp='$CXXCPP $CPPFLAGS'
55126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h. */
55132 #include <math.h>
55133 #ifdef HAVE_IEEEFP_H
55134 #include <ieeefp.h>
55135 #endif
55138 main ()
55140 _fabsl(0);
55142 return 0;
55144 _ACEOF
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146 glibcxx_cv_func__fabsl_use=yes
55147 else
55148 glibcxx_cv_func__fabsl_use=no
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55151 ac_ext=c
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55162 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55164 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55165 for ac_func in _fabsl
55166 do :
55167 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55168 if test "x$ac_cv_func__fabsl" = x""yes; then :
55169 cat >>confdefs.h <<_ACEOF
55170 #define HAVE__FABSL 1
55171 _ACEOF
55174 done
55183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55184 $as_echo_n "checking for fmodl declaration... " >&6; }
55185 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55186 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55187 $as_echo_n "(cached) " >&6
55188 else
55191 ac_ext=cpp
55192 ac_cpp='$CXXCPP $CPPFLAGS'
55193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55198 /* end confdefs.h. */
55199 #include <math.h>
55201 main ()
55203 fmodl(0, 0);
55205 return 0;
55207 _ACEOF
55208 if ac_fn_cxx_try_compile "$LINENO"; then :
55209 glibcxx_cv_func_fmodl_use=yes
55210 else
55211 glibcxx_cv_func_fmodl_use=no
55213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55214 ac_ext=c
55215 ac_cpp='$CPP $CPPFLAGS'
55216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55225 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55227 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55228 for ac_func in fmodl
55229 do :
55230 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55231 if test "x$ac_cv_func_fmodl" = x""yes; then :
55232 cat >>confdefs.h <<_ACEOF
55233 #define HAVE_FMODL 1
55234 _ACEOF
55237 done
55239 else
55241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55242 $as_echo_n "checking for _fmodl declaration... " >&6; }
55243 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55244 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55245 $as_echo_n "(cached) " >&6
55246 else
55249 ac_ext=cpp
55250 ac_cpp='$CXXCPP $CPPFLAGS'
55251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55256 /* end confdefs.h. */
55257 #include <math.h>
55259 main ()
55261 _fmodl(0, 0);
55263 return 0;
55265 _ACEOF
55266 if ac_fn_cxx_try_compile "$LINENO"; then :
55267 glibcxx_cv_func__fmodl_use=yes
55268 else
55269 glibcxx_cv_func__fmodl_use=no
55271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55272 ac_ext=c
55273 ac_cpp='$CPP $CPPFLAGS'
55274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55283 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55285 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55286 for ac_func in _fmodl
55287 do :
55288 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55289 if test "x$ac_cv_func__fmodl" = x""yes; then :
55290 cat >>confdefs.h <<_ACEOF
55291 #define HAVE__FMODL 1
55292 _ACEOF
55295 done
55304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55305 $as_echo_n "checking for frexpl declaration... " >&6; }
55306 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55307 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55308 $as_echo_n "(cached) " >&6
55309 else
55312 ac_ext=cpp
55313 ac_cpp='$CXXCPP $CPPFLAGS'
55314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55319 /* end confdefs.h. */
55320 #include <math.h>
55322 main ()
55324 frexpl(0, 0);
55326 return 0;
55328 _ACEOF
55329 if ac_fn_cxx_try_compile "$LINENO"; then :
55330 glibcxx_cv_func_frexpl_use=yes
55331 else
55332 glibcxx_cv_func_frexpl_use=no
55334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55335 ac_ext=c
55336 ac_cpp='$CPP $CPPFLAGS'
55337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55346 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55348 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55349 for ac_func in frexpl
55350 do :
55351 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55352 if test "x$ac_cv_func_frexpl" = x""yes; then :
55353 cat >>confdefs.h <<_ACEOF
55354 #define HAVE_FREXPL 1
55355 _ACEOF
55358 done
55360 else
55362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55363 $as_echo_n "checking for _frexpl declaration... " >&6; }
55364 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55365 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55366 $as_echo_n "(cached) " >&6
55367 else
55370 ac_ext=cpp
55371 ac_cpp='$CXXCPP $CPPFLAGS'
55372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55377 /* end confdefs.h. */
55378 #include <math.h>
55380 main ()
55382 _frexpl(0, 0);
55384 return 0;
55386 _ACEOF
55387 if ac_fn_cxx_try_compile "$LINENO"; then :
55388 glibcxx_cv_func__frexpl_use=yes
55389 else
55390 glibcxx_cv_func__frexpl_use=no
55392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55393 ac_ext=c
55394 ac_cpp='$CPP $CPPFLAGS'
55395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55404 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55406 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55407 for ac_func in _frexpl
55408 do :
55409 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55410 if test "x$ac_cv_func__frexpl" = x""yes; then :
55411 cat >>confdefs.h <<_ACEOF
55412 #define HAVE__FREXPL 1
55413 _ACEOF
55416 done
55425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55426 $as_echo_n "checking for hypotl declaration... " >&6; }
55427 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55428 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55429 $as_echo_n "(cached) " >&6
55430 else
55433 ac_ext=cpp
55434 ac_cpp='$CXXCPP $CPPFLAGS'
55435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55440 /* end confdefs.h. */
55441 #include <math.h>
55443 main ()
55445 hypotl(0, 0);
55447 return 0;
55449 _ACEOF
55450 if ac_fn_cxx_try_compile "$LINENO"; then :
55451 glibcxx_cv_func_hypotl_use=yes
55452 else
55453 glibcxx_cv_func_hypotl_use=no
55455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55456 ac_ext=c
55457 ac_cpp='$CPP $CPPFLAGS'
55458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55467 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55469 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55470 for ac_func in hypotl
55471 do :
55472 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55473 if test "x$ac_cv_func_hypotl" = x""yes; then :
55474 cat >>confdefs.h <<_ACEOF
55475 #define HAVE_HYPOTL 1
55476 _ACEOF
55479 done
55481 else
55483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55484 $as_echo_n "checking for _hypotl declaration... " >&6; }
55485 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55486 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55487 $as_echo_n "(cached) " >&6
55488 else
55491 ac_ext=cpp
55492 ac_cpp='$CXXCPP $CPPFLAGS'
55493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55498 /* end confdefs.h. */
55499 #include <math.h>
55501 main ()
55503 _hypotl(0, 0);
55505 return 0;
55507 _ACEOF
55508 if ac_fn_cxx_try_compile "$LINENO"; then :
55509 glibcxx_cv_func__hypotl_use=yes
55510 else
55511 glibcxx_cv_func__hypotl_use=no
55513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55514 ac_ext=c
55515 ac_cpp='$CPP $CPPFLAGS'
55516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55525 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55527 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55528 for ac_func in _hypotl
55529 do :
55530 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55531 if test "x$ac_cv_func__hypotl" = x""yes; then :
55532 cat >>confdefs.h <<_ACEOF
55533 #define HAVE__HYPOTL 1
55534 _ACEOF
55537 done
55546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55547 $as_echo_n "checking for ldexpl declaration... " >&6; }
55548 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55549 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55550 $as_echo_n "(cached) " >&6
55551 else
55554 ac_ext=cpp
55555 ac_cpp='$CXXCPP $CPPFLAGS'
55556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55561 /* end confdefs.h. */
55562 #include <math.h>
55564 main ()
55566 ldexpl(0, 0);
55568 return 0;
55570 _ACEOF
55571 if ac_fn_cxx_try_compile "$LINENO"; then :
55572 glibcxx_cv_func_ldexpl_use=yes
55573 else
55574 glibcxx_cv_func_ldexpl_use=no
55576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55577 ac_ext=c
55578 ac_cpp='$CPP $CPPFLAGS'
55579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55588 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55590 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55591 for ac_func in ldexpl
55592 do :
55593 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55594 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55595 cat >>confdefs.h <<_ACEOF
55596 #define HAVE_LDEXPL 1
55597 _ACEOF
55600 done
55602 else
55604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55605 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55606 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55607 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55608 $as_echo_n "(cached) " >&6
55609 else
55612 ac_ext=cpp
55613 ac_cpp='$CXXCPP $CPPFLAGS'
55614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55619 /* end confdefs.h. */
55620 #include <math.h>
55622 main ()
55624 _ldexpl(0, 0);
55626 return 0;
55628 _ACEOF
55629 if ac_fn_cxx_try_compile "$LINENO"; then :
55630 glibcxx_cv_func__ldexpl_use=yes
55631 else
55632 glibcxx_cv_func__ldexpl_use=no
55634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55635 ac_ext=c
55636 ac_cpp='$CPP $CPPFLAGS'
55637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55646 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55648 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55649 for ac_func in _ldexpl
55650 do :
55651 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55652 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55653 cat >>confdefs.h <<_ACEOF
55654 #define HAVE__LDEXPL 1
55655 _ACEOF
55658 done
55667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55668 $as_echo_n "checking for logl declaration... " >&6; }
55669 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55670 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55671 $as_echo_n "(cached) " >&6
55672 else
55675 ac_ext=cpp
55676 ac_cpp='$CXXCPP $CPPFLAGS'
55677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55682 /* end confdefs.h. */
55683 #include <math.h>
55684 #ifdef HAVE_IEEEFP_H
55685 #include <ieeefp.h>
55686 #endif
55689 main ()
55691 logl(0);
55693 return 0;
55695 _ACEOF
55696 if ac_fn_cxx_try_compile "$LINENO"; then :
55697 glibcxx_cv_func_logl_use=yes
55698 else
55699 glibcxx_cv_func_logl_use=no
55701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55702 ac_ext=c
55703 ac_cpp='$CPP $CPPFLAGS'
55704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55713 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55715 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55716 for ac_func in logl
55717 do :
55718 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55719 if test "x$ac_cv_func_logl" = x""yes; then :
55720 cat >>confdefs.h <<_ACEOF
55721 #define HAVE_LOGL 1
55722 _ACEOF
55725 done
55727 else
55729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55730 $as_echo_n "checking for _logl declaration... " >&6; }
55731 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55732 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55733 $as_echo_n "(cached) " >&6
55734 else
55737 ac_ext=cpp
55738 ac_cpp='$CXXCPP $CPPFLAGS'
55739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55744 /* end confdefs.h. */
55745 #include <math.h>
55746 #ifdef HAVE_IEEEFP_H
55747 #include <ieeefp.h>
55748 #endif
55751 main ()
55753 _logl(0);
55755 return 0;
55757 _ACEOF
55758 if ac_fn_cxx_try_compile "$LINENO"; then :
55759 glibcxx_cv_func__logl_use=yes
55760 else
55761 glibcxx_cv_func__logl_use=no
55763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55764 ac_ext=c
55765 ac_cpp='$CPP $CPPFLAGS'
55766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55775 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55777 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55778 for ac_func in _logl
55779 do :
55780 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55781 if test "x$ac_cv_func__logl" = x""yes; then :
55782 cat >>confdefs.h <<_ACEOF
55783 #define HAVE__LOGL 1
55784 _ACEOF
55787 done
55796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55797 $as_echo_n "checking for log10l declaration... " >&6; }
55798 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55799 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55800 $as_echo_n "(cached) " >&6
55801 else
55804 ac_ext=cpp
55805 ac_cpp='$CXXCPP $CPPFLAGS'
55806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55811 /* end confdefs.h. */
55812 #include <math.h>
55813 #ifdef HAVE_IEEEFP_H
55814 #include <ieeefp.h>
55815 #endif
55818 main ()
55820 log10l(0);
55822 return 0;
55824 _ACEOF
55825 if ac_fn_cxx_try_compile "$LINENO"; then :
55826 glibcxx_cv_func_log10l_use=yes
55827 else
55828 glibcxx_cv_func_log10l_use=no
55830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55831 ac_ext=c
55832 ac_cpp='$CPP $CPPFLAGS'
55833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55842 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55844 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55845 for ac_func in log10l
55846 do :
55847 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55848 if test "x$ac_cv_func_log10l" = x""yes; then :
55849 cat >>confdefs.h <<_ACEOF
55850 #define HAVE_LOG10L 1
55851 _ACEOF
55854 done
55856 else
55858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55859 $as_echo_n "checking for _log10l declaration... " >&6; }
55860 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55861 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55862 $as_echo_n "(cached) " >&6
55863 else
55866 ac_ext=cpp
55867 ac_cpp='$CXXCPP $CPPFLAGS'
55868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55873 /* end confdefs.h. */
55874 #include <math.h>
55875 #ifdef HAVE_IEEEFP_H
55876 #include <ieeefp.h>
55877 #endif
55880 main ()
55882 _log10l(0);
55884 return 0;
55886 _ACEOF
55887 if ac_fn_cxx_try_compile "$LINENO"; then :
55888 glibcxx_cv_func__log10l_use=yes
55889 else
55890 glibcxx_cv_func__log10l_use=no
55892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55893 ac_ext=c
55894 ac_cpp='$CPP $CPPFLAGS'
55895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55904 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55906 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55907 for ac_func in _log10l
55908 do :
55909 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55910 if test "x$ac_cv_func__log10l" = x""yes; then :
55911 cat >>confdefs.h <<_ACEOF
55912 #define HAVE__LOG10L 1
55913 _ACEOF
55916 done
55925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55926 $as_echo_n "checking for modfl declaration... " >&6; }
55927 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55928 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55929 $as_echo_n "(cached) " >&6
55930 else
55933 ac_ext=cpp
55934 ac_cpp='$CXXCPP $CPPFLAGS'
55935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55940 /* end confdefs.h. */
55941 #include <math.h>
55943 main ()
55945 modfl(0, 0);
55947 return 0;
55949 _ACEOF
55950 if ac_fn_cxx_try_compile "$LINENO"; then :
55951 glibcxx_cv_func_modfl_use=yes
55952 else
55953 glibcxx_cv_func_modfl_use=no
55955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55956 ac_ext=c
55957 ac_cpp='$CPP $CPPFLAGS'
55958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55967 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55969 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55970 for ac_func in modfl
55971 do :
55972 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55973 if test "x$ac_cv_func_modfl" = x""yes; then :
55974 cat >>confdefs.h <<_ACEOF
55975 #define HAVE_MODFL 1
55976 _ACEOF
55979 done
55981 else
55983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55984 $as_echo_n "checking for _modfl declaration... " >&6; }
55985 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55986 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55987 $as_echo_n "(cached) " >&6
55988 else
55991 ac_ext=cpp
55992 ac_cpp='$CXXCPP $CPPFLAGS'
55993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55998 /* end confdefs.h. */
55999 #include <math.h>
56001 main ()
56003 _modfl(0, 0);
56005 return 0;
56007 _ACEOF
56008 if ac_fn_cxx_try_compile "$LINENO"; then :
56009 glibcxx_cv_func__modfl_use=yes
56010 else
56011 glibcxx_cv_func__modfl_use=no
56013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56014 ac_ext=c
56015 ac_cpp='$CPP $CPPFLAGS'
56016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56025 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56027 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56028 for ac_func in _modfl
56029 do :
56030 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56031 if test "x$ac_cv_func__modfl" = x""yes; then :
56032 cat >>confdefs.h <<_ACEOF
56033 #define HAVE__MODFL 1
56034 _ACEOF
56037 done
56046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56047 $as_echo_n "checking for powl declaration... " >&6; }
56048 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56049 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56050 $as_echo_n "(cached) " >&6
56051 else
56054 ac_ext=cpp
56055 ac_cpp='$CXXCPP $CPPFLAGS'
56056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56061 /* end confdefs.h. */
56062 #include <math.h>
56064 main ()
56066 powl(0, 0);
56068 return 0;
56070 _ACEOF
56071 if ac_fn_cxx_try_compile "$LINENO"; then :
56072 glibcxx_cv_func_powl_use=yes
56073 else
56074 glibcxx_cv_func_powl_use=no
56076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56077 ac_ext=c
56078 ac_cpp='$CPP $CPPFLAGS'
56079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56088 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56090 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56091 for ac_func in powl
56092 do :
56093 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56094 if test "x$ac_cv_func_powl" = x""yes; then :
56095 cat >>confdefs.h <<_ACEOF
56096 #define HAVE_POWL 1
56097 _ACEOF
56100 done
56102 else
56104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56105 $as_echo_n "checking for _powl declaration... " >&6; }
56106 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56107 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56108 $as_echo_n "(cached) " >&6
56109 else
56112 ac_ext=cpp
56113 ac_cpp='$CXXCPP $CPPFLAGS'
56114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56119 /* end confdefs.h. */
56120 #include <math.h>
56122 main ()
56124 _powl(0, 0);
56126 return 0;
56128 _ACEOF
56129 if ac_fn_cxx_try_compile "$LINENO"; then :
56130 glibcxx_cv_func__powl_use=yes
56131 else
56132 glibcxx_cv_func__powl_use=no
56134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56135 ac_ext=c
56136 ac_cpp='$CPP $CPPFLAGS'
56137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56146 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56148 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56149 for ac_func in _powl
56150 do :
56151 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56152 if test "x$ac_cv_func__powl" = x""yes; then :
56153 cat >>confdefs.h <<_ACEOF
56154 #define HAVE__POWL 1
56155 _ACEOF
56158 done
56167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56168 $as_echo_n "checking for sqrtl declaration... " >&6; }
56169 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56170 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56171 $as_echo_n "(cached) " >&6
56172 else
56175 ac_ext=cpp
56176 ac_cpp='$CXXCPP $CPPFLAGS'
56177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56182 /* end confdefs.h. */
56183 #include <math.h>
56184 #ifdef HAVE_IEEEFP_H
56185 #include <ieeefp.h>
56186 #endif
56189 main ()
56191 sqrtl(0);
56193 return 0;
56195 _ACEOF
56196 if ac_fn_cxx_try_compile "$LINENO"; then :
56197 glibcxx_cv_func_sqrtl_use=yes
56198 else
56199 glibcxx_cv_func_sqrtl_use=no
56201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56202 ac_ext=c
56203 ac_cpp='$CPP $CPPFLAGS'
56204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56213 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56215 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56216 for ac_func in sqrtl
56217 do :
56218 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56219 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56220 cat >>confdefs.h <<_ACEOF
56221 #define HAVE_SQRTL 1
56222 _ACEOF
56225 done
56227 else
56229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56230 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56231 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56232 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56233 $as_echo_n "(cached) " >&6
56234 else
56237 ac_ext=cpp
56238 ac_cpp='$CXXCPP $CPPFLAGS'
56239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56244 /* end confdefs.h. */
56245 #include <math.h>
56246 #ifdef HAVE_IEEEFP_H
56247 #include <ieeefp.h>
56248 #endif
56251 main ()
56253 _sqrtl(0);
56255 return 0;
56257 _ACEOF
56258 if ac_fn_cxx_try_compile "$LINENO"; then :
56259 glibcxx_cv_func__sqrtl_use=yes
56260 else
56261 glibcxx_cv_func__sqrtl_use=no
56263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56264 ac_ext=c
56265 ac_cpp='$CPP $CPPFLAGS'
56266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56275 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56277 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56278 for ac_func in _sqrtl
56279 do :
56280 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56281 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56282 cat >>confdefs.h <<_ACEOF
56283 #define HAVE__SQRTL 1
56284 _ACEOF
56287 done
56296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56297 $as_echo_n "checking for sincosl declaration... " >&6; }
56298 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56299 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56300 $as_echo_n "(cached) " >&6
56301 else
56304 ac_ext=cpp
56305 ac_cpp='$CXXCPP $CPPFLAGS'
56306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56311 /* end confdefs.h. */
56312 #include <math.h>
56314 main ()
56316 sincosl(0, 0, 0);
56318 return 0;
56320 _ACEOF
56321 if ac_fn_cxx_try_compile "$LINENO"; then :
56322 glibcxx_cv_func_sincosl_use=yes
56323 else
56324 glibcxx_cv_func_sincosl_use=no
56326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56327 ac_ext=c
56328 ac_cpp='$CPP $CPPFLAGS'
56329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56338 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56340 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56341 for ac_func in sincosl
56342 do :
56343 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56344 if test "x$ac_cv_func_sincosl" = x""yes; then :
56345 cat >>confdefs.h <<_ACEOF
56346 #define HAVE_SINCOSL 1
56347 _ACEOF
56350 done
56352 else
56354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56355 $as_echo_n "checking for _sincosl declaration... " >&6; }
56356 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56357 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56358 $as_echo_n "(cached) " >&6
56359 else
56362 ac_ext=cpp
56363 ac_cpp='$CXXCPP $CPPFLAGS'
56364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56369 /* end confdefs.h. */
56370 #include <math.h>
56372 main ()
56374 _sincosl(0, 0, 0);
56376 return 0;
56378 _ACEOF
56379 if ac_fn_cxx_try_compile "$LINENO"; then :
56380 glibcxx_cv_func__sincosl_use=yes
56381 else
56382 glibcxx_cv_func__sincosl_use=no
56384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56385 ac_ext=c
56386 ac_cpp='$CPP $CPPFLAGS'
56387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56396 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56398 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56399 for ac_func in _sincosl
56400 do :
56401 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56402 if test "x$ac_cv_func__sincosl" = x""yes; then :
56403 cat >>confdefs.h <<_ACEOF
56404 #define HAVE__SINCOSL 1
56405 _ACEOF
56408 done
56417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56418 $as_echo_n "checking for finitel declaration... " >&6; }
56419 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56420 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56421 $as_echo_n "(cached) " >&6
56422 else
56425 ac_ext=cpp
56426 ac_cpp='$CXXCPP $CPPFLAGS'
56427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56432 /* end confdefs.h. */
56433 #include <math.h>
56434 #ifdef HAVE_IEEEFP_H
56435 #include <ieeefp.h>
56436 #endif
56439 main ()
56441 finitel(0);
56443 return 0;
56445 _ACEOF
56446 if ac_fn_cxx_try_compile "$LINENO"; then :
56447 glibcxx_cv_func_finitel_use=yes
56448 else
56449 glibcxx_cv_func_finitel_use=no
56451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56452 ac_ext=c
56453 ac_cpp='$CPP $CPPFLAGS'
56454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56463 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56465 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56466 for ac_func in finitel
56467 do :
56468 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56469 if test "x$ac_cv_func_finitel" = x""yes; then :
56470 cat >>confdefs.h <<_ACEOF
56471 #define HAVE_FINITEL 1
56472 _ACEOF
56475 done
56477 else
56479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56480 $as_echo_n "checking for _finitel declaration... " >&6; }
56481 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56482 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56483 $as_echo_n "(cached) " >&6
56484 else
56487 ac_ext=cpp
56488 ac_cpp='$CXXCPP $CPPFLAGS'
56489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56494 /* end confdefs.h. */
56495 #include <math.h>
56496 #ifdef HAVE_IEEEFP_H
56497 #include <ieeefp.h>
56498 #endif
56501 main ()
56503 _finitel(0);
56505 return 0;
56507 _ACEOF
56508 if ac_fn_cxx_try_compile "$LINENO"; then :
56509 glibcxx_cv_func__finitel_use=yes
56510 else
56511 glibcxx_cv_func__finitel_use=no
56513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56514 ac_ext=c
56515 ac_cpp='$CPP $CPPFLAGS'
56516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56525 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56527 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56528 for ac_func in _finitel
56529 do :
56530 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56531 if test "x$ac_cv_func__finitel" = x""yes; then :
56532 cat >>confdefs.h <<_ACEOF
56533 #define HAVE__FINITEL 1
56534 _ACEOF
56537 done
56545 LIBS="$ac_save_LIBS"
56546 CXXFLAGS="$ac_save_CXXFLAGS"
56549 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56550 ac_save_CXXFLAGS="$CXXFLAGS"
56551 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56555 $as_echo_n "checking for strtold declaration... " >&6; }
56556 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56557 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56558 $as_echo_n "(cached) " >&6
56559 else
56562 ac_ext=cpp
56563 ac_cpp='$CXXCPP $CPPFLAGS'
56564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56569 /* end confdefs.h. */
56570 #include <stdlib.h>
56572 main ()
56574 strtold(0, 0);
56576 return 0;
56578 _ACEOF
56579 if ac_fn_cxx_try_compile "$LINENO"; then :
56580 glibcxx_cv_func_strtold_use=yes
56581 else
56582 glibcxx_cv_func_strtold_use=no
56584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56585 ac_ext=c
56586 ac_cpp='$CPP $CPPFLAGS'
56587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56596 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56597 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56598 for ac_func in strtold
56599 do :
56600 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56601 if test "x$ac_cv_func_strtold" = x""yes; then :
56602 cat >>confdefs.h <<_ACEOF
56603 #define HAVE_STRTOLD 1
56604 _ACEOF
56607 done
56614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56615 $as_echo_n "checking for strtof declaration... " >&6; }
56616 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56617 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56618 $as_echo_n "(cached) " >&6
56619 else
56622 ac_ext=cpp
56623 ac_cpp='$CXXCPP $CPPFLAGS'
56624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56629 /* end confdefs.h. */
56630 #include <stdlib.h>
56632 main ()
56634 strtof(0, 0);
56636 return 0;
56638 _ACEOF
56639 if ac_fn_cxx_try_compile "$LINENO"; then :
56640 glibcxx_cv_func_strtof_use=yes
56641 else
56642 glibcxx_cv_func_strtof_use=no
56644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56645 ac_ext=c
56646 ac_cpp='$CPP $CPPFLAGS'
56647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56656 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56657 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56658 for ac_func in strtof
56659 do :
56660 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56661 if test "x$ac_cv_func_strtof" = x""yes; then :
56662 cat >>confdefs.h <<_ACEOF
56663 #define HAVE_STRTOF 1
56664 _ACEOF
56667 done
56674 CXXFLAGS="$ac_save_CXXFLAGS"
56677 *-netbsd*)
56678 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56681 # If we're not using GNU ld, then there's no point in even trying these
56682 # tests. Check for that first. We should have already tested for gld
56683 # by now (in libtool), but require it now just to be safe...
56684 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56685 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56689 # The name set by libtool depends on the version of libtool. Shame on us
56690 # for depending on an impl detail, but c'est la vie. Older versions used
56691 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56692 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56693 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56694 # set (hence we're using an older libtool), then set it.
56695 if test x${with_gnu_ld+set} != xset; then
56696 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56697 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56698 with_gnu_ld=no
56699 else
56700 with_gnu_ld=$ac_cv_prog_gnu_ld
56704 # Start by getting the version number. I think the libtool test already
56705 # does some of this, but throws away the result.
56706 glibcxx_ld_is_gold=no
56707 if test x"$with_gnu_ld" = x"yes"; then
56708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56709 $as_echo_n "checking for ld version... " >&6; }
56711 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56712 glibcxx_ld_is_gold=yes
56714 ldver=`$LD --version 2>/dev/null |
56715 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'`
56717 glibcxx_gnu_ld_version=`echo $ldver | \
56718 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56720 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56723 # Set --gc-sections.
56724 glibcxx_have_gc_sections=no
56725 if test "$glibcxx_ld_is_gold" = "yes"; then
56726 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56727 glibcxx_have_gc_sections=yes
56729 else
56730 glibcxx_gcsections_min_ld=21602
56731 if test x"$with_gnu_ld" = x"yes" &&
56732 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56733 glibcxx_have_gc_sections=yes
56736 if test "$glibcxx_have_gc_sections" = "yes"; then
56737 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56738 # NB: This flag only works reliably after 2.16.1. Configure tests
56739 # for this are difficult, so hard wire a value that should work.
56741 ac_test_CFLAGS="${CFLAGS+set}"
56742 ac_save_CFLAGS="$CFLAGS"
56743 CFLAGS='-Wl,--gc-sections'
56745 # Check for -Wl,--gc-sections
56746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56747 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56748 if test x$gcc_no_link = xyes; then
56749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56752 /* end confdefs.h. */
56753 int one(void) { return 1; }
56754 int two(void) { return 2; }
56757 main ()
56759 two();
56761 return 0;
56763 _ACEOF
56764 if ac_fn_c_try_link "$LINENO"; then :
56765 ac_gcsections=yes
56766 else
56767 ac_gcsections=no
56769 rm -f core conftest.err conftest.$ac_objext \
56770 conftest$ac_exeext conftest.$ac_ext
56771 if test "$ac_gcsections" = "yes"; then
56772 rm -f conftest.c
56773 touch conftest.c
56774 if $CC -c conftest.c; then
56775 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56776 grep "Warning: gc-sections option ignored" > /dev/null; then
56777 ac_gcsections=no
56780 rm -f conftest.c conftest.o conftest
56782 if test "$ac_gcsections" = "yes"; then
56783 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56786 $as_echo "$ac_gcsections" >&6; }
56788 if test "$ac_test_CFLAGS" = set; then
56789 CFLAGS="$ac_save_CFLAGS"
56790 else
56791 # this is the suspicious part
56792 CFLAGS=''
56796 # Set -z,relro.
56797 # Note this is only for shared objects.
56798 ac_ld_relro=no
56799 if test x"$with_gnu_ld" = x"yes"; then
56800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56801 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56802 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56803 if test -n "$cxx_z_relo"; then
56804 OPT_LDFLAGS="-Wl,-z,relro"
56805 ac_ld_relro=yes
56807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56808 $as_echo "$ac_ld_relro" >&6; }
56811 # Set linker optimization flags.
56812 if test x"$with_gnu_ld" = x"yes"; then
56813 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56819 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56821 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56823 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56825 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56827 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56829 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56831 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56833 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56835 if test x"long_double_math_on_this_cpu" = x"yes"; then
56836 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56838 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56840 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56844 *-netware)
56845 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56848 # If we're not using GNU ld, then there's no point in even trying these
56849 # tests. Check for that first. We should have already tested for gld
56850 # by now (in libtool), but require it now just to be safe...
56851 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56852 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56856 # The name set by libtool depends on the version of libtool. Shame on us
56857 # for depending on an impl detail, but c'est la vie. Older versions used
56858 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56859 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56860 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56861 # set (hence we're using an older libtool), then set it.
56862 if test x${with_gnu_ld+set} != xset; then
56863 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56864 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56865 with_gnu_ld=no
56866 else
56867 with_gnu_ld=$ac_cv_prog_gnu_ld
56871 # Start by getting the version number. I think the libtool test already
56872 # does some of this, but throws away the result.
56873 glibcxx_ld_is_gold=no
56874 if test x"$with_gnu_ld" = x"yes"; then
56875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56876 $as_echo_n "checking for ld version... " >&6; }
56878 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56879 glibcxx_ld_is_gold=yes
56881 ldver=`$LD --version 2>/dev/null |
56882 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'`
56884 glibcxx_gnu_ld_version=`echo $ldver | \
56885 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56887 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56890 # Set --gc-sections.
56891 glibcxx_have_gc_sections=no
56892 if test "$glibcxx_ld_is_gold" = "yes"; then
56893 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56894 glibcxx_have_gc_sections=yes
56896 else
56897 glibcxx_gcsections_min_ld=21602
56898 if test x"$with_gnu_ld" = x"yes" &&
56899 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56900 glibcxx_have_gc_sections=yes
56903 if test "$glibcxx_have_gc_sections" = "yes"; then
56904 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56905 # NB: This flag only works reliably after 2.16.1. Configure tests
56906 # for this are difficult, so hard wire a value that should work.
56908 ac_test_CFLAGS="${CFLAGS+set}"
56909 ac_save_CFLAGS="$CFLAGS"
56910 CFLAGS='-Wl,--gc-sections'
56912 # Check for -Wl,--gc-sections
56913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56914 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56915 if test x$gcc_no_link = xyes; then
56916 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56919 /* end confdefs.h. */
56920 int one(void) { return 1; }
56921 int two(void) { return 2; }
56924 main ()
56926 two();
56928 return 0;
56930 _ACEOF
56931 if ac_fn_c_try_link "$LINENO"; then :
56932 ac_gcsections=yes
56933 else
56934 ac_gcsections=no
56936 rm -f core conftest.err conftest.$ac_objext \
56937 conftest$ac_exeext conftest.$ac_ext
56938 if test "$ac_gcsections" = "yes"; then
56939 rm -f conftest.c
56940 touch conftest.c
56941 if $CC -c conftest.c; then
56942 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56943 grep "Warning: gc-sections option ignored" > /dev/null; then
56944 ac_gcsections=no
56947 rm -f conftest.c conftest.o conftest
56949 if test "$ac_gcsections" = "yes"; then
56950 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56953 $as_echo "$ac_gcsections" >&6; }
56955 if test "$ac_test_CFLAGS" = set; then
56956 CFLAGS="$ac_save_CFLAGS"
56957 else
56958 # this is the suspicious part
56959 CFLAGS=''
56963 # Set -z,relro.
56964 # Note this is only for shared objects.
56965 ac_ld_relro=no
56966 if test x"$with_gnu_ld" = x"yes"; then
56967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56968 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56969 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56970 if test -n "$cxx_z_relo"; then
56971 OPT_LDFLAGS="-Wl,-z,relro"
56972 ac_ld_relro=yes
56974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56975 $as_echo "$ac_ld_relro" >&6; }
56978 # Set linker optimization flags.
56979 if test x"$with_gnu_ld" = x"yes"; then
56980 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56986 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56988 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56990 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56993 *-qnx6.1* | *-qnx6.2*)
56994 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56997 # If we're not using GNU ld, then there's no point in even trying these
56998 # tests. Check for that first. We should have already tested for gld
56999 # by now (in libtool), but require it now just to be safe...
57000 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57001 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57005 # The name set by libtool depends on the version of libtool. Shame on us
57006 # for depending on an impl detail, but c'est la vie. Older versions used
57007 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57008 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57009 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57010 # set (hence we're using an older libtool), then set it.
57011 if test x${with_gnu_ld+set} != xset; then
57012 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57013 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57014 with_gnu_ld=no
57015 else
57016 with_gnu_ld=$ac_cv_prog_gnu_ld
57020 # Start by getting the version number. I think the libtool test already
57021 # does some of this, but throws away the result.
57022 glibcxx_ld_is_gold=no
57023 if test x"$with_gnu_ld" = x"yes"; then
57024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57025 $as_echo_n "checking for ld version... " >&6; }
57027 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57028 glibcxx_ld_is_gold=yes
57030 ldver=`$LD --version 2>/dev/null |
57031 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'`
57033 glibcxx_gnu_ld_version=`echo $ldver | \
57034 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57036 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57039 # Set --gc-sections.
57040 glibcxx_have_gc_sections=no
57041 if test "$glibcxx_ld_is_gold" = "yes"; then
57042 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57043 glibcxx_have_gc_sections=yes
57045 else
57046 glibcxx_gcsections_min_ld=21602
57047 if test x"$with_gnu_ld" = x"yes" &&
57048 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57049 glibcxx_have_gc_sections=yes
57052 if test "$glibcxx_have_gc_sections" = "yes"; then
57053 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57054 # NB: This flag only works reliably after 2.16.1. Configure tests
57055 # for this are difficult, so hard wire a value that should work.
57057 ac_test_CFLAGS="${CFLAGS+set}"
57058 ac_save_CFLAGS="$CFLAGS"
57059 CFLAGS='-Wl,--gc-sections'
57061 # Check for -Wl,--gc-sections
57062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57063 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57064 if test x$gcc_no_link = xyes; then
57065 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57068 /* end confdefs.h. */
57069 int one(void) { return 1; }
57070 int two(void) { return 2; }
57073 main ()
57075 two();
57077 return 0;
57079 _ACEOF
57080 if ac_fn_c_try_link "$LINENO"; then :
57081 ac_gcsections=yes
57082 else
57083 ac_gcsections=no
57085 rm -f core conftest.err conftest.$ac_objext \
57086 conftest$ac_exeext conftest.$ac_ext
57087 if test "$ac_gcsections" = "yes"; then
57088 rm -f conftest.c
57089 touch conftest.c
57090 if $CC -c conftest.c; then
57091 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57092 grep "Warning: gc-sections option ignored" > /dev/null; then
57093 ac_gcsections=no
57096 rm -f conftest.c conftest.o conftest
57098 if test "$ac_gcsections" = "yes"; then
57099 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57102 $as_echo "$ac_gcsections" >&6; }
57104 if test "$ac_test_CFLAGS" = set; then
57105 CFLAGS="$ac_save_CFLAGS"
57106 else
57107 # this is the suspicious part
57108 CFLAGS=''
57112 # Set -z,relro.
57113 # Note this is only for shared objects.
57114 ac_ld_relro=no
57115 if test x"$with_gnu_ld" = x"yes"; then
57116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57117 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57118 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57119 if test -n "$cxx_z_relo"; then
57120 OPT_LDFLAGS="-Wl,-z,relro"
57121 ac_ld_relro=yes
57123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57124 $as_echo "$ac_ld_relro" >&6; }
57127 # Set linker optimization flags.
57128 if test x"$with_gnu_ld" = x"yes"; then
57129 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57135 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57137 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57139 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57141 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57143 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57145 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57147 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57149 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57151 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57153 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57155 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57157 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57160 *-rtems*)
57162 # All these tests are for C++; save the language and the compiler flags.
57163 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57164 # found in GLIBCXX_CONFIGURE.
57166 ac_ext=cpp
57167 ac_cpp='$CXXCPP $CPPFLAGS'
57168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57172 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57173 ac_save_CXXFLAGS="$CXXFLAGS"
57175 # Check for maintainer-mode bits.
57176 if test x"$USE_MAINTAINER_MODE" = xno; then
57177 WERROR=''
57178 else
57179 WERROR='-Werror'
57182 # Check for -ffunction-sections -fdata-sections
57183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57184 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57185 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57187 /* end confdefs.h. */
57188 int foo; void bar() { };
57190 main ()
57194 return 0;
57196 _ACEOF
57197 if ac_fn_cxx_try_compile "$LINENO"; then :
57198 ac_fdsections=yes
57199 else
57200 ac_fdsections=no
57202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57203 if test "$ac_test_CXXFLAGS" = set; then
57204 CXXFLAGS="$ac_save_CXXFLAGS"
57205 else
57206 # this is the suspicious part
57207 CXXFLAGS=''
57209 if test x"$ac_fdsections" = x"yes"; then
57210 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57213 $as_echo "$ac_fdsections" >&6; }
57215 ac_ext=c
57216 ac_cpp='$CPP $CPPFLAGS'
57217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57225 # If we're not using GNU ld, then there's no point in even trying these
57226 # tests. Check for that first. We should have already tested for gld
57227 # by now (in libtool), but require it now just to be safe...
57228 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57229 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57233 # The name set by libtool depends on the version of libtool. Shame on us
57234 # for depending on an impl detail, but c'est la vie. Older versions used
57235 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57236 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57237 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57238 # set (hence we're using an older libtool), then set it.
57239 if test x${with_gnu_ld+set} != xset; then
57240 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57241 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57242 with_gnu_ld=no
57243 else
57244 with_gnu_ld=$ac_cv_prog_gnu_ld
57248 # Start by getting the version number. I think the libtool test already
57249 # does some of this, but throws away the result.
57250 glibcxx_ld_is_gold=no
57251 if test x"$with_gnu_ld" = x"yes"; then
57252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57253 $as_echo_n "checking for ld version... " >&6; }
57255 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57256 glibcxx_ld_is_gold=yes
57258 ldver=`$LD --version 2>/dev/null |
57259 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'`
57261 glibcxx_gnu_ld_version=`echo $ldver | \
57262 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57264 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57267 # Set --gc-sections.
57268 glibcxx_have_gc_sections=no
57269 if test "$glibcxx_ld_is_gold" = "yes"; then
57270 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57271 glibcxx_have_gc_sections=yes
57273 else
57274 glibcxx_gcsections_min_ld=21602
57275 if test x"$with_gnu_ld" = x"yes" &&
57276 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57277 glibcxx_have_gc_sections=yes
57280 if test "$glibcxx_have_gc_sections" = "yes"; then
57281 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57282 # NB: This flag only works reliably after 2.16.1. Configure tests
57283 # for this are difficult, so hard wire a value that should work.
57285 ac_test_CFLAGS="${CFLAGS+set}"
57286 ac_save_CFLAGS="$CFLAGS"
57287 CFLAGS='-Wl,--gc-sections'
57289 # Check for -Wl,--gc-sections
57290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57291 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57292 if test x$gcc_no_link = xyes; then
57293 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57296 /* end confdefs.h. */
57297 int one(void) { return 1; }
57298 int two(void) { return 2; }
57301 main ()
57303 two();
57305 return 0;
57307 _ACEOF
57308 if ac_fn_c_try_link "$LINENO"; then :
57309 ac_gcsections=yes
57310 else
57311 ac_gcsections=no
57313 rm -f core conftest.err conftest.$ac_objext \
57314 conftest$ac_exeext conftest.$ac_ext
57315 if test "$ac_gcsections" = "yes"; then
57316 rm -f conftest.c
57317 touch conftest.c
57318 if $CC -c conftest.c; then
57319 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57320 grep "Warning: gc-sections option ignored" > /dev/null; then
57321 ac_gcsections=no
57324 rm -f conftest.c conftest.o conftest
57326 if test "$ac_gcsections" = "yes"; then
57327 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57330 $as_echo "$ac_gcsections" >&6; }
57332 if test "$ac_test_CFLAGS" = set; then
57333 CFLAGS="$ac_save_CFLAGS"
57334 else
57335 # this is the suspicious part
57336 CFLAGS=''
57340 # Set -z,relro.
57341 # Note this is only for shared objects.
57342 ac_ld_relro=no
57343 if test x"$with_gnu_ld" = x"yes"; then
57344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57345 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57346 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57347 if test -n "$cxx_z_relo"; then
57348 OPT_LDFLAGS="-Wl,-z,relro"
57349 ac_ld_relro=yes
57351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57352 $as_echo "$ac_ld_relro" >&6; }
57355 # Set linker optimization flags.
57356 if test x"$with_gnu_ld" = x"yes"; then
57357 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57364 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57365 ac_save_CXXFLAGS="$CXXFLAGS"
57366 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57369 $as_echo_n "checking for sin in -lm... " >&6; }
57370 if test "${ac_cv_lib_m_sin+set}" = set; then :
57371 $as_echo_n "(cached) " >&6
57372 else
57373 ac_check_lib_save_LIBS=$LIBS
57374 LIBS="-lm $LIBS"
57375 if test x$gcc_no_link = xyes; then
57376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57379 /* end confdefs.h. */
57381 /* Override any GCC internal prototype to avoid an error.
57382 Use char because int might match the return type of a GCC
57383 builtin and then its argument prototype would still apply. */
57384 #ifdef __cplusplus
57385 extern "C"
57386 #endif
57387 char sin ();
57389 main ()
57391 return sin ();
57393 return 0;
57395 _ACEOF
57396 if ac_fn_c_try_link "$LINENO"; then :
57397 ac_cv_lib_m_sin=yes
57398 else
57399 ac_cv_lib_m_sin=no
57401 rm -f core conftest.err conftest.$ac_objext \
57402 conftest$ac_exeext conftest.$ac_ext
57403 LIBS=$ac_check_lib_save_LIBS
57405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57406 $as_echo "$ac_cv_lib_m_sin" >&6; }
57407 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57408 libm="-lm"
57411 ac_save_LIBS="$LIBS"
57412 LIBS="$LIBS $libm"
57416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57417 $as_echo_n "checking for isinf declaration... " >&6; }
57418 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57419 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57420 $as_echo_n "(cached) " >&6
57421 else
57424 ac_ext=cpp
57425 ac_cpp='$CXXCPP $CPPFLAGS'
57426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57431 /* end confdefs.h. */
57432 #include <math.h>
57433 #ifdef HAVE_IEEEFP_H
57434 #include <ieeefp.h>
57435 #endif
57438 main ()
57440 isinf(0);
57442 return 0;
57444 _ACEOF
57445 if ac_fn_cxx_try_compile "$LINENO"; then :
57446 glibcxx_cv_func_isinf_use=yes
57447 else
57448 glibcxx_cv_func_isinf_use=no
57450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57451 ac_ext=c
57452 ac_cpp='$CPP $CPPFLAGS'
57453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57462 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57464 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57465 for ac_func in isinf
57466 do :
57467 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57468 if test "x$ac_cv_func_isinf" = x""yes; then :
57469 cat >>confdefs.h <<_ACEOF
57470 #define HAVE_ISINF 1
57471 _ACEOF
57474 done
57476 else
57478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57479 $as_echo_n "checking for _isinf declaration... " >&6; }
57480 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57481 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57482 $as_echo_n "(cached) " >&6
57483 else
57486 ac_ext=cpp
57487 ac_cpp='$CXXCPP $CPPFLAGS'
57488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57493 /* end confdefs.h. */
57494 #include <math.h>
57495 #ifdef HAVE_IEEEFP_H
57496 #include <ieeefp.h>
57497 #endif
57500 main ()
57502 _isinf(0);
57504 return 0;
57506 _ACEOF
57507 if ac_fn_cxx_try_compile "$LINENO"; then :
57508 glibcxx_cv_func__isinf_use=yes
57509 else
57510 glibcxx_cv_func__isinf_use=no
57512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57513 ac_ext=c
57514 ac_cpp='$CPP $CPPFLAGS'
57515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57524 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57526 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57527 for ac_func in _isinf
57528 do :
57529 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57530 if test "x$ac_cv_func__isinf" = x""yes; then :
57531 cat >>confdefs.h <<_ACEOF
57532 #define HAVE__ISINF 1
57533 _ACEOF
57536 done
57545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57546 $as_echo_n "checking for isnan declaration... " >&6; }
57547 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57548 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57549 $as_echo_n "(cached) " >&6
57550 else
57553 ac_ext=cpp
57554 ac_cpp='$CXXCPP $CPPFLAGS'
57555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57560 /* end confdefs.h. */
57561 #include <math.h>
57562 #ifdef HAVE_IEEEFP_H
57563 #include <ieeefp.h>
57564 #endif
57567 main ()
57569 isnan(0);
57571 return 0;
57573 _ACEOF
57574 if ac_fn_cxx_try_compile "$LINENO"; then :
57575 glibcxx_cv_func_isnan_use=yes
57576 else
57577 glibcxx_cv_func_isnan_use=no
57579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57580 ac_ext=c
57581 ac_cpp='$CPP $CPPFLAGS'
57582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57591 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57593 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57594 for ac_func in isnan
57595 do :
57596 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57597 if test "x$ac_cv_func_isnan" = x""yes; then :
57598 cat >>confdefs.h <<_ACEOF
57599 #define HAVE_ISNAN 1
57600 _ACEOF
57603 done
57605 else
57607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57608 $as_echo_n "checking for _isnan declaration... " >&6; }
57609 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57610 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57611 $as_echo_n "(cached) " >&6
57612 else
57615 ac_ext=cpp
57616 ac_cpp='$CXXCPP $CPPFLAGS'
57617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57622 /* end confdefs.h. */
57623 #include <math.h>
57624 #ifdef HAVE_IEEEFP_H
57625 #include <ieeefp.h>
57626 #endif
57629 main ()
57631 _isnan(0);
57633 return 0;
57635 _ACEOF
57636 if ac_fn_cxx_try_compile "$LINENO"; then :
57637 glibcxx_cv_func__isnan_use=yes
57638 else
57639 glibcxx_cv_func__isnan_use=no
57641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57642 ac_ext=c
57643 ac_cpp='$CPP $CPPFLAGS'
57644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
57653 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
57655 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57656 for ac_func in _isnan
57657 do :
57658 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
57659 if test "x$ac_cv_func__isnan" = x""yes; then :
57660 cat >>confdefs.h <<_ACEOF
57661 #define HAVE__ISNAN 1
57662 _ACEOF
57665 done
57674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
57675 $as_echo_n "checking for finite declaration... " >&6; }
57676 if test x${glibcxx_cv_func_finite_use+set} != xset; then
57677 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
57678 $as_echo_n "(cached) " >&6
57679 else
57682 ac_ext=cpp
57683 ac_cpp='$CXXCPP $CPPFLAGS'
57684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57689 /* end confdefs.h. */
57690 #include <math.h>
57691 #ifdef HAVE_IEEEFP_H
57692 #include <ieeefp.h>
57693 #endif
57696 main ()
57698 finite(0);
57700 return 0;
57702 _ACEOF
57703 if ac_fn_cxx_try_compile "$LINENO"; then :
57704 glibcxx_cv_func_finite_use=yes
57705 else
57706 glibcxx_cv_func_finite_use=no
57708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57709 ac_ext=c
57710 ac_cpp='$CPP $CPPFLAGS'
57711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
57720 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
57722 if test x$glibcxx_cv_func_finite_use = x"yes"; then
57723 for ac_func in finite
57724 do :
57725 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
57726 if test "x$ac_cv_func_finite" = x""yes; then :
57727 cat >>confdefs.h <<_ACEOF
57728 #define HAVE_FINITE 1
57729 _ACEOF
57732 done
57734 else
57736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
57737 $as_echo_n "checking for _finite declaration... " >&6; }
57738 if test x${glibcxx_cv_func__finite_use+set} != xset; then
57739 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
57740 $as_echo_n "(cached) " >&6
57741 else
57744 ac_ext=cpp
57745 ac_cpp='$CXXCPP $CPPFLAGS'
57746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57751 /* end confdefs.h. */
57752 #include <math.h>
57753 #ifdef HAVE_IEEEFP_H
57754 #include <ieeefp.h>
57755 #endif
57758 main ()
57760 _finite(0);
57762 return 0;
57764 _ACEOF
57765 if ac_fn_cxx_try_compile "$LINENO"; then :
57766 glibcxx_cv_func__finite_use=yes
57767 else
57768 glibcxx_cv_func__finite_use=no
57770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57771 ac_ext=c
57772 ac_cpp='$CPP $CPPFLAGS'
57773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
57782 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
57784 if test x$glibcxx_cv_func__finite_use = x"yes"; then
57785 for ac_func in _finite
57786 do :
57787 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
57788 if test "x$ac_cv_func__finite" = x""yes; then :
57789 cat >>confdefs.h <<_ACEOF
57790 #define HAVE__FINITE 1
57791 _ACEOF
57794 done
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
57804 $as_echo_n "checking for sincos declaration... " >&6; }
57805 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
57806 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
57807 $as_echo_n "(cached) " >&6
57808 else
57811 ac_ext=cpp
57812 ac_cpp='$CXXCPP $CPPFLAGS'
57813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57818 /* end confdefs.h. */
57819 #include <math.h>
57821 main ()
57823 sincos(0, 0, 0);
57825 return 0;
57827 _ACEOF
57828 if ac_fn_cxx_try_compile "$LINENO"; then :
57829 glibcxx_cv_func_sincos_use=yes
57830 else
57831 glibcxx_cv_func_sincos_use=no
57833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57834 ac_ext=c
57835 ac_cpp='$CPP $CPPFLAGS'
57836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
57845 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
57847 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
57848 for ac_func in sincos
57849 do :
57850 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
57851 if test "x$ac_cv_func_sincos" = x""yes; then :
57852 cat >>confdefs.h <<_ACEOF
57853 #define HAVE_SINCOS 1
57854 _ACEOF
57857 done
57859 else
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
57862 $as_echo_n "checking for _sincos declaration... " >&6; }
57863 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57864 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
57865 $as_echo_n "(cached) " >&6
57866 else
57869 ac_ext=cpp
57870 ac_cpp='$CXXCPP $CPPFLAGS'
57871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57876 /* end confdefs.h. */
57877 #include <math.h>
57879 main ()
57881 _sincos(0, 0, 0);
57883 return 0;
57885 _ACEOF
57886 if ac_fn_cxx_try_compile "$LINENO"; then :
57887 glibcxx_cv_func__sincos_use=yes
57888 else
57889 glibcxx_cv_func__sincos_use=no
57891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57892 ac_ext=c
57893 ac_cpp='$CPP $CPPFLAGS'
57894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
57903 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
57905 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
57906 for ac_func in _sincos
57907 do :
57908 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
57909 if test "x$ac_cv_func__sincos" = x""yes; then :
57910 cat >>confdefs.h <<_ACEOF
57911 #define HAVE__SINCOS 1
57912 _ACEOF
57915 done
57924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
57925 $as_echo_n "checking for fpclass declaration... " >&6; }
57926 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
57927 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
57928 $as_echo_n "(cached) " >&6
57929 else
57932 ac_ext=cpp
57933 ac_cpp='$CXXCPP $CPPFLAGS'
57934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57939 /* end confdefs.h. */
57940 #include <math.h>
57941 #ifdef HAVE_IEEEFP_H
57942 #include <ieeefp.h>
57943 #endif
57946 main ()
57948 fpclass(0);
57950 return 0;
57952 _ACEOF
57953 if ac_fn_cxx_try_compile "$LINENO"; then :
57954 glibcxx_cv_func_fpclass_use=yes
57955 else
57956 glibcxx_cv_func_fpclass_use=no
57958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57959 ac_ext=c
57960 ac_cpp='$CPP $CPPFLAGS'
57961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
57970 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
57972 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57973 for ac_func in fpclass
57974 do :
57975 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
57976 if test "x$ac_cv_func_fpclass" = x""yes; then :
57977 cat >>confdefs.h <<_ACEOF
57978 #define HAVE_FPCLASS 1
57979 _ACEOF
57982 done
57984 else
57986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
57987 $as_echo_n "checking for _fpclass declaration... " >&6; }
57988 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
57989 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
57990 $as_echo_n "(cached) " >&6
57991 else
57994 ac_ext=cpp
57995 ac_cpp='$CXXCPP $CPPFLAGS'
57996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58001 /* end confdefs.h. */
58002 #include <math.h>
58003 #ifdef HAVE_IEEEFP_H
58004 #include <ieeefp.h>
58005 #endif
58008 main ()
58010 _fpclass(0);
58012 return 0;
58014 _ACEOF
58015 if ac_fn_cxx_try_compile "$LINENO"; then :
58016 glibcxx_cv_func__fpclass_use=yes
58017 else
58018 glibcxx_cv_func__fpclass_use=no
58020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58021 ac_ext=c
58022 ac_cpp='$CPP $CPPFLAGS'
58023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58032 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58034 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58035 for ac_func in _fpclass
58036 do :
58037 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58038 if test "x$ac_cv_func__fpclass" = x""yes; then :
58039 cat >>confdefs.h <<_ACEOF
58040 #define HAVE__FPCLASS 1
58041 _ACEOF
58044 done
58053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58054 $as_echo_n "checking for qfpclass declaration... " >&6; }
58055 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58056 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58057 $as_echo_n "(cached) " >&6
58058 else
58061 ac_ext=cpp
58062 ac_cpp='$CXXCPP $CPPFLAGS'
58063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58068 /* end confdefs.h. */
58069 #include <math.h>
58070 #ifdef HAVE_IEEEFP_H
58071 #include <ieeefp.h>
58072 #endif
58075 main ()
58077 qfpclass(0);
58079 return 0;
58081 _ACEOF
58082 if ac_fn_cxx_try_compile "$LINENO"; then :
58083 glibcxx_cv_func_qfpclass_use=yes
58084 else
58085 glibcxx_cv_func_qfpclass_use=no
58087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58088 ac_ext=c
58089 ac_cpp='$CPP $CPPFLAGS'
58090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58099 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58101 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58102 for ac_func in qfpclass
58103 do :
58104 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58105 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58106 cat >>confdefs.h <<_ACEOF
58107 #define HAVE_QFPCLASS 1
58108 _ACEOF
58111 done
58113 else
58115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58116 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58117 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58118 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58119 $as_echo_n "(cached) " >&6
58120 else
58123 ac_ext=cpp
58124 ac_cpp='$CXXCPP $CPPFLAGS'
58125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58130 /* end confdefs.h. */
58131 #include <math.h>
58132 #ifdef HAVE_IEEEFP_H
58133 #include <ieeefp.h>
58134 #endif
58137 main ()
58139 _qfpclass(0);
58141 return 0;
58143 _ACEOF
58144 if ac_fn_cxx_try_compile "$LINENO"; then :
58145 glibcxx_cv_func__qfpclass_use=yes
58146 else
58147 glibcxx_cv_func__qfpclass_use=no
58149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58150 ac_ext=c
58151 ac_cpp='$CPP $CPPFLAGS'
58152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58161 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58163 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58164 for ac_func in _qfpclass
58165 do :
58166 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58167 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58168 cat >>confdefs.h <<_ACEOF
58169 #define HAVE__QFPCLASS 1
58170 _ACEOF
58173 done
58182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58183 $as_echo_n "checking for hypot declaration... " >&6; }
58184 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58185 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58186 $as_echo_n "(cached) " >&6
58187 else
58190 ac_ext=cpp
58191 ac_cpp='$CXXCPP $CPPFLAGS'
58192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58197 /* end confdefs.h. */
58198 #include <math.h>
58200 main ()
58202 hypot(0, 0);
58204 return 0;
58206 _ACEOF
58207 if ac_fn_cxx_try_compile "$LINENO"; then :
58208 glibcxx_cv_func_hypot_use=yes
58209 else
58210 glibcxx_cv_func_hypot_use=no
58212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58213 ac_ext=c
58214 ac_cpp='$CPP $CPPFLAGS'
58215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58224 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58226 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58227 for ac_func in hypot
58228 do :
58229 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58230 if test "x$ac_cv_func_hypot" = x""yes; then :
58231 cat >>confdefs.h <<_ACEOF
58232 #define HAVE_HYPOT 1
58233 _ACEOF
58236 done
58238 else
58240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58241 $as_echo_n "checking for _hypot declaration... " >&6; }
58242 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58243 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58244 $as_echo_n "(cached) " >&6
58245 else
58248 ac_ext=cpp
58249 ac_cpp='$CXXCPP $CPPFLAGS'
58250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58255 /* end confdefs.h. */
58256 #include <math.h>
58258 main ()
58260 _hypot(0, 0);
58262 return 0;
58264 _ACEOF
58265 if ac_fn_cxx_try_compile "$LINENO"; then :
58266 glibcxx_cv_func__hypot_use=yes
58267 else
58268 glibcxx_cv_func__hypot_use=no
58270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58271 ac_ext=c
58272 ac_cpp='$CPP $CPPFLAGS'
58273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58282 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58284 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58285 for ac_func in _hypot
58286 do :
58287 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58288 if test "x$ac_cv_func__hypot" = x""yes; then :
58289 cat >>confdefs.h <<_ACEOF
58290 #define HAVE__HYPOT 1
58291 _ACEOF
58294 done
58303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58304 $as_echo_n "checking for float trig functions... " >&6; }
58305 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58306 $as_echo_n "(cached) " >&6
58307 else
58310 ac_ext=cpp
58311 ac_cpp='$CXXCPP $CPPFLAGS'
58312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58317 /* end confdefs.h. */
58318 #include <math.h>
58320 main ()
58322 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58324 return 0;
58326 _ACEOF
58327 if ac_fn_cxx_try_compile "$LINENO"; then :
58328 glibcxx_cv_func_float_trig_use=yes
58329 else
58330 glibcxx_cv_func_float_trig_use=no
58332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58333 ac_ext=c
58334 ac_cpp='$CPP $CPPFLAGS'
58335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58342 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58343 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58344 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58345 do :
58346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58348 eval as_val=\$$as_ac_var
58349 if test "x$as_val" = x""yes; then :
58350 cat >>confdefs.h <<_ACEOF
58351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58352 _ACEOF
58355 done
58357 else
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58359 $as_echo_n "checking for _float trig functions... " >&6; }
58360 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58361 $as_echo_n "(cached) " >&6
58362 else
58365 ac_ext=cpp
58366 ac_cpp='$CXXCPP $CPPFLAGS'
58367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58372 /* end confdefs.h. */
58373 #include <math.h>
58375 main ()
58377 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58379 return 0;
58381 _ACEOF
58382 if ac_fn_cxx_try_compile "$LINENO"; then :
58383 glibcxx_cv_func__float_trig_use=yes
58384 else
58385 glibcxx_cv_func__float_trig_use=no
58387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58388 ac_ext=c
58389 ac_cpp='$CPP $CPPFLAGS'
58390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58397 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58398 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58399 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58400 do :
58401 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58402 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58403 eval as_val=\$$as_ac_var
58404 if test "x$as_val" = x""yes; then :
58405 cat >>confdefs.h <<_ACEOF
58406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58407 _ACEOF
58410 done
58419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58420 $as_echo_n "checking for float round functions... " >&6; }
58421 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58422 $as_echo_n "(cached) " >&6
58423 else
58426 ac_ext=cpp
58427 ac_cpp='$CXXCPP $CPPFLAGS'
58428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58433 /* end confdefs.h. */
58434 #include <math.h>
58436 main ()
58438 ceilf (0); floorf (0);
58440 return 0;
58442 _ACEOF
58443 if ac_fn_cxx_try_compile "$LINENO"; then :
58444 glibcxx_cv_func_float_round_use=yes
58445 else
58446 glibcxx_cv_func_float_round_use=no
58448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58449 ac_ext=c
58450 ac_cpp='$CPP $CPPFLAGS'
58451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58458 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58459 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58460 for ac_func in ceilf floorf
58461 do :
58462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58464 eval as_val=\$$as_ac_var
58465 if test "x$as_val" = x""yes; then :
58466 cat >>confdefs.h <<_ACEOF
58467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58468 _ACEOF
58471 done
58473 else
58474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58475 $as_echo_n "checking for _float round functions... " >&6; }
58476 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58477 $as_echo_n "(cached) " >&6
58478 else
58481 ac_ext=cpp
58482 ac_cpp='$CXXCPP $CPPFLAGS'
58483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58488 /* end confdefs.h. */
58489 #include <math.h>
58491 main ()
58493 _ceilf (0); _floorf (0);
58495 return 0;
58497 _ACEOF
58498 if ac_fn_cxx_try_compile "$LINENO"; then :
58499 glibcxx_cv_func__float_round_use=yes
58500 else
58501 glibcxx_cv_func__float_round_use=no
58503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58504 ac_ext=c
58505 ac_cpp='$CPP $CPPFLAGS'
58506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58513 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58514 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58515 for ac_func in _ceilf _floorf
58516 do :
58517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58519 eval as_val=\$$as_ac_var
58520 if test "x$as_val" = x""yes; then :
58521 cat >>confdefs.h <<_ACEOF
58522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58523 _ACEOF
58526 done
58536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58537 $as_echo_n "checking for expf declaration... " >&6; }
58538 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58539 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58540 $as_echo_n "(cached) " >&6
58541 else
58544 ac_ext=cpp
58545 ac_cpp='$CXXCPP $CPPFLAGS'
58546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58551 /* end confdefs.h. */
58552 #include <math.h>
58553 #ifdef HAVE_IEEEFP_H
58554 #include <ieeefp.h>
58555 #endif
58558 main ()
58560 expf(0);
58562 return 0;
58564 _ACEOF
58565 if ac_fn_cxx_try_compile "$LINENO"; then :
58566 glibcxx_cv_func_expf_use=yes
58567 else
58568 glibcxx_cv_func_expf_use=no
58570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58571 ac_ext=c
58572 ac_cpp='$CPP $CPPFLAGS'
58573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58582 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58584 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58585 for ac_func in expf
58586 do :
58587 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58588 if test "x$ac_cv_func_expf" = x""yes; then :
58589 cat >>confdefs.h <<_ACEOF
58590 #define HAVE_EXPF 1
58591 _ACEOF
58594 done
58596 else
58598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58599 $as_echo_n "checking for _expf declaration... " >&6; }
58600 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58601 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
58602 $as_echo_n "(cached) " >&6
58603 else
58606 ac_ext=cpp
58607 ac_cpp='$CXXCPP $CPPFLAGS'
58608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58613 /* end confdefs.h. */
58614 #include <math.h>
58615 #ifdef HAVE_IEEEFP_H
58616 #include <ieeefp.h>
58617 #endif
58620 main ()
58622 _expf(0);
58624 return 0;
58626 _ACEOF
58627 if ac_fn_cxx_try_compile "$LINENO"; then :
58628 glibcxx_cv_func__expf_use=yes
58629 else
58630 glibcxx_cv_func__expf_use=no
58632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58633 ac_ext=c
58634 ac_cpp='$CPP $CPPFLAGS'
58635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
58644 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
58646 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58647 for ac_func in _expf
58648 do :
58649 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
58650 if test "x$ac_cv_func__expf" = x""yes; then :
58651 cat >>confdefs.h <<_ACEOF
58652 #define HAVE__EXPF 1
58653 _ACEOF
58656 done
58665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
58666 $as_echo_n "checking for isnanf declaration... " >&6; }
58667 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58668 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
58669 $as_echo_n "(cached) " >&6
58670 else
58673 ac_ext=cpp
58674 ac_cpp='$CXXCPP $CPPFLAGS'
58675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58680 /* end confdefs.h. */
58681 #include <math.h>
58682 #ifdef HAVE_IEEEFP_H
58683 #include <ieeefp.h>
58684 #endif
58687 main ()
58689 isnanf(0);
58691 return 0;
58693 _ACEOF
58694 if ac_fn_cxx_try_compile "$LINENO"; then :
58695 glibcxx_cv_func_isnanf_use=yes
58696 else
58697 glibcxx_cv_func_isnanf_use=no
58699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58700 ac_ext=c
58701 ac_cpp='$CPP $CPPFLAGS'
58702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
58711 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
58713 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58714 for ac_func in isnanf
58715 do :
58716 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
58717 if test "x$ac_cv_func_isnanf" = x""yes; then :
58718 cat >>confdefs.h <<_ACEOF
58719 #define HAVE_ISNANF 1
58720 _ACEOF
58723 done
58725 else
58727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
58728 $as_echo_n "checking for _isnanf declaration... " >&6; }
58729 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58730 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
58731 $as_echo_n "(cached) " >&6
58732 else
58735 ac_ext=cpp
58736 ac_cpp='$CXXCPP $CPPFLAGS'
58737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58742 /* end confdefs.h. */
58743 #include <math.h>
58744 #ifdef HAVE_IEEEFP_H
58745 #include <ieeefp.h>
58746 #endif
58749 main ()
58751 _isnanf(0);
58753 return 0;
58755 _ACEOF
58756 if ac_fn_cxx_try_compile "$LINENO"; then :
58757 glibcxx_cv_func__isnanf_use=yes
58758 else
58759 glibcxx_cv_func__isnanf_use=no
58761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58762 ac_ext=c
58763 ac_cpp='$CPP $CPPFLAGS'
58764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
58773 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
58775 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58776 for ac_func in _isnanf
58777 do :
58778 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
58779 if test "x$ac_cv_func__isnanf" = x""yes; then :
58780 cat >>confdefs.h <<_ACEOF
58781 #define HAVE__ISNANF 1
58782 _ACEOF
58785 done
58794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
58795 $as_echo_n "checking for isinff declaration... " >&6; }
58796 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58797 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
58798 $as_echo_n "(cached) " >&6
58799 else
58802 ac_ext=cpp
58803 ac_cpp='$CXXCPP $CPPFLAGS'
58804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58809 /* end confdefs.h. */
58810 #include <math.h>
58811 #ifdef HAVE_IEEEFP_H
58812 #include <ieeefp.h>
58813 #endif
58816 main ()
58818 isinff(0);
58820 return 0;
58822 _ACEOF
58823 if ac_fn_cxx_try_compile "$LINENO"; then :
58824 glibcxx_cv_func_isinff_use=yes
58825 else
58826 glibcxx_cv_func_isinff_use=no
58828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58829 ac_ext=c
58830 ac_cpp='$CPP $CPPFLAGS'
58831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
58840 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
58842 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58843 for ac_func in isinff
58844 do :
58845 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
58846 if test "x$ac_cv_func_isinff" = x""yes; then :
58847 cat >>confdefs.h <<_ACEOF
58848 #define HAVE_ISINFF 1
58849 _ACEOF
58852 done
58854 else
58856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
58857 $as_echo_n "checking for _isinff declaration... " >&6; }
58858 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58859 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
58860 $as_echo_n "(cached) " >&6
58861 else
58864 ac_ext=cpp
58865 ac_cpp='$CXXCPP $CPPFLAGS'
58866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58871 /* end confdefs.h. */
58872 #include <math.h>
58873 #ifdef HAVE_IEEEFP_H
58874 #include <ieeefp.h>
58875 #endif
58878 main ()
58880 _isinff(0);
58882 return 0;
58884 _ACEOF
58885 if ac_fn_cxx_try_compile "$LINENO"; then :
58886 glibcxx_cv_func__isinff_use=yes
58887 else
58888 glibcxx_cv_func__isinff_use=no
58890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58891 ac_ext=c
58892 ac_cpp='$CPP $CPPFLAGS'
58893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
58902 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
58904 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58905 for ac_func in _isinff
58906 do :
58907 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
58908 if test "x$ac_cv_func__isinff" = x""yes; then :
58909 cat >>confdefs.h <<_ACEOF
58910 #define HAVE__ISINFF 1
58911 _ACEOF
58914 done
58923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
58924 $as_echo_n "checking for atan2f declaration... " >&6; }
58925 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58926 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
58927 $as_echo_n "(cached) " >&6
58928 else
58931 ac_ext=cpp
58932 ac_cpp='$CXXCPP $CPPFLAGS'
58933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58938 /* end confdefs.h. */
58939 #include <math.h>
58941 main ()
58943 atan2f(0, 0);
58945 return 0;
58947 _ACEOF
58948 if ac_fn_cxx_try_compile "$LINENO"; then :
58949 glibcxx_cv_func_atan2f_use=yes
58950 else
58951 glibcxx_cv_func_atan2f_use=no
58953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58954 ac_ext=c
58955 ac_cpp='$CPP $CPPFLAGS'
58956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
58965 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
58967 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58968 for ac_func in atan2f
58969 do :
58970 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
58971 if test "x$ac_cv_func_atan2f" = x""yes; then :
58972 cat >>confdefs.h <<_ACEOF
58973 #define HAVE_ATAN2F 1
58974 _ACEOF
58977 done
58979 else
58981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
58982 $as_echo_n "checking for _atan2f declaration... " >&6; }
58983 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58984 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
58985 $as_echo_n "(cached) " >&6
58986 else
58989 ac_ext=cpp
58990 ac_cpp='$CXXCPP $CPPFLAGS'
58991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58996 /* end confdefs.h. */
58997 #include <math.h>
58999 main ()
59001 _atan2f(0, 0);
59003 return 0;
59005 _ACEOF
59006 if ac_fn_cxx_try_compile "$LINENO"; then :
59007 glibcxx_cv_func__atan2f_use=yes
59008 else
59009 glibcxx_cv_func__atan2f_use=no
59011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59012 ac_ext=c
59013 ac_cpp='$CPP $CPPFLAGS'
59014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59023 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59025 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59026 for ac_func in _atan2f
59027 do :
59028 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59029 if test "x$ac_cv_func__atan2f" = x""yes; then :
59030 cat >>confdefs.h <<_ACEOF
59031 #define HAVE__ATAN2F 1
59032 _ACEOF
59035 done
59044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59045 $as_echo_n "checking for fabsf declaration... " >&6; }
59046 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59047 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59048 $as_echo_n "(cached) " >&6
59049 else
59052 ac_ext=cpp
59053 ac_cpp='$CXXCPP $CPPFLAGS'
59054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59059 /* end confdefs.h. */
59060 #include <math.h>
59061 #ifdef HAVE_IEEEFP_H
59062 #include <ieeefp.h>
59063 #endif
59066 main ()
59068 fabsf(0);
59070 return 0;
59072 _ACEOF
59073 if ac_fn_cxx_try_compile "$LINENO"; then :
59074 glibcxx_cv_func_fabsf_use=yes
59075 else
59076 glibcxx_cv_func_fabsf_use=no
59078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59079 ac_ext=c
59080 ac_cpp='$CPP $CPPFLAGS'
59081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59090 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59092 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59093 for ac_func in fabsf
59094 do :
59095 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59096 if test "x$ac_cv_func_fabsf" = x""yes; then :
59097 cat >>confdefs.h <<_ACEOF
59098 #define HAVE_FABSF 1
59099 _ACEOF
59102 done
59104 else
59106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59107 $as_echo_n "checking for _fabsf declaration... " >&6; }
59108 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59109 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59110 $as_echo_n "(cached) " >&6
59111 else
59114 ac_ext=cpp
59115 ac_cpp='$CXXCPP $CPPFLAGS'
59116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59121 /* end confdefs.h. */
59122 #include <math.h>
59123 #ifdef HAVE_IEEEFP_H
59124 #include <ieeefp.h>
59125 #endif
59128 main ()
59130 _fabsf(0);
59132 return 0;
59134 _ACEOF
59135 if ac_fn_cxx_try_compile "$LINENO"; then :
59136 glibcxx_cv_func__fabsf_use=yes
59137 else
59138 glibcxx_cv_func__fabsf_use=no
59140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59141 ac_ext=c
59142 ac_cpp='$CPP $CPPFLAGS'
59143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59152 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59154 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59155 for ac_func in _fabsf
59156 do :
59157 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59158 if test "x$ac_cv_func__fabsf" = x""yes; then :
59159 cat >>confdefs.h <<_ACEOF
59160 #define HAVE__FABSF 1
59161 _ACEOF
59164 done
59173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59174 $as_echo_n "checking for fmodf declaration... " >&6; }
59175 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59176 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59177 $as_echo_n "(cached) " >&6
59178 else
59181 ac_ext=cpp
59182 ac_cpp='$CXXCPP $CPPFLAGS'
59183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59188 /* end confdefs.h. */
59189 #include <math.h>
59191 main ()
59193 fmodf(0, 0);
59195 return 0;
59197 _ACEOF
59198 if ac_fn_cxx_try_compile "$LINENO"; then :
59199 glibcxx_cv_func_fmodf_use=yes
59200 else
59201 glibcxx_cv_func_fmodf_use=no
59203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59204 ac_ext=c
59205 ac_cpp='$CPP $CPPFLAGS'
59206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59215 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59217 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59218 for ac_func in fmodf
59219 do :
59220 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59221 if test "x$ac_cv_func_fmodf" = x""yes; then :
59222 cat >>confdefs.h <<_ACEOF
59223 #define HAVE_FMODF 1
59224 _ACEOF
59227 done
59229 else
59231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59232 $as_echo_n "checking for _fmodf declaration... " >&6; }
59233 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59234 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59235 $as_echo_n "(cached) " >&6
59236 else
59239 ac_ext=cpp
59240 ac_cpp='$CXXCPP $CPPFLAGS'
59241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59246 /* end confdefs.h. */
59247 #include <math.h>
59249 main ()
59251 _fmodf(0, 0);
59253 return 0;
59255 _ACEOF
59256 if ac_fn_cxx_try_compile "$LINENO"; then :
59257 glibcxx_cv_func__fmodf_use=yes
59258 else
59259 glibcxx_cv_func__fmodf_use=no
59261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59262 ac_ext=c
59263 ac_cpp='$CPP $CPPFLAGS'
59264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59273 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59275 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59276 for ac_func in _fmodf
59277 do :
59278 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59279 if test "x$ac_cv_func__fmodf" = x""yes; then :
59280 cat >>confdefs.h <<_ACEOF
59281 #define HAVE__FMODF 1
59282 _ACEOF
59285 done
59294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59295 $as_echo_n "checking for frexpf declaration... " >&6; }
59296 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59297 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59298 $as_echo_n "(cached) " >&6
59299 else
59302 ac_ext=cpp
59303 ac_cpp='$CXXCPP $CPPFLAGS'
59304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59309 /* end confdefs.h. */
59310 #include <math.h>
59312 main ()
59314 frexpf(0, 0);
59316 return 0;
59318 _ACEOF
59319 if ac_fn_cxx_try_compile "$LINENO"; then :
59320 glibcxx_cv_func_frexpf_use=yes
59321 else
59322 glibcxx_cv_func_frexpf_use=no
59324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59325 ac_ext=c
59326 ac_cpp='$CPP $CPPFLAGS'
59327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59336 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59338 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59339 for ac_func in frexpf
59340 do :
59341 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59342 if test "x$ac_cv_func_frexpf" = x""yes; then :
59343 cat >>confdefs.h <<_ACEOF
59344 #define HAVE_FREXPF 1
59345 _ACEOF
59348 done
59350 else
59352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59353 $as_echo_n "checking for _frexpf declaration... " >&6; }
59354 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59355 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59356 $as_echo_n "(cached) " >&6
59357 else
59360 ac_ext=cpp
59361 ac_cpp='$CXXCPP $CPPFLAGS'
59362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59367 /* end confdefs.h. */
59368 #include <math.h>
59370 main ()
59372 _frexpf(0, 0);
59374 return 0;
59376 _ACEOF
59377 if ac_fn_cxx_try_compile "$LINENO"; then :
59378 glibcxx_cv_func__frexpf_use=yes
59379 else
59380 glibcxx_cv_func__frexpf_use=no
59382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59383 ac_ext=c
59384 ac_cpp='$CPP $CPPFLAGS'
59385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59394 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59396 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59397 for ac_func in _frexpf
59398 do :
59399 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59400 if test "x$ac_cv_func__frexpf" = x""yes; then :
59401 cat >>confdefs.h <<_ACEOF
59402 #define HAVE__FREXPF 1
59403 _ACEOF
59406 done
59415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59416 $as_echo_n "checking for hypotf declaration... " >&6; }
59417 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59418 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59419 $as_echo_n "(cached) " >&6
59420 else
59423 ac_ext=cpp
59424 ac_cpp='$CXXCPP $CPPFLAGS'
59425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59430 /* end confdefs.h. */
59431 #include <math.h>
59433 main ()
59435 hypotf(0, 0);
59437 return 0;
59439 _ACEOF
59440 if ac_fn_cxx_try_compile "$LINENO"; then :
59441 glibcxx_cv_func_hypotf_use=yes
59442 else
59443 glibcxx_cv_func_hypotf_use=no
59445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59446 ac_ext=c
59447 ac_cpp='$CPP $CPPFLAGS'
59448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59457 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59459 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59460 for ac_func in hypotf
59461 do :
59462 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59463 if test "x$ac_cv_func_hypotf" = x""yes; then :
59464 cat >>confdefs.h <<_ACEOF
59465 #define HAVE_HYPOTF 1
59466 _ACEOF
59469 done
59471 else
59473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59474 $as_echo_n "checking for _hypotf declaration... " >&6; }
59475 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59476 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59477 $as_echo_n "(cached) " >&6
59478 else
59481 ac_ext=cpp
59482 ac_cpp='$CXXCPP $CPPFLAGS'
59483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59488 /* end confdefs.h. */
59489 #include <math.h>
59491 main ()
59493 _hypotf(0, 0);
59495 return 0;
59497 _ACEOF
59498 if ac_fn_cxx_try_compile "$LINENO"; then :
59499 glibcxx_cv_func__hypotf_use=yes
59500 else
59501 glibcxx_cv_func__hypotf_use=no
59503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59504 ac_ext=c
59505 ac_cpp='$CPP $CPPFLAGS'
59506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59515 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59517 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59518 for ac_func in _hypotf
59519 do :
59520 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59521 if test "x$ac_cv_func__hypotf" = x""yes; then :
59522 cat >>confdefs.h <<_ACEOF
59523 #define HAVE__HYPOTF 1
59524 _ACEOF
59527 done
59536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59537 $as_echo_n "checking for ldexpf declaration... " >&6; }
59538 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59539 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59540 $as_echo_n "(cached) " >&6
59541 else
59544 ac_ext=cpp
59545 ac_cpp='$CXXCPP $CPPFLAGS'
59546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59551 /* end confdefs.h. */
59552 #include <math.h>
59554 main ()
59556 ldexpf(0, 0);
59558 return 0;
59560 _ACEOF
59561 if ac_fn_cxx_try_compile "$LINENO"; then :
59562 glibcxx_cv_func_ldexpf_use=yes
59563 else
59564 glibcxx_cv_func_ldexpf_use=no
59566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59567 ac_ext=c
59568 ac_cpp='$CPP $CPPFLAGS'
59569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59578 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59580 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59581 for ac_func in ldexpf
59582 do :
59583 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59584 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59585 cat >>confdefs.h <<_ACEOF
59586 #define HAVE_LDEXPF 1
59587 _ACEOF
59590 done
59592 else
59594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59595 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59596 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59597 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59598 $as_echo_n "(cached) " >&6
59599 else
59602 ac_ext=cpp
59603 ac_cpp='$CXXCPP $CPPFLAGS'
59604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59609 /* end confdefs.h. */
59610 #include <math.h>
59612 main ()
59614 _ldexpf(0, 0);
59616 return 0;
59618 _ACEOF
59619 if ac_fn_cxx_try_compile "$LINENO"; then :
59620 glibcxx_cv_func__ldexpf_use=yes
59621 else
59622 glibcxx_cv_func__ldexpf_use=no
59624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59625 ac_ext=c
59626 ac_cpp='$CPP $CPPFLAGS'
59627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
59636 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
59638 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59639 for ac_func in _ldexpf
59640 do :
59641 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
59642 if test "x$ac_cv_func__ldexpf" = x""yes; then :
59643 cat >>confdefs.h <<_ACEOF
59644 #define HAVE__LDEXPF 1
59645 _ACEOF
59648 done
59657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
59658 $as_echo_n "checking for logf declaration... " >&6; }
59659 if test x${glibcxx_cv_func_logf_use+set} != xset; then
59660 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
59661 $as_echo_n "(cached) " >&6
59662 else
59665 ac_ext=cpp
59666 ac_cpp='$CXXCPP $CPPFLAGS'
59667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59672 /* end confdefs.h. */
59673 #include <math.h>
59674 #ifdef HAVE_IEEEFP_H
59675 #include <ieeefp.h>
59676 #endif
59679 main ()
59681 logf(0);
59683 return 0;
59685 _ACEOF
59686 if ac_fn_cxx_try_compile "$LINENO"; then :
59687 glibcxx_cv_func_logf_use=yes
59688 else
59689 glibcxx_cv_func_logf_use=no
59691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59692 ac_ext=c
59693 ac_cpp='$CPP $CPPFLAGS'
59694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
59703 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
59705 if test x$glibcxx_cv_func_logf_use = x"yes"; then
59706 for ac_func in logf
59707 do :
59708 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
59709 if test "x$ac_cv_func_logf" = x""yes; then :
59710 cat >>confdefs.h <<_ACEOF
59711 #define HAVE_LOGF 1
59712 _ACEOF
59715 done
59717 else
59719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
59720 $as_echo_n "checking for _logf declaration... " >&6; }
59721 if test x${glibcxx_cv_func__logf_use+set} != xset; then
59722 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
59723 $as_echo_n "(cached) " >&6
59724 else
59727 ac_ext=cpp
59728 ac_cpp='$CXXCPP $CPPFLAGS'
59729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59734 /* end confdefs.h. */
59735 #include <math.h>
59736 #ifdef HAVE_IEEEFP_H
59737 #include <ieeefp.h>
59738 #endif
59741 main ()
59743 _logf(0);
59745 return 0;
59747 _ACEOF
59748 if ac_fn_cxx_try_compile "$LINENO"; then :
59749 glibcxx_cv_func__logf_use=yes
59750 else
59751 glibcxx_cv_func__logf_use=no
59753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59754 ac_ext=c
59755 ac_cpp='$CPP $CPPFLAGS'
59756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
59765 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
59767 if test x$glibcxx_cv_func__logf_use = x"yes"; then
59768 for ac_func in _logf
59769 do :
59770 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
59771 if test "x$ac_cv_func__logf" = x""yes; then :
59772 cat >>confdefs.h <<_ACEOF
59773 #define HAVE__LOGF 1
59774 _ACEOF
59777 done
59786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
59787 $as_echo_n "checking for log10f declaration... " >&6; }
59788 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59789 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
59790 $as_echo_n "(cached) " >&6
59791 else
59794 ac_ext=cpp
59795 ac_cpp='$CXXCPP $CPPFLAGS'
59796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59801 /* end confdefs.h. */
59802 #include <math.h>
59803 #ifdef HAVE_IEEEFP_H
59804 #include <ieeefp.h>
59805 #endif
59808 main ()
59810 log10f(0);
59812 return 0;
59814 _ACEOF
59815 if ac_fn_cxx_try_compile "$LINENO"; then :
59816 glibcxx_cv_func_log10f_use=yes
59817 else
59818 glibcxx_cv_func_log10f_use=no
59820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59821 ac_ext=c
59822 ac_cpp='$CPP $CPPFLAGS'
59823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
59832 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
59834 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59835 for ac_func in log10f
59836 do :
59837 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
59838 if test "x$ac_cv_func_log10f" = x""yes; then :
59839 cat >>confdefs.h <<_ACEOF
59840 #define HAVE_LOG10F 1
59841 _ACEOF
59844 done
59846 else
59848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
59849 $as_echo_n "checking for _log10f declaration... " >&6; }
59850 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59851 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
59852 $as_echo_n "(cached) " >&6
59853 else
59856 ac_ext=cpp
59857 ac_cpp='$CXXCPP $CPPFLAGS'
59858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59863 /* end confdefs.h. */
59864 #include <math.h>
59865 #ifdef HAVE_IEEEFP_H
59866 #include <ieeefp.h>
59867 #endif
59870 main ()
59872 _log10f(0);
59874 return 0;
59876 _ACEOF
59877 if ac_fn_cxx_try_compile "$LINENO"; then :
59878 glibcxx_cv_func__log10f_use=yes
59879 else
59880 glibcxx_cv_func__log10f_use=no
59882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59883 ac_ext=c
59884 ac_cpp='$CPP $CPPFLAGS'
59885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
59894 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
59896 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59897 for ac_func in _log10f
59898 do :
59899 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
59900 if test "x$ac_cv_func__log10f" = x""yes; then :
59901 cat >>confdefs.h <<_ACEOF
59902 #define HAVE__LOG10F 1
59903 _ACEOF
59906 done
59915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
59916 $as_echo_n "checking for modff declaration... " >&6; }
59917 if test x${glibcxx_cv_func_modff_use+set} != xset; then
59918 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
59919 $as_echo_n "(cached) " >&6
59920 else
59923 ac_ext=cpp
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59930 /* end confdefs.h. */
59931 #include <math.h>
59933 main ()
59935 modff(0, 0);
59937 return 0;
59939 _ACEOF
59940 if ac_fn_cxx_try_compile "$LINENO"; then :
59941 glibcxx_cv_func_modff_use=yes
59942 else
59943 glibcxx_cv_func_modff_use=no
59945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59946 ac_ext=c
59947 ac_cpp='$CPP $CPPFLAGS'
59948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
59957 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
59959 if test x$glibcxx_cv_func_modff_use = x"yes"; then
59960 for ac_func in modff
59961 do :
59962 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
59963 if test "x$ac_cv_func_modff" = x""yes; then :
59964 cat >>confdefs.h <<_ACEOF
59965 #define HAVE_MODFF 1
59966 _ACEOF
59969 done
59971 else
59973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
59974 $as_echo_n "checking for _modff declaration... " >&6; }
59975 if test x${glibcxx_cv_func__modff_use+set} != xset; then
59976 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
59977 $as_echo_n "(cached) " >&6
59978 else
59981 ac_ext=cpp
59982 ac_cpp='$CXXCPP $CPPFLAGS'
59983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59988 /* end confdefs.h. */
59989 #include <math.h>
59991 main ()
59993 _modff(0, 0);
59995 return 0;
59997 _ACEOF
59998 if ac_fn_cxx_try_compile "$LINENO"; then :
59999 glibcxx_cv_func__modff_use=yes
60000 else
60001 glibcxx_cv_func__modff_use=no
60003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60004 ac_ext=c
60005 ac_cpp='$CPP $CPPFLAGS'
60006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60015 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60017 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60018 for ac_func in _modff
60019 do :
60020 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60021 if test "x$ac_cv_func__modff" = x""yes; then :
60022 cat >>confdefs.h <<_ACEOF
60023 #define HAVE__MODFF 1
60024 _ACEOF
60027 done
60036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60037 $as_echo_n "checking for modf declaration... " >&6; }
60038 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60039 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60040 $as_echo_n "(cached) " >&6
60041 else
60044 ac_ext=cpp
60045 ac_cpp='$CXXCPP $CPPFLAGS'
60046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60051 /* end confdefs.h. */
60052 #include <math.h>
60054 main ()
60056 modf(0, 0);
60058 return 0;
60060 _ACEOF
60061 if ac_fn_cxx_try_compile "$LINENO"; then :
60062 glibcxx_cv_func_modf_use=yes
60063 else
60064 glibcxx_cv_func_modf_use=no
60066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60067 ac_ext=c
60068 ac_cpp='$CPP $CPPFLAGS'
60069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60078 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60080 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60081 for ac_func in modf
60082 do :
60083 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60084 if test "x$ac_cv_func_modf" = x""yes; then :
60085 cat >>confdefs.h <<_ACEOF
60086 #define HAVE_MODF 1
60087 _ACEOF
60090 done
60092 else
60094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60095 $as_echo_n "checking for _modf declaration... " >&6; }
60096 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60097 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60098 $as_echo_n "(cached) " >&6
60099 else
60102 ac_ext=cpp
60103 ac_cpp='$CXXCPP $CPPFLAGS'
60104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60109 /* end confdefs.h. */
60110 #include <math.h>
60112 main ()
60114 _modf(0, 0);
60116 return 0;
60118 _ACEOF
60119 if ac_fn_cxx_try_compile "$LINENO"; then :
60120 glibcxx_cv_func__modf_use=yes
60121 else
60122 glibcxx_cv_func__modf_use=no
60124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60125 ac_ext=c
60126 ac_cpp='$CPP $CPPFLAGS'
60127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60136 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60138 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60139 for ac_func in _modf
60140 do :
60141 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60142 if test "x$ac_cv_func__modf" = x""yes; then :
60143 cat >>confdefs.h <<_ACEOF
60144 #define HAVE__MODF 1
60145 _ACEOF
60148 done
60157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60158 $as_echo_n "checking for powf declaration... " >&6; }
60159 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60160 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60161 $as_echo_n "(cached) " >&6
60162 else
60165 ac_ext=cpp
60166 ac_cpp='$CXXCPP $CPPFLAGS'
60167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60172 /* end confdefs.h. */
60173 #include <math.h>
60175 main ()
60177 powf(0, 0);
60179 return 0;
60181 _ACEOF
60182 if ac_fn_cxx_try_compile "$LINENO"; then :
60183 glibcxx_cv_func_powf_use=yes
60184 else
60185 glibcxx_cv_func_powf_use=no
60187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60188 ac_ext=c
60189 ac_cpp='$CPP $CPPFLAGS'
60190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60199 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60201 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60202 for ac_func in powf
60203 do :
60204 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60205 if test "x$ac_cv_func_powf" = x""yes; then :
60206 cat >>confdefs.h <<_ACEOF
60207 #define HAVE_POWF 1
60208 _ACEOF
60211 done
60213 else
60215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60216 $as_echo_n "checking for _powf declaration... " >&6; }
60217 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60218 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60219 $as_echo_n "(cached) " >&6
60220 else
60223 ac_ext=cpp
60224 ac_cpp='$CXXCPP $CPPFLAGS'
60225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60230 /* end confdefs.h. */
60231 #include <math.h>
60233 main ()
60235 _powf(0, 0);
60237 return 0;
60239 _ACEOF
60240 if ac_fn_cxx_try_compile "$LINENO"; then :
60241 glibcxx_cv_func__powf_use=yes
60242 else
60243 glibcxx_cv_func__powf_use=no
60245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60246 ac_ext=c
60247 ac_cpp='$CPP $CPPFLAGS'
60248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60257 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60259 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60260 for ac_func in _powf
60261 do :
60262 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60263 if test "x$ac_cv_func__powf" = x""yes; then :
60264 cat >>confdefs.h <<_ACEOF
60265 #define HAVE__POWF 1
60266 _ACEOF
60269 done
60278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60279 $as_echo_n "checking for sqrtf declaration... " >&6; }
60280 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60281 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60282 $as_echo_n "(cached) " >&6
60283 else
60286 ac_ext=cpp
60287 ac_cpp='$CXXCPP $CPPFLAGS'
60288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60293 /* end confdefs.h. */
60294 #include <math.h>
60295 #ifdef HAVE_IEEEFP_H
60296 #include <ieeefp.h>
60297 #endif
60300 main ()
60302 sqrtf(0);
60304 return 0;
60306 _ACEOF
60307 if ac_fn_cxx_try_compile "$LINENO"; then :
60308 glibcxx_cv_func_sqrtf_use=yes
60309 else
60310 glibcxx_cv_func_sqrtf_use=no
60312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60313 ac_ext=c
60314 ac_cpp='$CPP $CPPFLAGS'
60315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60324 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60326 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60327 for ac_func in sqrtf
60328 do :
60329 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60330 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60331 cat >>confdefs.h <<_ACEOF
60332 #define HAVE_SQRTF 1
60333 _ACEOF
60336 done
60338 else
60340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60341 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60342 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60343 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60344 $as_echo_n "(cached) " >&6
60345 else
60348 ac_ext=cpp
60349 ac_cpp='$CXXCPP $CPPFLAGS'
60350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60355 /* end confdefs.h. */
60356 #include <math.h>
60357 #ifdef HAVE_IEEEFP_H
60358 #include <ieeefp.h>
60359 #endif
60362 main ()
60364 _sqrtf(0);
60366 return 0;
60368 _ACEOF
60369 if ac_fn_cxx_try_compile "$LINENO"; then :
60370 glibcxx_cv_func__sqrtf_use=yes
60371 else
60372 glibcxx_cv_func__sqrtf_use=no
60374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60375 ac_ext=c
60376 ac_cpp='$CPP $CPPFLAGS'
60377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60386 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60388 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60389 for ac_func in _sqrtf
60390 do :
60391 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60392 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60393 cat >>confdefs.h <<_ACEOF
60394 #define HAVE__SQRTF 1
60395 _ACEOF
60398 done
60407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60408 $as_echo_n "checking for sincosf declaration... " >&6; }
60409 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60410 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60411 $as_echo_n "(cached) " >&6
60412 else
60415 ac_ext=cpp
60416 ac_cpp='$CXXCPP $CPPFLAGS'
60417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60422 /* end confdefs.h. */
60423 #include <math.h>
60425 main ()
60427 sincosf(0, 0, 0);
60429 return 0;
60431 _ACEOF
60432 if ac_fn_cxx_try_compile "$LINENO"; then :
60433 glibcxx_cv_func_sincosf_use=yes
60434 else
60435 glibcxx_cv_func_sincosf_use=no
60437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60438 ac_ext=c
60439 ac_cpp='$CPP $CPPFLAGS'
60440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60449 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60451 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60452 for ac_func in sincosf
60453 do :
60454 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60455 if test "x$ac_cv_func_sincosf" = x""yes; then :
60456 cat >>confdefs.h <<_ACEOF
60457 #define HAVE_SINCOSF 1
60458 _ACEOF
60461 done
60463 else
60465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60466 $as_echo_n "checking for _sincosf declaration... " >&6; }
60467 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60468 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60469 $as_echo_n "(cached) " >&6
60470 else
60473 ac_ext=cpp
60474 ac_cpp='$CXXCPP $CPPFLAGS'
60475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60480 /* end confdefs.h. */
60481 #include <math.h>
60483 main ()
60485 _sincosf(0, 0, 0);
60487 return 0;
60489 _ACEOF
60490 if ac_fn_cxx_try_compile "$LINENO"; then :
60491 glibcxx_cv_func__sincosf_use=yes
60492 else
60493 glibcxx_cv_func__sincosf_use=no
60495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60496 ac_ext=c
60497 ac_cpp='$CPP $CPPFLAGS'
60498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60507 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60509 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60510 for ac_func in _sincosf
60511 do :
60512 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60513 if test "x$ac_cv_func__sincosf" = x""yes; then :
60514 cat >>confdefs.h <<_ACEOF
60515 #define HAVE__SINCOSF 1
60516 _ACEOF
60519 done
60528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60529 $as_echo_n "checking for finitef declaration... " >&6; }
60530 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60531 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60532 $as_echo_n "(cached) " >&6
60533 else
60536 ac_ext=cpp
60537 ac_cpp='$CXXCPP $CPPFLAGS'
60538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60543 /* end confdefs.h. */
60544 #include <math.h>
60545 #ifdef HAVE_IEEEFP_H
60546 #include <ieeefp.h>
60547 #endif
60550 main ()
60552 finitef(0);
60554 return 0;
60556 _ACEOF
60557 if ac_fn_cxx_try_compile "$LINENO"; then :
60558 glibcxx_cv_func_finitef_use=yes
60559 else
60560 glibcxx_cv_func_finitef_use=no
60562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60563 ac_ext=c
60564 ac_cpp='$CPP $CPPFLAGS'
60565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
60574 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60576 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60577 for ac_func in finitef
60578 do :
60579 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60580 if test "x$ac_cv_func_finitef" = x""yes; then :
60581 cat >>confdefs.h <<_ACEOF
60582 #define HAVE_FINITEF 1
60583 _ACEOF
60586 done
60588 else
60590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60591 $as_echo_n "checking for _finitef declaration... " >&6; }
60592 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60593 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
60594 $as_echo_n "(cached) " >&6
60595 else
60598 ac_ext=cpp
60599 ac_cpp='$CXXCPP $CPPFLAGS'
60600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60605 /* end confdefs.h. */
60606 #include <math.h>
60607 #ifdef HAVE_IEEEFP_H
60608 #include <ieeefp.h>
60609 #endif
60612 main ()
60614 _finitef(0);
60616 return 0;
60618 _ACEOF
60619 if ac_fn_cxx_try_compile "$LINENO"; then :
60620 glibcxx_cv_func__finitef_use=yes
60621 else
60622 glibcxx_cv_func__finitef_use=no
60624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60625 ac_ext=c
60626 ac_cpp='$CPP $CPPFLAGS'
60627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
60636 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
60638 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
60639 for ac_func in _finitef
60640 do :
60641 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
60642 if test "x$ac_cv_func__finitef" = x""yes; then :
60643 cat >>confdefs.h <<_ACEOF
60644 #define HAVE__FINITEF 1
60645 _ACEOF
60648 done
60657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
60658 $as_echo_n "checking for long double trig functions... " >&6; }
60659 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
60660 $as_echo_n "(cached) " >&6
60661 else
60664 ac_ext=cpp
60665 ac_cpp='$CXXCPP $CPPFLAGS'
60666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60671 /* end confdefs.h. */
60672 #include <math.h>
60674 main ()
60676 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
60678 return 0;
60680 _ACEOF
60681 if ac_fn_cxx_try_compile "$LINENO"; then :
60682 glibcxx_cv_func_long_double_trig_use=yes
60683 else
60684 glibcxx_cv_func_long_double_trig_use=no
60686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60687 ac_ext=c
60688 ac_cpp='$CPP $CPPFLAGS'
60689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
60696 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
60697 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
60698 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
60699 do :
60700 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60701 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60702 eval as_val=\$$as_ac_var
60703 if test "x$as_val" = x""yes; then :
60704 cat >>confdefs.h <<_ACEOF
60705 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60706 _ACEOF
60709 done
60711 else
60712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
60713 $as_echo_n "checking for _long double trig functions... " >&6; }
60714 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
60715 $as_echo_n "(cached) " >&6
60716 else
60719 ac_ext=cpp
60720 ac_cpp='$CXXCPP $CPPFLAGS'
60721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60726 /* end confdefs.h. */
60727 #include <math.h>
60729 main ()
60731 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
60733 return 0;
60735 _ACEOF
60736 if ac_fn_cxx_try_compile "$LINENO"; then :
60737 glibcxx_cv_func__long_double_trig_use=yes
60738 else
60739 glibcxx_cv_func__long_double_trig_use=no
60741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60742 ac_ext=c
60743 ac_cpp='$CPP $CPPFLAGS'
60744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
60751 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
60752 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
60753 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
60754 do :
60755 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60756 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60757 eval as_val=\$$as_ac_var
60758 if test "x$as_val" = x""yes; then :
60759 cat >>confdefs.h <<_ACEOF
60760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60761 _ACEOF
60764 done
60773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
60774 $as_echo_n "checking for long double round functions... " >&6; }
60775 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
60776 $as_echo_n "(cached) " >&6
60777 else
60780 ac_ext=cpp
60781 ac_cpp='$CXXCPP $CPPFLAGS'
60782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60787 /* end confdefs.h. */
60788 #include <math.h>
60790 main ()
60792 ceill (0); floorl (0);
60794 return 0;
60796 _ACEOF
60797 if ac_fn_cxx_try_compile "$LINENO"; then :
60798 glibcxx_cv_func_long_double_round_use=yes
60799 else
60800 glibcxx_cv_func_long_double_round_use=no
60802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60803 ac_ext=c
60804 ac_cpp='$CPP $CPPFLAGS'
60805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
60812 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
60813 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
60814 for ac_func in ceill floorl
60815 do :
60816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60818 eval as_val=\$$as_ac_var
60819 if test "x$as_val" = x""yes; then :
60820 cat >>confdefs.h <<_ACEOF
60821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60822 _ACEOF
60825 done
60827 else
60828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
60829 $as_echo_n "checking for _long double round functions... " >&6; }
60830 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
60831 $as_echo_n "(cached) " >&6
60832 else
60835 ac_ext=cpp
60836 ac_cpp='$CXXCPP $CPPFLAGS'
60837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60842 /* end confdefs.h. */
60843 #include <math.h>
60845 main ()
60847 _ceill (0); _floorl (0);
60849 return 0;
60851 _ACEOF
60852 if ac_fn_cxx_try_compile "$LINENO"; then :
60853 glibcxx_cv_func__long_double_round_use=yes
60854 else
60855 glibcxx_cv_func__long_double_round_use=no
60857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60858 ac_ext=c
60859 ac_cpp='$CPP $CPPFLAGS'
60860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
60867 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
60868 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
60869 for ac_func in _ceill _floorl
60870 do :
60871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60873 eval as_val=\$$as_ac_var
60874 if test "x$as_val" = x""yes; then :
60875 cat >>confdefs.h <<_ACEOF
60876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60877 _ACEOF
60880 done
60890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
60891 $as_echo_n "checking for isnanl declaration... " >&6; }
60892 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
60893 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
60894 $as_echo_n "(cached) " >&6
60895 else
60898 ac_ext=cpp
60899 ac_cpp='$CXXCPP $CPPFLAGS'
60900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60905 /* end confdefs.h. */
60906 #include <math.h>
60907 #ifdef HAVE_IEEEFP_H
60908 #include <ieeefp.h>
60909 #endif
60912 main ()
60914 isnanl(0);
60916 return 0;
60918 _ACEOF
60919 if ac_fn_cxx_try_compile "$LINENO"; then :
60920 glibcxx_cv_func_isnanl_use=yes
60921 else
60922 glibcxx_cv_func_isnanl_use=no
60924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60925 ac_ext=c
60926 ac_cpp='$CPP $CPPFLAGS'
60927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
60936 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
60938 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
60939 for ac_func in isnanl
60940 do :
60941 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
60942 if test "x$ac_cv_func_isnanl" = x""yes; then :
60943 cat >>confdefs.h <<_ACEOF
60944 #define HAVE_ISNANL 1
60945 _ACEOF
60948 done
60950 else
60952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
60953 $as_echo_n "checking for _isnanl declaration... " >&6; }
60954 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
60955 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
60956 $as_echo_n "(cached) " >&6
60957 else
60960 ac_ext=cpp
60961 ac_cpp='$CXXCPP $CPPFLAGS'
60962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60967 /* end confdefs.h. */
60968 #include <math.h>
60969 #ifdef HAVE_IEEEFP_H
60970 #include <ieeefp.h>
60971 #endif
60974 main ()
60976 _isnanl(0);
60978 return 0;
60980 _ACEOF
60981 if ac_fn_cxx_try_compile "$LINENO"; then :
60982 glibcxx_cv_func__isnanl_use=yes
60983 else
60984 glibcxx_cv_func__isnanl_use=no
60986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60987 ac_ext=c
60988 ac_cpp='$CPP $CPPFLAGS'
60989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
60998 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61000 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61001 for ac_func in _isnanl
61002 do :
61003 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61004 if test "x$ac_cv_func__isnanl" = x""yes; then :
61005 cat >>confdefs.h <<_ACEOF
61006 #define HAVE__ISNANL 1
61007 _ACEOF
61010 done
61019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61020 $as_echo_n "checking for isinfl declaration... " >&6; }
61021 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61022 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61023 $as_echo_n "(cached) " >&6
61024 else
61027 ac_ext=cpp
61028 ac_cpp='$CXXCPP $CPPFLAGS'
61029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61034 /* end confdefs.h. */
61035 #include <math.h>
61036 #ifdef HAVE_IEEEFP_H
61037 #include <ieeefp.h>
61038 #endif
61041 main ()
61043 isinfl(0);
61045 return 0;
61047 _ACEOF
61048 if ac_fn_cxx_try_compile "$LINENO"; then :
61049 glibcxx_cv_func_isinfl_use=yes
61050 else
61051 glibcxx_cv_func_isinfl_use=no
61053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61054 ac_ext=c
61055 ac_cpp='$CPP $CPPFLAGS'
61056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61065 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61067 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61068 for ac_func in isinfl
61069 do :
61070 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61071 if test "x$ac_cv_func_isinfl" = x""yes; then :
61072 cat >>confdefs.h <<_ACEOF
61073 #define HAVE_ISINFL 1
61074 _ACEOF
61077 done
61079 else
61081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61082 $as_echo_n "checking for _isinfl declaration... " >&6; }
61083 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61084 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61085 $as_echo_n "(cached) " >&6
61086 else
61089 ac_ext=cpp
61090 ac_cpp='$CXXCPP $CPPFLAGS'
61091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61096 /* end confdefs.h. */
61097 #include <math.h>
61098 #ifdef HAVE_IEEEFP_H
61099 #include <ieeefp.h>
61100 #endif
61103 main ()
61105 _isinfl(0);
61107 return 0;
61109 _ACEOF
61110 if ac_fn_cxx_try_compile "$LINENO"; then :
61111 glibcxx_cv_func__isinfl_use=yes
61112 else
61113 glibcxx_cv_func__isinfl_use=no
61115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61116 ac_ext=c
61117 ac_cpp='$CPP $CPPFLAGS'
61118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61127 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61129 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61130 for ac_func in _isinfl
61131 do :
61132 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61133 if test "x$ac_cv_func__isinfl" = x""yes; then :
61134 cat >>confdefs.h <<_ACEOF
61135 #define HAVE__ISINFL 1
61136 _ACEOF
61139 done
61148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61149 $as_echo_n "checking for atan2l declaration... " >&6; }
61150 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61151 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61152 $as_echo_n "(cached) " >&6
61153 else
61156 ac_ext=cpp
61157 ac_cpp='$CXXCPP $CPPFLAGS'
61158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61163 /* end confdefs.h. */
61164 #include <math.h>
61166 main ()
61168 atan2l(0, 0);
61170 return 0;
61172 _ACEOF
61173 if ac_fn_cxx_try_compile "$LINENO"; then :
61174 glibcxx_cv_func_atan2l_use=yes
61175 else
61176 glibcxx_cv_func_atan2l_use=no
61178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61179 ac_ext=c
61180 ac_cpp='$CPP $CPPFLAGS'
61181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61190 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61192 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61193 for ac_func in atan2l
61194 do :
61195 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61196 if test "x$ac_cv_func_atan2l" = x""yes; then :
61197 cat >>confdefs.h <<_ACEOF
61198 #define HAVE_ATAN2L 1
61199 _ACEOF
61202 done
61204 else
61206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61207 $as_echo_n "checking for _atan2l declaration... " >&6; }
61208 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61209 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61210 $as_echo_n "(cached) " >&6
61211 else
61214 ac_ext=cpp
61215 ac_cpp='$CXXCPP $CPPFLAGS'
61216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61221 /* end confdefs.h. */
61222 #include <math.h>
61224 main ()
61226 _atan2l(0, 0);
61228 return 0;
61230 _ACEOF
61231 if ac_fn_cxx_try_compile "$LINENO"; then :
61232 glibcxx_cv_func__atan2l_use=yes
61233 else
61234 glibcxx_cv_func__atan2l_use=no
61236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61237 ac_ext=c
61238 ac_cpp='$CPP $CPPFLAGS'
61239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61248 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61250 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61251 for ac_func in _atan2l
61252 do :
61253 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61254 if test "x$ac_cv_func__atan2l" = x""yes; then :
61255 cat >>confdefs.h <<_ACEOF
61256 #define HAVE__ATAN2L 1
61257 _ACEOF
61260 done
61269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61270 $as_echo_n "checking for expl declaration... " >&6; }
61271 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61272 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61273 $as_echo_n "(cached) " >&6
61274 else
61277 ac_ext=cpp
61278 ac_cpp='$CXXCPP $CPPFLAGS'
61279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61284 /* end confdefs.h. */
61285 #include <math.h>
61286 #ifdef HAVE_IEEEFP_H
61287 #include <ieeefp.h>
61288 #endif
61291 main ()
61293 expl(0);
61295 return 0;
61297 _ACEOF
61298 if ac_fn_cxx_try_compile "$LINENO"; then :
61299 glibcxx_cv_func_expl_use=yes
61300 else
61301 glibcxx_cv_func_expl_use=no
61303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61304 ac_ext=c
61305 ac_cpp='$CPP $CPPFLAGS'
61306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61315 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61317 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61318 for ac_func in expl
61319 do :
61320 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61321 if test "x$ac_cv_func_expl" = x""yes; then :
61322 cat >>confdefs.h <<_ACEOF
61323 #define HAVE_EXPL 1
61324 _ACEOF
61327 done
61329 else
61331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61332 $as_echo_n "checking for _expl declaration... " >&6; }
61333 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61334 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61335 $as_echo_n "(cached) " >&6
61336 else
61339 ac_ext=cpp
61340 ac_cpp='$CXXCPP $CPPFLAGS'
61341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61346 /* end confdefs.h. */
61347 #include <math.h>
61348 #ifdef HAVE_IEEEFP_H
61349 #include <ieeefp.h>
61350 #endif
61353 main ()
61355 _expl(0);
61357 return 0;
61359 _ACEOF
61360 if ac_fn_cxx_try_compile "$LINENO"; then :
61361 glibcxx_cv_func__expl_use=yes
61362 else
61363 glibcxx_cv_func__expl_use=no
61365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61366 ac_ext=c
61367 ac_cpp='$CPP $CPPFLAGS'
61368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61377 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61379 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61380 for ac_func in _expl
61381 do :
61382 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61383 if test "x$ac_cv_func__expl" = x""yes; then :
61384 cat >>confdefs.h <<_ACEOF
61385 #define HAVE__EXPL 1
61386 _ACEOF
61389 done
61398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61399 $as_echo_n "checking for fabsl declaration... " >&6; }
61400 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61401 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61402 $as_echo_n "(cached) " >&6
61403 else
61406 ac_ext=cpp
61407 ac_cpp='$CXXCPP $CPPFLAGS'
61408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61413 /* end confdefs.h. */
61414 #include <math.h>
61415 #ifdef HAVE_IEEEFP_H
61416 #include <ieeefp.h>
61417 #endif
61420 main ()
61422 fabsl(0);
61424 return 0;
61426 _ACEOF
61427 if ac_fn_cxx_try_compile "$LINENO"; then :
61428 glibcxx_cv_func_fabsl_use=yes
61429 else
61430 glibcxx_cv_func_fabsl_use=no
61432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61433 ac_ext=c
61434 ac_cpp='$CPP $CPPFLAGS'
61435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61444 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61446 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61447 for ac_func in fabsl
61448 do :
61449 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61450 if test "x$ac_cv_func_fabsl" = x""yes; then :
61451 cat >>confdefs.h <<_ACEOF
61452 #define HAVE_FABSL 1
61453 _ACEOF
61456 done
61458 else
61460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61461 $as_echo_n "checking for _fabsl declaration... " >&6; }
61462 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61463 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61464 $as_echo_n "(cached) " >&6
61465 else
61468 ac_ext=cpp
61469 ac_cpp='$CXXCPP $CPPFLAGS'
61470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61475 /* end confdefs.h. */
61476 #include <math.h>
61477 #ifdef HAVE_IEEEFP_H
61478 #include <ieeefp.h>
61479 #endif
61482 main ()
61484 _fabsl(0);
61486 return 0;
61488 _ACEOF
61489 if ac_fn_cxx_try_compile "$LINENO"; then :
61490 glibcxx_cv_func__fabsl_use=yes
61491 else
61492 glibcxx_cv_func__fabsl_use=no
61494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61495 ac_ext=c
61496 ac_cpp='$CPP $CPPFLAGS'
61497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61506 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61508 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61509 for ac_func in _fabsl
61510 do :
61511 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61512 if test "x$ac_cv_func__fabsl" = x""yes; then :
61513 cat >>confdefs.h <<_ACEOF
61514 #define HAVE__FABSL 1
61515 _ACEOF
61518 done
61527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61528 $as_echo_n "checking for fmodl declaration... " >&6; }
61529 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61530 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61531 $as_echo_n "(cached) " >&6
61532 else
61535 ac_ext=cpp
61536 ac_cpp='$CXXCPP $CPPFLAGS'
61537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61542 /* end confdefs.h. */
61543 #include <math.h>
61545 main ()
61547 fmodl(0, 0);
61549 return 0;
61551 _ACEOF
61552 if ac_fn_cxx_try_compile "$LINENO"; then :
61553 glibcxx_cv_func_fmodl_use=yes
61554 else
61555 glibcxx_cv_func_fmodl_use=no
61557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61558 ac_ext=c
61559 ac_cpp='$CPP $CPPFLAGS'
61560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
61569 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61571 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61572 for ac_func in fmodl
61573 do :
61574 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61575 if test "x$ac_cv_func_fmodl" = x""yes; then :
61576 cat >>confdefs.h <<_ACEOF
61577 #define HAVE_FMODL 1
61578 _ACEOF
61581 done
61583 else
61585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61586 $as_echo_n "checking for _fmodl declaration... " >&6; }
61587 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61588 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
61589 $as_echo_n "(cached) " >&6
61590 else
61593 ac_ext=cpp
61594 ac_cpp='$CXXCPP $CPPFLAGS'
61595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61600 /* end confdefs.h. */
61601 #include <math.h>
61603 main ()
61605 _fmodl(0, 0);
61607 return 0;
61609 _ACEOF
61610 if ac_fn_cxx_try_compile "$LINENO"; then :
61611 glibcxx_cv_func__fmodl_use=yes
61612 else
61613 glibcxx_cv_func__fmodl_use=no
61615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61616 ac_ext=c
61617 ac_cpp='$CPP $CPPFLAGS'
61618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
61627 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
61629 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
61630 for ac_func in _fmodl
61631 do :
61632 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
61633 if test "x$ac_cv_func__fmodl" = x""yes; then :
61634 cat >>confdefs.h <<_ACEOF
61635 #define HAVE__FMODL 1
61636 _ACEOF
61639 done
61648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
61649 $as_echo_n "checking for frexpl declaration... " >&6; }
61650 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
61651 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
61652 $as_echo_n "(cached) " >&6
61653 else
61656 ac_ext=cpp
61657 ac_cpp='$CXXCPP $CPPFLAGS'
61658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61663 /* end confdefs.h. */
61664 #include <math.h>
61666 main ()
61668 frexpl(0, 0);
61670 return 0;
61672 _ACEOF
61673 if ac_fn_cxx_try_compile "$LINENO"; then :
61674 glibcxx_cv_func_frexpl_use=yes
61675 else
61676 glibcxx_cv_func_frexpl_use=no
61678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61679 ac_ext=c
61680 ac_cpp='$CPP $CPPFLAGS'
61681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
61690 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
61692 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
61693 for ac_func in frexpl
61694 do :
61695 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
61696 if test "x$ac_cv_func_frexpl" = x""yes; then :
61697 cat >>confdefs.h <<_ACEOF
61698 #define HAVE_FREXPL 1
61699 _ACEOF
61702 done
61704 else
61706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
61707 $as_echo_n "checking for _frexpl declaration... " >&6; }
61708 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
61709 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
61710 $as_echo_n "(cached) " >&6
61711 else
61714 ac_ext=cpp
61715 ac_cpp='$CXXCPP $CPPFLAGS'
61716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61721 /* end confdefs.h. */
61722 #include <math.h>
61724 main ()
61726 _frexpl(0, 0);
61728 return 0;
61730 _ACEOF
61731 if ac_fn_cxx_try_compile "$LINENO"; then :
61732 glibcxx_cv_func__frexpl_use=yes
61733 else
61734 glibcxx_cv_func__frexpl_use=no
61736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61737 ac_ext=c
61738 ac_cpp='$CPP $CPPFLAGS'
61739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
61748 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
61750 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
61751 for ac_func in _frexpl
61752 do :
61753 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
61754 if test "x$ac_cv_func__frexpl" = x""yes; then :
61755 cat >>confdefs.h <<_ACEOF
61756 #define HAVE__FREXPL 1
61757 _ACEOF
61760 done
61769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
61770 $as_echo_n "checking for hypotl declaration... " >&6; }
61771 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
61772 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
61773 $as_echo_n "(cached) " >&6
61774 else
61777 ac_ext=cpp
61778 ac_cpp='$CXXCPP $CPPFLAGS'
61779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61784 /* end confdefs.h. */
61785 #include <math.h>
61787 main ()
61789 hypotl(0, 0);
61791 return 0;
61793 _ACEOF
61794 if ac_fn_cxx_try_compile "$LINENO"; then :
61795 glibcxx_cv_func_hypotl_use=yes
61796 else
61797 glibcxx_cv_func_hypotl_use=no
61799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61800 ac_ext=c
61801 ac_cpp='$CPP $CPPFLAGS'
61802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
61811 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
61813 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
61814 for ac_func in hypotl
61815 do :
61816 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
61817 if test "x$ac_cv_func_hypotl" = x""yes; then :
61818 cat >>confdefs.h <<_ACEOF
61819 #define HAVE_HYPOTL 1
61820 _ACEOF
61823 done
61825 else
61827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
61828 $as_echo_n "checking for _hypotl declaration... " >&6; }
61829 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
61830 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
61831 $as_echo_n "(cached) " >&6
61832 else
61835 ac_ext=cpp
61836 ac_cpp='$CXXCPP $CPPFLAGS'
61837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61842 /* end confdefs.h. */
61843 #include <math.h>
61845 main ()
61847 _hypotl(0, 0);
61849 return 0;
61851 _ACEOF
61852 if ac_fn_cxx_try_compile "$LINENO"; then :
61853 glibcxx_cv_func__hypotl_use=yes
61854 else
61855 glibcxx_cv_func__hypotl_use=no
61857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61858 ac_ext=c
61859 ac_cpp='$CPP $CPPFLAGS'
61860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
61869 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
61871 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
61872 for ac_func in _hypotl
61873 do :
61874 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
61875 if test "x$ac_cv_func__hypotl" = x""yes; then :
61876 cat >>confdefs.h <<_ACEOF
61877 #define HAVE__HYPOTL 1
61878 _ACEOF
61881 done
61890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
61891 $as_echo_n "checking for ldexpl declaration... " >&6; }
61892 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
61893 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
61894 $as_echo_n "(cached) " >&6
61895 else
61898 ac_ext=cpp
61899 ac_cpp='$CXXCPP $CPPFLAGS'
61900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61905 /* end confdefs.h. */
61906 #include <math.h>
61908 main ()
61910 ldexpl(0, 0);
61912 return 0;
61914 _ACEOF
61915 if ac_fn_cxx_try_compile "$LINENO"; then :
61916 glibcxx_cv_func_ldexpl_use=yes
61917 else
61918 glibcxx_cv_func_ldexpl_use=no
61920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61921 ac_ext=c
61922 ac_cpp='$CPP $CPPFLAGS'
61923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
61932 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
61934 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
61935 for ac_func in ldexpl
61936 do :
61937 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
61938 if test "x$ac_cv_func_ldexpl" = x""yes; then :
61939 cat >>confdefs.h <<_ACEOF
61940 #define HAVE_LDEXPL 1
61941 _ACEOF
61944 done
61946 else
61948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
61949 $as_echo_n "checking for _ldexpl declaration... " >&6; }
61950 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
61951 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
61952 $as_echo_n "(cached) " >&6
61953 else
61956 ac_ext=cpp
61957 ac_cpp='$CXXCPP $CPPFLAGS'
61958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61963 /* end confdefs.h. */
61964 #include <math.h>
61966 main ()
61968 _ldexpl(0, 0);
61970 return 0;
61972 _ACEOF
61973 if ac_fn_cxx_try_compile "$LINENO"; then :
61974 glibcxx_cv_func__ldexpl_use=yes
61975 else
61976 glibcxx_cv_func__ldexpl_use=no
61978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61979 ac_ext=c
61980 ac_cpp='$CPP $CPPFLAGS'
61981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
61990 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
61992 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
61993 for ac_func in _ldexpl
61994 do :
61995 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
61996 if test "x$ac_cv_func__ldexpl" = x""yes; then :
61997 cat >>confdefs.h <<_ACEOF
61998 #define HAVE__LDEXPL 1
61999 _ACEOF
62002 done
62011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62012 $as_echo_n "checking for logl declaration... " >&6; }
62013 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62014 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62015 $as_echo_n "(cached) " >&6
62016 else
62019 ac_ext=cpp
62020 ac_cpp='$CXXCPP $CPPFLAGS'
62021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62026 /* end confdefs.h. */
62027 #include <math.h>
62028 #ifdef HAVE_IEEEFP_H
62029 #include <ieeefp.h>
62030 #endif
62033 main ()
62035 logl(0);
62037 return 0;
62039 _ACEOF
62040 if ac_fn_cxx_try_compile "$LINENO"; then :
62041 glibcxx_cv_func_logl_use=yes
62042 else
62043 glibcxx_cv_func_logl_use=no
62045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62046 ac_ext=c
62047 ac_cpp='$CPP $CPPFLAGS'
62048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62057 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62059 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62060 for ac_func in logl
62061 do :
62062 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62063 if test "x$ac_cv_func_logl" = x""yes; then :
62064 cat >>confdefs.h <<_ACEOF
62065 #define HAVE_LOGL 1
62066 _ACEOF
62069 done
62071 else
62073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62074 $as_echo_n "checking for _logl declaration... " >&6; }
62075 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62076 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62077 $as_echo_n "(cached) " >&6
62078 else
62081 ac_ext=cpp
62082 ac_cpp='$CXXCPP $CPPFLAGS'
62083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62088 /* end confdefs.h. */
62089 #include <math.h>
62090 #ifdef HAVE_IEEEFP_H
62091 #include <ieeefp.h>
62092 #endif
62095 main ()
62097 _logl(0);
62099 return 0;
62101 _ACEOF
62102 if ac_fn_cxx_try_compile "$LINENO"; then :
62103 glibcxx_cv_func__logl_use=yes
62104 else
62105 glibcxx_cv_func__logl_use=no
62107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62108 ac_ext=c
62109 ac_cpp='$CPP $CPPFLAGS'
62110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62119 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62121 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62122 for ac_func in _logl
62123 do :
62124 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62125 if test "x$ac_cv_func__logl" = x""yes; then :
62126 cat >>confdefs.h <<_ACEOF
62127 #define HAVE__LOGL 1
62128 _ACEOF
62131 done
62140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62141 $as_echo_n "checking for log10l declaration... " >&6; }
62142 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62143 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62144 $as_echo_n "(cached) " >&6
62145 else
62148 ac_ext=cpp
62149 ac_cpp='$CXXCPP $CPPFLAGS'
62150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62155 /* end confdefs.h. */
62156 #include <math.h>
62157 #ifdef HAVE_IEEEFP_H
62158 #include <ieeefp.h>
62159 #endif
62162 main ()
62164 log10l(0);
62166 return 0;
62168 _ACEOF
62169 if ac_fn_cxx_try_compile "$LINENO"; then :
62170 glibcxx_cv_func_log10l_use=yes
62171 else
62172 glibcxx_cv_func_log10l_use=no
62174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62175 ac_ext=c
62176 ac_cpp='$CPP $CPPFLAGS'
62177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62186 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62188 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62189 for ac_func in log10l
62190 do :
62191 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62192 if test "x$ac_cv_func_log10l" = x""yes; then :
62193 cat >>confdefs.h <<_ACEOF
62194 #define HAVE_LOG10L 1
62195 _ACEOF
62198 done
62200 else
62202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62203 $as_echo_n "checking for _log10l declaration... " >&6; }
62204 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62205 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62206 $as_echo_n "(cached) " >&6
62207 else
62210 ac_ext=cpp
62211 ac_cpp='$CXXCPP $CPPFLAGS'
62212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62217 /* end confdefs.h. */
62218 #include <math.h>
62219 #ifdef HAVE_IEEEFP_H
62220 #include <ieeefp.h>
62221 #endif
62224 main ()
62226 _log10l(0);
62228 return 0;
62230 _ACEOF
62231 if ac_fn_cxx_try_compile "$LINENO"; then :
62232 glibcxx_cv_func__log10l_use=yes
62233 else
62234 glibcxx_cv_func__log10l_use=no
62236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62237 ac_ext=c
62238 ac_cpp='$CPP $CPPFLAGS'
62239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62248 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62250 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62251 for ac_func in _log10l
62252 do :
62253 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62254 if test "x$ac_cv_func__log10l" = x""yes; then :
62255 cat >>confdefs.h <<_ACEOF
62256 #define HAVE__LOG10L 1
62257 _ACEOF
62260 done
62269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62270 $as_echo_n "checking for modfl declaration... " >&6; }
62271 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62272 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62273 $as_echo_n "(cached) " >&6
62274 else
62277 ac_ext=cpp
62278 ac_cpp='$CXXCPP $CPPFLAGS'
62279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62284 /* end confdefs.h. */
62285 #include <math.h>
62287 main ()
62289 modfl(0, 0);
62291 return 0;
62293 _ACEOF
62294 if ac_fn_cxx_try_compile "$LINENO"; then :
62295 glibcxx_cv_func_modfl_use=yes
62296 else
62297 glibcxx_cv_func_modfl_use=no
62299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62300 ac_ext=c
62301 ac_cpp='$CPP $CPPFLAGS'
62302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62311 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62313 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62314 for ac_func in modfl
62315 do :
62316 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62317 if test "x$ac_cv_func_modfl" = x""yes; then :
62318 cat >>confdefs.h <<_ACEOF
62319 #define HAVE_MODFL 1
62320 _ACEOF
62323 done
62325 else
62327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62328 $as_echo_n "checking for _modfl declaration... " >&6; }
62329 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62330 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62331 $as_echo_n "(cached) " >&6
62332 else
62335 ac_ext=cpp
62336 ac_cpp='$CXXCPP $CPPFLAGS'
62337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62342 /* end confdefs.h. */
62343 #include <math.h>
62345 main ()
62347 _modfl(0, 0);
62349 return 0;
62351 _ACEOF
62352 if ac_fn_cxx_try_compile "$LINENO"; then :
62353 glibcxx_cv_func__modfl_use=yes
62354 else
62355 glibcxx_cv_func__modfl_use=no
62357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62358 ac_ext=c
62359 ac_cpp='$CPP $CPPFLAGS'
62360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62369 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62371 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62372 for ac_func in _modfl
62373 do :
62374 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62375 if test "x$ac_cv_func__modfl" = x""yes; then :
62376 cat >>confdefs.h <<_ACEOF
62377 #define HAVE__MODFL 1
62378 _ACEOF
62381 done
62390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62391 $as_echo_n "checking for powl declaration... " >&6; }
62392 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62393 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62394 $as_echo_n "(cached) " >&6
62395 else
62398 ac_ext=cpp
62399 ac_cpp='$CXXCPP $CPPFLAGS'
62400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62405 /* end confdefs.h. */
62406 #include <math.h>
62408 main ()
62410 powl(0, 0);
62412 return 0;
62414 _ACEOF
62415 if ac_fn_cxx_try_compile "$LINENO"; then :
62416 glibcxx_cv_func_powl_use=yes
62417 else
62418 glibcxx_cv_func_powl_use=no
62420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62421 ac_ext=c
62422 ac_cpp='$CPP $CPPFLAGS'
62423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62432 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62434 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62435 for ac_func in powl
62436 do :
62437 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62438 if test "x$ac_cv_func_powl" = x""yes; then :
62439 cat >>confdefs.h <<_ACEOF
62440 #define HAVE_POWL 1
62441 _ACEOF
62444 done
62446 else
62448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62449 $as_echo_n "checking for _powl declaration... " >&6; }
62450 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62451 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62452 $as_echo_n "(cached) " >&6
62453 else
62456 ac_ext=cpp
62457 ac_cpp='$CXXCPP $CPPFLAGS'
62458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62463 /* end confdefs.h. */
62464 #include <math.h>
62466 main ()
62468 _powl(0, 0);
62470 return 0;
62472 _ACEOF
62473 if ac_fn_cxx_try_compile "$LINENO"; then :
62474 glibcxx_cv_func__powl_use=yes
62475 else
62476 glibcxx_cv_func__powl_use=no
62478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62479 ac_ext=c
62480 ac_cpp='$CPP $CPPFLAGS'
62481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62490 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62492 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62493 for ac_func in _powl
62494 do :
62495 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62496 if test "x$ac_cv_func__powl" = x""yes; then :
62497 cat >>confdefs.h <<_ACEOF
62498 #define HAVE__POWL 1
62499 _ACEOF
62502 done
62511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62512 $as_echo_n "checking for sqrtl declaration... " >&6; }
62513 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62514 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62515 $as_echo_n "(cached) " >&6
62516 else
62519 ac_ext=cpp
62520 ac_cpp='$CXXCPP $CPPFLAGS'
62521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62526 /* end confdefs.h. */
62527 #include <math.h>
62528 #ifdef HAVE_IEEEFP_H
62529 #include <ieeefp.h>
62530 #endif
62533 main ()
62535 sqrtl(0);
62537 return 0;
62539 _ACEOF
62540 if ac_fn_cxx_try_compile "$LINENO"; then :
62541 glibcxx_cv_func_sqrtl_use=yes
62542 else
62543 glibcxx_cv_func_sqrtl_use=no
62545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62546 ac_ext=c
62547 ac_cpp='$CPP $CPPFLAGS'
62548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62557 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62559 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62560 for ac_func in sqrtl
62561 do :
62562 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62563 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62564 cat >>confdefs.h <<_ACEOF
62565 #define HAVE_SQRTL 1
62566 _ACEOF
62569 done
62571 else
62573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62574 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62575 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62576 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62577 $as_echo_n "(cached) " >&6
62578 else
62581 ac_ext=cpp
62582 ac_cpp='$CXXCPP $CPPFLAGS'
62583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62588 /* end confdefs.h. */
62589 #include <math.h>
62590 #ifdef HAVE_IEEEFP_H
62591 #include <ieeefp.h>
62592 #endif
62595 main ()
62597 _sqrtl(0);
62599 return 0;
62601 _ACEOF
62602 if ac_fn_cxx_try_compile "$LINENO"; then :
62603 glibcxx_cv_func__sqrtl_use=yes
62604 else
62605 glibcxx_cv_func__sqrtl_use=no
62607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62608 ac_ext=c
62609 ac_cpp='$CPP $CPPFLAGS'
62610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62619 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
62621 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
62622 for ac_func in _sqrtl
62623 do :
62624 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
62625 if test "x$ac_cv_func__sqrtl" = x""yes; then :
62626 cat >>confdefs.h <<_ACEOF
62627 #define HAVE__SQRTL 1
62628 _ACEOF
62631 done
62640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
62641 $as_echo_n "checking for sincosl declaration... " >&6; }
62642 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
62643 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
62644 $as_echo_n "(cached) " >&6
62645 else
62648 ac_ext=cpp
62649 ac_cpp='$CXXCPP $CPPFLAGS'
62650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62655 /* end confdefs.h. */
62656 #include <math.h>
62658 main ()
62660 sincosl(0, 0, 0);
62662 return 0;
62664 _ACEOF
62665 if ac_fn_cxx_try_compile "$LINENO"; then :
62666 glibcxx_cv_func_sincosl_use=yes
62667 else
62668 glibcxx_cv_func_sincosl_use=no
62670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62671 ac_ext=c
62672 ac_cpp='$CPP $CPPFLAGS'
62673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
62682 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
62684 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
62685 for ac_func in sincosl
62686 do :
62687 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
62688 if test "x$ac_cv_func_sincosl" = x""yes; then :
62689 cat >>confdefs.h <<_ACEOF
62690 #define HAVE_SINCOSL 1
62691 _ACEOF
62694 done
62696 else
62698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
62699 $as_echo_n "checking for _sincosl declaration... " >&6; }
62700 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
62701 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
62702 $as_echo_n "(cached) " >&6
62703 else
62706 ac_ext=cpp
62707 ac_cpp='$CXXCPP $CPPFLAGS'
62708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62713 /* end confdefs.h. */
62714 #include <math.h>
62716 main ()
62718 _sincosl(0, 0, 0);
62720 return 0;
62722 _ACEOF
62723 if ac_fn_cxx_try_compile "$LINENO"; then :
62724 glibcxx_cv_func__sincosl_use=yes
62725 else
62726 glibcxx_cv_func__sincosl_use=no
62728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62729 ac_ext=c
62730 ac_cpp='$CPP $CPPFLAGS'
62731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
62740 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
62742 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
62743 for ac_func in _sincosl
62744 do :
62745 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
62746 if test "x$ac_cv_func__sincosl" = x""yes; then :
62747 cat >>confdefs.h <<_ACEOF
62748 #define HAVE__SINCOSL 1
62749 _ACEOF
62752 done
62761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
62762 $as_echo_n "checking for finitel declaration... " >&6; }
62763 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
62764 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
62765 $as_echo_n "(cached) " >&6
62766 else
62769 ac_ext=cpp
62770 ac_cpp='$CXXCPP $CPPFLAGS'
62771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62776 /* end confdefs.h. */
62777 #include <math.h>
62778 #ifdef HAVE_IEEEFP_H
62779 #include <ieeefp.h>
62780 #endif
62783 main ()
62785 finitel(0);
62787 return 0;
62789 _ACEOF
62790 if ac_fn_cxx_try_compile "$LINENO"; then :
62791 glibcxx_cv_func_finitel_use=yes
62792 else
62793 glibcxx_cv_func_finitel_use=no
62795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62796 ac_ext=c
62797 ac_cpp='$CPP $CPPFLAGS'
62798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
62807 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
62809 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
62810 for ac_func in finitel
62811 do :
62812 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
62813 if test "x$ac_cv_func_finitel" = x""yes; then :
62814 cat >>confdefs.h <<_ACEOF
62815 #define HAVE_FINITEL 1
62816 _ACEOF
62819 done
62821 else
62823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
62824 $as_echo_n "checking for _finitel declaration... " >&6; }
62825 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
62826 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
62827 $as_echo_n "(cached) " >&6
62828 else
62831 ac_ext=cpp
62832 ac_cpp='$CXXCPP $CPPFLAGS'
62833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62838 /* end confdefs.h. */
62839 #include <math.h>
62840 #ifdef HAVE_IEEEFP_H
62841 #include <ieeefp.h>
62842 #endif
62845 main ()
62847 _finitel(0);
62849 return 0;
62851 _ACEOF
62852 if ac_fn_cxx_try_compile "$LINENO"; then :
62853 glibcxx_cv_func__finitel_use=yes
62854 else
62855 glibcxx_cv_func__finitel_use=no
62857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62858 ac_ext=c
62859 ac_cpp='$CPP $CPPFLAGS'
62860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
62869 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
62871 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
62872 for ac_func in _finitel
62873 do :
62874 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
62875 if test "x$ac_cv_func__finitel" = x""yes; then :
62876 cat >>confdefs.h <<_ACEOF
62877 #define HAVE__FINITEL 1
62878 _ACEOF
62881 done
62889 LIBS="$ac_save_LIBS"
62890 CXXFLAGS="$ac_save_CXXFLAGS"
62893 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62894 ac_save_CXXFLAGS="$CXXFLAGS"
62895 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62899 $as_echo_n "checking for strtold declaration... " >&6; }
62900 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62901 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
62902 $as_echo_n "(cached) " >&6
62903 else
62906 ac_ext=cpp
62907 ac_cpp='$CXXCPP $CPPFLAGS'
62908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62913 /* end confdefs.h. */
62914 #include <stdlib.h>
62916 main ()
62918 strtold(0, 0);
62920 return 0;
62922 _ACEOF
62923 if ac_fn_cxx_try_compile "$LINENO"; then :
62924 glibcxx_cv_func_strtold_use=yes
62925 else
62926 glibcxx_cv_func_strtold_use=no
62928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62929 ac_ext=c
62930 ac_cpp='$CPP $CPPFLAGS'
62931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
62940 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
62941 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62942 for ac_func in strtold
62943 do :
62944 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
62945 if test "x$ac_cv_func_strtold" = x""yes; then :
62946 cat >>confdefs.h <<_ACEOF
62947 #define HAVE_STRTOLD 1
62948 _ACEOF
62951 done
62958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
62959 $as_echo_n "checking for strtof declaration... " >&6; }
62960 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62961 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
62962 $as_echo_n "(cached) " >&6
62963 else
62966 ac_ext=cpp
62967 ac_cpp='$CXXCPP $CPPFLAGS'
62968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62973 /* end confdefs.h. */
62974 #include <stdlib.h>
62976 main ()
62978 strtof(0, 0);
62980 return 0;
62982 _ACEOF
62983 if ac_fn_cxx_try_compile "$LINENO"; then :
62984 glibcxx_cv_func_strtof_use=yes
62985 else
62986 glibcxx_cv_func_strtof_use=no
62988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62989 ac_ext=c
62990 ac_cpp='$CPP $CPPFLAGS'
62991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63000 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63001 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63002 for ac_func in strtof
63003 do :
63004 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63005 if test "x$ac_cv_func_strtof" = x""yes; then :
63006 cat >>confdefs.h <<_ACEOF
63007 #define HAVE_STRTOF 1
63008 _ACEOF
63011 done
63018 CXXFLAGS="$ac_save_CXXFLAGS"
63021 *-solaris*)
63022 case "$target" in
63023 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63025 # If we're not using GNU ld, then there's no point in even trying these
63026 # tests. Check for that first. We should have already tested for gld
63027 # by now (in libtool), but require it now just to be safe...
63028 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63029 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63033 # The name set by libtool depends on the version of libtool. Shame on us
63034 # for depending on an impl detail, but c'est la vie. Older versions used
63035 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63036 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63037 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63038 # set (hence we're using an older libtool), then set it.
63039 if test x${with_gnu_ld+set} != xset; then
63040 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63041 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63042 with_gnu_ld=no
63043 else
63044 with_gnu_ld=$ac_cv_prog_gnu_ld
63048 # Start by getting the version number. I think the libtool test already
63049 # does some of this, but throws away the result.
63050 glibcxx_ld_is_gold=no
63051 if test x"$with_gnu_ld" = x"yes"; then
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63053 $as_echo_n "checking for ld version... " >&6; }
63055 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63056 glibcxx_ld_is_gold=yes
63058 ldver=`$LD --version 2>/dev/null |
63059 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'`
63061 glibcxx_gnu_ld_version=`echo $ldver | \
63062 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63064 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63067 # Set --gc-sections.
63068 glibcxx_have_gc_sections=no
63069 if test "$glibcxx_ld_is_gold" = "yes"; then
63070 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63071 glibcxx_have_gc_sections=yes
63073 else
63074 glibcxx_gcsections_min_ld=21602
63075 if test x"$with_gnu_ld" = x"yes" &&
63076 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63077 glibcxx_have_gc_sections=yes
63080 if test "$glibcxx_have_gc_sections" = "yes"; then
63081 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63082 # NB: This flag only works reliably after 2.16.1. Configure tests
63083 # for this are difficult, so hard wire a value that should work.
63085 ac_test_CFLAGS="${CFLAGS+set}"
63086 ac_save_CFLAGS="$CFLAGS"
63087 CFLAGS='-Wl,--gc-sections'
63089 # Check for -Wl,--gc-sections
63090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63091 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63092 if test x$gcc_no_link = xyes; then
63093 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63096 /* end confdefs.h. */
63097 int one(void) { return 1; }
63098 int two(void) { return 2; }
63101 main ()
63103 two();
63105 return 0;
63107 _ACEOF
63108 if ac_fn_c_try_link "$LINENO"; then :
63109 ac_gcsections=yes
63110 else
63111 ac_gcsections=no
63113 rm -f core conftest.err conftest.$ac_objext \
63114 conftest$ac_exeext conftest.$ac_ext
63115 if test "$ac_gcsections" = "yes"; then
63116 rm -f conftest.c
63117 touch conftest.c
63118 if $CC -c conftest.c; then
63119 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63120 grep "Warning: gc-sections option ignored" > /dev/null; then
63121 ac_gcsections=no
63124 rm -f conftest.c conftest.o conftest
63126 if test "$ac_gcsections" = "yes"; then
63127 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63130 $as_echo "$ac_gcsections" >&6; }
63132 if test "$ac_test_CFLAGS" = set; then
63133 CFLAGS="$ac_save_CFLAGS"
63134 else
63135 # this is the suspicious part
63136 CFLAGS=''
63140 # Set -z,relro.
63141 # Note this is only for shared objects.
63142 ac_ld_relro=no
63143 if test x"$with_gnu_ld" = x"yes"; then
63144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63145 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63146 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63147 if test -n "$cxx_z_relo"; then
63148 OPT_LDFLAGS="-Wl,-z,relro"
63149 ac_ld_relro=yes
63151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63152 $as_echo "$ac_ld_relro" >&6; }
63155 # Set linker optimization flags.
63156 if test x"$with_gnu_ld" = x"yes"; then
63157 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63163 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63165 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63167 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63169 # All of the dependencies for wide character support are here, so
63170 # turn it on.
63171 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63174 esac
63175 case "$target" in
63176 *-*-solaris2.10)
63177 # These two C99 functions are present only in Solaris >= 10
63178 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63180 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63183 esac
63184 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63186 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63188 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63190 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63193 *-tpf)
63194 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63197 # If we're not using GNU ld, then there's no point in even trying these
63198 # tests. Check for that first. We should have already tested for gld
63199 # by now (in libtool), but require it now just to be safe...
63200 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63201 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63205 # The name set by libtool depends on the version of libtool. Shame on us
63206 # for depending on an impl detail, but c'est la vie. Older versions used
63207 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63208 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63209 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63210 # set (hence we're using an older libtool), then set it.
63211 if test x${with_gnu_ld+set} != xset; then
63212 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63213 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63214 with_gnu_ld=no
63215 else
63216 with_gnu_ld=$ac_cv_prog_gnu_ld
63220 # Start by getting the version number. I think the libtool test already
63221 # does some of this, but throws away the result.
63222 glibcxx_ld_is_gold=no
63223 if test x"$with_gnu_ld" = x"yes"; then
63224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63225 $as_echo_n "checking for ld version... " >&6; }
63227 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63228 glibcxx_ld_is_gold=yes
63230 ldver=`$LD --version 2>/dev/null |
63231 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'`
63233 glibcxx_gnu_ld_version=`echo $ldver | \
63234 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63236 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63239 # Set --gc-sections.
63240 glibcxx_have_gc_sections=no
63241 if test "$glibcxx_ld_is_gold" = "yes"; then
63242 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63243 glibcxx_have_gc_sections=yes
63245 else
63246 glibcxx_gcsections_min_ld=21602
63247 if test x"$with_gnu_ld" = x"yes" &&
63248 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63249 glibcxx_have_gc_sections=yes
63252 if test "$glibcxx_have_gc_sections" = "yes"; then
63253 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63254 # NB: This flag only works reliably after 2.16.1. Configure tests
63255 # for this are difficult, so hard wire a value that should work.
63257 ac_test_CFLAGS="${CFLAGS+set}"
63258 ac_save_CFLAGS="$CFLAGS"
63259 CFLAGS='-Wl,--gc-sections'
63261 # Check for -Wl,--gc-sections
63262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63263 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63264 if test x$gcc_no_link = xyes; then
63265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63268 /* end confdefs.h. */
63269 int one(void) { return 1; }
63270 int two(void) { return 2; }
63273 main ()
63275 two();
63277 return 0;
63279 _ACEOF
63280 if ac_fn_c_try_link "$LINENO"; then :
63281 ac_gcsections=yes
63282 else
63283 ac_gcsections=no
63285 rm -f core conftest.err conftest.$ac_objext \
63286 conftest$ac_exeext conftest.$ac_ext
63287 if test "$ac_gcsections" = "yes"; then
63288 rm -f conftest.c
63289 touch conftest.c
63290 if $CC -c conftest.c; then
63291 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63292 grep "Warning: gc-sections option ignored" > /dev/null; then
63293 ac_gcsections=no
63296 rm -f conftest.c conftest.o conftest
63298 if test "$ac_gcsections" = "yes"; then
63299 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63302 $as_echo "$ac_gcsections" >&6; }
63304 if test "$ac_test_CFLAGS" = set; then
63305 CFLAGS="$ac_save_CFLAGS"
63306 else
63307 # this is the suspicious part
63308 CFLAGS=''
63312 # Set -z,relro.
63313 # Note this is only for shared objects.
63314 ac_ld_relro=no
63315 if test x"$with_gnu_ld" = x"yes"; then
63316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63317 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63318 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63319 if test -n "$cxx_z_relo"; then
63320 OPT_LDFLAGS="-Wl,-z,relro"
63321 ac_ld_relro=yes
63323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63324 $as_echo "$ac_ld_relro" >&6; }
63327 # Set linker optimization flags.
63328 if test x"$with_gnu_ld" = x"yes"; then
63329 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63335 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63337 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63339 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63341 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63343 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63345 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63347 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63349 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63351 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63353 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63355 if test x"long_double_math_on_this_cpu" = x"yes"; then
63356 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63358 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63360 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63362 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63366 *-vxworks)
63367 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63369 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63371 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63373 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63375 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63377 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63379 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63381 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63383 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63385 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63387 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63389 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63391 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63393 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63395 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63397 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63399 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63401 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63403 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63405 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63409 as_fn_error "No support for this host/target combination." "$LINENO" 5
63411 esac
63415 # At some point, we should differentiate between architectures
63416 # like x86, which have long double versions, and alpha/powerpc/etc.,
63417 # which don't. For the time being, punt.
63418 if test x"long_double_math_on_this_cpu" = x"yes"; then
63419 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63421 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63423 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63425 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63427 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63429 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63431 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63433 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63435 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63437 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63439 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63441 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63443 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63445 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63447 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63449 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63451 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63453 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63455 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63457 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63459 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63461 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63463 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63468 # Check for _Unwind_GetIPInfo.
63471 # Check whether --with-system-libunwind was given.
63472 if test "${with_system_libunwind+set}" = set; then :
63473 withval=$with_system_libunwind;
63476 # If system-libunwind was not specifically set, pick a default setting.
63477 if test x$with_system_libunwind = x; then
63478 case ${target} in
63479 ia64-*-hpux*) with_system_libunwind=yes ;;
63480 *) with_system_libunwind=no ;;
63481 esac
63483 # Based on system-libunwind and target, do we have ipinfo?
63484 if test x$with_system_libunwind = xyes; then
63485 case ${target} in
63486 ia64-*-*) have_unwind_getipinfo=no ;;
63487 *) have_unwind_getipinfo=yes ;;
63488 esac
63489 else
63490 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63492 case ${target} in
63493 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63494 *) have_unwind_getipinfo=yes ;;
63495 esac
63499 if test x$have_unwind_getipinfo = xyes; then
63501 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63507 # Check whether --enable-linux-futex was given.
63508 if test "${enable_linux_futex+set}" = set; then :
63509 enableval=$enable_linux_futex;
63510 case "$enableval" in
63511 yes|no|default) ;;
63512 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63513 esac
63515 else
63516 enable_linux_futex=default
63520 case "$target" in
63521 *-linux*)
63522 case "$enable_linux_futex" in
63523 default)
63524 # If headers don't have gettid/futex syscalls definition, then
63525 # default to no, otherwise there will be compile time failures.
63526 # Otherwise, default to yes. If we don't detect we are
63527 # compiled/linked against NPTL and not cross-compiling, check
63528 # if programs are run by default against NPTL and if not, issue
63529 # a warning.
63530 enable_linux_futex=no
63531 if test x$gcc_no_link = xyes; then
63532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63535 /* end confdefs.h. */
63536 #include <sys/syscall.h>
63537 int lk;
63539 main ()
63541 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63543 return 0;
63545 _ACEOF
63546 if ac_fn_c_try_link "$LINENO"; then :
63547 save_LIBS="$LIBS"
63548 LIBS="-lpthread $LIBS"
63549 if test x$gcc_no_link = xyes; then
63550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63553 /* end confdefs.h. */
63554 #ifndef _GNU_SOURCE
63555 #define _GNU_SOURCE 1
63556 #endif
63557 #include <pthread.h>
63558 pthread_t th; void *status;
63560 main ()
63562 pthread_tryjoin_np (th, &status);
63564 return 0;
63566 _ACEOF
63567 if ac_fn_c_try_link "$LINENO"; then :
63568 enable_linux_futex=yes
63569 else
63570 if test x$cross_compiling = xno; then
63571 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63572 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63574 If so, please configure with --disable-linux-futex" >&5
63575 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63576 If so, please configure with --disable-linux-futex" >&2;}
63579 enable_linux_futex=yes
63581 rm -f core conftest.err conftest.$ac_objext \
63582 conftest$ac_exeext conftest.$ac_ext
63583 LIBS="$save_LIBS"
63585 rm -f core conftest.err conftest.$ac_objext \
63586 conftest$ac_exeext conftest.$ac_ext
63588 yes)
63589 if test x$gcc_no_link = xyes; then
63590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63593 /* end confdefs.h. */
63594 #include <sys/syscall.h>
63595 int lk;
63597 main ()
63599 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63601 return 0;
63603 _ACEOF
63604 if ac_fn_c_try_link "$LINENO"; then :
63606 else
63607 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63609 rm -f core conftest.err conftest.$ac_objext \
63610 conftest$ac_exeext conftest.$ac_ext
63612 esac
63615 enable_linux_futex=no
63617 esac
63618 if test x$enable_linux_futex = xyes; then
63620 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
63627 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
63629 acx_cv_header_stdint=stddef.h
63630 acx_cv_header_stdint_kind="(already complete)"
63631 for i in stdint.h $inttype_headers; do
63632 unset ac_cv_type_uintptr_t
63633 unset ac_cv_type_uintmax_t
63634 unset ac_cv_type_int_least32_t
63635 unset ac_cv_type_int_fast32_t
63636 unset ac_cv_type_uint64_t
63637 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
63638 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
63639 #include <$i>
63641 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
63642 acx_cv_header_stdint=$i
63643 else
63644 continue
63647 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63648 #include <$i>
63650 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63652 else
63653 acx_cv_header_stdint_kind="(mostly complete)"
63656 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
63657 #include <$i>
63659 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
63661 else
63662 acx_cv_header_stdint_kind="(mostly complete)"
63665 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
63666 #include <$i>
63668 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
63670 else
63671 acx_cv_header_stdint_kind="(mostly complete)"
63674 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63675 #include <$i>
63677 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63679 else
63680 acx_cv_header_stdint_kind="(lacks uint64_t)"
63683 break
63684 done
63685 if test "$acx_cv_header_stdint" = stddef.h; then
63686 acx_cv_header_stdint_kind="(lacks uintmax_t)"
63687 for i in stdint.h $inttype_headers; do
63688 unset ac_cv_type_uintptr_t
63689 unset ac_cv_type_uint32_t
63690 unset ac_cv_type_uint64_t
63691 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
63692 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
63693 #include <$i>
63695 if test "x$ac_cv_type_uint32_t" = x""yes; then :
63696 acx_cv_header_stdint=$i
63697 else
63698 continue
63701 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63702 #include <$i>
63704 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63708 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63709 #include <$i>
63711 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63715 break
63716 done
63718 if test "$acx_cv_header_stdint" = stddef.h; then
63719 acx_cv_header_stdint_kind="(u_intXX_t style)"
63720 for i in sys/types.h $inttype_headers; do
63721 unset ac_cv_type_u_int32_t
63722 unset ac_cv_type_u_int64_t
63723 $as_echo_n "looking for u_intXX_t types in $i, " >&6
63724 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
63725 #include <$i>
63727 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
63728 acx_cv_header_stdint=$i
63729 else
63730 continue
63733 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
63734 #include <$i>
63736 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
63740 break
63741 done
63743 if test "$acx_cv_header_stdint" = stddef.h; then
63744 acx_cv_header_stdint_kind="(using manual detection)"
63747 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
63748 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
63749 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
63750 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
63751 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
63753 # ----------------- Summarize what we found so far
63755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
63756 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
63758 case `$as_basename -- include/gstdint.h ||
63759 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
63760 Xinclude/gstdint.h : 'X\(//\)$' \| \
63761 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
63762 $as_echo X/include/gstdint.h |
63763 sed '/^.*\/\([^/][^/]*\)\/*$/{
63764 s//\1/
63767 /^X\/\(\/\/\)$/{
63768 s//\1/
63771 /^X\/\(\/\).*/{
63772 s//\1/
63775 s/.*/./; q'` in
63776 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63777 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63778 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63779 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63780 *) ;;
63781 esac
63783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
63784 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
63786 # ----------------- done included file, check C basic types --------
63788 # Lacking an uintptr_t? Test size of void *
63789 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
63790 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
63791 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63792 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63793 # This bug is HP SR number 8606223364.
63794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
63795 $as_echo_n "checking size of void *... " >&6; }
63796 if test "${ac_cv_sizeof_void_p+set}" = set; then :
63797 $as_echo_n "(cached) " >&6
63798 else
63799 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
63801 else
63802 if test "$ac_cv_type_void_p" = yes; then
63803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63805 { as_fn_set_status 77
63806 as_fn_error "cannot compute sizeof (void *)
63807 See \`config.log' for more details." "$LINENO" 5; }; }
63808 else
63809 ac_cv_sizeof_void_p=0
63814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
63815 $as_echo "$ac_cv_sizeof_void_p" >&6; }
63819 cat >>confdefs.h <<_ACEOF
63820 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
63821 _ACEOF
63824 esac
63826 # Lacking an uint64_t? Test size of long
63827 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
63828 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
63829 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63831 # This bug is HP SR number 8606223364.
63832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
63833 $as_echo_n "checking size of long... " >&6; }
63834 if test "${ac_cv_sizeof_long+set}" = set; then :
63835 $as_echo_n "(cached) " >&6
63836 else
63837 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
63839 else
63840 if test "$ac_cv_type_long" = yes; then
63841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63843 { as_fn_set_status 77
63844 as_fn_error "cannot compute sizeof (long)
63845 See \`config.log' for more details." "$LINENO" 5; }; }
63846 else
63847 ac_cv_sizeof_long=0
63852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
63853 $as_echo "$ac_cv_sizeof_long" >&6; }
63857 cat >>confdefs.h <<_ACEOF
63858 #define SIZEOF_LONG $ac_cv_sizeof_long
63859 _ACEOF
63862 esac
63864 if test $acx_cv_header_stdint = stddef.h; then
63865 # Lacking a good header? Test size of everything and deduce all types.
63866 # The cast to long int works around a bug in the HP C Compiler
63867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63869 # This bug is HP SR number 8606223364.
63870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
63871 $as_echo_n "checking size of int... " >&6; }
63872 if test "${ac_cv_sizeof_int+set}" = set; then :
63873 $as_echo_n "(cached) " >&6
63874 else
63875 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
63877 else
63878 if test "$ac_cv_type_int" = yes; then
63879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63881 { as_fn_set_status 77
63882 as_fn_error "cannot compute sizeof (int)
63883 See \`config.log' for more details." "$LINENO" 5; }; }
63884 else
63885 ac_cv_sizeof_int=0
63890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
63891 $as_echo "$ac_cv_sizeof_int" >&6; }
63895 cat >>confdefs.h <<_ACEOF
63896 #define SIZEOF_INT $ac_cv_sizeof_int
63897 _ACEOF
63900 # The cast to long int works around a bug in the HP C Compiler
63901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63903 # This bug is HP SR number 8606223364.
63904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
63905 $as_echo_n "checking size of short... " >&6; }
63906 if test "${ac_cv_sizeof_short+set}" = set; then :
63907 $as_echo_n "(cached) " >&6
63908 else
63909 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
63911 else
63912 if test "$ac_cv_type_short" = yes; then
63913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63915 { as_fn_set_status 77
63916 as_fn_error "cannot compute sizeof (short)
63917 See \`config.log' for more details." "$LINENO" 5; }; }
63918 else
63919 ac_cv_sizeof_short=0
63924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
63925 $as_echo "$ac_cv_sizeof_short" >&6; }
63929 cat >>confdefs.h <<_ACEOF
63930 #define SIZEOF_SHORT $ac_cv_sizeof_short
63931 _ACEOF
63934 # The cast to long int works around a bug in the HP C Compiler
63935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63936 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63937 # This bug is HP SR number 8606223364.
63938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
63939 $as_echo_n "checking size of char... " >&6; }
63940 if test "${ac_cv_sizeof_char+set}" = set; then :
63941 $as_echo_n "(cached) " >&6
63942 else
63943 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
63945 else
63946 if test "$ac_cv_type_char" = yes; then
63947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63949 { as_fn_set_status 77
63950 as_fn_error "cannot compute sizeof (char)
63951 See \`config.log' for more details." "$LINENO" 5; }; }
63952 else
63953 ac_cv_sizeof_char=0
63958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
63959 $as_echo "$ac_cv_sizeof_char" >&6; }
63963 cat >>confdefs.h <<_ACEOF
63964 #define SIZEOF_CHAR $ac_cv_sizeof_char
63965 _ACEOF
63969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
63970 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
63971 case "$ac_cv_sizeof_char" in
63972 1) acx_cv_type_int8_t=char ;;
63973 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
63974 esac
63975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
63976 $as_echo "$acx_cv_type_int8_t" >&6; }
63978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
63979 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
63980 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
63981 2:*) acx_cv_type_int16_t=int ;;
63982 *:2) acx_cv_type_int16_t=short ;;
63983 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
63984 esac
63985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
63986 $as_echo "$acx_cv_type_int16_t" >&6; }
63988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
63989 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
63990 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
63991 4:*) acx_cv_type_int32_t=int ;;
63992 *:4) acx_cv_type_int32_t=long ;;
63993 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
63994 esac
63995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
63996 $as_echo "$acx_cv_type_int32_t" >&6; }
63999 # These tests are here to make the output prettier
64001 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64002 case "$ac_cv_sizeof_long" in
64003 8) acx_cv_type_int64_t=long ;;
64004 esac
64005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64006 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64008 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64011 # Now we can use the above types
64013 if test "$ac_cv_type_uintptr_t" != yes; then
64014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64015 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64016 case $ac_cv_sizeof_void_p in
64017 2) acx_cv_type_intptr_t=int16_t ;;
64018 4) acx_cv_type_intptr_t=int32_t ;;
64019 8) acx_cv_type_intptr_t=int64_t ;;
64020 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64021 esac
64022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64023 $as_echo "$acx_cv_type_intptr_t" >&6; }
64026 # ----------------- done all checks, emit header -------------
64027 ac_config_commands="$ac_config_commands include/gstdint.h"
64032 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64035 $as_echo_n "checking for GNU c++filt... " >&6; }
64036 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64037 $as_echo_n "(cached) " >&6
64038 else
64039 if test -z "$CXXFILT"; then
64040 ac_path_CXXFILT_found=false
64041 # Loop through the user's path and test for each of PROGNAME-LIST
64042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64043 for as_dir in $PATH
64045 IFS=$as_save_IFS
64046 test -z "$as_dir" && as_dir=.
64047 for ac_prog in c++filt gc++filt; do
64048 for ac_exec_ext in '' $ac_executable_extensions; do
64049 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64050 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64051 # Check for GNU $ac_path_CXXFILT
64052 case `"$ac_path_CXXFILT" --version 2>&1` in
64053 *GNU*)
64054 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64055 esac
64057 $ac_path_CXXFILT_found && break 3
64058 done
64059 done
64060 done
64061 IFS=$as_save_IFS
64062 if test -z "$ac_cv_path_CXXFILT"; then
64065 else
64066 ac_cv_path_CXXFILT=$CXXFILT
64070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64071 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64072 CXXFILT=$ac_cv_path_CXXFILT
64076 # Check whether --enable-symvers was given.
64077 if test "${enable_symvers+set}" = set; then :
64078 enableval=$enable_symvers;
64079 case "$enableval" in
64080 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64081 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64082 esac
64084 else
64085 enable_symvers=yes
64090 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64091 # don't know enough about $LD to do tricks...
64093 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64094 # with extern "C++" in version scripts.
64097 # Turn a 'yes' into a suitable default.
64098 if test x$enable_symvers = xyes ; then
64099 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64100 enable_symvers=no
64101 else
64102 if test $with_gnu_ld = yes ; then
64103 case ${target_os} in
64104 hpux*)
64105 enable_symvers=no ;;
64107 enable_symvers=gnu ;;
64108 esac
64109 else
64110 case ${target_os} in
64111 darwin*)
64112 enable_symvers=darwin ;;
64113 # Sun symbol versioning exists since Solaris 2.5.
64114 solaris2.[5-9]* | solaris2.1[0-9]*)
64115 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64116 # version scripts, so disable symbol versioning if none can be
64117 # found.
64118 if test -z "$ac_cv_path_CXXFILT"; then
64119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64120 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64122 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64124 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64125 enable_symvers=no
64126 else
64127 enable_symvers=sun
64131 enable_symvers=no ;;
64132 esac
64137 # Check to see if 'darwin' or 'darwin-export' can win.
64138 if test x$enable_symvers = xdarwin-export ; then
64139 enable_symvers=darwin
64142 # Check if 'sun' was requested on non-Solaris 2 platforms.
64143 if test x$enable_symvers = xsun ; then
64144 case ${target_os} in
64145 solaris2*)
64146 # All fine.
64149 # Unlikely to work.
64150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64151 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64153 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64155 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64156 enable_symvers=no
64158 esac
64161 # Check to see if 'gnu' can win.
64162 if test $enable_symvers = gnu ||
64163 test $enable_symvers = gnu-versioned-namespace ||
64164 test $enable_symvers = sun; then
64165 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64167 $as_echo_n "checking for shared libgcc... " >&6; }
64168 ac_save_CFLAGS="$CFLAGS"
64169 CFLAGS=' -lgcc_s'
64170 if test x$gcc_no_link = xyes; then
64171 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64174 /* end confdefs.h. */
64177 main ()
64179 return 0;
64181 return 0;
64183 _ACEOF
64184 if ac_fn_c_try_link "$LINENO"; then :
64185 glibcxx_shared_libgcc=yes
64186 else
64187 glibcxx_shared_libgcc=no
64189 rm -f core conftest.err conftest.$ac_objext \
64190 conftest$ac_exeext conftest.$ac_ext
64191 CFLAGS="$ac_save_CFLAGS"
64192 if test $glibcxx_shared_libgcc = no; then
64193 cat > conftest.c <<EOF
64194 int main (void) { return 0; }
64196 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64197 -shared -shared-libgcc -o conftest.so \
64198 conftest.c -v 2>&1 >/dev/null \
64199 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64200 rm -f conftest.c conftest.so
64201 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64202 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64203 if test x$gcc_no_link = xyes; then
64204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64207 /* end confdefs.h. */
64210 main ()
64212 return 0;
64214 return 0;
64216 _ACEOF
64217 if ac_fn_c_try_link "$LINENO"; then :
64218 glibcxx_shared_libgcc=yes
64220 rm -f core conftest.err conftest.$ac_objext \
64221 conftest$ac_exeext conftest.$ac_ext
64222 CFLAGS="$ac_save_CFLAGS"
64225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64226 $as_echo "$glibcxx_shared_libgcc" >&6; }
64228 # For GNU ld, we need at least this version. The format is described in
64229 # GLIBCXX_CHECK_LINKER_FEATURES above.
64230 glibcxx_min_gnu_ld_version=21400
64232 # If no shared libgcc, can't win.
64233 if test $glibcxx_shared_libgcc != yes; then
64234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64235 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64237 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64239 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64240 enable_symvers=no
64241 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64242 : All interesting versions of Sun ld support sun style symbol versioning.
64243 elif test $with_gnu_ld != yes ; then
64244 # just fail for now
64245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64246 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64248 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64250 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64251 enable_symvers=no
64252 elif test $glibcxx_ld_is_gold = yes ; then
64253 : All versions of gold support symbol versioning.
64254 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64255 # The right tools, the right setup, but too old. Fallbacks?
64256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64257 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64259 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64261 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64263 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64265 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64266 enable_symvers=no
64270 # Everything parsed; figure out what file to use.
64271 case $enable_symvers in
64273 SYMVER_FILE=config/abi/pre/none.ver
64275 gnu)
64276 SYMVER_FILE=config/abi/pre/gnu.ver
64278 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64281 gnu-versioned-namespace)
64282 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64284 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64287 darwin)
64288 SYMVER_FILE=config/abi/pre/gnu.ver
64290 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64293 sun)
64294 SYMVER_FILE=config/abi/pre/gnu.ver
64296 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64299 esac
64301 if test x$enable_symvers != xno ; then
64303 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64308 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64309 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64310 $as_echo_n "(cached) " >&6
64311 else
64313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64314 /* end confdefs.h. */
64315 void foo (void); __asm (".symver foo, bar@SYMVER");
64317 main ()
64321 return 0;
64323 _ACEOF
64324 if ac_fn_c_try_compile "$LINENO"; then :
64325 glibcxx_cv_have_as_symver_directive=yes
64326 else
64327 glibcxx_cv_have_as_symver_directive=no
64329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64332 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64333 if test $glibcxx_cv_have_as_symver_directive = yes; then
64335 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64346 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64347 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64349 if test $enable_symvers != no ; then
64350 case ${target_os} in
64351 # The Solaris 2 runtime linker doesn't support the GNU extension of
64352 # binding the same symbol to different versions
64353 solaris2*)
64354 symvers_renaming=no ;;
64355 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64358 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64360 symvers_renaming=yes ;;
64361 esac
64362 else
64363 symvers_renaming=no
64367 # Now, set up compatibility support, if any.
64368 # In addition, need this to deal with std::size_t mangling in
64369 # src/compatibility.cc. In a perfect world, could use
64370 # typeid(std::size_t).name()[0] to do direct substitution.
64371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64372 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64373 ac_save_CFLAGS="$CFLAGS"
64374 CFLAGS="-Werror"
64375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64376 /* end confdefs.h. */
64379 main ()
64381 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64383 return 0;
64385 _ACEOF
64386 if ac_fn_c_try_compile "$LINENO"; then :
64387 glibcxx_size_t_is_i=yes
64388 else
64389 glibcxx_size_t_is_i=no
64391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64392 CFLAGS=$ac_save_CFLAGS
64393 if test "$glibcxx_size_t_is_i" = yes; then
64395 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64399 $as_echo "$glibcxx_size_t_is_i" >&6; }
64401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64402 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64403 ac_save_CFLAGS="$CFLAGS"
64404 CFLAGS="-Werror"
64405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64406 /* end confdefs.h. */
64409 main ()
64411 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64413 return 0;
64415 _ACEOF
64416 if ac_fn_c_try_compile "$LINENO"; then :
64417 glibcxx_ptrdiff_t_is_i=yes
64418 else
64419 glibcxx_ptrdiff_t_is_i=no
64421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64422 CFLAGS=$ac_save_CFLAGS
64423 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64425 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64429 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64432 # Check whether --enable-visibility was given.
64433 if test "${enable_visibility+set}" = set; then :
64434 enableval=$enable_visibility;
64435 case "$enableval" in
64436 yes|no) ;;
64437 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64438 esac
64440 else
64441 enable_visibility=yes
64446 if test x$enable_visibility = xyes ; then
64447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64448 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64449 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64450 $as_echo_n "(cached) " >&6
64451 else
64453 save_CFLAGS="$CFLAGS"
64454 CFLAGS="$CFLAGS -Werror"
64455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64456 /* end confdefs.h. */
64457 void __attribute__((visibility("hidden"))) foo(void) { }
64459 main ()
64463 return 0;
64465 _ACEOF
64466 if ac_fn_c_try_compile "$LINENO"; then :
64467 glibcxx_cv_have_attribute_visibility=yes
64468 else
64469 glibcxx_cv_have_attribute_visibility=no
64471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64472 CFLAGS="$save_CFLAGS"
64474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64475 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64476 if test $glibcxx_cv_have_attribute_visibility = no; then
64477 enable_visibility=no
64482 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64483 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64486 ac_ldbl_compat=no
64487 case "$target" in
64488 powerpc*-*-linux* | \
64489 sparc*-*-linux* | \
64490 s390*-*-linux* | \
64491 alpha*-*-linux*)
64492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64493 /* end confdefs.h. */
64496 main ()
64499 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64500 #error no need for long double compatibility
64501 #endif
64504 return 0;
64506 _ACEOF
64507 if ac_fn_c_try_compile "$LINENO"; then :
64508 ac_ldbl_compat=yes
64509 else
64510 ac_ldbl_compat=no
64512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64513 if test "$ac_ldbl_compat" = yes; then
64515 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64517 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64519 esac
64522 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64524 if $GLIBCXX_IS_NATIVE ; then
64525 # Do checks for resource limit functions.
64527 setrlimit_have_headers=yes
64528 for ac_header in unistd.h sys/time.h sys/resource.h
64529 do :
64530 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64531 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64532 eval as_val=\$$as_ac_Header
64533 if test "x$as_val" = x""yes; then :
64534 cat >>confdefs.h <<_ACEOF
64535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64536 _ACEOF
64538 else
64539 setrlimit_have_headers=no
64542 done
64544 # If don't have the headers, then we can't run the tests now, and we
64545 # won't be seeing any of these during testsuite compilation.
64546 if test $setrlimit_have_headers = yes; then
64547 # Can't do these in a loop, else the resulting syntax is wrong.
64549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64550 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64552 /* end confdefs.h. */
64553 #include <unistd.h>
64554 #include <sys/time.h>
64555 #include <sys/resource.h>
64558 main ()
64560 int f = RLIMIT_DATA ;
64562 return 0;
64564 _ACEOF
64565 if ac_fn_c_try_compile "$LINENO"; then :
64566 glibcxx_mresult=1
64567 else
64568 glibcxx_mresult=0
64570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64572 cat >>confdefs.h <<_ACEOF
64573 #define HAVE_LIMIT_DATA $glibcxx_mresult
64574 _ACEOF
64576 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64578 $as_echo "$res" >&6; }
64581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64582 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64584 /* end confdefs.h. */
64585 #include <unistd.h>
64586 #include <sys/time.h>
64587 #include <sys/resource.h>
64590 main ()
64592 int f = RLIMIT_RSS ;
64594 return 0;
64596 _ACEOF
64597 if ac_fn_c_try_compile "$LINENO"; then :
64598 glibcxx_mresult=1
64599 else
64600 glibcxx_mresult=0
64602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64604 cat >>confdefs.h <<_ACEOF
64605 #define HAVE_LIMIT_RSS $glibcxx_mresult
64606 _ACEOF
64608 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64610 $as_echo "$res" >&6; }
64613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64614 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64616 /* end confdefs.h. */
64617 #include <unistd.h>
64618 #include <sys/time.h>
64619 #include <sys/resource.h>
64622 main ()
64624 int f = RLIMIT_VMEM ;
64626 return 0;
64628 _ACEOF
64629 if ac_fn_c_try_compile "$LINENO"; then :
64630 glibcxx_mresult=1
64631 else
64632 glibcxx_mresult=0
64634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64636 cat >>confdefs.h <<_ACEOF
64637 #define HAVE_LIMIT_VMEM $glibcxx_mresult
64638 _ACEOF
64640 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64642 $as_echo "$res" >&6; }
64645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
64646 $as_echo_n "checking for RLIMIT_AS... " >&6; }
64647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64648 /* end confdefs.h. */
64649 #include <unistd.h>
64650 #include <sys/time.h>
64651 #include <sys/resource.h>
64654 main ()
64656 int f = RLIMIT_AS ;
64658 return 0;
64660 _ACEOF
64661 if ac_fn_c_try_compile "$LINENO"; then :
64662 glibcxx_mresult=1
64663 else
64664 glibcxx_mresult=0
64666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64668 cat >>confdefs.h <<_ACEOF
64669 #define HAVE_LIMIT_AS $glibcxx_mresult
64670 _ACEOF
64672 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64674 $as_echo "$res" >&6; }
64677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
64678 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
64679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64680 /* end confdefs.h. */
64681 #include <unistd.h>
64682 #include <sys/time.h>
64683 #include <sys/resource.h>
64686 main ()
64688 int f = RLIMIT_FSIZE ;
64690 return 0;
64692 _ACEOF
64693 if ac_fn_c_try_compile "$LINENO"; then :
64694 glibcxx_mresult=1
64695 else
64696 glibcxx_mresult=0
64698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64700 cat >>confdefs.h <<_ACEOF
64701 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
64702 _ACEOF
64704 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64706 $as_echo "$res" >&6; }
64709 # Check for rlimit, setrlimit.
64710 if test "${glibcxx_cv_setrlimit+set}" = set; then :
64711 $as_echo_n "(cached) " >&6
64712 else
64714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64715 /* end confdefs.h. */
64716 #include <unistd.h>
64717 #include <sys/time.h>
64718 #include <sys/resource.h>
64721 main ()
64723 struct rlimit r;
64724 setrlimit(0, &r);
64726 return 0;
64728 _ACEOF
64729 if ac_fn_c_try_compile "$LINENO"; then :
64730 glibcxx_cv_setrlimit=yes
64731 else
64732 glibcxx_cv_setrlimit=no
64734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
64741 $as_echo_n "checking for testsuite resource limits support... " >&6; }
64742 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
64743 ac_res_limits=yes
64745 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
64747 else
64748 ac_res_limits=no
64750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
64751 $as_echo "$ac_res_limits" >&6; }
64754 # Look for setenv, so that extended locale tests can be performed.
64756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
64757 $as_echo_n "checking for setenv declaration... " >&6; }
64758 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
64759 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
64760 $as_echo_n "(cached) " >&6
64761 else
64764 ac_ext=cpp
64765 ac_cpp='$CXXCPP $CPPFLAGS'
64766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64771 /* end confdefs.h. */
64772 #include <stdlib.h>
64774 main ()
64776 setenv(0, 0, 0);
64778 return 0;
64780 _ACEOF
64781 if ac_fn_cxx_try_compile "$LINENO"; then :
64782 glibcxx_cv_func_setenv_use=yes
64783 else
64784 glibcxx_cv_func_setenv_use=no
64786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64787 ac_ext=c
64788 ac_cpp='$CPP $CPPFLAGS'
64789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
64798 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
64799 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
64800 for ac_func in setenv
64801 do :
64802 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
64803 if test "x$ac_cv_func_setenv" = x""yes; then :
64804 cat >>confdefs.h <<_ACEOF
64805 #define HAVE_SETENV 1
64806 _ACEOF
64809 done
64815 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
64816 test $enable_symvers != no; then
64817 case "$host" in
64818 *-*-cygwin*)
64819 enable_abi_check=no ;;
64821 enable_abi_check=yes ;;
64822 esac
64823 else
64824 # Only build this as native, since automake does not understand
64825 # CXX_FOR_BUILD.
64826 enable_abi_check=no
64829 # Export file names for ABI checking.
64830 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
64834 # Define documentation rules conditionally.
64836 # See if makeinfo has been installed and is modern enough
64837 # that we can use it.
64839 # Extract the first word of "makeinfo", so it can be a program name with args.
64840 set dummy makeinfo; ac_word=$2
64841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64842 $as_echo_n "checking for $ac_word... " >&6; }
64843 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
64844 $as_echo_n "(cached) " >&6
64845 else
64846 if test -n "$MAKEINFO"; then
64847 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
64848 else
64849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64850 for as_dir in $PATH
64852 IFS=$as_save_IFS
64853 test -z "$as_dir" && as_dir=.
64854 for ac_exec_ext in '' $ac_executable_extensions; do
64855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64856 ac_cv_prog_MAKEINFO="makeinfo"
64857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64858 break 2
64860 done
64861 done
64862 IFS=$as_save_IFS
64866 MAKEINFO=$ac_cv_prog_MAKEINFO
64867 if test -n "$MAKEINFO"; then
64868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
64869 $as_echo "$MAKEINFO" >&6; }
64870 else
64871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64872 $as_echo "no" >&6; }
64876 if test -n "$MAKEINFO"; then
64877 # Found it, now check the version.
64878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
64879 $as_echo_n "checking for modern makeinfo... " >&6; }
64880 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
64881 $as_echo_n "(cached) " >&6
64882 else
64883 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
64884 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
64886 case $ac_prog_version in
64887 '') gcc_cv_prog_makeinfo_modern=no;;
64888 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
64889 *) gcc_cv_prog_makeinfo_modern=no;;
64890 esac
64893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
64894 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
64895 else
64896 gcc_cv_prog_makeinfo_modern=no
64898 if test $gcc_cv_prog_makeinfo_modern = no; then
64899 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
64902 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
64903 BUILD_INFO_TRUE=
64904 BUILD_INFO_FALSE='#'
64905 else
64906 BUILD_INFO_TRUE='#'
64907 BUILD_INFO_FALSE=
64911 # Check for doxygen
64912 # Extract the first word of "doxygen", so it can be a program name with args.
64913 set dummy doxygen; ac_word=$2
64914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64915 $as_echo_n "checking for $ac_word... " >&6; }
64916 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
64917 $as_echo_n "(cached) " >&6
64918 else
64919 if test -n "$DOXYGEN"; then
64920 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
64921 else
64922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64923 for as_dir in $PATH
64925 IFS=$as_save_IFS
64926 test -z "$as_dir" && as_dir=.
64927 for ac_exec_ext in '' $ac_executable_extensions; do
64928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64929 ac_cv_prog_DOXYGEN="yes"
64930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64931 break 2
64933 done
64934 done
64935 IFS=$as_save_IFS
64937 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
64940 DOXYGEN=$ac_cv_prog_DOXYGEN
64941 if test -n "$DOXYGEN"; then
64942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
64943 $as_echo "$DOXYGEN" >&6; }
64944 else
64945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64946 $as_echo "no" >&6; }
64950 # Extract the first word of "dot", so it can be a program name with args.
64951 set dummy dot; ac_word=$2
64952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64953 $as_echo_n "checking for $ac_word... " >&6; }
64954 if test "${ac_cv_prog_DOT+set}" = set; then :
64955 $as_echo_n "(cached) " >&6
64956 else
64957 if test -n "$DOT"; then
64958 ac_cv_prog_DOT="$DOT" # Let the user override the test.
64959 else
64960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64961 for as_dir in $PATH
64963 IFS=$as_save_IFS
64964 test -z "$as_dir" && as_dir=.
64965 for ac_exec_ext in '' $ac_executable_extensions; do
64966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64967 ac_cv_prog_DOT="yes"
64968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64969 break 2
64971 done
64972 done
64973 IFS=$as_save_IFS
64975 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
64978 DOT=$ac_cv_prog_DOT
64979 if test -n "$DOT"; then
64980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
64981 $as_echo "$DOT" >&6; }
64982 else
64983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64984 $as_echo "no" >&6; }
64989 # Check for docbook
64990 # Extract the first word of "xsltproc", so it can be a program name with args.
64991 set dummy xsltproc; ac_word=$2
64992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64993 $as_echo_n "checking for $ac_word... " >&6; }
64994 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
64995 $as_echo_n "(cached) " >&6
64996 else
64997 if test -n "$XSLTPROC"; then
64998 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
64999 else
65000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65001 for as_dir in $PATH
65003 IFS=$as_save_IFS
65004 test -z "$as_dir" && as_dir=.
65005 for ac_exec_ext in '' $ac_executable_extensions; do
65006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65007 ac_cv_prog_XSLTPROC="yes"
65008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65009 break 2
65011 done
65012 done
65013 IFS=$as_save_IFS
65015 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65018 XSLTPROC=$ac_cv_prog_XSLTPROC
65019 if test -n "$XSLTPROC"; then
65020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65021 $as_echo "$XSLTPROC" >&6; }
65022 else
65023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65024 $as_echo "no" >&6; }
65028 # Extract the first word of "xmllint", so it can be a program name with args.
65029 set dummy xmllint; ac_word=$2
65030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65031 $as_echo_n "checking for $ac_word... " >&6; }
65032 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65033 $as_echo_n "(cached) " >&6
65034 else
65035 if test -n "$XMLLINT"; then
65036 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65037 else
65038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65039 for as_dir in $PATH
65041 IFS=$as_save_IFS
65042 test -z "$as_dir" && as_dir=.
65043 for ac_exec_ext in '' $ac_executable_extensions; do
65044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65045 ac_cv_prog_XMLLINT="yes"
65046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65047 break 2
65049 done
65050 done
65051 IFS=$as_save_IFS
65053 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65056 XMLLINT=$ac_cv_prog_XMLLINT
65057 if test -n "$XMLLINT"; then
65058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65059 $as_echo "$XMLLINT" >&6; }
65060 else
65061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65062 $as_echo "no" >&6; }
65068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65069 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65070 glibcxx_stylesheets=no
65071 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
65072 glibcxx_stylesheets=yes
65074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65075 $as_echo "$glibcxx_stylesheets" >&6; }
65077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65078 $as_echo_n "checking for local stylesheet directory... " >&6; }
65079 glibcxx_local_stylesheets=no
65080 if test x"$glibcxx_stylesheets" = x"yes"; then
65081 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65082 glibcxx_local_stylesheets=yes
65083 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65085 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65086 glibcxx_local_stylesheets=yes
65087 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65091 $as_echo "$glibcxx_local_stylesheets" >&6; }
65093 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65095 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65096 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65097 else
65098 glibcxx_stylesheets=no
65102 # Check for xml/html dependencies.
65103 if test $ac_cv_prog_DOXYGEN = "yes" &&
65104 test $ac_cv_prog_DOT = "yes" &&
65105 test $ac_cv_prog_XSLTPROC = "yes" &&
65106 test $ac_cv_prog_XMLLINT = "yes" &&
65107 test $glibcxx_stylesheets = "yes"; then
65108 BUILD_XML_TRUE=
65109 BUILD_XML_FALSE='#'
65110 else
65111 BUILD_XML_TRUE='#'
65112 BUILD_XML_FALSE=
65116 if test $ac_cv_prog_DOXYGEN = "yes" &&
65117 test $ac_cv_prog_DOT = "yes" &&
65118 test $ac_cv_prog_XSLTPROC = "yes" &&
65119 test $ac_cv_prog_XMLLINT = "yes" &&
65120 test $glibcxx_stylesheets = "yes"; then
65121 BUILD_HTML_TRUE=
65122 BUILD_HTML_FALSE='#'
65123 else
65124 BUILD_HTML_TRUE='#'
65125 BUILD_HTML_FALSE=
65129 # Check for man dependencies.
65130 if test $ac_cv_prog_DOXYGEN = "yes" &&
65131 test $ac_cv_prog_DOT = "yes"; then
65132 BUILD_MAN_TRUE=
65133 BUILD_MAN_FALSE='#'
65134 else
65135 BUILD_MAN_TRUE='#'
65136 BUILD_MAN_FALSE=
65140 # Check for pdf/epub dependencies.
65141 # Extract the first word of "dblatex", so it can be a program name with args.
65142 set dummy dblatex; ac_word=$2
65143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65144 $as_echo_n "checking for $ac_word... " >&6; }
65145 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65146 $as_echo_n "(cached) " >&6
65147 else
65148 if test -n "$DBLATEX"; then
65149 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65150 else
65151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65152 for as_dir in $PATH
65154 IFS=$as_save_IFS
65155 test -z "$as_dir" && as_dir=.
65156 for ac_exec_ext in '' $ac_executable_extensions; do
65157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65158 ac_cv_prog_DBLATEX="yes"
65159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65160 break 2
65162 done
65163 done
65164 IFS=$as_save_IFS
65166 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65169 DBLATEX=$ac_cv_prog_DBLATEX
65170 if test -n "$DBLATEX"; then
65171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65172 $as_echo "$DBLATEX" >&6; }
65173 else
65174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65175 $as_echo "no" >&6; }
65179 # Extract the first word of "pdflatex", so it can be a program name with args.
65180 set dummy pdflatex; ac_word=$2
65181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65182 $as_echo_n "checking for $ac_word... " >&6; }
65183 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65184 $as_echo_n "(cached) " >&6
65185 else
65186 if test -n "$PDFLATEX"; then
65187 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65188 else
65189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65190 for as_dir in $PATH
65192 IFS=$as_save_IFS
65193 test -z "$as_dir" && as_dir=.
65194 for ac_exec_ext in '' $ac_executable_extensions; do
65195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65196 ac_cv_prog_PDFLATEX="yes"
65197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65198 break 2
65200 done
65201 done
65202 IFS=$as_save_IFS
65204 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65207 PDFLATEX=$ac_cv_prog_PDFLATEX
65208 if test -n "$PDFLATEX"; then
65209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65210 $as_echo "$PDFLATEX" >&6; }
65211 else
65212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65213 $as_echo "no" >&6; }
65217 if test $ac_cv_prog_DBLATEX = "yes" &&
65218 test $ac_cv_prog_PDFLATEX = "yes"; then
65219 BUILD_PDF_TRUE=
65220 BUILD_PDF_FALSE='#'
65221 else
65222 BUILD_PDF_TRUE='#'
65223 BUILD_PDF_FALSE=
65227 # Extract the first word of "ruby", so it can be a program name with args.
65228 set dummy ruby; ac_word=$2
65229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65230 $as_echo_n "checking for $ac_word... " >&6; }
65231 if test "${ac_cv_prog_RUBY+set}" = set; then :
65232 $as_echo_n "(cached) " >&6
65233 else
65234 if test -n "$RUBY"; then
65235 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65236 else
65237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65238 for as_dir in $PATH
65240 IFS=$as_save_IFS
65241 test -z "$as_dir" && as_dir=.
65242 for ac_exec_ext in '' $ac_executable_extensions; do
65243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65244 ac_cv_prog_RUBY="yes"
65245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65246 break 2
65248 done
65249 done
65250 IFS=$as_save_IFS
65252 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65255 RUBY=$ac_cv_prog_RUBY
65256 if test -n "$RUBY"; then
65257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65258 $as_echo "$RUBY" >&6; }
65259 else
65260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65261 $as_echo "no" >&6; }
65265 # Extract the first word of "dbtoepub", so it can be a program name with args.
65266 set dummy dbtoepub; ac_word=$2
65267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65268 $as_echo_n "checking for $ac_word... " >&6; }
65269 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65270 $as_echo_n "(cached) " >&6
65271 else
65272 if test -n "$DBTOEPUB"; then
65273 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65274 else
65275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65276 for as_dir in $PATH
65278 IFS=$as_save_IFS
65279 test -z "$as_dir" && as_dir=.
65280 for ac_exec_ext in '' $ac_executable_extensions; do
65281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65282 ac_cv_prog_DBTOEPUB="yes"
65283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65284 break 2
65286 done
65287 done
65288 IFS=$as_save_IFS
65290 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65293 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65294 if test -n "$DBTOEPUB"; then
65295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65296 $as_echo "$DBTOEPUB" >&6; }
65297 else
65298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65299 $as_echo "no" >&6; }
65303 if test $ac_cv_prog_RUBY = "yes" &&
65304 test $ac_cv_prog_DBTOEPUB = "yes"; then
65305 BUILD_EPUB_TRUE=
65306 BUILD_EPUB_FALSE='#'
65307 else
65308 BUILD_EPUB_TRUE='#'
65309 BUILD_EPUB_FALSE=
65314 # Propagate the target-specific source directories through the build chain.
65315 ATOMICITY_SRCDIR=config/${atomicity_dir}
65316 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65317 ATOMIC_FLAGS=${atomic_flags}
65318 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65319 OS_INC_SRCDIR=config/${os_include_dir}
65320 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65321 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65331 # Determine cross-compile flags and AM_CONDITIONALs.
65332 #AC_SUBST(GLIBCXX_IS_NATIVE)
65333 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65334 if test $is_hosted = yes; then
65335 GLIBCXX_HOSTED_TRUE=
65336 GLIBCXX_HOSTED_FALSE='#'
65337 else
65338 GLIBCXX_HOSTED_TRUE='#'
65339 GLIBCXX_HOSTED_FALSE=
65343 if test $enable_libstdcxx_pch = yes; then
65344 GLIBCXX_BUILD_PCH_TRUE=
65345 GLIBCXX_BUILD_PCH_FALSE='#'
65346 else
65347 GLIBCXX_BUILD_PCH_TRUE='#'
65348 GLIBCXX_BUILD_PCH_FALSE=
65352 if test $enable_cheaders = c; then
65353 GLIBCXX_C_HEADERS_C_TRUE=
65354 GLIBCXX_C_HEADERS_C_FALSE='#'
65355 else
65356 GLIBCXX_C_HEADERS_C_TRUE='#'
65357 GLIBCXX_C_HEADERS_C_FALSE=
65361 if test $enable_cheaders = c_std; then
65362 GLIBCXX_C_HEADERS_C_STD_TRUE=
65363 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65364 else
65365 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65366 GLIBCXX_C_HEADERS_C_STD_FALSE=
65370 if test $enable_cheaders = c_global; then
65371 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65372 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65373 else
65374 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65375 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65379 if test $c_compatibility = yes; then
65380 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65381 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65382 else
65383 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65384 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65388 if test $enable_libstdcxx_debug = yes; then
65389 GLIBCXX_BUILD_DEBUG_TRUE=
65390 GLIBCXX_BUILD_DEBUG_FALSE='#'
65391 else
65392 GLIBCXX_BUILD_DEBUG_TRUE='#'
65393 GLIBCXX_BUILD_DEBUG_FALSE=
65397 if test $enable_parallel = yes; then
65398 ENABLE_PARALLEL_TRUE=
65399 ENABLE_PARALLEL_FALSE='#'
65400 else
65401 ENABLE_PARALLEL_TRUE='#'
65402 ENABLE_PARALLEL_FALSE=
65406 if test $enable_extern_template = yes; then
65407 ENABLE_EXTERN_TEMPLATE_TRUE=
65408 ENABLE_EXTERN_TEMPLATE_FALSE='#'
65409 else
65410 ENABLE_EXTERN_TEMPLATE_TRUE='#'
65411 ENABLE_EXTERN_TEMPLATE_FALSE=
65415 if test $enable_symvers != no; then
65416 ENABLE_SYMVERS_TRUE=
65417 ENABLE_SYMVERS_FALSE='#'
65418 else
65419 ENABLE_SYMVERS_TRUE='#'
65420 ENABLE_SYMVERS_FALSE=
65424 if test $enable_symvers = gnu; then
65425 ENABLE_SYMVERS_GNU_TRUE=
65426 ENABLE_SYMVERS_GNU_FALSE='#'
65427 else
65428 ENABLE_SYMVERS_GNU_TRUE='#'
65429 ENABLE_SYMVERS_GNU_FALSE=
65433 if test $enable_symvers = gnu-versioned-namespace; then
65434 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65435 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65436 else
65437 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65438 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65442 if test $enable_symvers = darwin; then
65443 ENABLE_SYMVERS_DARWIN_TRUE=
65444 ENABLE_SYMVERS_DARWIN_FALSE='#'
65445 else
65446 ENABLE_SYMVERS_DARWIN_TRUE='#'
65447 ENABLE_SYMVERS_DARWIN_FALSE=
65451 if test $enable_symvers = sun; then
65452 ENABLE_SYMVERS_SUN_TRUE=
65453 ENABLE_SYMVERS_SUN_FALSE='#'
65454 else
65455 ENABLE_SYMVERS_SUN_TRUE='#'
65456 ENABLE_SYMVERS_SUN_FALSE=
65460 if test $symvers_renaming = no; then
65461 ENABLE_SYMVERS_SOL2_TRUE=
65462 ENABLE_SYMVERS_SOL2_FALSE='#'
65463 else
65464 ENABLE_SYMVERS_SOL2_TRUE='#'
65465 ENABLE_SYMVERS_SOL2_FALSE=
65469 if test $enable_visibility = yes; then
65470 ENABLE_VISIBILITY_TRUE=
65471 ENABLE_VISIBILITY_FALSE='#'
65472 else
65473 ENABLE_VISIBILITY_TRUE='#'
65474 ENABLE_VISIBILITY_FALSE=
65478 if test $ac_ldbl_compat = yes; then
65479 GLIBCXX_LDBL_COMPAT_TRUE=
65480 GLIBCXX_LDBL_COMPAT_FALSE='#'
65481 else
65482 GLIBCXX_LDBL_COMPAT_TRUE='#'
65483 GLIBCXX_LDBL_COMPAT_FALSE=
65489 cat >confcache <<\_ACEOF
65490 # This file is a shell script that caches the results of configure
65491 # tests run on this system so they can be shared between configure
65492 # scripts and configure runs, see configure's option --config-cache.
65493 # It is not useful on other systems. If it contains results you don't
65494 # want to keep, you may remove or edit it.
65496 # config.status only pays attention to the cache file if you give it
65497 # the --recheck option to rerun configure.
65499 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65500 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65501 # following values.
65503 _ACEOF
65505 # The following way of writing the cache mishandles newlines in values,
65506 # but we know of no workaround that is simple, portable, and efficient.
65507 # So, we kill variables containing newlines.
65508 # Ultrix sh set writes to stderr and can't be redirected directly,
65509 # and sets the high bit in the cache file unless we assign to the vars.
65511 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65512 eval ac_val=\$$ac_var
65513 case $ac_val in #(
65514 *${as_nl}*)
65515 case $ac_var in #(
65516 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65517 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65518 esac
65519 case $ac_var in #(
65520 _ | IFS | as_nl) ;; #(
65521 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65522 *) { eval $ac_var=; unset $ac_var;} ;;
65523 esac ;;
65524 esac
65525 done
65527 (set) 2>&1 |
65528 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65529 *${as_nl}ac_space=\ *)
65530 # `set' does not quote correctly, so add quotes: double-quote
65531 # substitution turns \\\\ into \\, and sed turns \\ into \.
65532 sed -n \
65533 "s/'/'\\\\''/g;
65534 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65535 ;; #(
65537 # `set' quotes correctly as required by POSIX, so do not add quotes.
65538 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65540 esac |
65541 sort
65543 sed '
65544 /^ac_cv_env_/b end
65545 t clear
65546 :clear
65547 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65548 t end
65549 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65550 :end' >>confcache
65551 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65552 if test -w "$cache_file"; then
65553 test "x$cache_file" != "x/dev/null" &&
65554 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65555 $as_echo "$as_me: updating cache $cache_file" >&6;}
65556 cat confcache >$cache_file
65557 else
65558 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65559 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65562 rm -f confcache
65564 if test ${multilib} = yes; then
65565 multilib_arg="--enable-multilib"
65566 else
65567 multilib_arg=
65570 # Export all the install information.
65572 glibcxx_toolexecdir=no
65573 glibcxx_toolexeclibdir=no
65574 glibcxx_prefixdir=$prefix
65576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65577 $as_echo_n "checking for gxx-include-dir... " >&6; }
65579 # Check whether --with-gxx-include-dir was given.
65580 if test "${with_gxx_include_dir+set}" = set; then :
65581 withval=$with_gxx_include_dir; case "$withval" in
65582 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65583 no) gxx_include_dir=no ;;
65584 *) gxx_include_dir=$withval ;;
65585 esac
65586 else
65587 gxx_include_dir=no
65590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65591 $as_echo "$gxx_include_dir" >&6; }
65593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65594 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65595 # Check whether --enable-version-specific-runtime-libs was given.
65596 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65597 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65598 yes) version_specific_libs=yes ;;
65599 no) version_specific_libs=no ;;
65600 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65601 esac
65602 else
65603 version_specific_libs=no
65606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65607 $as_echo "$version_specific_libs" >&6; }
65609 # Default case for install directory for include files.
65610 if test $version_specific_libs = no && test $gxx_include_dir = no; then
65611 gxx_include_dir='include/c++/${gcc_version}'
65612 if test -n "$with_cross_host" &&
65613 test x"$with_cross_host" != x"no"; then
65614 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65615 else
65616 gxx_include_dir='${prefix}/'"$gxx_include_dir"
65620 # Version-specific runtime libs processing.
65621 if test $version_specific_libs = yes; then
65622 # Need the gcc compiler version to know where to install libraries
65623 # and header files if --enable-version-specific-runtime-libs option
65624 # is selected. FIXME: these variables are misnamed, there are
65625 # no executables installed in _toolexecdir or _toolexeclibdir.
65626 if test x"$gxx_include_dir" = x"no"; then
65627 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
65629 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65630 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
65633 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
65634 # Install a library built with a cross compiler in tooldir, not libdir.
65635 if test x"$glibcxx_toolexecdir" = x"no"; then
65636 if test -n "$with_cross_host" &&
65637 test x"$with_cross_host" != x"no"; then
65638 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
65639 glibcxx_toolexeclibdir='${toolexecdir}/lib'
65640 else
65641 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65642 glibcxx_toolexeclibdir='${libdir}'
65644 multi_os_directory=`$CXX -print-multi-os-directory`
65645 case $multi_os_directory in
65646 .) ;; # Avoid trailing /.
65647 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
65648 esac
65651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
65652 $as_echo_n "checking for install location... " >&6; }
65653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65654 $as_echo "$gxx_include_dir" >&6; }
65662 # Export all the include and flag information to Makefiles.
65664 # Used for every C++ compile we perform.
65665 GLIBCXX_INCLUDES="\
65666 -I$glibcxx_builddir/include/$host_alias \
65667 -I$glibcxx_builddir/include \
65668 -I$glibcxx_srcdir/libsupc++"
65670 # For Canadian crosses, pick this up too.
65671 if test $CANADIAN = yes; then
65672 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
65675 # Stuff in the actual top level. Currently only used by libsupc++ to
65676 # get unwind* headers from the gcc dir.
65677 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
65678 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
65680 # Now, export this to all the little Makefiles....
65685 # Optimization flags that are probably a good idea for thrill-seekers. Just
65686 # uncomment the lines below and make, everything else is ready to go...
65687 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
65688 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
65691 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
65695 if test "$enable_shared" = yes; then
65696 LIBSUPCXX_PICFLAGS="-prefer-pic"
65697 else
65698 LIBSUPCXX_PICFLAGS=
65702 ac_config_files="$ac_config_files Makefile"
65704 ac_config_files="$ac_config_files scripts/testsuite_flags"
65706 ac_config_files="$ac_config_files scripts/extract_symvers"
65709 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65710 # that multilib installs will end up installed in the correct place.
65711 # The testsuite needs it for multilib-aware ABI baseline files.
65712 # To work around this not being passed down from config-ml.in ->
65713 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65714 # append it here. Only modify Makefiles that have just been created.
65716 # Also, get rid of this simulated-VPATH thing that automake does.
65717 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
65720 ac_config_commands="$ac_config_commands generate-headers"
65723 cat >confcache <<\_ACEOF
65724 # This file is a shell script that caches the results of configure
65725 # tests run on this system so they can be shared between configure
65726 # scripts and configure runs, see configure's option --config-cache.
65727 # It is not useful on other systems. If it contains results you don't
65728 # want to keep, you may remove or edit it.
65730 # config.status only pays attention to the cache file if you give it
65731 # the --recheck option to rerun configure.
65733 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65734 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65735 # following values.
65737 _ACEOF
65739 # The following way of writing the cache mishandles newlines in values,
65740 # but we know of no workaround that is simple, portable, and efficient.
65741 # So, we kill variables containing newlines.
65742 # Ultrix sh set writes to stderr and can't be redirected directly,
65743 # and sets the high bit in the cache file unless we assign to the vars.
65745 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65746 eval ac_val=\$$ac_var
65747 case $ac_val in #(
65748 *${as_nl}*)
65749 case $ac_var in #(
65750 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65751 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65752 esac
65753 case $ac_var in #(
65754 _ | IFS | as_nl) ;; #(
65755 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65756 *) { eval $ac_var=; unset $ac_var;} ;;
65757 esac ;;
65758 esac
65759 done
65761 (set) 2>&1 |
65762 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65763 *${as_nl}ac_space=\ *)
65764 # `set' does not quote correctly, so add quotes: double-quote
65765 # substitution turns \\\\ into \\, and sed turns \\ into \.
65766 sed -n \
65767 "s/'/'\\\\''/g;
65768 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65769 ;; #(
65771 # `set' quotes correctly as required by POSIX, so do not add quotes.
65772 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65774 esac |
65775 sort
65777 sed '
65778 /^ac_cv_env_/b end
65779 t clear
65780 :clear
65781 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65782 t end
65783 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65784 :end' >>confcache
65785 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65786 if test -w "$cache_file"; then
65787 test "x$cache_file" != "x/dev/null" &&
65788 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65789 $as_echo "$as_me: updating cache $cache_file" >&6;}
65790 cat confcache >$cache_file
65791 else
65792 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65793 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65796 rm -f confcache
65798 test "x$prefix" = xNONE && prefix=$ac_default_prefix
65799 # Let make expand exec_prefix.
65800 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65802 DEFS=-DHAVE_CONFIG_H
65804 ac_libobjs=
65805 ac_ltlibobjs=
65806 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65807 # 1. Remove the extension, and $U if already installed.
65808 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
65809 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
65810 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
65811 # will be set to the directory where LIBOBJS objects are built.
65812 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
65813 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
65814 done
65815 LIBOBJS=$ac_libobjs
65817 LTLIBOBJS=$ac_ltlibobjs
65820 if test -n "$EXEEXT"; then
65821 am__EXEEXT_TRUE=
65822 am__EXEEXT_FALSE='#'
65823 else
65824 am__EXEEXT_TRUE='#'
65825 am__EXEEXT_FALSE=
65828 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
65829 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
65830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65832 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
65833 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
65834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65836 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
65837 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
65838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65840 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
65841 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
65842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65844 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
65845 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
65846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65848 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
65849 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
65850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65852 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
65853 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
65854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65856 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
65857 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
65858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65860 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
65861 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
65862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65864 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
65865 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
65866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65868 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
65869 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
65870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65872 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
65873 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
65874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65876 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
65877 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
65878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65880 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
65881 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
65882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65884 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
65885 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
65886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65888 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
65889 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
65890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65892 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
65893 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
65894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65896 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
65897 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
65898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65900 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
65901 as_fn_error "conditional \"BUILD_INFO\" was never defined.
65902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65904 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
65905 as_fn_error "conditional \"BUILD_XML\" was never defined.
65906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65908 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
65909 as_fn_error "conditional \"BUILD_HTML\" was never defined.
65910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65912 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
65913 as_fn_error "conditional \"BUILD_MAN\" was never defined.
65914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65916 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
65917 as_fn_error "conditional \"BUILD_PDF\" was never defined.
65918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65920 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
65921 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
65922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65925 : ${CONFIG_STATUS=./config.status}
65926 ac_write_fail=0
65927 ac_clean_files_save=$ac_clean_files
65928 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
65929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
65930 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
65931 as_write_fail=0
65932 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
65933 #! $SHELL
65934 # Generated by $as_me.
65935 # Run this file to recreate the current configuration.
65936 # Compiler output produced by configure, useful for debugging
65937 # configure, is in config.log if it exists.
65939 debug=false
65940 ac_cs_recheck=false
65941 ac_cs_silent=false
65943 SHELL=\${CONFIG_SHELL-$SHELL}
65944 export SHELL
65945 _ASEOF
65946 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
65947 ## -------------------- ##
65948 ## M4sh Initialization. ##
65949 ## -------------------- ##
65951 # Be more Bourne compatible
65952 DUALCASE=1; export DUALCASE # for MKS sh
65953 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
65954 emulate sh
65955 NULLCMD=:
65956 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
65957 # is contrary to our usage. Disable this feature.
65958 alias -g '${1+"$@"}'='"$@"'
65959 setopt NO_GLOB_SUBST
65960 else
65961 case `(set -o) 2>/dev/null` in #(
65962 *posix*) :
65963 set -o posix ;; #(
65964 *) :
65966 esac
65970 as_nl='
65972 export as_nl
65973 # Printing a long string crashes Solaris 7 /usr/bin/printf.
65974 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
65975 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
65976 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
65977 # Prefer a ksh shell builtin over an external printf program on Solaris,
65978 # but without wasting forks for bash or zsh.
65979 if test -z "$BASH_VERSION$ZSH_VERSION" \
65980 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
65981 as_echo='print -r --'
65982 as_echo_n='print -rn --'
65983 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
65984 as_echo='printf %s\n'
65985 as_echo_n='printf %s'
65986 else
65987 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
65988 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
65989 as_echo_n='/usr/ucb/echo -n'
65990 else
65991 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65992 as_echo_n_body='eval
65993 arg=$1;
65994 case $arg in #(
65995 *"$as_nl"*)
65996 expr "X$arg" : "X\\(.*\\)$as_nl";
65997 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65998 esac;
65999 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66001 export as_echo_n_body
66002 as_echo_n='sh -c $as_echo_n_body as_echo'
66004 export as_echo_body
66005 as_echo='sh -c $as_echo_body as_echo'
66008 # The user is always right.
66009 if test "${PATH_SEPARATOR+set}" != set; then
66010 PATH_SEPARATOR=:
66011 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66012 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66013 PATH_SEPARATOR=';'
66018 # IFS
66019 # We need space, tab and new line, in precisely that order. Quoting is
66020 # there to prevent editors from complaining about space-tab.
66021 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66022 # splitting by setting IFS to empty value.)
66023 IFS=" "" $as_nl"
66025 # Find who we are. Look in the path if we contain no directory separator.
66026 case $0 in #((
66027 *[\\/]* ) as_myself=$0 ;;
66028 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66029 for as_dir in $PATH
66031 IFS=$as_save_IFS
66032 test -z "$as_dir" && as_dir=.
66033 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66034 done
66035 IFS=$as_save_IFS
66038 esac
66039 # We did not find ourselves, most probably we were run as `sh COMMAND'
66040 # in which case we are not to be found in the path.
66041 if test "x$as_myself" = x; then
66042 as_myself=$0
66044 if test ! -f "$as_myself"; then
66045 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66046 exit 1
66049 # Unset variables that we do not need and which cause bugs (e.g. in
66050 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66051 # suppresses any "Segmentation fault" message there. '((' could
66052 # trigger a bug in pdksh 5.2.14.
66053 for as_var in BASH_ENV ENV MAIL MAILPATH
66054 do eval test x\${$as_var+set} = xset \
66055 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66056 done
66057 PS1='$ '
66058 PS2='> '
66059 PS4='+ '
66061 # NLS nuisances.
66062 LC_ALL=C
66063 export LC_ALL
66064 LANGUAGE=C
66065 export LANGUAGE
66067 # CDPATH.
66068 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66071 # as_fn_error ERROR [LINENO LOG_FD]
66072 # ---------------------------------
66073 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66074 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66075 # script with status $?, using 1 if that was 0.
66076 as_fn_error ()
66078 as_status=$?; test $as_status -eq 0 && as_status=1
66079 if test "$3"; then
66080 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66081 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66083 $as_echo "$as_me: error: $1" >&2
66084 as_fn_exit $as_status
66085 } # as_fn_error
66088 # as_fn_set_status STATUS
66089 # -----------------------
66090 # Set $? to STATUS, without forking.
66091 as_fn_set_status ()
66093 return $1
66094 } # as_fn_set_status
66096 # as_fn_exit STATUS
66097 # -----------------
66098 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66099 as_fn_exit ()
66101 set +e
66102 as_fn_set_status $1
66103 exit $1
66104 } # as_fn_exit
66106 # as_fn_unset VAR
66107 # ---------------
66108 # Portably unset VAR.
66109 as_fn_unset ()
66111 { eval $1=; unset $1;}
66113 as_unset=as_fn_unset
66114 # as_fn_append VAR VALUE
66115 # ----------------------
66116 # Append the text in VALUE to the end of the definition contained in VAR. Take
66117 # advantage of any shell optimizations that allow amortized linear growth over
66118 # repeated appends, instead of the typical quadratic growth present in naive
66119 # implementations.
66120 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66121 eval 'as_fn_append ()
66123 eval $1+=\$2
66125 else
66126 as_fn_append ()
66128 eval $1=\$$1\$2
66130 fi # as_fn_append
66132 # as_fn_arith ARG...
66133 # ------------------
66134 # Perform arithmetic evaluation on the ARGs, and store the result in the
66135 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66136 # must be portable across $(()) and expr.
66137 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66138 eval 'as_fn_arith ()
66140 as_val=$(( $* ))
66142 else
66143 as_fn_arith ()
66145 as_val=`expr "$@" || test $? -eq 1`
66147 fi # as_fn_arith
66150 if expr a : '\(a\)' >/dev/null 2>&1 &&
66151 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66152 as_expr=expr
66153 else
66154 as_expr=false
66157 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66158 as_basename=basename
66159 else
66160 as_basename=false
66163 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66164 as_dirname=dirname
66165 else
66166 as_dirname=false
66169 as_me=`$as_basename -- "$0" ||
66170 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66171 X"$0" : 'X\(//\)$' \| \
66172 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66173 $as_echo X/"$0" |
66174 sed '/^.*\/\([^/][^/]*\)\/*$/{
66175 s//\1/
66178 /^X\/\(\/\/\)$/{
66179 s//\1/
66182 /^X\/\(\/\).*/{
66183 s//\1/
66186 s/.*/./; q'`
66188 # Avoid depending upon Character Ranges.
66189 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66190 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66191 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66192 as_cr_digits='0123456789'
66193 as_cr_alnum=$as_cr_Letters$as_cr_digits
66195 ECHO_C= ECHO_N= ECHO_T=
66196 case `echo -n x` in #(((((
66197 -n*)
66198 case `echo 'xy\c'` in
66199 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66200 xy) ECHO_C='\c';;
66201 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66202 ECHO_T=' ';;
66203 esac;;
66205 ECHO_N='-n';;
66206 esac
66208 rm -f conf$$ conf$$.exe conf$$.file
66209 if test -d conf$$.dir; then
66210 rm -f conf$$.dir/conf$$.file
66211 else
66212 rm -f conf$$.dir
66213 mkdir conf$$.dir 2>/dev/null
66215 if (echo >conf$$.file) 2>/dev/null; then
66216 if ln -s conf$$.file conf$$ 2>/dev/null; then
66217 as_ln_s='ln -s'
66218 # ... but there are two gotchas:
66219 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66220 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66221 # In both cases, we have to default to `cp -p'.
66222 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66223 as_ln_s='cp -p'
66224 elif ln conf$$.file conf$$ 2>/dev/null; then
66225 as_ln_s=ln
66226 else
66227 as_ln_s='cp -p'
66229 else
66230 as_ln_s='cp -p'
66232 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66233 rmdir conf$$.dir 2>/dev/null
66236 # as_fn_mkdir_p
66237 # -------------
66238 # Create "$as_dir" as a directory, including parents if necessary.
66239 as_fn_mkdir_p ()
66242 case $as_dir in #(
66243 -*) as_dir=./$as_dir;;
66244 esac
66245 test -d "$as_dir" || eval $as_mkdir_p || {
66246 as_dirs=
66247 while :; do
66248 case $as_dir in #(
66249 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66250 *) as_qdir=$as_dir;;
66251 esac
66252 as_dirs="'$as_qdir' $as_dirs"
66253 as_dir=`$as_dirname -- "$as_dir" ||
66254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66255 X"$as_dir" : 'X\(//\)[^/]' \| \
66256 X"$as_dir" : 'X\(//\)$' \| \
66257 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66258 $as_echo X"$as_dir" |
66259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66260 s//\1/
66263 /^X\(\/\/\)[^/].*/{
66264 s//\1/
66267 /^X\(\/\/\)$/{
66268 s//\1/
66271 /^X\(\/\).*/{
66272 s//\1/
66275 s/.*/./; q'`
66276 test -d "$as_dir" && break
66277 done
66278 test -z "$as_dirs" || eval "mkdir $as_dirs"
66279 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66282 } # as_fn_mkdir_p
66283 if mkdir -p . 2>/dev/null; then
66284 as_mkdir_p='mkdir -p "$as_dir"'
66285 else
66286 test -d ./-p && rmdir ./-p
66287 as_mkdir_p=false
66290 if test -x / >/dev/null 2>&1; then
66291 as_test_x='test -x'
66292 else
66293 if ls -dL / >/dev/null 2>&1; then
66294 as_ls_L_option=L
66295 else
66296 as_ls_L_option=
66298 as_test_x='
66299 eval sh -c '\''
66300 if test -d "$1"; then
66301 test -d "$1/.";
66302 else
66303 case $1 in #(
66304 -*)set "./$1";;
66305 esac;
66306 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66307 ???[sx]*):;;*)false;;esac;fi
66308 '\'' sh
66311 as_executable_p=$as_test_x
66313 # Sed expression to map a string onto a valid CPP name.
66314 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66316 # Sed expression to map a string onto a valid variable name.
66317 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66320 exec 6>&1
66321 ## ----------------------------------- ##
66322 ## Main body of $CONFIG_STATUS script. ##
66323 ## ----------------------------------- ##
66324 _ASEOF
66325 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66328 # Save the log message, to keep $0 and so on meaningful, and to
66329 # report actual input values of CONFIG_FILES etc. instead of their
66330 # values after options handling.
66331 ac_log="
66332 This file was extended by package-unused $as_me version-unused, which was
66333 generated by GNU Autoconf 2.64. Invocation command line was
66335 CONFIG_FILES = $CONFIG_FILES
66336 CONFIG_HEADERS = $CONFIG_HEADERS
66337 CONFIG_LINKS = $CONFIG_LINKS
66338 CONFIG_COMMANDS = $CONFIG_COMMANDS
66339 $ $0 $@
66341 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66344 _ACEOF
66346 case $ac_config_files in *"
66347 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66348 esac
66350 case $ac_config_headers in *"
66351 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66352 esac
66355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66356 # Files that config.status was made for.
66357 config_files="$ac_config_files"
66358 config_headers="$ac_config_headers"
66359 config_commands="$ac_config_commands"
66361 _ACEOF
66363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66364 ac_cs_usage="\
66365 \`$as_me' instantiates files and other configuration actions
66366 from templates according to the current configuration. Unless the files
66367 and actions are specified as TAGs, all are instantiated by default.
66369 Usage: $0 [OPTION]... [TAG]...
66371 -h, --help print this help, then exit
66372 -V, --version print version number and configuration settings, then exit
66373 -q, --quiet, --silent
66374 do not print progress messages
66375 -d, --debug don't remove temporary files
66376 --recheck update $as_me by reconfiguring in the same conditions
66377 --file=FILE[:TEMPLATE]
66378 instantiate the configuration file FILE
66379 --header=FILE[:TEMPLATE]
66380 instantiate the configuration header FILE
66382 Configuration files:
66383 $config_files
66385 Configuration headers:
66386 $config_headers
66388 Configuration commands:
66389 $config_commands
66391 Report bugs to the package provider."
66393 _ACEOF
66394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66395 ac_cs_version="\\
66396 package-unused config.status version-unused
66397 configured by $0, generated by GNU Autoconf 2.64,
66398 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66400 Copyright (C) 2009 Free Software Foundation, Inc.
66401 This config.status script is free software; the Free Software Foundation
66402 gives unlimited permission to copy, distribute and modify it."
66404 ac_pwd='$ac_pwd'
66405 srcdir='$srcdir'
66406 INSTALL='$INSTALL'
66407 MKDIR_P='$MKDIR_P'
66408 AWK='$AWK'
66409 test -n "\$AWK" || AWK=awk
66410 _ACEOF
66412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66413 # The default lists apply if the user does not specify any file.
66414 ac_need_defaults=:
66415 while test $# != 0
66417 case $1 in
66418 --*=*)
66419 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66420 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66421 ac_shift=:
66424 ac_option=$1
66425 ac_optarg=$2
66426 ac_shift=shift
66428 esac
66430 case $ac_option in
66431 # Handling of the options.
66432 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66433 ac_cs_recheck=: ;;
66434 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66435 $as_echo "$ac_cs_version"; exit ;;
66436 --debug | --debu | --deb | --de | --d | -d )
66437 debug=: ;;
66438 --file | --fil | --fi | --f )
66439 $ac_shift
66440 case $ac_optarg in
66441 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66442 esac
66443 as_fn_append CONFIG_FILES " '$ac_optarg'"
66444 ac_need_defaults=false;;
66445 --header | --heade | --head | --hea )
66446 $ac_shift
66447 case $ac_optarg in
66448 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66449 esac
66450 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66451 ac_need_defaults=false;;
66452 --he | --h)
66453 # Conflict between --help and --header
66454 as_fn_error "ambiguous option: \`$1'
66455 Try \`$0 --help' for more information.";;
66456 --help | --hel | -h )
66457 $as_echo "$ac_cs_usage"; exit ;;
66458 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66459 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66460 ac_cs_silent=: ;;
66462 # This is an error.
66463 -*) as_fn_error "unrecognized option: \`$1'
66464 Try \`$0 --help' for more information." ;;
66466 *) as_fn_append ac_config_targets " $1"
66467 ac_need_defaults=false ;;
66469 esac
66470 shift
66471 done
66473 ac_configure_extra_args=
66475 if $ac_cs_silent; then
66476 exec 6>/dev/null
66477 ac_configure_extra_args="$ac_configure_extra_args --silent"
66480 _ACEOF
66481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66482 if \$ac_cs_recheck; then
66483 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66484 shift
66485 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66486 CONFIG_SHELL='$SHELL'
66487 export CONFIG_SHELL
66488 exec "\$@"
66491 _ACEOF
66492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66493 exec 5>>config.log
66495 echo
66496 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66497 ## Running $as_me. ##
66498 _ASBOX
66499 $as_echo "$ac_log"
66500 } >&5
66502 _ACEOF
66503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66505 # INIT-COMMANDS
66508 srcdir="$srcdir"
66509 host="$host"
66510 target="$target"
66511 with_multisubdir="$with_multisubdir"
66512 with_multisrctop="$with_multisrctop"
66513 with_target_subdir="$with_target_subdir"
66514 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66515 multi_basedir="$multi_basedir"
66516 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66517 CC="$CC"
66518 CXX="$CXX"
66519 GFORTRAN="$GFORTRAN"
66520 GCJ="$GCJ"
66523 # The HP-UX ksh and POSIX shell print the target directory to stdout
66524 # if CDPATH is set.
66525 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66527 sed_quote_subst='$sed_quote_subst'
66528 double_quote_subst='$double_quote_subst'
66529 delay_variable_subst='$delay_variable_subst'
66530 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66531 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66532 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66533 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66534 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66535 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66536 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66537 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66538 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66539 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66540 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66541 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66542 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66543 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66544 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66545 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66546 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66547 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66548 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66549 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66550 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66551 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66552 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66553 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66554 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66555 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66556 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66557 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66558 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66559 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66560 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66561 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66562 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66563 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66564 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66565 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66566 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66567 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66568 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66569 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66570 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66571 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66572 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66573 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66574 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66575 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66576 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66577 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66578 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"`'
66579 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66580 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66581 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66582 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66583 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66584 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66585 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66586 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66587 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66588 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66589 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66590 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66591 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66592 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66593 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66594 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66595 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66596 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66597 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66598 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66599 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66600 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66601 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66602 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66603 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66604 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66605 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66606 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66607 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66608 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66609 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66610 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66611 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66612 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66613 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66614 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66615 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66616 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66617 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
66618 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
66619 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
66620 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
66621 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
66622 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
66623 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
66624 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
66625 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
66626 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
66627 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
66628 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
66629 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
66630 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
66631 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
66632 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
66633 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
66634 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
66635 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
66636 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
66637 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66638 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66639 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
66640 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
66641 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
66642 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
66643 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
66644 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
66645 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
66646 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
66647 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
66648 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
66649 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
66650 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
66651 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
66652 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
66653 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
66654 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
66655 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
66656 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
66657 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
66658 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66659 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66660 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
66661 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
66662 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
66663 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
66664 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
66665 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
66666 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
66667 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
66668 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
66669 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66670 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66671 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
66672 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66673 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66674 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66675 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66676 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66677 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66678 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
66679 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66680 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66681 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66682 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
66683 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
66684 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
66685 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
66686 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
66687 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
66688 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
66689 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
66690 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
66691 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
66692 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
66693 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66694 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66695 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66696 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66697 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
66698 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
66699 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
66700 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66701 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66702 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
66703 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
66704 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
66706 LTCC='$LTCC'
66707 LTCFLAGS='$LTCFLAGS'
66708 compiler='$compiler_DEFAULT'
66710 # A function that is used when there is no print builtin or printf.
66711 func_fallback_echo ()
66713 eval 'cat <<_LTECHO_EOF
66715 _LTECHO_EOF'
66718 # Quote evaled strings.
66719 for var in SHELL \
66720 ECHO \
66721 SED \
66722 GREP \
66723 EGREP \
66724 FGREP \
66725 LD \
66726 NM \
66727 LN_S \
66728 lt_SP2NL \
66729 lt_NL2SP \
66730 reload_flag \
66731 OBJDUMP \
66732 deplibs_check_method \
66733 file_magic_cmd \
66734 AR \
66735 AR_FLAGS \
66736 STRIP \
66737 RANLIB \
66738 CC \
66739 CFLAGS \
66740 compiler \
66741 lt_cv_sys_global_symbol_pipe \
66742 lt_cv_sys_global_symbol_to_cdecl \
66743 lt_cv_sys_global_symbol_to_c_name_address \
66744 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
66745 lt_prog_compiler_no_builtin_flag \
66746 lt_prog_compiler_wl \
66747 lt_prog_compiler_pic \
66748 lt_prog_compiler_static \
66749 lt_cv_prog_compiler_c_o \
66750 need_locks \
66751 DSYMUTIL \
66752 NMEDIT \
66753 LIPO \
66754 OTOOL \
66755 OTOOL64 \
66756 shrext_cmds \
66757 export_dynamic_flag_spec \
66758 whole_archive_flag_spec \
66759 compiler_needs_object \
66760 with_gnu_ld \
66761 allow_undefined_flag \
66762 no_undefined_flag \
66763 hardcode_libdir_flag_spec \
66764 hardcode_libdir_flag_spec_ld \
66765 hardcode_libdir_separator \
66766 fix_srcfile_path \
66767 exclude_expsyms \
66768 include_expsyms \
66769 file_list_spec \
66770 variables_saved_for_relink \
66771 libname_spec \
66772 library_names_spec \
66773 soname_spec \
66774 install_override_mode \
66775 finish_eval \
66776 old_striplib \
66777 striplib \
66778 compiler_lib_search_dirs \
66779 predep_objects \
66780 postdep_objects \
66781 predeps \
66782 postdeps \
66783 compiler_lib_search_path \
66784 LD_CXX \
66785 reload_flag_CXX \
66786 compiler_CXX \
66787 lt_prog_compiler_no_builtin_flag_CXX \
66788 lt_prog_compiler_wl_CXX \
66789 lt_prog_compiler_pic_CXX \
66790 lt_prog_compiler_static_CXX \
66791 lt_cv_prog_compiler_c_o_CXX \
66792 export_dynamic_flag_spec_CXX \
66793 whole_archive_flag_spec_CXX \
66794 compiler_needs_object_CXX \
66795 with_gnu_ld_CXX \
66796 allow_undefined_flag_CXX \
66797 no_undefined_flag_CXX \
66798 hardcode_libdir_flag_spec_CXX \
66799 hardcode_libdir_flag_spec_ld_CXX \
66800 hardcode_libdir_separator_CXX \
66801 fix_srcfile_path_CXX \
66802 exclude_expsyms_CXX \
66803 include_expsyms_CXX \
66804 file_list_spec_CXX \
66805 compiler_lib_search_dirs_CXX \
66806 predep_objects_CXX \
66807 postdep_objects_CXX \
66808 predeps_CXX \
66809 postdeps_CXX \
66810 compiler_lib_search_path_CXX; do
66811 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66812 *[\\\\\\\`\\"\\\$]*)
66813 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
66816 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66818 esac
66819 done
66821 # Double-quote double-evaled strings.
66822 for var in reload_cmds \
66823 old_postinstall_cmds \
66824 old_postuninstall_cmds \
66825 old_archive_cmds \
66826 extract_expsyms_cmds \
66827 old_archive_from_new_cmds \
66828 old_archive_from_expsyms_cmds \
66829 archive_cmds \
66830 archive_expsym_cmds \
66831 module_cmds \
66832 module_expsym_cmds \
66833 export_symbols_cmds \
66834 prelink_cmds \
66835 postinstall_cmds \
66836 postuninstall_cmds \
66837 finish_cmds \
66838 sys_lib_search_path_spec \
66839 sys_lib_dlsearch_path_spec \
66840 reload_cmds_CXX \
66841 old_archive_cmds_CXX \
66842 old_archive_from_new_cmds_CXX \
66843 old_archive_from_expsyms_cmds_CXX \
66844 archive_cmds_CXX \
66845 archive_expsym_cmds_CXX \
66846 module_cmds_CXX \
66847 module_expsym_cmds_CXX \
66848 export_symbols_cmds_CXX \
66849 prelink_cmds_CXX; do
66850 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66851 *[\\\\\\\`\\"\\\$]*)
66852 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
66855 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66857 esac
66858 done
66860 ac_aux_dir='$ac_aux_dir'
66861 xsi_shell='$xsi_shell'
66862 lt_shell_append='$lt_shell_append'
66864 # See if we are running on zsh, and set the options which allow our
66865 # commands through without removal of \ escapes INIT.
66866 if test -n "\${ZSH_VERSION+set}" ; then
66867 setopt NO_GLOB_SUBST
66871 PACKAGE='$PACKAGE'
66872 VERSION='$VERSION'
66873 TIMESTAMP='$TIMESTAMP'
66874 RM='$RM'
66875 ofile='$ofile'
66882 GCC="$GCC"
66883 CC="$CC"
66884 acx_cv_header_stdint="$acx_cv_header_stdint"
66885 acx_cv_type_int8_t="$acx_cv_type_int8_t"
66886 acx_cv_type_int16_t="$acx_cv_type_int16_t"
66887 acx_cv_type_int32_t="$acx_cv_type_int32_t"
66888 acx_cv_type_int64_t="$acx_cv_type_int64_t"
66889 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
66890 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
66891 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
66892 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
66893 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
66894 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
66895 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
66896 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
66897 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
66900 _ACEOF
66902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66904 # Handling of arguments.
66905 for ac_config_target in $ac_config_targets
66907 case $ac_config_target in
66908 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
66909 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
66910 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
66911 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
66912 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66913 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
66914 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
66915 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
66916 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
66917 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
66918 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
66919 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
66920 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
66921 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
66922 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
66924 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
66925 esac
66926 done
66929 # If the user did not use the arguments to specify the items to instantiate,
66930 # then the envvar interface is used. Set only those that are not.
66931 # We use the long form for the default assignment because of an extremely
66932 # bizarre bug on SunOS 4.1.3.
66933 if $ac_need_defaults; then
66934 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
66935 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
66936 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
66939 # Have a temporary directory for convenience. Make it in the build tree
66940 # simply because there is no reason against having it here, and in addition,
66941 # creating and moving files from /tmp can sometimes cause problems.
66942 # Hook for its removal unless debugging.
66943 # Note that there is a small window in which the directory will not be cleaned:
66944 # after its creation but before its name has been assigned to `$tmp'.
66945 $debug ||
66947 tmp=
66948 trap 'exit_status=$?
66949 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
66951 trap 'as_fn_exit 1' 1 2 13 15
66953 # Create a (secure) tmp directory for tmp files.
66956 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
66957 test -n "$tmp" && test -d "$tmp"
66958 } ||
66960 tmp=./conf$$-$RANDOM
66961 (umask 077 && mkdir "$tmp")
66962 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
66964 # Set up the scripts for CONFIG_FILES section.
66965 # No need to generate them if there are no CONFIG_FILES.
66966 # This happens for instance with `./config.status config.h'.
66967 if test -n "$CONFIG_FILES"; then
66970 ac_cr=`echo X | tr X '\015'`
66971 # On cygwin, bash can eat \r inside `` if the user requested igncr.
66972 # But we know of no other shell where ac_cr would be empty at this
66973 # point, so we can use a bashism as a fallback.
66974 if test "x$ac_cr" = x; then
66975 eval ac_cr=\$\'\\r\'
66977 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
66978 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
66979 ac_cs_awk_cr='\r'
66980 else
66981 ac_cs_awk_cr=$ac_cr
66984 echo 'BEGIN {' >"$tmp/subs1.awk" &&
66985 _ACEOF
66989 echo "cat >conf$$subs.awk <<_ACEOF" &&
66990 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
66991 echo "_ACEOF"
66992 } >conf$$subs.sh ||
66993 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66994 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
66995 ac_delim='%!_!# '
66996 for ac_last_try in false false false false false :; do
66997 . ./conf$$subs.sh ||
66998 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67000 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67001 if test $ac_delim_n = $ac_delim_num; then
67002 break
67003 elif $ac_last_try; then
67004 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67005 else
67006 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67008 done
67009 rm -f conf$$subs.sh
67011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67012 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67013 _ACEOF
67014 sed -n '
67016 s/^/S["/; s/!.*/"]=/
67019 s/^[^!]*!//
67020 :repl
67021 t repl
67022 s/'"$ac_delim"'$//
67023 t delim
67026 s/\(.\{148\}\).*/\1/
67027 t more1
67028 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67031 b repl
67032 :more1
67033 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67036 s/.\{148\}//
67037 t nl
67038 :delim
67040 s/\(.\{148\}\).*/\1/
67041 t more2
67042 s/["\\]/\\&/g; s/^/"/; s/$/"/
67045 :more2
67046 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67049 s/.\{148\}//
67050 t delim
67051 ' <conf$$subs.awk | sed '
67052 /^[^""]/{
67054 s/\n//
67056 ' >>$CONFIG_STATUS || ac_write_fail=1
67057 rm -f conf$$subs.awk
67058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67059 _ACAWK
67060 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67061 for (key in S) S_is_set[key] = 1
67062 FS = "\a"
67066 line = $ 0
67067 nfields = split(line, field, "@")
67068 substed = 0
67069 len = length(field[1])
67070 for (i = 2; i < nfields; i++) {
67071 key = field[i]
67072 keylen = length(key)
67073 if (S_is_set[key]) {
67074 value = S[key]
67075 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67076 len += length(value) + length(field[++i])
67077 substed = 1
67078 } else
67079 len += 1 + keylen
67082 print line
67085 _ACAWK
67086 _ACEOF
67087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67088 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67089 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67090 else
67092 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67093 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67094 _ACEOF
67096 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67097 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67098 # trailing colons and then remove the whole line if VPATH becomes empty
67099 # (actually we leave an empty line to preserve line numbers).
67100 if test "x$srcdir" = x.; then
67101 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67102 s/:*\$(srcdir):*/:/
67103 s/:*\${srcdir}:*/:/
67104 s/:*@srcdir@:*/:/
67105 s/^\([^=]*=[ ]*\):*/\1/
67106 s/:*$//
67107 s/^[^=]*=[ ]*$//
67111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67112 fi # test -n "$CONFIG_FILES"
67114 # Set up the scripts for CONFIG_HEADERS section.
67115 # No need to generate them if there are no CONFIG_HEADERS.
67116 # This happens for instance with `./config.status Makefile'.
67117 if test -n "$CONFIG_HEADERS"; then
67118 cat >"$tmp/defines.awk" <<\_ACAWK ||
67119 BEGIN {
67120 _ACEOF
67122 # Transform confdefs.h into an awk script `defines.awk', embedded as
67123 # here-document in config.status, that substitutes the proper values into
67124 # config.h.in to produce config.h.
67126 # Create a delimiter string that does not exist in confdefs.h, to ease
67127 # handling of long lines.
67128 ac_delim='%!_!# '
67129 for ac_last_try in false false :; do
67130 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67131 if test -z "$ac_t"; then
67132 break
67133 elif $ac_last_try; then
67134 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67135 else
67136 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67138 done
67140 # For the awk script, D is an array of macro values keyed by name,
67141 # likewise P contains macro parameters if any. Preserve backslash
67142 # newline sequences.
67144 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67145 sed -n '
67146 s/.\{148\}/&'"$ac_delim"'/g
67147 t rset
67148 :rset
67149 s/^[ ]*#[ ]*define[ ][ ]*/ /
67150 t def
67152 :def
67153 s/\\$//
67154 t bsnl
67155 s/["\\]/\\&/g
67156 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67157 D["\1"]=" \3"/p
67158 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67160 :bsnl
67161 s/["\\]/\\&/g
67162 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67163 D["\1"]=" \3\\\\\\n"\\/p
67164 t cont
67165 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67166 t cont
67168 :cont
67170 s/.\{148\}/&'"$ac_delim"'/g
67171 t clear
67172 :clear
67173 s/\\$//
67174 t bsnlc
67175 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67177 :bsnlc
67178 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67179 b cont
67180 ' <confdefs.h | sed '
67181 s/'"$ac_delim"'/"\\\
67182 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67185 for (key in D) D_is_set[key] = 1
67186 FS = "\a"
67188 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67189 line = \$ 0
67190 split(line, arg, " ")
67191 if (arg[1] == "#") {
67192 defundef = arg[2]
67193 mac1 = arg[3]
67194 } else {
67195 defundef = substr(arg[1], 2)
67196 mac1 = arg[2]
67198 split(mac1, mac2, "(") #)
67199 macro = mac2[1]
67200 prefix = substr(line, 1, index(line, defundef) - 1)
67201 if (D_is_set[macro]) {
67202 # Preserve the white space surrounding the "#".
67203 print prefix "define", macro P[macro] D[macro]
67204 next
67205 } else {
67206 # Replace #undef with comments. This is necessary, for example,
67207 # in the case of _POSIX_SOURCE, which is predefined and required
67208 # on some systems where configure will not decide to define it.
67209 if (defundef == "undef") {
67210 print "/*", prefix defundef, macro, "*/"
67211 next
67215 { print }
67216 _ACAWK
67217 _ACEOF
67218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67219 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67220 fi # test -n "$CONFIG_HEADERS"
67223 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67224 shift
67225 for ac_tag
67227 case $ac_tag in
67228 :[FHLC]) ac_mode=$ac_tag; continue;;
67229 esac
67230 case $ac_mode$ac_tag in
67231 :[FHL]*:*);;
67232 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67233 :[FH]-) ac_tag=-:-;;
67234 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67235 esac
67236 ac_save_IFS=$IFS
67237 IFS=:
67238 set x $ac_tag
67239 IFS=$ac_save_IFS
67240 shift
67241 ac_file=$1
67242 shift
67244 case $ac_mode in
67245 :L) ac_source=$1;;
67246 :[FH])
67247 ac_file_inputs=
67248 for ac_f
67250 case $ac_f in
67251 -) ac_f="$tmp/stdin";;
67252 *) # Look for the file first in the build tree, then in the source tree
67253 # (if the path is not absolute). The absolute path cannot be DOS-style,
67254 # because $ac_f cannot contain `:'.
67255 test -f "$ac_f" ||
67256 case $ac_f in
67257 [\\/$]*) false;;
67258 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67259 esac ||
67260 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67261 esac
67262 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67263 as_fn_append ac_file_inputs " '$ac_f'"
67264 done
67266 # Let's still pretend it is `configure' which instantiates (i.e., don't
67267 # use $as_me), people would be surprised to read:
67268 # /* config.h. Generated by config.status. */
67269 configure_input='Generated from '`
67270 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67271 `' by configure.'
67272 if test x"$ac_file" != x-; then
67273 configure_input="$ac_file. $configure_input"
67274 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67275 $as_echo "$as_me: creating $ac_file" >&6;}
67277 # Neutralize special characters interpreted by sed in replacement strings.
67278 case $configure_input in #(
67279 *\&* | *\|* | *\\* )
67280 ac_sed_conf_input=`$as_echo "$configure_input" |
67281 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67282 *) ac_sed_conf_input=$configure_input;;
67283 esac
67285 case $ac_tag in
67286 *:-:* | *:-) cat >"$tmp/stdin" \
67287 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67288 esac
67290 esac
67292 ac_dir=`$as_dirname -- "$ac_file" ||
67293 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67294 X"$ac_file" : 'X\(//\)[^/]' \| \
67295 X"$ac_file" : 'X\(//\)$' \| \
67296 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67297 $as_echo X"$ac_file" |
67298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67299 s//\1/
67302 /^X\(\/\/\)[^/].*/{
67303 s//\1/
67306 /^X\(\/\/\)$/{
67307 s//\1/
67310 /^X\(\/\).*/{
67311 s//\1/
67314 s/.*/./; q'`
67315 as_dir="$ac_dir"; as_fn_mkdir_p
67316 ac_builddir=.
67318 case "$ac_dir" in
67319 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67321 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67322 # A ".." for each directory in $ac_dir_suffix.
67323 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67324 case $ac_top_builddir_sub in
67325 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67326 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67327 esac ;;
67328 esac
67329 ac_abs_top_builddir=$ac_pwd
67330 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67331 # for backward compatibility:
67332 ac_top_builddir=$ac_top_build_prefix
67334 case $srcdir in
67335 .) # We are building in place.
67336 ac_srcdir=.
67337 ac_top_srcdir=$ac_top_builddir_sub
67338 ac_abs_top_srcdir=$ac_pwd ;;
67339 [\\/]* | ?:[\\/]* ) # Absolute name.
67340 ac_srcdir=$srcdir$ac_dir_suffix;
67341 ac_top_srcdir=$srcdir
67342 ac_abs_top_srcdir=$srcdir ;;
67343 *) # Relative name.
67344 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67345 ac_top_srcdir=$ac_top_build_prefix$srcdir
67346 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67347 esac
67348 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67351 case $ac_mode in
67354 # CONFIG_FILE
67357 case $INSTALL in
67358 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67359 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67360 esac
67361 ac_MKDIR_P=$MKDIR_P
67362 case $MKDIR_P in
67363 [\\/$]* | ?:[\\/]* ) ;;
67364 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67365 esac
67366 _ACEOF
67368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67369 # If the template does not know about datarootdir, expand it.
67370 # FIXME: This hack should be removed a few years after 2.60.
67371 ac_datarootdir_hack=; ac_datarootdir_seen=
67372 ac_sed_dataroot='
67373 /datarootdir/ {
67377 /@datadir@/p
67378 /@docdir@/p
67379 /@infodir@/p
67380 /@localedir@/p
67381 /@mandir@/p'
67382 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67383 *datarootdir*) ac_datarootdir_seen=yes;;
67384 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67386 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67387 _ACEOF
67388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67389 ac_datarootdir_hack='
67390 s&@datadir@&$datadir&g
67391 s&@docdir@&$docdir&g
67392 s&@infodir@&$infodir&g
67393 s&@localedir@&$localedir&g
67394 s&@mandir@&$mandir&g
67395 s&\\\${datarootdir}&$datarootdir&g' ;;
67396 esac
67397 _ACEOF
67399 # Neutralize VPATH when `$srcdir' = `.'.
67400 # Shell code in configure.ac might set extrasub.
67401 # FIXME: do we really want to maintain this feature?
67402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67403 ac_sed_extra="$ac_vpsub
67404 $extrasub
67405 _ACEOF
67406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67408 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67409 s|@configure_input@|$ac_sed_conf_input|;t t
67410 s&@top_builddir@&$ac_top_builddir_sub&;t t
67411 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67412 s&@srcdir@&$ac_srcdir&;t t
67413 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67414 s&@top_srcdir@&$ac_top_srcdir&;t t
67415 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67416 s&@builddir@&$ac_builddir&;t t
67417 s&@abs_builddir@&$ac_abs_builddir&;t t
67418 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67419 s&@INSTALL@&$ac_INSTALL&;t t
67420 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67421 $ac_datarootdir_hack
67423 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67424 || as_fn_error "could not create $ac_file" "$LINENO" 5
67426 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67427 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67428 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67430 which seems to be undefined. Please make sure it is defined." >&5
67431 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67432 which seems to be undefined. Please make sure it is defined." >&2;}
67434 rm -f "$tmp/stdin"
67435 case $ac_file in
67436 -) cat "$tmp/out" && rm -f "$tmp/out";;
67437 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67438 esac \
67439 || as_fn_error "could not create $ac_file" "$LINENO" 5
67443 # CONFIG_HEADER
67445 if test x"$ac_file" != x-; then
67447 $as_echo "/* $configure_input */" \
67448 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67449 } >"$tmp/config.h" \
67450 || as_fn_error "could not create $ac_file" "$LINENO" 5
67451 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67452 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67453 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67454 else
67455 rm -f "$ac_file"
67456 mv "$tmp/config.h" "$ac_file" \
67457 || as_fn_error "could not create $ac_file" "$LINENO" 5
67459 else
67460 $as_echo "/* $configure_input */" \
67461 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67462 || as_fn_error "could not create -" "$LINENO" 5
67464 # Compute "$ac_file"'s index in $config_headers.
67465 _am_arg="$ac_file"
67466 _am_stamp_count=1
67467 for _am_header in $config_headers :; do
67468 case $_am_header in
67469 $_am_arg | $_am_arg:* )
67470 break ;;
67472 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67473 esac
67474 done
67475 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67476 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67477 X"$_am_arg" : 'X\(//\)[^/]' \| \
67478 X"$_am_arg" : 'X\(//\)$' \| \
67479 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67480 $as_echo X"$_am_arg" |
67481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67482 s//\1/
67485 /^X\(\/\/\)[^/].*/{
67486 s//\1/
67489 /^X\(\/\/\)$/{
67490 s//\1/
67493 /^X\(\/\).*/{
67494 s//\1/
67497 s/.*/./; q'`/stamp-h$_am_stamp_count
67500 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67501 $as_echo "$as_me: executing $ac_file commands" >&6;}
67503 esac
67506 case $ac_file$ac_mode in
67507 "default-1":C)
67508 # Only add multilib support code if we just rebuilt the top-level
67509 # Makefile.
67510 case " $CONFIG_FILES " in
67511 *" Makefile "*)
67512 ac_file=Makefile . ${multi_basedir}/config-ml.in
67514 esac ;;
67515 "libtool":C)
67517 # See if we are running on zsh, and set the options which allow our
67518 # commands through without removal of \ escapes.
67519 if test -n "${ZSH_VERSION+set}" ; then
67520 setopt NO_GLOB_SUBST
67523 cfgfile="${ofile}T"
67524 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67525 $RM "$cfgfile"
67527 cat <<_LT_EOF >> "$cfgfile"
67528 #! $SHELL
67530 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67531 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67532 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67533 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67535 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67536 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67537 # Written by Gordon Matzigkeit, 1996
67539 # This file is part of GNU Libtool.
67541 # GNU Libtool is free software; you can redistribute it and/or
67542 # modify it under the terms of the GNU General Public License as
67543 # published by the Free Software Foundation; either version 2 of
67544 # the License, or (at your option) any later version.
67546 # As a special exception to the GNU General Public License,
67547 # if you distribute this file as part of a program or library that
67548 # is built using GNU Libtool, you may include this file under the
67549 # same distribution terms that you use for the rest of that program.
67551 # GNU Libtool is distributed in the hope that it will be useful,
67552 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67553 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67554 # GNU General Public License for more details.
67556 # You should have received a copy of the GNU General Public License
67557 # along with GNU Libtool; see the file COPYING. If not, a copy
67558 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67559 # obtained by writing to the Free Software Foundation, Inc.,
67560 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67563 # The names of the tagged configurations supported by this script.
67564 available_tags="CXX "
67566 # ### BEGIN LIBTOOL CONFIG
67568 # Which release of libtool.m4 was used?
67569 macro_version=$macro_version
67570 macro_revision=$macro_revision
67572 # Whether or not to build shared libraries.
67573 build_libtool_libs=$enable_shared
67575 # Whether or not to build static libraries.
67576 build_old_libs=$enable_static
67578 # What type of objects to build.
67579 pic_mode=$pic_mode
67581 # Whether or not to optimize for fast installation.
67582 fast_install=$enable_fast_install
67584 # Shell to use when invoking shell scripts.
67585 SHELL=$lt_SHELL
67587 # An echo program that protects backslashes.
67588 ECHO=$lt_ECHO
67590 # The host system.
67591 host_alias=$host_alias
67592 host=$host
67593 host_os=$host_os
67595 # The build system.
67596 build_alias=$build_alias
67597 build=$build
67598 build_os=$build_os
67600 # A sed program that does not truncate output.
67601 SED=$lt_SED
67603 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67604 Xsed="\$SED -e 1s/^X//"
67606 # A grep program that handles long lines.
67607 GREP=$lt_GREP
67609 # An ERE matcher.
67610 EGREP=$lt_EGREP
67612 # A literal string matcher.
67613 FGREP=$lt_FGREP
67615 # A BSD- or MS-compatible name lister.
67616 NM=$lt_NM
67618 # Whether we need soft or hard links.
67619 LN_S=$lt_LN_S
67621 # What is the maximum length of a command?
67622 max_cmd_len=$max_cmd_len
67624 # Object file suffix (normally "o").
67625 objext=$ac_objext
67627 # Executable file suffix (normally "").
67628 exeext=$exeext
67630 # whether the shell understands "unset".
67631 lt_unset=$lt_unset
67633 # turn spaces into newlines.
67634 SP2NL=$lt_lt_SP2NL
67636 # turn newlines into spaces.
67637 NL2SP=$lt_lt_NL2SP
67639 # An object symbol dumper.
67640 OBJDUMP=$lt_OBJDUMP
67642 # Method to check whether dependent libraries are shared objects.
67643 deplibs_check_method=$lt_deplibs_check_method
67645 # Command to use when deplibs_check_method == "file_magic".
67646 file_magic_cmd=$lt_file_magic_cmd
67648 # The archiver.
67649 AR=$lt_AR
67650 AR_FLAGS=$lt_AR_FLAGS
67652 # A symbol stripping program.
67653 STRIP=$lt_STRIP
67655 # Commands used to install an old-style archive.
67656 RANLIB=$lt_RANLIB
67657 old_postinstall_cmds=$lt_old_postinstall_cmds
67658 old_postuninstall_cmds=$lt_old_postuninstall_cmds
67660 # Whether to use a lock for old archive extraction.
67661 lock_old_archive_extraction=$lock_old_archive_extraction
67663 # A C compiler.
67664 LTCC=$lt_CC
67666 # LTCC compiler flags.
67667 LTCFLAGS=$lt_CFLAGS
67669 # Take the output of nm and produce a listing of raw symbols and C names.
67670 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
67672 # Transform the output of nm in a proper C declaration.
67673 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
67675 # Transform the output of nm in a C name address pair.
67676 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
67678 # Transform the output of nm in a C name address pair when lib prefix is needed.
67679 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
67681 # The name of the directory that contains temporary libtool files.
67682 objdir=$objdir
67684 # Used to examine libraries when file_magic_cmd begins with "file".
67685 MAGIC_CMD=$MAGIC_CMD
67687 # Must we lock files when doing compilation?
67688 need_locks=$lt_need_locks
67690 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
67691 DSYMUTIL=$lt_DSYMUTIL
67693 # Tool to change global to local symbols on Mac OS X.
67694 NMEDIT=$lt_NMEDIT
67696 # Tool to manipulate fat objects and archives on Mac OS X.
67697 LIPO=$lt_LIPO
67699 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
67700 OTOOL=$lt_OTOOL
67702 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
67703 OTOOL64=$lt_OTOOL64
67705 # Old archive suffix (normally "a").
67706 libext=$libext
67708 # Shared library suffix (normally ".so").
67709 shrext_cmds=$lt_shrext_cmds
67711 # The commands to extract the exported symbol list from a shared archive.
67712 extract_expsyms_cmds=$lt_extract_expsyms_cmds
67714 # Variables whose values should be saved in libtool wrapper scripts and
67715 # restored at link time.
67716 variables_saved_for_relink=$lt_variables_saved_for_relink
67718 # Do we need the "lib" prefix for modules?
67719 need_lib_prefix=$need_lib_prefix
67721 # Do we need a version for libraries?
67722 need_version=$need_version
67724 # Library versioning type.
67725 version_type=$version_type
67727 # Shared library runtime path variable.
67728 runpath_var=$runpath_var
67730 # Shared library path variable.
67731 shlibpath_var=$shlibpath_var
67733 # Is shlibpath searched before the hard-coded library search path?
67734 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
67736 # Format of library name prefix.
67737 libname_spec=$lt_libname_spec
67739 # List of archive names. First name is the real one, the rest are links.
67740 # The last name is the one that the linker finds with -lNAME
67741 library_names_spec=$lt_library_names_spec
67743 # The coded name of the library, if different from the real name.
67744 soname_spec=$lt_soname_spec
67746 # Permission mode override for installation of shared libraries.
67747 install_override_mode=$lt_install_override_mode
67749 # Command to use after installation of a shared archive.
67750 postinstall_cmds=$lt_postinstall_cmds
67752 # Command to use after uninstallation of a shared archive.
67753 postuninstall_cmds=$lt_postuninstall_cmds
67755 # Commands used to finish a libtool library installation in a directory.
67756 finish_cmds=$lt_finish_cmds
67758 # As "finish_cmds", except a single script fragment to be evaled but
67759 # not shown.
67760 finish_eval=$lt_finish_eval
67762 # Whether we should hardcode library paths into libraries.
67763 hardcode_into_libs=$hardcode_into_libs
67765 # Compile-time system search path for libraries.
67766 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
67768 # Run-time system search path for libraries.
67769 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
67771 # Whether dlopen is supported.
67772 dlopen_support=$enable_dlopen
67774 # Whether dlopen of programs is supported.
67775 dlopen_self=$enable_dlopen_self
67777 # Whether dlopen of statically linked programs is supported.
67778 dlopen_self_static=$enable_dlopen_self_static
67780 # Commands to strip libraries.
67781 old_striplib=$lt_old_striplib
67782 striplib=$lt_striplib
67785 # The linker used to build libraries.
67786 LD=$lt_LD
67788 # How to create reloadable object files.
67789 reload_flag=$lt_reload_flag
67790 reload_cmds=$lt_reload_cmds
67792 # Commands used to build an old-style archive.
67793 old_archive_cmds=$lt_old_archive_cmds
67795 # A language specific compiler.
67796 CC=$lt_compiler
67798 # Is the compiler the GNU compiler?
67799 with_gcc=$GCC
67801 # Compiler flag to turn off builtin functions.
67802 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
67804 # How to pass a linker flag through the compiler.
67805 wl=$lt_lt_prog_compiler_wl
67807 # Additional compiler flags for building library objects.
67808 pic_flag=$lt_lt_prog_compiler_pic
67810 # Compiler flag to prevent dynamic linking.
67811 link_static_flag=$lt_lt_prog_compiler_static
67813 # Does compiler simultaneously support -c and -o options?
67814 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
67816 # Whether or not to add -lc for building shared libraries.
67817 build_libtool_need_lc=$archive_cmds_need_lc
67819 # Whether or not to disallow shared libs when runtime libs are static.
67820 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
67822 # Compiler flag to allow reflexive dlopens.
67823 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
67825 # Compiler flag to generate shared objects directly from archives.
67826 whole_archive_flag_spec=$lt_whole_archive_flag_spec
67828 # Whether the compiler copes with passing no objects directly.
67829 compiler_needs_object=$lt_compiler_needs_object
67831 # Create an old-style archive from a shared archive.
67832 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
67834 # Create a temporary old-style archive to link instead of a shared archive.
67835 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
67837 # Commands used to build a shared archive.
67838 archive_cmds=$lt_archive_cmds
67839 archive_expsym_cmds=$lt_archive_expsym_cmds
67841 # Commands used to build a loadable module if different from building
67842 # a shared archive.
67843 module_cmds=$lt_module_cmds
67844 module_expsym_cmds=$lt_module_expsym_cmds
67846 # Whether we are building with GNU ld or not.
67847 with_gnu_ld=$lt_with_gnu_ld
67849 # Flag that allows shared libraries with undefined symbols to be built.
67850 allow_undefined_flag=$lt_allow_undefined_flag
67852 # Flag that enforces no undefined symbols.
67853 no_undefined_flag=$lt_no_undefined_flag
67855 # Flag to hardcode \$libdir into a binary during linking.
67856 # This must work even if \$libdir does not exist
67857 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
67859 # If ld is used when linking, flag to hardcode \$libdir into a binary
67860 # during linking. This must work even if \$libdir does not exist.
67861 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
67863 # Whether we need a single "-rpath" flag with a separated argument.
67864 hardcode_libdir_separator=$lt_hardcode_libdir_separator
67866 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67867 # DIR into the resulting binary.
67868 hardcode_direct=$hardcode_direct
67870 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67871 # DIR into the resulting binary and the resulting library dependency is
67872 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
67873 # library is relocated.
67874 hardcode_direct_absolute=$hardcode_direct_absolute
67876 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
67877 # into the resulting binary.
67878 hardcode_minus_L=$hardcode_minus_L
67880 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
67881 # into the resulting binary.
67882 hardcode_shlibpath_var=$hardcode_shlibpath_var
67884 # Set to "yes" if building a shared library automatically hardcodes DIR
67885 # into the library and all subsequent libraries and executables linked
67886 # against it.
67887 hardcode_automatic=$hardcode_automatic
67889 # Set to yes if linker adds runtime paths of dependent libraries
67890 # to runtime path list.
67891 inherit_rpath=$inherit_rpath
67893 # Whether libtool must link a program against all its dependency libraries.
67894 link_all_deplibs=$link_all_deplibs
67896 # Fix the shell variable \$srcfile for the compiler.
67897 fix_srcfile_path=$lt_fix_srcfile_path
67899 # Set to "yes" if exported symbols are required.
67900 always_export_symbols=$always_export_symbols
67902 # The commands to list exported symbols.
67903 export_symbols_cmds=$lt_export_symbols_cmds
67905 # Symbols that should not be listed in the preloaded symbols.
67906 exclude_expsyms=$lt_exclude_expsyms
67908 # Symbols that must always be exported.
67909 include_expsyms=$lt_include_expsyms
67911 # Commands necessary for linking programs (against libraries) with templates.
67912 prelink_cmds=$lt_prelink_cmds
67914 # Specify filename containing input files.
67915 file_list_spec=$lt_file_list_spec
67917 # How to hardcode a shared library path into an executable.
67918 hardcode_action=$hardcode_action
67920 # The directories searched by this compiler when creating a shared library.
67921 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
67923 # Dependencies to place before and after the objects being linked to
67924 # create a shared library.
67925 predep_objects=$lt_predep_objects
67926 postdep_objects=$lt_postdep_objects
67927 predeps=$lt_predeps
67928 postdeps=$lt_postdeps
67930 # The library search path used internally by the compiler when linking
67931 # a shared library.
67932 compiler_lib_search_path=$lt_compiler_lib_search_path
67934 # ### END LIBTOOL CONFIG
67936 _LT_EOF
67938 case $host_os in
67939 aix3*)
67940 cat <<\_LT_EOF >> "$cfgfile"
67941 # AIX sometimes has problems with the GCC collect2 program. For some
67942 # reason, if we set the COLLECT_NAMES environment variable, the problems
67943 # vanish in a puff of smoke.
67944 if test "X${COLLECT_NAMES+set}" != Xset; then
67945 COLLECT_NAMES=
67946 export COLLECT_NAMES
67948 _LT_EOF
67950 esac
67953 ltmain="$ac_aux_dir/ltmain.sh"
67956 # We use sed instead of cat because bash on DJGPP gets confused if
67957 # if finds mixed CR/LF and LF-only lines. Since sed operates in
67958 # text mode, it properly converts lines to CR/LF. This bash problem
67959 # is reportedly fixed, but why not run on old versions too?
67960 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
67961 || (rm -f "$cfgfile"; exit 1)
67963 case $xsi_shell in
67964 yes)
67965 cat << \_LT_EOF >> "$cfgfile"
67967 # func_dirname file append nondir_replacement
67968 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
67969 # otherwise set result to NONDIR_REPLACEMENT.
67970 func_dirname ()
67972 case ${1} in
67973 */*) func_dirname_result="${1%/*}${2}" ;;
67974 * ) func_dirname_result="${3}" ;;
67975 esac
67978 # func_basename file
67979 func_basename ()
67981 func_basename_result="${1##*/}"
67984 # func_dirname_and_basename file append nondir_replacement
67985 # perform func_basename and func_dirname in a single function
67986 # call:
67987 # dirname: Compute the dirname of FILE. If nonempty,
67988 # add APPEND to the result, otherwise set result
67989 # to NONDIR_REPLACEMENT.
67990 # value returned in "$func_dirname_result"
67991 # basename: Compute filename of FILE.
67992 # value retuned in "$func_basename_result"
67993 # Implementation must be kept synchronized with func_dirname
67994 # and func_basename. For efficiency, we do not delegate to
67995 # those functions but instead duplicate the functionality here.
67996 func_dirname_and_basename ()
67998 case ${1} in
67999 */*) func_dirname_result="${1%/*}${2}" ;;
68000 * ) func_dirname_result="${3}" ;;
68001 esac
68002 func_basename_result="${1##*/}"
68005 # func_stripname prefix suffix name
68006 # strip PREFIX and SUFFIX off of NAME.
68007 # PREFIX and SUFFIX must not contain globbing or regex special
68008 # characters, hashes, percent signs, but SUFFIX may contain a leading
68009 # dot (in which case that matches only a dot).
68010 func_stripname ()
68012 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68013 # positional parameters, so assign one to ordinary parameter first.
68014 func_stripname_result=${3}
68015 func_stripname_result=${func_stripname_result#"${1}"}
68016 func_stripname_result=${func_stripname_result%"${2}"}
68019 # func_opt_split
68020 func_opt_split ()
68022 func_opt_split_opt=${1%%=*}
68023 func_opt_split_arg=${1#*=}
68026 # func_lo2o object
68027 func_lo2o ()
68029 case ${1} in
68030 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68031 *) func_lo2o_result=${1} ;;
68032 esac
68035 # func_xform libobj-or-source
68036 func_xform ()
68038 func_xform_result=${1%.*}.lo
68041 # func_arith arithmetic-term...
68042 func_arith ()
68044 func_arith_result=$(( $* ))
68047 # func_len string
68048 # STRING may not start with a hyphen.
68049 func_len ()
68051 func_len_result=${#1}
68054 _LT_EOF
68056 *) # Bourne compatible functions.
68057 cat << \_LT_EOF >> "$cfgfile"
68059 # func_dirname file append nondir_replacement
68060 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68061 # otherwise set result to NONDIR_REPLACEMENT.
68062 func_dirname ()
68064 # Extract subdirectory from the argument.
68065 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68066 if test "X$func_dirname_result" = "X${1}"; then
68067 func_dirname_result="${3}"
68068 else
68069 func_dirname_result="$func_dirname_result${2}"
68073 # func_basename file
68074 func_basename ()
68076 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68080 # func_stripname prefix suffix name
68081 # strip PREFIX and SUFFIX off of NAME.
68082 # PREFIX and SUFFIX must not contain globbing or regex special
68083 # characters, hashes, percent signs, but SUFFIX may contain a leading
68084 # dot (in which case that matches only a dot).
68085 # func_strip_suffix prefix name
68086 func_stripname ()
68088 case ${2} in
68089 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68090 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68091 esac
68094 # sed scripts:
68095 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68096 my_sed_long_arg='1s/^-[^=]*=//'
68098 # func_opt_split
68099 func_opt_split ()
68101 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68102 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68105 # func_lo2o object
68106 func_lo2o ()
68108 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68111 # func_xform libobj-or-source
68112 func_xform ()
68114 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68117 # func_arith arithmetic-term...
68118 func_arith ()
68120 func_arith_result=`expr "$@"`
68123 # func_len string
68124 # STRING may not start with a hyphen.
68125 func_len ()
68127 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68130 _LT_EOF
68131 esac
68133 case $lt_shell_append in
68134 yes)
68135 cat << \_LT_EOF >> "$cfgfile"
68137 # func_append var value
68138 # Append VALUE to the end of shell variable VAR.
68139 func_append ()
68141 eval "$1+=\$2"
68143 _LT_EOF
68146 cat << \_LT_EOF >> "$cfgfile"
68148 # func_append var value
68149 # Append VALUE to the end of shell variable VAR.
68150 func_append ()
68152 eval "$1=\$$1\$2"
68155 _LT_EOF
68157 esac
68160 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68161 || (rm -f "$cfgfile"; exit 1)
68163 mv -f "$cfgfile" "$ofile" ||
68164 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68165 chmod +x "$ofile"
68168 cat <<_LT_EOF >> "$ofile"
68170 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68172 # The linker used to build libraries.
68173 LD=$lt_LD_CXX
68175 # How to create reloadable object files.
68176 reload_flag=$lt_reload_flag_CXX
68177 reload_cmds=$lt_reload_cmds_CXX
68179 # Commands used to build an old-style archive.
68180 old_archive_cmds=$lt_old_archive_cmds_CXX
68182 # A language specific compiler.
68183 CC=$lt_compiler_CXX
68185 # Is the compiler the GNU compiler?
68186 with_gcc=$GCC_CXX
68188 # Compiler flag to turn off builtin functions.
68189 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68191 # How to pass a linker flag through the compiler.
68192 wl=$lt_lt_prog_compiler_wl_CXX
68194 # Additional compiler flags for building library objects.
68195 pic_flag=$lt_lt_prog_compiler_pic_CXX
68197 # Compiler flag to prevent dynamic linking.
68198 link_static_flag=$lt_lt_prog_compiler_static_CXX
68200 # Does compiler simultaneously support -c and -o options?
68201 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68203 # Whether or not to add -lc for building shared libraries.
68204 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68206 # Whether or not to disallow shared libs when runtime libs are static.
68207 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68209 # Compiler flag to allow reflexive dlopens.
68210 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68212 # Compiler flag to generate shared objects directly from archives.
68213 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68215 # Whether the compiler copes with passing no objects directly.
68216 compiler_needs_object=$lt_compiler_needs_object_CXX
68218 # Create an old-style archive from a shared archive.
68219 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68221 # Create a temporary old-style archive to link instead of a shared archive.
68222 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68224 # Commands used to build a shared archive.
68225 archive_cmds=$lt_archive_cmds_CXX
68226 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68228 # Commands used to build a loadable module if different from building
68229 # a shared archive.
68230 module_cmds=$lt_module_cmds_CXX
68231 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68233 # Whether we are building with GNU ld or not.
68234 with_gnu_ld=$lt_with_gnu_ld_CXX
68236 # Flag that allows shared libraries with undefined symbols to be built.
68237 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68239 # Flag that enforces no undefined symbols.
68240 no_undefined_flag=$lt_no_undefined_flag_CXX
68242 # Flag to hardcode \$libdir into a binary during linking.
68243 # This must work even if \$libdir does not exist
68244 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68246 # If ld is used when linking, flag to hardcode \$libdir into a binary
68247 # during linking. This must work even if \$libdir does not exist.
68248 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68250 # Whether we need a single "-rpath" flag with a separated argument.
68251 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68253 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68254 # DIR into the resulting binary.
68255 hardcode_direct=$hardcode_direct_CXX
68257 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68258 # DIR into the resulting binary and the resulting library dependency is
68259 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68260 # library is relocated.
68261 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68263 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68264 # into the resulting binary.
68265 hardcode_minus_L=$hardcode_minus_L_CXX
68267 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68268 # into the resulting binary.
68269 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68271 # Set to "yes" if building a shared library automatically hardcodes DIR
68272 # into the library and all subsequent libraries and executables linked
68273 # against it.
68274 hardcode_automatic=$hardcode_automatic_CXX
68276 # Set to yes if linker adds runtime paths of dependent libraries
68277 # to runtime path list.
68278 inherit_rpath=$inherit_rpath_CXX
68280 # Whether libtool must link a program against all its dependency libraries.
68281 link_all_deplibs=$link_all_deplibs_CXX
68283 # Fix the shell variable \$srcfile for the compiler.
68284 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68286 # Set to "yes" if exported symbols are required.
68287 always_export_symbols=$always_export_symbols_CXX
68289 # The commands to list exported symbols.
68290 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68292 # Symbols that should not be listed in the preloaded symbols.
68293 exclude_expsyms=$lt_exclude_expsyms_CXX
68295 # Symbols that must always be exported.
68296 include_expsyms=$lt_include_expsyms_CXX
68298 # Commands necessary for linking programs (against libraries) with templates.
68299 prelink_cmds=$lt_prelink_cmds_CXX
68301 # Specify filename containing input files.
68302 file_list_spec=$lt_file_list_spec_CXX
68304 # How to hardcode a shared library path into an executable.
68305 hardcode_action=$hardcode_action_CXX
68307 # The directories searched by this compiler when creating a shared library.
68308 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68310 # Dependencies to place before and after the objects being linked to
68311 # create a shared library.
68312 predep_objects=$lt_predep_objects_CXX
68313 postdep_objects=$lt_postdep_objects_CXX
68314 predeps=$lt_predeps_CXX
68315 postdeps=$lt_postdeps_CXX
68317 # The library search path used internally by the compiler when linking
68318 # a shared library.
68319 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68321 # ### END LIBTOOL TAG CONFIG: CXX
68322 _LT_EOF
68325 "include/gstdint.h":C)
68326 if test "$GCC" = yes; then
68327 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68328 else
68329 echo "/* generated for $CC */" > tmp-stdint.h
68332 sed 's/^ *//' >> tmp-stdint.h <<EOF
68334 #ifndef GCC_GENERATED_STDINT_H
68335 #define GCC_GENERATED_STDINT_H 1
68337 #include <sys/types.h>
68340 if test "$acx_cv_header_stdint" != stdint.h; then
68341 echo "#include <stddef.h>" >> tmp-stdint.h
68343 if test "$acx_cv_header_stdint" != stddef.h; then
68344 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68347 sed 's/^ *//' >> tmp-stdint.h <<EOF
68348 /* glibc uses these symbols as guards to prevent redefinitions. */
68349 #ifdef __int8_t_defined
68350 #define _INT8_T
68351 #define _INT16_T
68352 #define _INT32_T
68353 #endif
68354 #ifdef __uint32_t_defined
68355 #define _UINT32_T
68356 #endif
68360 # ----------------- done header, emit basic int types -------------
68361 if test "$acx_cv_header_stdint" = stddef.h; then
68362 sed 's/^ *//' >> tmp-stdint.h <<EOF
68364 #ifndef _UINT8_T
68365 #define _UINT8_T
68366 #ifndef __uint8_t_defined
68367 #define __uint8_t_defined
68368 #ifndef uint8_t
68369 typedef unsigned $acx_cv_type_int8_t uint8_t;
68370 #endif
68371 #endif
68372 #endif
68374 #ifndef _UINT16_T
68375 #define _UINT16_T
68376 #ifndef __uint16_t_defined
68377 #define __uint16_t_defined
68378 #ifndef uint16_t
68379 typedef unsigned $acx_cv_type_int16_t uint16_t;
68380 #endif
68381 #endif
68382 #endif
68384 #ifndef _UINT32_T
68385 #define _UINT32_T
68386 #ifndef __uint32_t_defined
68387 #define __uint32_t_defined
68388 #ifndef uint32_t
68389 typedef unsigned $acx_cv_type_int32_t uint32_t;
68390 #endif
68391 #endif
68392 #endif
68394 #ifndef _INT8_T
68395 #define _INT8_T
68396 #ifndef __int8_t_defined
68397 #define __int8_t_defined
68398 #ifndef int8_t
68399 typedef $acx_cv_type_int8_t int8_t;
68400 #endif
68401 #endif
68402 #endif
68404 #ifndef _INT16_T
68405 #define _INT16_T
68406 #ifndef __int16_t_defined
68407 #define __int16_t_defined
68408 #ifndef int16_t
68409 typedef $acx_cv_type_int16_t int16_t;
68410 #endif
68411 #endif
68412 #endif
68414 #ifndef _INT32_T
68415 #define _INT32_T
68416 #ifndef __int32_t_defined
68417 #define __int32_t_defined
68418 #ifndef int32_t
68419 typedef $acx_cv_type_int32_t int32_t;
68420 #endif
68421 #endif
68422 #endif
68424 elif test "$ac_cv_type_u_int32_t" = yes; then
68425 sed 's/^ *//' >> tmp-stdint.h <<EOF
68427 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68428 #ifndef _INT8_T
68429 #define _INT8_T
68430 #endif
68431 #ifndef _INT16_T
68432 #define _INT16_T
68433 #endif
68434 #ifndef _INT32_T
68435 #define _INT32_T
68436 #endif
68438 #ifndef _UINT8_T
68439 #define _UINT8_T
68440 #ifndef __uint8_t_defined
68441 #define __uint8_t_defined
68442 #ifndef uint8_t
68443 typedef u_int8_t uint8_t;
68444 #endif
68445 #endif
68446 #endif
68448 #ifndef _UINT16_T
68449 #define _UINT16_T
68450 #ifndef __uint16_t_defined
68451 #define __uint16_t_defined
68452 #ifndef uint16_t
68453 typedef u_int16_t uint16_t;
68454 #endif
68455 #endif
68456 #endif
68458 #ifndef _UINT32_T
68459 #define _UINT32_T
68460 #ifndef __uint32_t_defined
68461 #define __uint32_t_defined
68462 #ifndef uint32_t
68463 typedef u_int32_t uint32_t;
68464 #endif
68465 #endif
68466 #endif
68468 else
68469 sed 's/^ *//' >> tmp-stdint.h <<EOF
68471 /* Some systems have guard macros to prevent redefinitions, define them. */
68472 #ifndef _INT8_T
68473 #define _INT8_T
68474 #endif
68475 #ifndef _INT16_T
68476 #define _INT16_T
68477 #endif
68478 #ifndef _INT32_T
68479 #define _INT32_T
68480 #endif
68481 #ifndef _UINT8_T
68482 #define _UINT8_T
68483 #endif
68484 #ifndef _UINT16_T
68485 #define _UINT16_T
68486 #endif
68487 #ifndef _UINT32_T
68488 #define _UINT32_T
68489 #endif
68493 # ------------- done basic int types, emit int64_t types ------------
68494 if test "$ac_cv_type_uint64_t" = yes; then
68495 sed 's/^ *//' >> tmp-stdint.h <<EOF
68497 /* system headers have good uint64_t and int64_t */
68498 #ifndef _INT64_T
68499 #define _INT64_T
68500 #endif
68501 #ifndef _UINT64_T
68502 #define _UINT64_T
68503 #endif
68505 elif test "$ac_cv_type_u_int64_t" = yes; then
68506 sed 's/^ *//' >> tmp-stdint.h <<EOF
68508 /* system headers have an u_int64_t (and int64_t) */
68509 #ifndef _INT64_T
68510 #define _INT64_T
68511 #endif
68512 #ifndef _UINT64_T
68513 #define _UINT64_T
68514 #ifndef __uint64_t_defined
68515 #define __uint64_t_defined
68516 #ifndef uint64_t
68517 typedef u_int64_t uint64_t;
68518 #endif
68519 #endif
68520 #endif
68522 elif test -n "$acx_cv_type_int64_t"; then
68523 sed 's/^ *//' >> tmp-stdint.h <<EOF
68525 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68526 #ifndef _INT64_T
68527 #define _INT64_T
68528 #ifndef int64_t
68529 typedef $acx_cv_type_int64_t int64_t;
68530 #endif
68531 #endif
68532 #ifndef _UINT64_T
68533 #define _UINT64_T
68534 #ifndef __uint64_t_defined
68535 #define __uint64_t_defined
68536 #ifndef uint64_t
68537 typedef unsigned $acx_cv_type_int64_t uint64_t;
68538 #endif
68539 #endif
68540 #endif
68542 else
68543 sed 's/^ *//' >> tmp-stdint.h <<EOF
68545 /* some common heuristics for int64_t, using compiler-specific tests */
68546 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68547 #ifndef _INT64_T
68548 #define _INT64_T
68549 #ifndef __int64_t_defined
68550 #ifndef int64_t
68551 typedef long long int64_t;
68552 #endif
68553 #endif
68554 #endif
68555 #ifndef _UINT64_T
68556 #define _UINT64_T
68557 #ifndef uint64_t
68558 typedef unsigned long long uint64_t;
68559 #endif
68560 #endif
68562 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68563 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68564 does not implement __extension__. But that compiler doesn't define
68565 __GNUC_MINOR__. */
68566 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68567 # define __extension__
68568 # endif
68570 # ifndef _INT64_T
68571 # define _INT64_T
68572 # ifndef int64_t
68573 __extension__ typedef long long int64_t;
68574 # endif
68575 # endif
68576 # ifndef _UINT64_T
68577 # define _UINT64_T
68578 # ifndef uint64_t
68579 __extension__ typedef unsigned long long uint64_t;
68580 # endif
68581 # endif
68583 #elif !defined __STRICT_ANSI__
68584 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68586 # ifndef _INT64_T
68587 # define _INT64_T
68588 # ifndef int64_t
68589 typedef __int64 int64_t;
68590 # endif
68591 # endif
68592 # ifndef _UINT64_T
68593 # define _UINT64_T
68594 # ifndef uint64_t
68595 typedef unsigned __int64 uint64_t;
68596 # endif
68597 # endif
68598 # endif /* compiler */
68600 #endif /* ANSI version */
68604 # ------------- done int64_t types, emit intptr types ------------
68605 if test "$ac_cv_type_uintptr_t" != yes; then
68606 sed 's/^ *//' >> tmp-stdint.h <<EOF
68608 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68609 #ifndef __uintptr_t_defined
68610 #ifndef uintptr_t
68611 typedef u$acx_cv_type_intptr_t uintptr_t;
68612 #endif
68613 #endif
68614 #ifndef __intptr_t_defined
68615 #ifndef intptr_t
68616 typedef $acx_cv_type_intptr_t intptr_t;
68617 #endif
68618 #endif
68622 # ------------- done intptr types, emit int_least types ------------
68623 if test "$ac_cv_type_int_least32_t" != yes; then
68624 sed 's/^ *//' >> tmp-stdint.h <<EOF
68626 /* Define int_least types */
68627 typedef int8_t int_least8_t;
68628 typedef int16_t int_least16_t;
68629 typedef int32_t int_least32_t;
68630 #ifdef _INT64_T
68631 typedef int64_t int_least64_t;
68632 #endif
68634 typedef uint8_t uint_least8_t;
68635 typedef uint16_t uint_least16_t;
68636 typedef uint32_t uint_least32_t;
68637 #ifdef _UINT64_T
68638 typedef uint64_t uint_least64_t;
68639 #endif
68643 # ------------- done intptr types, emit int_fast types ------------
68644 if test "$ac_cv_type_int_fast32_t" != yes; then
68645 sed 's/^ *//' >> tmp-stdint.h <<EOF
68647 /* Define int_fast types. short is often slow */
68648 typedef int8_t int_fast8_t;
68649 typedef int int_fast16_t;
68650 typedef int32_t int_fast32_t;
68651 #ifdef _INT64_T
68652 typedef int64_t int_fast64_t;
68653 #endif
68655 typedef uint8_t uint_fast8_t;
68656 typedef unsigned int uint_fast16_t;
68657 typedef uint32_t uint_fast32_t;
68658 #ifdef _UINT64_T
68659 typedef uint64_t uint_fast64_t;
68660 #endif
68664 if test "$ac_cv_type_uintmax_t" != yes; then
68665 sed 's/^ *//' >> tmp-stdint.h <<EOF
68667 /* Define intmax based on what we found */
68668 #ifndef intmax_t
68669 #ifdef _INT64_T
68670 typedef int64_t intmax_t;
68671 #else
68672 typedef long intmax_t;
68673 #endif
68674 #endif
68675 #ifndef uintmax_t
68676 #ifdef _UINT64_T
68677 typedef uint64_t uintmax_t;
68678 #else
68679 typedef unsigned long uintmax_t;
68680 #endif
68681 #endif
68685 sed 's/^ *//' >> tmp-stdint.h <<EOF
68687 #endif /* GCC_GENERATED_STDINT_H */
68690 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
68691 rm -f tmp-stdint.h
68692 else
68693 mv -f tmp-stdint.h include/gstdint.h
68697 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
68698 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
68699 "include/Makefile":F) cat > vpsed$$ << \_EOF
68700 s!`test -f '$<' || echo '$(srcdir)/'`!!
68701 _EOF
68702 sed -f vpsed$$ $ac_file > tmp$$
68703 mv tmp$$ $ac_file
68704 rm vpsed$$
68705 echo 'MULTISUBDIR =' >> $ac_file
68706 ml_norecursion=yes
68707 . ${multi_basedir}/config-ml.in
68708 { ml_norecursion=; unset ml_norecursion;}
68710 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
68711 s!`test -f '$<' || echo '$(srcdir)/'`!!
68712 _EOF
68713 sed -f vpsed$$ $ac_file > tmp$$
68714 mv tmp$$ $ac_file
68715 rm vpsed$$
68716 echo 'MULTISUBDIR =' >> $ac_file
68717 ml_norecursion=yes
68718 . ${multi_basedir}/config-ml.in
68719 { ml_norecursion=; unset ml_norecursion;}
68721 "python/Makefile":F) cat > vpsed$$ << \_EOF
68722 s!`test -f '$<' || echo '$(srcdir)/'`!!
68723 _EOF
68724 sed -f vpsed$$ $ac_file > tmp$$
68725 mv tmp$$ $ac_file
68726 rm vpsed$$
68727 echo 'MULTISUBDIR =' >> $ac_file
68728 ml_norecursion=yes
68729 . ${multi_basedir}/config-ml.in
68730 { ml_norecursion=; unset ml_norecursion;}
68732 "src/Makefile":F) cat > vpsed$$ << \_EOF
68733 s!`test -f '$<' || echo '$(srcdir)/'`!!
68734 _EOF
68735 sed -f vpsed$$ $ac_file > tmp$$
68736 mv tmp$$ $ac_file
68737 rm vpsed$$
68738 echo 'MULTISUBDIR =' >> $ac_file
68739 ml_norecursion=yes
68740 . ${multi_basedir}/config-ml.in
68741 { ml_norecursion=; unset ml_norecursion;}
68743 "doc/Makefile":F) cat > vpsed$$ << \_EOF
68744 s!`test -f '$<' || echo '$(srcdir)/'`!!
68745 _EOF
68746 sed -f vpsed$$ $ac_file > tmp$$
68747 mv tmp$$ $ac_file
68748 rm vpsed$$
68749 echo 'MULTISUBDIR =' >> $ac_file
68750 ml_norecursion=yes
68751 . ${multi_basedir}/config-ml.in
68752 { ml_norecursion=; unset ml_norecursion;}
68754 "po/Makefile":F) cat > vpsed$$ << \_EOF
68755 s!`test -f '$<' || echo '$(srcdir)/'`!!
68756 _EOF
68757 sed -f vpsed$$ $ac_file > tmp$$
68758 mv tmp$$ $ac_file
68759 rm vpsed$$
68760 echo 'MULTISUBDIR =' >> $ac_file
68761 ml_norecursion=yes
68762 . ${multi_basedir}/config-ml.in
68763 { ml_norecursion=; unset ml_norecursion;}
68765 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
68766 s!`test -f '$<' || echo '$(srcdir)/'`!!
68767 _EOF
68768 sed -f vpsed$$ $ac_file > tmp$$
68769 mv tmp$$ $ac_file
68770 rm vpsed$$
68771 echo 'MULTISUBDIR =' >> $ac_file
68772 ml_norecursion=yes
68773 . ${multi_basedir}/config-ml.in
68774 { ml_norecursion=; unset ml_norecursion;}
68776 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
68778 esac
68779 done # for ac_tag
68782 as_fn_exit 0
68783 _ACEOF
68784 ac_clean_files=$ac_clean_files_save
68786 test $ac_write_fail = 0 ||
68787 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
68790 # configure is writing to config.log, and then calls config.status.
68791 # config.status does its own redirection, appending to config.log.
68792 # Unfortunately, on DOS this fails, as config.log is still kept open
68793 # by configure, so config.status won't be able to write to it; its
68794 # output is simply discarded. So we exec the FD to /dev/null,
68795 # effectively closing config.log, so it can be properly (re)opened and
68796 # appended to by config.status. When coming back to configure, we
68797 # need to make the FD available again.
68798 if test "$no_create" != yes; then
68799 ac_cs_success=:
68800 ac_config_status_args=
68801 test "$silent" = yes &&
68802 ac_config_status_args="$ac_config_status_args --quiet"
68803 exec 5>/dev/null
68804 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
68805 exec 5>>config.log
68806 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68807 # would make configure fail if this is the last instruction.
68808 $ac_cs_success || as_fn_exit $?
68810 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
68811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
68812 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}